处理订单列表

This commit is contained in:
2026-01-16 02:04:09 +08:00
parent 1364fb2446
commit ff07af055f
45 changed files with 665 additions and 1772 deletions

View File

@@ -1 +1 @@
{"version":3,"file":"event.js","sources":["uni_modules/nutui-uni/components/_constants/event.ts"],"sourcesContent":["export const UPDATE_MODEL_EVENT = 'update:modelValue'\nexport const UPDATE_VISIBLE_EVENT = 'update:visible'\nexport const CHANGE_EVENT = 'change'\nexport const INPUT_EVENT = 'input'\nexport const CLICK_EVENT = 'click'\nexport const OPEN_EVENT = 'open'\nexport const CLOSE_EVENT = 'close'\nexport const OPENED_EVENT = 'opened'\nexport const CLOSED_EVENT = 'closed'\nexport const FOCUS_EVENT = 'focus'\nexport const BLUR_EVENT = 'blur'\nexport const CONFIRM_EVENT = 'confirm'\nexport const SEARCH_EVENT = 'search'\nexport const CLEAR_EVENT = 'clear'\nexport const CANCEL_EVENT = 'cancel'\nexport const CHOOSE_EVENT = 'choose'\nexport const SELECT_EVENT = 'select'\nexport const SELECTED_EVENT = 'selected'\n"],"names":[],"mappings":";AAAO,MAAM,qBAAqB;AAC3B,MAAM,uBAAuB;AAC7B,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,cAAc;AACpB,MAAM,aAAa;AACnB,MAAM,cAAc;AACpB,MAAM,eAAe;AACrB,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,aAAa;AACnB,MAAM,gBAAgB;AACtB,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,eAAe;;;;;;;;;;;;;;;;"}
{"version":3,"file":"event.js","sources":["uni_modules/nutui-uni/components/_constants/event.ts"],"sourcesContent":["export const UPDATE_MODEL_EVENT = 'update:modelValue'\nexport const UPDATE_VISIBLE_EVENT = 'update:visible'\nexport const CHANGE_EVENT = 'change'\nexport const INPUT_EVENT = 'input'\nexport const CLICK_EVENT = 'click'\nexport const OPEN_EVENT = 'open'\nexport const CLOSE_EVENT = 'close'\nexport const OPENED_EVENT = 'opened'\nexport const CLOSED_EVENT = 'closed'\nexport const FOCUS_EVENT = 'focus'\nexport const BLUR_EVENT = 'blur'\nexport const CONFIRM_EVENT = 'confirm'\nexport const SEARCH_EVENT = 'search'\nexport const CLEAR_EVENT = 'clear'\nexport const CANCEL_EVENT = 'cancel'\nexport const CHOOSE_EVENT = 'choose'\nexport const SELECT_EVENT = 'select'\nexport const SELECTED_EVENT = 'selected'\n"],"names":[],"mappings":";AAAO,MAAM,qBAAqB;AAC3B,MAAM,uBAAuB;AAC7B,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,cAAc;AACpB,MAAM,aAAa;AACnB,MAAM,cAAc;AACpB,MAAM,eAAe;AACrB,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,aAAa;AACnB,MAAM,gBAAgB;AAEtB,MAAM,cAAc;AACpB,MAAM,eAAe;;;;;;;;;;;;;;;"}

View File

@@ -1 +1 @@
{"version":3,"file":"interceptor.js","sources":["uni_modules/nutui-uni/components/_utils/interceptor.ts"],"sourcesContent":["import { isPromise } from './is'\n\nexport type Interceptor = (...args: any[]) => Promise<boolean> | boolean | undefined | void\n\nexport function funInterceptor(interceptor: Interceptor | undefined, {\n args = [],\n done,\n canceled,\n}: {\n args?: unknown[]\n done: (val?: any) => void\n canceled?: () => void\n}) {\n if (interceptor) {\n const returnVal = interceptor(null, ...args)\n\n if (isPromise(returnVal)) {\n returnVal\n .then((value) => {\n if (value)\n done(value)\n else if (canceled)\n canceled()\n })\n .catch(() => {})\n }\n else if (returnVal) {\n done()\n }\n else if (canceled) {\n canceled()\n }\n }\n else {\n done()\n }\n}\n"],"names":["isPromise"],"mappings":";;AAIO,SAAS,eAAe,aAAsC;AAAA,EACnE,OAAO,CAAC;AAAA,EACR;AAAA,EACA;AACF,GAIG;AACD,MAAI,aAAa;AACf,UAAM,YAAY,YAAY,MAAM,GAAG,IAAI;AAEvC,QAAAA,0CAAAA,UAAU,SAAS,GAAG;AAErB,gBAAA,KAAK,CAAC,UAAU;AACX,YAAA;AACF,eAAK,KAAK;AAAA,iBACH;AACE;MAAA,CACZ,EACA,MAAM,MAAM;AAAA,MAAA,CAAE;AAAA,eAEV,WAAW;AACb;eAEE,UAAU;AACR;IACX;AAAA,EAAA,OAEG;AACE;EACP;AACF;;"}
{"version":3,"file":"interceptor.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}

View File

@@ -1 +1 @@
{"version":3,"file":"props.js","sources":["uni_modules/nutui-uni/components/_utils/props.ts"],"sourcesContent":["/**\n * prop type helpers\n * help us to write less code and reduce bundle size\n * copy from https://github.com/youzan/vant/blob/main/packages/vant/src/utils/props.ts\n */\nimport type { ExtractPropTypes, PropType, StyleValue } from 'vue'\n\nexport const unknownProp = null as unknown as PropType<unknown>\n\nexport const numericProp = [Number, String]\n\nexport const truthProp = {\n type: Boolean,\n default: true as const,\n}\n\nexport const nullableBooleanProp = {\n type: Boolean as PropType<boolean | undefined>,\n default: undefined,\n}\n\nexport function makeRequiredProp<T>(type: T) {\n return {\n type,\n required: true as const,\n }\n}\n\nexport function makeArrayProp<T>(defaultVal: T[] = []) {\n return {\n type: Array as PropType<T[]>,\n default: () => defaultVal,\n }\n}\n\nexport function makeObjectProp<T>(defaultVal: T) {\n return {\n type: Object as PropType<T>,\n default: () => defaultVal,\n }\n}\n\nexport function makeNumberProp<T>(defaultVal: T) {\n return {\n type: Number,\n default: defaultVal,\n }\n}\n\nexport function makeNumericProp<T>(defaultVal: T) {\n return {\n type: numericProp,\n default: defaultVal,\n }\n}\n\nexport function makeStringProp<T>(defaultVal: T) {\n return {\n type: String as unknown as PropType<T>,\n default: defaultVal,\n }\n}\n\nexport type ClassType = string | object | Array<ClassType>\n\nexport const commonProps = {\n /**\n * @description 自定义类名\n */\n customClass: {\n type: [String, Object, Array] as PropType<ClassType>,\n default: '',\n },\n /**\n * @description 自定义样式\n */\n customStyle: {\n type: [String, Object, Array] as PropType<StyleValue>,\n default: '',\n },\n}\n\nexport type CommonProps = ExtractPropTypes<typeof commonProps>\n"],"names":[],"mappings":";AASa,MAAA,cAAc,CAAC,QAAQ,MAAM;AAEnC,MAAM,YAAY;AAAA,EACvB,MAAM;AAAA,EACN,SAAS;AACX;AAEO,MAAM,sBAAsB;AAAA,EACjC,MAAM;AAAA,EACN,SAAS;AACX;AAEO,SAAS,iBAAoB,MAAS;AACpC,SAAA;AAAA,IACL;AAAA,IACA,UAAU;AAAA,EAAA;AAEd;AAEgB,SAAA,cAAiB,aAAkB,IAAI;AAC9C,SAAA;AAAA,IACL,MAAM;AAAA,IACN,SAAS,MAAM;AAAA,EAAA;AAEnB;AAEO,SAAS,eAAkB,YAAe;AACxC,SAAA;AAAA,IACL,MAAM;AAAA,IACN,SAAS,MAAM;AAAA,EAAA;AAEnB;AAEO,SAAS,eAAkB,YAAe;AACxC,SAAA;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAEb;AAEO,SAAS,gBAAmB,YAAe;AACzC,SAAA;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAEb;AAEO,SAAS,eAAkB,YAAe;AACxC,SAAA;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAEb;AAIO,MAAM,cAAc;AAAA;AAAA;AAAA;AAAA,EAIzB,aAAa;AAAA,IACX,MAAM,CAAC,QAAQ,QAAQ,KAAK;AAAA,IAC5B,SAAS;AAAA,EACX;AAAA;AAAA;AAAA;AAAA,EAIA,aAAa;AAAA,IACX,MAAM,CAAC,QAAQ,QAAQ,KAAK;AAAA,IAC5B,SAAS;AAAA,EACX;AACF;;;;;;;;;;;"}
{"version":3,"file":"props.js","sources":["uni_modules/nutui-uni/components/_utils/props.ts"],"sourcesContent":["/**\n * prop type helpers\n * help us to write less code and reduce bundle size\n * copy from https://github.com/youzan/vant/blob/main/packages/vant/src/utils/props.ts\n */\nimport type { ExtractPropTypes, PropType, StyleValue } from 'vue'\n\nexport const unknownProp = null as unknown as PropType<unknown>\n\nexport const numericProp = [Number, String]\n\nexport const truthProp = {\n type: Boolean,\n default: true as const,\n}\n\nexport const nullableBooleanProp = {\n type: Boolean as PropType<boolean | undefined>,\n default: undefined,\n}\n\nexport function makeRequiredProp<T>(type: T) {\n return {\n type,\n required: true as const,\n }\n}\n\nexport function makeArrayProp<T>(defaultVal: T[] = []) {\n return {\n type: Array as PropType<T[]>,\n default: () => defaultVal,\n }\n}\n\nexport function makeObjectProp<T>(defaultVal: T) {\n return {\n type: Object as PropType<T>,\n default: () => defaultVal,\n }\n}\n\nexport function makeNumberProp<T>(defaultVal: T) {\n return {\n type: Number,\n default: defaultVal,\n }\n}\n\nexport function makeNumericProp<T>(defaultVal: T) {\n return {\n type: numericProp,\n default: defaultVal,\n }\n}\n\nexport function makeStringProp<T>(defaultVal: T) {\n return {\n type: String as unknown as PropType<T>,\n default: defaultVal,\n }\n}\n\nexport type ClassType = string | object | Array<ClassType>\n\nexport const commonProps = {\n /**\n * @description 自定义类名\n */\n customClass: {\n type: [String, Object, Array] as PropType<ClassType>,\n default: '',\n },\n /**\n * @description 自定义样式\n */\n customStyle: {\n type: [String, Object, Array] as PropType<StyleValue>,\n default: '',\n },\n}\n\nexport type CommonProps = ExtractPropTypes<typeof commonProps>\n"],"names":[],"mappings":";AASa,MAAA,cAAc,CAAC,QAAQ,MAAM;AAEnC,MAAM,YAAY;AAAA,EACvB,MAAM;AAAA,EACN,SAAS;AACX;AAEO,MAAM,sBAAsB;AAAA,EACjC,MAAM;AAAA,EACN,SAAS;AACX;AASgB,SAAA,cAAiB,aAAkB,IAAI;AAC9C,SAAA;AAAA,IACL,MAAM;AAAA,IACN,SAAS,MAAM;AAAA,EAAA;AAEnB;AAEO,SAAS,eAAkB,YAAe;AACxC,SAAA;AAAA,IACL,MAAM;AAAA,IACN,SAAS,MAAM;AAAA,EAAA;AAEnB;AAEO,SAAS,eAAkB,YAAe;AACxC,SAAA;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAEb;AAEO,SAAS,gBAAmB,YAAe;AACzC,SAAA;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAEb;AAEO,SAAS,eAAkB,YAAe;AACxC,SAAA;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAEb;AAIO,MAAM,cAAc;AAAA;AAAA;AAAA;AAAA,EAIzB,aAAa;AAAA,IACX,MAAM,CAAC,QAAQ,QAAQ,KAAK;AAAA,IAC5B,SAAS;AAAA,EACX;AAAA;AAAA;AAAA;AAAA,EAIA,aAAa;AAAA,IACX,MAAM,CAAC,QAAQ,QAAQ,KAAK;AAAA,IAC5B,SAAS;AAAA,EACX;AACF;;;;;;;;;"}