qidian-vue-ui 1.1.22 → 1.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_commonjsHelpers.mjs +7 -0
- package/dist/_virtual/_commonjsHelpers.mjs.map +1 -0
- package/dist/_virtual/_plugin-vue_export-helper.mjs +11 -0
- package/dist/_virtual/_plugin-vue_export-helper.mjs.map +1 -0
- package/dist/_virtual/dayjs.min.mjs +8 -0
- package/dist/_virtual/dayjs.min.mjs.map +1 -0
- package/dist/_virtual/dayjs.min2.mjs +5 -0
- package/dist/_virtual/dayjs.min2.mjs.map +1 -0
- package/dist/components/auto-tooltip/index.d.ts +2 -0
- package/dist/components/auto-tooltip/index.vue.d.ts +25 -0
- package/dist/components/auto-tooltip/index.vue.mjs +8 -0
- package/dist/components/auto-tooltip/index.vue.mjs.map +1 -0
- package/dist/components/auto-tooltip/index.vue2.mjs +81 -0
- package/dist/components/auto-tooltip/index.vue2.mjs.map +1 -0
- package/dist/components/auto-tooltip/types.d.ts +9 -0
- package/dist/components/avatar/index.d.ts +2 -0
- package/dist/components/avatar/index.vue.d.ts +17 -0
- package/dist/components/avatar/index.vue.mjs +8 -0
- package/dist/components/avatar/index.vue.mjs.map +1 -0
- package/dist/components/avatar/index.vue2.mjs +119 -0
- package/dist/components/avatar/index.vue2.mjs.map +1 -0
- package/dist/components/avatar/props.d.ts +8 -0
- package/dist/components/avatar/props.mjs +15 -0
- package/dist/components/avatar/props.mjs.map +1 -0
- package/dist/components/avatar/types.d.ts +9 -0
- package/dist/components/card/index.d.ts +2 -0
- package/dist/components/card/index.vue.d.ts +15 -0
- package/dist/components/card/index.vue.mjs +8 -0
- package/dist/components/card/index.vue.mjs.map +1 -0
- package/dist/components/card/index.vue2.mjs +89 -0
- package/dist/components/card/index.vue2.mjs.map +1 -0
- package/dist/components/card/props.d.ts +3 -0
- package/dist/components/card/props.mjs +7 -0
- package/dist/components/card/props.mjs.map +1 -0
- package/dist/components/card/types.d.ts +4 -0
- package/dist/components/config-provider/config.d.ts +8 -0
- package/dist/components/config-provider/config.mjs +15 -0
- package/dist/components/config-provider/config.mjs.map +1 -0
- package/dist/components/config-provider/index.d.ts +217 -0
- package/dist/components/config-provider/index.mjs +98 -0
- package/dist/components/config-provider/index.mjs.map +1 -0
- package/dist/components/config-provider/types.d.ts +82 -0
- package/dist/components/config-provider/useConfig.d.ts +241 -0
- package/dist/components/config-provider/useConfig.mjs +26 -0
- package/dist/components/config-provider/useConfig.mjs.map +1 -0
- package/dist/components/config-renderer/compute.d.ts +8 -0
- package/dist/components/config-renderer/compute.mjs +68 -0
- package/dist/components/config-renderer/compute.mjs.map +1 -0
- package/dist/components/config-renderer/index.d.ts +4 -0
- package/dist/components/config-renderer/index.vue.d.ts +7 -0
- package/dist/components/config-renderer/index.vue.mjs +126 -0
- package/dist/components/config-renderer/index.vue.mjs.map +1 -0
- package/dist/components/config-renderer/index.vue2.mjs +5 -0
- package/dist/components/config-renderer/index.vue2.mjs.map +1 -0
- package/dist/components/config-renderer/types.d.ts +39 -0
- package/dist/components/config-renderer/utils.d.ts +15 -0
- package/dist/components/config-renderer/utils.mjs +49 -0
- package/dist/components/config-renderer/utils.mjs.map +1 -0
- package/dist/components/crud/define.d.ts +5 -0
- package/dist/components/crud/define.mjs +11 -0
- package/dist/components/crud/define.mjs.map +1 -0
- package/dist/components/crud/index.d.ts +5 -0
- package/dist/components/crud/list.vue.d.ts +29 -0
- package/dist/components/crud/list.vue.mjs +8 -0
- package/dist/components/crud/list.vue.mjs.map +1 -0
- package/dist/components/crud/list.vue2.mjs +199 -0
- package/dist/components/crud/list.vue2.mjs.map +1 -0
- package/dist/components/crud/props.d.ts +70 -0
- package/dist/components/crud/props.mjs +37 -0
- package/dist/components/crud/props.mjs.map +1 -0
- package/dist/components/crud/search.vue.d.ts +44 -0
- package/dist/components/crud/search.vue.mjs +8 -0
- package/dist/components/crud/search.vue.mjs.map +1 -0
- package/dist/components/crud/search.vue2.mjs +98 -0
- package/dist/components/crud/search.vue2.mjs.map +1 -0
- package/dist/components/crud/table.vue.d.ts +35 -0
- package/dist/components/crud/table.vue.mjs +8 -0
- package/dist/components/crud/table.vue.mjs.map +1 -0
- package/dist/components/crud/table.vue2.mjs +1041 -0
- package/dist/components/crud/table.vue2.mjs.map +1 -0
- package/dist/components/crud/types.d.ts +70 -0
- package/dist/components/dialog/form.vue.d.ts +22 -0
- package/dist/components/dialog/form.vue.mjs +175 -0
- package/dist/components/dialog/form.vue.mjs.map +1 -0
- package/dist/components/dialog/form.vue2.mjs +5 -0
- package/dist/components/dialog/form.vue2.mjs.map +1 -0
- package/dist/components/dialog/index.d.ts +3 -0
- package/dist/components/dialog/index.vue.d.ts +35 -0
- package/dist/components/dialog/index.vue.mjs +111 -0
- package/dist/components/dialog/index.vue.mjs.map +1 -0
- package/dist/components/dialog/index.vue3.mjs +6 -0
- package/dist/components/dialog/index.vue3.mjs.map +1 -0
- package/dist/components/dialog/props.d.ts +58 -0
- package/dist/components/dialog/props.mjs +26 -0
- package/dist/components/dialog/props.mjs.map +1 -0
- package/dist/components/dialog/types.d.ts +18 -0
- package/dist/components/dict/checkbox-group.vue.d.ts +15 -0
- package/dist/components/dict/checkbox-group.vue.mjs +8 -0
- package/dist/components/dict/checkbox-group.vue.mjs.map +1 -0
- package/dist/components/dict/checkbox-group.vue2.mjs +78 -0
- package/dist/components/dict/checkbox-group.vue2.mjs.map +1 -0
- package/dist/components/dict/index.d.ts +5 -0
- package/dist/components/dict/props.d.ts +32 -0
- package/dist/components/dict/props.mjs +40 -0
- package/dist/components/dict/props.mjs.map +1 -0
- package/dist/components/dict/radio-group.vue.d.ts +13 -0
- package/dist/components/dict/radio-group.vue.mjs +8 -0
- package/dist/components/dict/radio-group.vue.mjs.map +1 -0
- package/dist/components/dict/radio-group.vue2.mjs +60 -0
- package/dist/components/dict/radio-group.vue2.mjs.map +1 -0
- package/dist/components/dict/select.vue.d.ts +31 -0
- package/dist/components/dict/select.vue.mjs +166 -0
- package/dist/components/dict/select.vue.mjs.map +1 -0
- package/dist/components/dict/select.vue2.mjs +5 -0
- package/dist/components/dict/select.vue2.mjs.map +1 -0
- package/dist/components/dict/tag.vue.d.ts +40 -0
- package/dist/components/dict/tag.vue.mjs +8 -0
- package/dist/components/dict/tag.vue.mjs.map +1 -0
- package/dist/components/dict/tag.vue2.mjs +98 -0
- package/dist/components/dict/tag.vue2.mjs.map +1 -0
- package/dist/components/dict/types.d.ts +22 -0
- package/dist/components/form/config.d.ts +3 -0
- package/dist/components/form/config.mjs +5 -0
- package/dist/components/form/config.mjs.map +1 -0
- package/dist/components/form/index.d.ts +5 -0
- package/dist/components/form/index.vue.d.ts +30 -0
- package/dist/components/form/index.vue.mjs +187 -0
- package/dist/components/form/index.vue.mjs.map +1 -0
- package/dist/components/form/index.vue2.mjs +5 -0
- package/dist/components/form/index.vue2.mjs.map +1 -0
- package/dist/components/form/item.vue.d.ts +23 -0
- package/dist/components/form/item.vue.mjs +8 -0
- package/dist/components/form/item.vue.mjs.map +1 -0
- package/dist/components/form/item.vue2.mjs +106 -0
- package/dist/components/form/item.vue2.mjs.map +1 -0
- package/dist/components/form/props.d.ts +45 -0
- package/dist/components/form/props.mjs +43 -0
- package/dist/components/form/props.mjs.map +1 -0
- package/dist/components/form/types.d.ts +26 -0
- package/dist/components/grid/config.d.ts +15 -0
- package/dist/components/grid/config.mjs +27 -0
- package/dist/components/grid/config.mjs.map +1 -0
- package/dist/components/grid/index.d.ts +4 -0
- package/dist/components/grid/index.vue.d.ts +19 -0
- package/dist/components/grid/index.vue.mjs +8 -0
- package/dist/components/grid/index.vue.mjs.map +1 -0
- package/dist/components/grid/index.vue2.mjs +58 -0
- package/dist/components/grid/index.vue2.mjs.map +1 -0
- package/dist/components/grid/item.vue.d.ts +18 -0
- package/dist/components/grid/item.vue.mjs +8 -0
- package/dist/components/grid/item.vue.mjs.map +1 -0
- package/dist/components/grid/item.vue2.mjs +73 -0
- package/dist/components/grid/item.vue2.mjs.map +1 -0
- package/dist/components/grid/types.d.ts +12 -0
- package/dist/components/image/index.d.ts +2 -0
- package/dist/components/image/index.vue.d.ts +17 -0
- package/dist/components/image/index.vue.mjs +117 -0
- package/dist/components/image/index.vue.mjs.map +1 -0
- package/dist/components/image/index.vue2.mjs +5 -0
- package/dist/components/image/index.vue2.mjs.map +1 -0
- package/dist/components/image/props.d.ts +6 -0
- package/dist/components/image/props.mjs +12 -0
- package/dist/components/image/props.mjs.map +1 -0
- package/dist/components/image/types.d.ts +6 -0
- package/dist/components/index.d.ts +15 -0
- package/dist/components/office/index.d.ts +1 -0
- package/dist/components/office/pdf/config.d.ts +6 -0
- package/dist/components/office/pdf/config.mjs +9 -0
- package/dist/components/office/pdf/config.mjs.map +1 -0
- package/dist/components/office/pdf/hooks/useZoom.d.ts +21 -0
- package/dist/components/office/pdf/hooks/useZoom.mjs +200 -0
- package/dist/components/office/pdf/hooks/useZoom.mjs.map +1 -0
- package/dist/components/office/pdf/index.d.ts +2 -0
- package/dist/components/office/pdf/index.vue.d.ts +11 -0
- package/dist/components/office/pdf/index.vue.mjs +8 -0
- package/dist/components/office/pdf/index.vue.mjs.map +1 -0
- package/dist/components/office/pdf/index.vue2.mjs +322 -0
- package/dist/components/office/pdf/index.vue2.mjs.map +1 -0
- package/dist/components/office/pdf/types.d.ts +17 -0
- package/dist/components/org/index.d.ts +2 -0
- package/dist/components/org/select/index.vue.d.ts +28 -0
- package/dist/components/org/select/index.vue.mjs +273 -0
- package/dist/components/org/select/index.vue.mjs.map +1 -0
- package/dist/components/org/select/index.vue3.mjs +6 -0
- package/dist/components/org/select/index.vue3.mjs.map +1 -0
- package/dist/components/org/select/props.d.ts +22 -0
- package/dist/components/org/select/props.mjs +19 -0
- package/dist/components/org/select/props.mjs.map +1 -0
- package/dist/components/org/select/types.d.ts +22 -0
- package/dist/components/service/index.d.ts +4 -0
- package/dist/components/service/list.vue.d.ts +26 -0
- package/dist/components/service/list.vue.mjs +8 -0
- package/dist/components/service/list.vue.mjs.map +1 -0
- package/dist/components/service/list.vue2.mjs +251 -0
- package/dist/components/service/list.vue2.mjs.map +1 -0
- package/dist/components/service/props.d.ts +58 -0
- package/dist/components/service/props.mjs +66 -0
- package/dist/components/service/props.mjs.map +1 -0
- package/dist/components/service/select.vue.d.ts +30 -0
- package/dist/components/service/select.vue.mjs +8 -0
- package/dist/components/service/select.vue.mjs.map +1 -0
- package/dist/components/service/select.vue2.mjs +407 -0
- package/dist/components/service/select.vue2.mjs.map +1 -0
- package/dist/components/service/table.vue.d.ts +29 -0
- package/dist/components/service/table.vue.mjs +8 -0
- package/dist/components/service/table.vue.mjs.map +1 -0
- package/dist/components/service/table.vue2.mjs +693 -0
- package/dist/components/service/table.vue2.mjs.map +1 -0
- package/dist/components/service/types.d.ts +44 -0
- package/dist/components/upload/config.d.ts +4 -0
- package/dist/components/upload/config.mjs +37 -0
- package/dist/components/upload/config.mjs.map +1 -0
- package/dist/components/upload/index.d.ts +3 -0
- package/dist/components/upload/index.vue.d.ts +21 -0
- package/dist/components/upload/index.vue.mjs +8 -0
- package/dist/components/upload/index.vue.mjs.map +1 -0
- package/dist/components/upload/index.vue2.mjs +526 -0
- package/dist/components/upload/index.vue2.mjs.map +1 -0
- package/dist/components/upload/props.d.ts +27 -0
- package/dist/components/upload/props.mjs +32 -0
- package/dist/components/upload/props.mjs.map +1 -0
- package/dist/components/upload/types.d.ts +43 -0
- package/dist/directive/hasPermi.d.ts +12 -0
- package/dist/directive/hasPermi.mjs +33 -0
- package/dist/directive/hasPermi.mjs.map +1 -0
- package/dist/directive/hasRole.d.ts +12 -0
- package/dist/directive/hasRole.mjs +33 -0
- package/dist/directive/hasRole.mjs.map +1 -0
- package/dist/directive/index.d.ts +2 -0
- package/dist/hooks/index.d.ts +6 -0
- package/dist/hooks/useAgentChat/index.d.ts +15 -0
- package/dist/hooks/useAgentChat/index.mjs +202 -0
- package/dist/hooks/useAgentChat/index.mjs.map +1 -0
- package/dist/hooks/useAgentChat/types.d.ts +46 -0
- package/dist/hooks/useDict/index.d.ts +18 -0
- package/dist/hooks/useDict/index.mjs +137 -0
- package/dist/hooks/useDict/index.mjs.map +1 -0
- package/dist/hooks/useDict/types.d.ts +13 -0
- package/dist/hooks/useDisabled.d.ts +5 -0
- package/dist/hooks/useDisabled.mjs +18 -0
- package/dist/hooks/useDisabled.mjs.map +1 -0
- package/dist/hooks/useModal.d.ts +35 -0
- package/dist/hooks/useModal.mjs +179 -0
- package/dist/hooks/useModal.mjs.map +1 -0
- package/dist/hooks/useReadonly.d.ts +5 -0
- package/dist/hooks/useReadonly.mjs +18 -0
- package/dist/hooks/useReadonly.mjs.map +1 -0
- package/dist/hooks/useUserAvatar/index.d.ts +5 -0
- package/dist/hooks/useUserAvatar/index.mjs +38 -0
- package/dist/hooks/useUserAvatar/index.mjs.map +1 -0
- package/dist/hooks/useUserAvatar/types.d.ts +3 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.mjs +101 -0
- package/dist/index.mjs.map +1 -0
- package/dist/locales/en-US.d.ts +316 -0
- package/dist/locales/en-US.mjs +71 -0
- package/dist/locales/en-US.mjs.map +1 -0
- package/dist/locales/zh-CN.d.ts +316 -0
- package/dist/locales/zh-CN.mjs +68 -0
- package/dist/locales/zh-CN.mjs.map +1 -0
- package/dist/locales/zh-TW.d.ts +316 -0
- package/dist/locales/zh-TW.mjs +68 -0
- package/dist/locales/zh-TW.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/fetch.mjs +90 -0
- package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/fetch.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/parse.mjs +110 -0
- package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/parse.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.22_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs +62 -0
- package/dist/node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.22_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.22_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +67 -0
- package/dist/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.22_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/dayjs.min.mjs +287 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/dayjs.min.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs +25 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs +75 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs +23 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs +28 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs +62 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSet.mjs +32 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs +24 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs +24 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs +26 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs +35 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs +44 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs +23 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBoolean.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBoolean.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isNumber.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isNumber.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs +23 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs +23 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/set.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/set.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs.map +1 -0
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.mjs +25810 -0
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.mjs.map +1 -0
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.sandbox.mjs +5 -0
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.sandbox.mjs.map +1 -0
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.worker.mjs +5 -0
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.worker.mjs.map +1 -0
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/web/pdf_viewer.mjs +8940 -0
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/web/pdf_viewer.mjs.map +1 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-0f6107c9.mjs +316 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-0f6107c9.mjs.map +1 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-4d4f98d8.mjs +330 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-4d4f98d8.mjs.map +1 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-8c6ad426.mjs +10 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-8c6ad426.mjs.map +1 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-c68053ef.mjs +17 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-c68053ef.mjs.map +1 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/locale/en_US.mjs +287 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/locale/en_US.mjs.map +1 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/locale/zh_TW.mjs +328 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/locale/zh_TW.mjs.map +1 -0
- package/dist/qidian-vue-ui.css +6054 -0
- package/dist/utils/auth.d.ts +6 -0
- package/dist/utils/auth.mjs +67 -0
- package/dist/utils/auth.mjs.map +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/time.d.ts +2 -0
- package/dist/utils/time.mjs +30 -0
- package/dist/utils/time.mjs.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,407 @@
|
|
|
1
|
+
import { defineComponent, mergeDefaults, computed, ref, watch, onMounted, onActivated, onDeactivated, createBlock, openBlock, unref, mergeProps, isRef, createSlots, withCtx, renderSlot, createCommentVNode, renderList, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
+
import { Select, Loading } from "tdesign-vue-next";
|
|
3
|
+
import { useVModels } from "../../node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.22_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs";
|
|
4
|
+
import { isEmpty, useServiceLoadMore, toArr, extractSlotsWithoutPrefix } from "qidian-shared";
|
|
5
|
+
import { qdServiceSelectKeys, qdServiceSelectProps } from "./props.mjs";
|
|
6
|
+
import { useConfig } from "../config-provider/useConfig.mjs";
|
|
7
|
+
import { qdDictConvStrSeparator } from "../dict/props.mjs";
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
|
+
...{
|
|
10
|
+
name: "QdServiceSelect"
|
|
11
|
+
},
|
|
12
|
+
__name: "select",
|
|
13
|
+
props: /* @__PURE__ */ mergeDefaults({
|
|
14
|
+
defaultSelectFirst: { type: Boolean },
|
|
15
|
+
convStr: { type: [Boolean, String] },
|
|
16
|
+
valueLabel: {},
|
|
17
|
+
searchKey: {},
|
|
18
|
+
fillOptions: {},
|
|
19
|
+
transformParams: { type: Function },
|
|
20
|
+
autoWidth: { type: Boolean },
|
|
21
|
+
autofocus: { type: Boolean },
|
|
22
|
+
borderless: { type: Boolean },
|
|
23
|
+
clearable: { type: Boolean },
|
|
24
|
+
collapsedItems: {},
|
|
25
|
+
creatable: { type: Boolean },
|
|
26
|
+
disabled: { type: Boolean },
|
|
27
|
+
empty: {},
|
|
28
|
+
filter: { type: Function },
|
|
29
|
+
filterable: { type: Boolean },
|
|
30
|
+
inputProps: {},
|
|
31
|
+
inputValue: {},
|
|
32
|
+
defaultInputValue: {},
|
|
33
|
+
keys: {},
|
|
34
|
+
label: {},
|
|
35
|
+
loading: { type: Boolean },
|
|
36
|
+
loadingText: {},
|
|
37
|
+
max: {},
|
|
38
|
+
minCollapsedNum: {},
|
|
39
|
+
multiple: { type: Boolean },
|
|
40
|
+
options: {},
|
|
41
|
+
panelBottomContent: {},
|
|
42
|
+
panelTopContent: {},
|
|
43
|
+
placeholder: {},
|
|
44
|
+
popupProps: {},
|
|
45
|
+
popupVisible: { type: Boolean },
|
|
46
|
+
defaultPopupVisible: { type: Boolean },
|
|
47
|
+
prefixIcon: {},
|
|
48
|
+
readonly: { type: Boolean },
|
|
49
|
+
reserveKeyword: { type: Boolean },
|
|
50
|
+
scroll: {},
|
|
51
|
+
selectInputProps: {},
|
|
52
|
+
showArrow: { type: Boolean },
|
|
53
|
+
size: {},
|
|
54
|
+
status: {},
|
|
55
|
+
suffix: {},
|
|
56
|
+
suffixIcon: {},
|
|
57
|
+
tagInputProps: {},
|
|
58
|
+
tagProps: {},
|
|
59
|
+
tips: {},
|
|
60
|
+
value: {},
|
|
61
|
+
defaultValue: {},
|
|
62
|
+
modelValue: {},
|
|
63
|
+
valueDisplay: {},
|
|
64
|
+
valueType: {},
|
|
65
|
+
onBlur: { type: Function },
|
|
66
|
+
onChange: { type: Function },
|
|
67
|
+
onClear: { type: Function },
|
|
68
|
+
onCreate: { type: Function },
|
|
69
|
+
onEnter: { type: Function },
|
|
70
|
+
onFocus: { type: Function },
|
|
71
|
+
onInputChange: { type: Function },
|
|
72
|
+
onPopupVisibleChange: { type: Function },
|
|
73
|
+
onRemove: { type: Function },
|
|
74
|
+
onSearch: { type: Function },
|
|
75
|
+
onBefore: { type: Function },
|
|
76
|
+
onAfter: { type: Function },
|
|
77
|
+
onSuccess: { type: Function },
|
|
78
|
+
onError: { type: Function },
|
|
79
|
+
service: { type: Function },
|
|
80
|
+
manual: { type: Boolean },
|
|
81
|
+
transformRes: { type: Function },
|
|
82
|
+
pagination: {}
|
|
83
|
+
}, qdServiceSelectProps),
|
|
84
|
+
emits: ["update:modelValue", "update:valueLabel", "update:inputValue", "update:popupVisible", "update:options"],
|
|
85
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
86
|
+
const props = __props;
|
|
87
|
+
const emit = __emit;
|
|
88
|
+
const { modelValue, valueLabel, inputValue, popupVisible, options } = useVModels(props, emit, {
|
|
89
|
+
passive: true
|
|
90
|
+
});
|
|
91
|
+
const reModelValue = computed({
|
|
92
|
+
get: () => {
|
|
93
|
+
const { convStr, selectOptions } = reProps.value;
|
|
94
|
+
const { multiple, valueType } = selectOptions;
|
|
95
|
+
if (!multiple || valueType === "object") return modelValue.value;
|
|
96
|
+
if (isEmpty(modelValue.value)) return [];
|
|
97
|
+
if (typeof modelValue.value === "string") {
|
|
98
|
+
return modelValue.value.split(
|
|
99
|
+
(typeof convStr === "string" ? convStr : "") || qdDictConvStrSeparator
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
return modelValue.value;
|
|
103
|
+
},
|
|
104
|
+
set: (val) => {
|
|
105
|
+
const { convStr, selectOptions } = reProps.value;
|
|
106
|
+
const { multiple, valueType } = selectOptions;
|
|
107
|
+
if (!multiple || valueType === "object") {
|
|
108
|
+
modelValue.value = val;
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
if (convStr && Array.isArray(val)) {
|
|
112
|
+
modelValue.value = val.join(
|
|
113
|
+
(typeof convStr === "string" ? convStr : "") || qdDictConvStrSeparator
|
|
114
|
+
);
|
|
115
|
+
} else {
|
|
116
|
+
modelValue.value = val;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
const reValueLabel = computed({
|
|
121
|
+
get: () => {
|
|
122
|
+
const { convStr, selectOptions } = reProps.value;
|
|
123
|
+
const { multiple, valueType } = selectOptions;
|
|
124
|
+
if (!multiple || valueType === "object") return valueLabel.value;
|
|
125
|
+
if (isEmpty(valueLabel.value)) return [];
|
|
126
|
+
if (typeof valueLabel.value === "string") {
|
|
127
|
+
return valueLabel.value.split(
|
|
128
|
+
(typeof convStr === "string" ? convStr : "") || qdDictConvStrSeparator
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
return valueLabel.value;
|
|
132
|
+
},
|
|
133
|
+
set: (val) => {
|
|
134
|
+
const { convStr, selectOptions } = reProps.value;
|
|
135
|
+
const { multiple, valueType } = selectOptions;
|
|
136
|
+
if (!multiple || valueType === "object") {
|
|
137
|
+
valueLabel.value = val;
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
if (convStr && Array.isArray(val)) {
|
|
141
|
+
valueLabel.value = val.join(
|
|
142
|
+
(typeof convStr === "string" ? convStr : "") || qdDictConvStrSeparator
|
|
143
|
+
);
|
|
144
|
+
} else {
|
|
145
|
+
valueLabel.value = val;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
const { t } = useConfig("loading");
|
|
150
|
+
const search = ref("");
|
|
151
|
+
const autofocus = ref(false);
|
|
152
|
+
const reProps = computed(() => {
|
|
153
|
+
const {
|
|
154
|
+
service,
|
|
155
|
+
manual,
|
|
156
|
+
transformParams,
|
|
157
|
+
transformRes,
|
|
158
|
+
pagination,
|
|
159
|
+
onBefore,
|
|
160
|
+
onAfter,
|
|
161
|
+
onSuccess,
|
|
162
|
+
onError,
|
|
163
|
+
convStr,
|
|
164
|
+
searchKey,
|
|
165
|
+
loading: externalLoad,
|
|
166
|
+
defaultSelectFirst,
|
|
167
|
+
fillOptions,
|
|
168
|
+
modelValue: modelValue2,
|
|
169
|
+
inputValue: inputValue2,
|
|
170
|
+
popupVisible: inPopupVisible,
|
|
171
|
+
options: inOptions,
|
|
172
|
+
valueLabel: valueLabel2,
|
|
173
|
+
popupProps,
|
|
174
|
+
filterable,
|
|
175
|
+
filter,
|
|
176
|
+
autofocus: autofocus2,
|
|
177
|
+
onSearch,
|
|
178
|
+
onPopupVisibleChange,
|
|
179
|
+
onFocus,
|
|
180
|
+
onChange,
|
|
181
|
+
...selectOptions
|
|
182
|
+
} = props;
|
|
183
|
+
const rePopupProps = popupProps || {};
|
|
184
|
+
rePopupProps.onScrollToBottom = (context) => {
|
|
185
|
+
popupProps?.onScrollToBottom?.(context);
|
|
186
|
+
if (loading.value || noMore.value) return;
|
|
187
|
+
loadMore();
|
|
188
|
+
};
|
|
189
|
+
const reOnSearch = (filterWords, context) => {
|
|
190
|
+
onSearch?.(filterWords, context);
|
|
191
|
+
search.value = filterWords.trim();
|
|
192
|
+
refresh();
|
|
193
|
+
};
|
|
194
|
+
const reOnPopupVisibleChange = (visible, context) => {
|
|
195
|
+
onPopupVisibleChange?.(visible, context);
|
|
196
|
+
if (loading.value) return;
|
|
197
|
+
if (visible && !options.value?.length) {
|
|
198
|
+
search.value = "";
|
|
199
|
+
refresh();
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
const reOnFocus = (context) => {
|
|
203
|
+
onFocus?.(context);
|
|
204
|
+
if (autofocus2 && !popupVisible.value) {
|
|
205
|
+
popupVisible.value = true;
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
const reOnChange = (value, context) => {
|
|
209
|
+
onChange?.(value, context);
|
|
210
|
+
const { selectOptions: selectOptions2 } = reProps.value;
|
|
211
|
+
const { multiple, keys } = selectOptions2;
|
|
212
|
+
const labelKey = keys?.label || qdServiceSelectKeys.label;
|
|
213
|
+
if (multiple) {
|
|
214
|
+
const selectedLabels = context.selectedOptions?.map((option) => option[labelKey]).filter(Boolean) || [];
|
|
215
|
+
reValueLabel.value = selectedLabels;
|
|
216
|
+
} else {
|
|
217
|
+
reValueLabel.value = context.option?.[labelKey] || "";
|
|
218
|
+
}
|
|
219
|
+
};
|
|
220
|
+
const reSearchKey = toArr(searchKey);
|
|
221
|
+
const mergedTransformParams = (params) => {
|
|
222
|
+
const searchData = {};
|
|
223
|
+
reSearchKey.forEach((key) => {
|
|
224
|
+
searchData[key] = search.value;
|
|
225
|
+
});
|
|
226
|
+
const merged = !params && !reSearchKey.length ? params : { ...params, ...searchData };
|
|
227
|
+
if (transformParams)
|
|
228
|
+
return transformParams(merged);
|
|
229
|
+
return merged;
|
|
230
|
+
};
|
|
231
|
+
const reFilterable = filterable ?? !!reSearchKey.length;
|
|
232
|
+
const reFilter = reFilterable ? handleFilter : filter;
|
|
233
|
+
return {
|
|
234
|
+
autofocus: autofocus2,
|
|
235
|
+
externalLoad,
|
|
236
|
+
defaultSelectFirst,
|
|
237
|
+
fillOptions,
|
|
238
|
+
convStr,
|
|
239
|
+
selectOptions: {
|
|
240
|
+
...selectOptions,
|
|
241
|
+
filterable: reFilterable,
|
|
242
|
+
filter: reFilter,
|
|
243
|
+
popupProps: rePopupProps,
|
|
244
|
+
onSearch: reOnSearch,
|
|
245
|
+
onPopupVisibleChange: reOnPopupVisibleChange,
|
|
246
|
+
onFocus: reOnFocus,
|
|
247
|
+
onChange: reOnChange
|
|
248
|
+
},
|
|
249
|
+
serviceOptions: {
|
|
250
|
+
service,
|
|
251
|
+
manual,
|
|
252
|
+
transformParams: mergedTransformParams,
|
|
253
|
+
transformRes,
|
|
254
|
+
pagination,
|
|
255
|
+
onBefore,
|
|
256
|
+
onAfter,
|
|
257
|
+
onSuccess,
|
|
258
|
+
onError
|
|
259
|
+
},
|
|
260
|
+
models: {
|
|
261
|
+
modelValue: modelValue2,
|
|
262
|
+
valueLabel: valueLabel2,
|
|
263
|
+
inputValue: inputValue2,
|
|
264
|
+
popupVisible: inPopupVisible,
|
|
265
|
+
options: inOptions
|
|
266
|
+
}
|
|
267
|
+
};
|
|
268
|
+
});
|
|
269
|
+
let hasAutoSelected = false;
|
|
270
|
+
let fillOptionsWatchStop;
|
|
271
|
+
let triggerServiceMerged = false;
|
|
272
|
+
const {
|
|
273
|
+
data,
|
|
274
|
+
firstLoad,
|
|
275
|
+
manualTriggerLoad,
|
|
276
|
+
loading,
|
|
277
|
+
loadingMore,
|
|
278
|
+
noMore,
|
|
279
|
+
error,
|
|
280
|
+
refresh,
|
|
281
|
+
refreshAsync,
|
|
282
|
+
cancel,
|
|
283
|
+
loadMore,
|
|
284
|
+
loadMoreAsync,
|
|
285
|
+
mutate
|
|
286
|
+
} = useServiceLoadMore({
|
|
287
|
+
...reProps.value.serviceOptions,
|
|
288
|
+
onBefore: () => {
|
|
289
|
+
fillOptionsWatchStop?.();
|
|
290
|
+
reProps.value.serviceOptions.onBefore?.();
|
|
291
|
+
},
|
|
292
|
+
onSuccess: (res) => {
|
|
293
|
+
reProps.value.serviceOptions.onSuccess?.(res);
|
|
294
|
+
const list = data.value?.list || [];
|
|
295
|
+
if (!triggerServiceMerged && reProps.value.fillOptions?.length) {
|
|
296
|
+
const map = /* @__PURE__ */ new Map();
|
|
297
|
+
[...reProps.value.fillOptions, ...list].forEach((item) => {
|
|
298
|
+
const k = item[reProps.value.selectOptions.keys?.value || qdServiceSelectKeys.value];
|
|
299
|
+
map.set(k, item);
|
|
300
|
+
});
|
|
301
|
+
options.value = Array.from(map.values());
|
|
302
|
+
} else {
|
|
303
|
+
options.value = list;
|
|
304
|
+
}
|
|
305
|
+
triggerServiceMerged = true;
|
|
306
|
+
if (!hasAutoSelected && reProps.value.defaultSelectFirst && isEmpty(reModelValue.value) && res.list.length) {
|
|
307
|
+
const firstOption = res.list[0];
|
|
308
|
+
reModelValue.value = firstOption[reProps.value.selectOptions.keys?.value || qdServiceSelectKeys.value];
|
|
309
|
+
hasAutoSelected = true;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
});
|
|
313
|
+
const selectLoad = computed(() => reProps.value.externalLoad || firstLoad.value);
|
|
314
|
+
function handleFilter(filterWords, option) {
|
|
315
|
+
if (!filterWords) return true;
|
|
316
|
+
if ("value" in option) {
|
|
317
|
+
if (reProps.value.selectOptions.multiple) {
|
|
318
|
+
if (reModelValue.value.includes(option.value)) return true;
|
|
319
|
+
} else if (reModelValue.value === option.value) {
|
|
320
|
+
return true;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
if (!option.label) return false;
|
|
324
|
+
const value = filterWords.trim().toLowerCase();
|
|
325
|
+
return option.label.toLowerCase().includes(value);
|
|
326
|
+
}
|
|
327
|
+
const expose = {
|
|
328
|
+
firstLoad,
|
|
329
|
+
manualTriggerLoad,
|
|
330
|
+
loading,
|
|
331
|
+
loadingMore,
|
|
332
|
+
noMore,
|
|
333
|
+
error,
|
|
334
|
+
refresh,
|
|
335
|
+
refreshAsync,
|
|
336
|
+
cancel,
|
|
337
|
+
loadMore,
|
|
338
|
+
loadMoreAsync,
|
|
339
|
+
mutate
|
|
340
|
+
};
|
|
341
|
+
if (reProps.value.serviceOptions.manual) {
|
|
342
|
+
fillOptionsWatchStop = watch(
|
|
343
|
+
() => reProps.value.fillOptions,
|
|
344
|
+
(fillOpts) => {
|
|
345
|
+
if (!fillOpts?.length) return;
|
|
346
|
+
options.value = fillOpts;
|
|
347
|
+
triggerServiceMerged = true;
|
|
348
|
+
},
|
|
349
|
+
{ immediate: true, deep: true }
|
|
350
|
+
);
|
|
351
|
+
}
|
|
352
|
+
onMounted(() => {
|
|
353
|
+
autofocus.value = reProps.value.autofocus;
|
|
354
|
+
});
|
|
355
|
+
onActivated(() => {
|
|
356
|
+
autofocus.value = reProps.value.autofocus;
|
|
357
|
+
});
|
|
358
|
+
onDeactivated(() => {
|
|
359
|
+
autofocus.value = false;
|
|
360
|
+
});
|
|
361
|
+
__expose(expose);
|
|
362
|
+
return (_ctx, _cache) => {
|
|
363
|
+
return openBlock(), createBlock(unref(Select), mergeProps({
|
|
364
|
+
class: "qd-service-select",
|
|
365
|
+
modelValue: reModelValue.value,
|
|
366
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => reModelValue.value = $event),
|
|
367
|
+
input: unref(inputValue),
|
|
368
|
+
"onUpdate:input": _cache[1] || (_cache[1] = ($event) => isRef(inputValue) ? inputValue.value = $event : null),
|
|
369
|
+
"popup-visible": unref(popupVisible),
|
|
370
|
+
"onUpdate:popupVisible": _cache[2] || (_cache[2] = ($event) => isRef(popupVisible) ? popupVisible.value = $event : null),
|
|
371
|
+
autofocus: autofocus.value,
|
|
372
|
+
loading: selectLoad.value
|
|
373
|
+
}, {
|
|
374
|
+
...reProps.value.selectOptions,
|
|
375
|
+
..._ctx.$slots.default ? {} : { options: unref(options) }
|
|
376
|
+
}), createSlots({
|
|
377
|
+
"panel-bottom-content": withCtx(() => [
|
|
378
|
+
unref(loading) && !unref(firstLoad) ? (openBlock(), createBlock(unref(Loading), {
|
|
379
|
+
key: 0,
|
|
380
|
+
class: "qd-service-select__load",
|
|
381
|
+
size: "small",
|
|
382
|
+
text: unref(t)("text")
|
|
383
|
+
}, null, 8, ["text"])) : _ctx.$slots["panel-bottom-content"] ? renderSlot(_ctx.$slots, "panel-bottom-content", { key: 1 }, void 0, true) : createCommentVNode("", true)
|
|
384
|
+
]),
|
|
385
|
+
default: withCtx(() => [
|
|
386
|
+
renderSlot(_ctx.$slots, "default", {
|
|
387
|
+
options: unref(options)
|
|
388
|
+
}, void 0, true)
|
|
389
|
+
]),
|
|
390
|
+
_: 2
|
|
391
|
+
}, [
|
|
392
|
+
renderList(unref(extractSlotsWithoutPrefix)(_ctx.$slots, "panel-bottom"), (_, name) => {
|
|
393
|
+
return {
|
|
394
|
+
name,
|
|
395
|
+
fn: withCtx((slotProps) => [
|
|
396
|
+
renderSlot(_ctx.$slots, name, normalizeProps(guardReactiveProps(slotProps)), void 0, true)
|
|
397
|
+
])
|
|
398
|
+
};
|
|
399
|
+
})
|
|
400
|
+
]), 1040, ["modelValue", "input", "popup-visible", "autofocus", "loading"]);
|
|
401
|
+
};
|
|
402
|
+
}
|
|
403
|
+
});
|
|
404
|
+
export {
|
|
405
|
+
_sfc_main as default
|
|
406
|
+
};
|
|
407
|
+
//# sourceMappingURL=select.vue2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.vue2.mjs","sources":["../../../src/components/service/select.vue"],"sourcesContent":["<template>\n <t-select\n class=\"qd-service-select\"\n v-model=\"reModelValue\"\n v-model:input=\"inputValue\"\n v-model:popup-visible=\"popupVisible\"\n :autofocus=\"autofocus\"\n :loading=\"selectLoad\"\n v-bind=\"{\n ...reProps.selectOptions,\n ...($slots.default ? {} : { options })\n }\"\n >\n <template #panel-bottom-content>\n <t-loading\n v-if=\"loading && !firstLoad\"\n class=\"qd-service-select__load\"\n size=\"small\"\n :text=\"t('text')\"\n />\n\n <slot v-else-if=\"$slots['panel-bottom-content']\" name=\"panel-bottom-content\" />\n </template>\n\n <template #default>\n <slot :options=\"options as D[]\" />\n </template>\n\n <template\n v-for=\"(_, name) in extractSlotsWithoutPrefix($slots, 'panel-bottom')\"\n #[name]=\"slotProps\"\n >\n <slot :name=\"name\" v-bind=\"slotProps\" />\n </template>\n </t-select>\n</template>\n\n<script\n setup\n lang=\"ts\"\n generic=\"\n D extends SelectOption = SelectOption,\n R = unknown,\n P = ServicePageParams,\n TP = P,\n Pag extends ServicePagination = ServicePagination,\n SK extends string | string[] = string | string[]\n \"\n>\n import type { SelectOption, TdSelectProps } from 'tdesign-vue-next'\n import type { ServiceMaybePageParams, ServicePageParams, ServicePagination } from 'qidian-shared'\n import type { QdServiceSelectInstanceFunctions, QdServiceSelectProps } from './types'\n import type { WatchHandle } from 'vue'\n import { computed, onActivated, onDeactivated, onMounted, ref, watch } from 'vue'\n import { Select as TSelect, Loading as TLoading } from 'tdesign-vue-next'\n import { useVModels } from '@vueuse/core'\n import { useServiceLoadMore, toArr, extractSlotsWithoutPrefix, isEmpty } from 'qidian-shared'\n import { qdServiceSelectKeys, qdServiceSelectProps } from './props'\n import { useConfig } from '../config-provider/useConfig'\n import { qdDictConvStrSeparator } from '../dict/props'\n\n defineOptions({\n name: 'QdServiceSelect'\n })\n\n type Props = QdServiceSelectProps<D, R, P, TP, Pag, SK>\n\n const props = withDefaults(defineProps<Props>(), qdServiceSelectProps)\n const emit = defineEmits<{\n 'update:modelValue': [Props['modelValue']]\n 'update:valueLabel': [Props['valueLabel']]\n 'update:inputValue': [Props['inputValue']]\n 'update:popupVisible': [Props['popupVisible']]\n 'update:options': [Props['options']]\n }>()\n const { modelValue, valueLabel, inputValue, popupVisible, options } = useVModels(props, emit, {\n passive: true\n })\n\n const reModelValue = computed({\n get: () => {\n const { convStr, selectOptions } = reProps.value\n const { multiple, valueType } = selectOptions\n if (!multiple || valueType === 'object') return modelValue.value\n\n if (isEmpty(modelValue.value)) return []\n if (typeof modelValue.value === 'string') {\n return modelValue.value.split(\n (typeof convStr === 'string' ? convStr : '') || qdDictConvStrSeparator\n )\n }\n return modelValue.value\n },\n set: (val) => {\n const { convStr, selectOptions } = reProps.value\n const { multiple, valueType } = selectOptions\n if (!multiple || valueType === 'object') {\n modelValue.value = val\n return\n }\n\n if (convStr && Array.isArray(val)) {\n modelValue.value = val.join(\n (typeof convStr === 'string' ? convStr : '') || qdDictConvStrSeparator\n )\n } else {\n modelValue.value = val\n }\n }\n })\n\n const reValueLabel = computed({\n get: () => {\n const { convStr, selectOptions } = reProps.value\n const { multiple, valueType } = selectOptions\n if (!multiple || valueType === 'object') return valueLabel.value\n\n if (isEmpty(valueLabel.value)) return []\n if (typeof valueLabel.value === 'string') {\n return valueLabel.value.split(\n (typeof convStr === 'string' ? convStr : '') || qdDictConvStrSeparator\n )\n }\n return valueLabel.value\n },\n set: (val) => {\n const { convStr, selectOptions } = reProps.value\n const { multiple, valueType } = selectOptions\n if (!multiple || valueType === 'object') {\n valueLabel.value = val\n return\n }\n\n if (convStr && Array.isArray(val)) {\n valueLabel.value = val.join(\n (typeof convStr === 'string' ? convStr : '') || qdDictConvStrSeparator\n )\n } else {\n valueLabel.value = val\n }\n }\n })\n\n const { t } = useConfig('loading')\n\n const search = ref('')\n const autofocus = ref(false)\n\n const reProps = computed(() => {\n const {\n service,\n manual,\n transformParams,\n transformRes,\n pagination,\n onBefore,\n onAfter,\n onSuccess,\n onError,\n\n convStr,\n searchKey,\n loading: externalLoad,\n defaultSelectFirst,\n fillOptions,\n\n modelValue,\n inputValue,\n popupVisible: inPopupVisible,\n options: inOptions,\n valueLabel,\n\n popupProps,\n filterable,\n filter,\n autofocus,\n onSearch,\n onPopupVisibleChange,\n onFocus,\n onChange,\n ...selectOptions\n } = props\n\n const rePopupProps = popupProps || {}\n rePopupProps.onScrollToBottom = (context: { e: WheelEvent }) => {\n popupProps?.onScrollToBottom?.(context)\n if (loading.value || noMore.value) return\n loadMore()\n }\n\n const reOnSearch: typeof onSearch = (\n filterWords: string,\n context: {\n e: KeyboardEvent\n }\n ) => {\n onSearch?.(filterWords, context)\n search.value = filterWords.trim()\n refresh()\n }\n\n const reOnPopupVisibleChange: typeof onPopupVisibleChange = (visible, context) => {\n onPopupVisibleChange?.(visible, context)\n\n if (loading.value) return\n if (visible && !options.value?.length) {\n search.value = ''\n refresh()\n }\n }\n\n const reOnFocus: typeof onFocus = (context) => {\n onFocus?.(context)\n\n if (autofocus && !popupVisible.value) {\n popupVisible.value = true\n }\n }\n\n const reOnChange = (value: any, context: any) => {\n onChange?.(value, context)\n\n // 更新 valueLabel\n const { selectOptions } = reProps.value\n const { multiple, keys } = selectOptions\n const labelKey = keys?.label || qdServiceSelectKeys.label\n\n if (multiple) {\n const selectedLabels =\n context.selectedOptions\n ?.map((option: D) => option[labelKey as keyof D] as string)\n .filter(Boolean) || []\n reValueLabel.value = selectedLabels\n } else {\n reValueLabel.value = (context.option?.[labelKey as keyof D] as string) || ''\n }\n }\n\n const reSearchKey = toArr(searchKey)\n const mergedTransformParams = (params: ServiceMaybePageParams<Pag>) => {\n const searchData: Record<string, string> = {}\n reSearchKey.forEach((key) => {\n searchData[key] = search.value\n })\n\n const merged = !params && !reSearchKey.length ? params : { ...params, ...searchData }\n if (transformParams)\n return transformParams(merged as unknown as Parameters<typeof transformParams>[0])\n return merged as TP\n }\n\n const reFilterable = filterable ?? !!reSearchKey.length\n const reFilter = reFilterable ? handleFilter : filter\n\n return {\n autofocus,\n externalLoad,\n defaultSelectFirst,\n fillOptions,\n convStr,\n selectOptions: {\n ...selectOptions,\n filterable: reFilterable,\n filter: reFilter,\n popupProps: rePopupProps,\n onSearch: reOnSearch,\n onPopupVisibleChange: reOnPopupVisibleChange,\n onFocus: reOnFocus,\n onChange: reOnChange\n } as unknown as TdSelectProps<SelectOption>,\n serviceOptions: {\n service,\n manual,\n transformParams: mergedTransformParams,\n transformRes,\n pagination,\n onBefore,\n onAfter,\n onSuccess,\n onError\n },\n models: {\n modelValue,\n valueLabel,\n inputValue,\n popupVisible: inPopupVisible,\n options: inOptions\n }\n }\n })\n\n let hasAutoSelected = false // 记录是否已经自动选择过\n let fillOptionsWatchStop: WatchHandle | undefined // 处理 fillOptions 合并逻辑\n let triggerServiceMerged = false // 记录是否已经触发过请求后合并\n\n const {\n data,\n firstLoad,\n manualTriggerLoad,\n loading,\n loadingMore,\n noMore,\n error,\n refresh,\n refreshAsync,\n cancel,\n loadMore,\n loadMoreAsync,\n mutate\n } = useServiceLoadMore({\n ...reProps.value.serviceOptions,\n onBefore: () => {\n // 请求开始时销毁 fillOptions 的 watch\n fillOptionsWatchStop?.()\n reProps.value.serviceOptions.onBefore?.()\n },\n onSuccess: (res) => {\n reProps.value.serviceOptions.onSuccess?.(res)\n\n const list = (data.value?.list || []) as D[]\n if (!triggerServiceMerged && reProps.value.fillOptions?.length) {\n const map = new Map<typeof reModelValue.value, D>()\n ;[...reProps.value.fillOptions, ...list].forEach((item) => {\n const k =\n item[\n (reProps.value.selectOptions.keys?.value ||\n qdServiceSelectKeys.value) as keyof typeof item\n ]\n map.set(k, item as D)\n })\n options.value = Array.from(map.values())\n } else {\n options.value = list\n }\n triggerServiceMerged = true\n\n // 当 defaultSelectFirst 为 true 且 modelValue 为空且未自动选择过时,默认选中第一个\n if (\n !hasAutoSelected &&\n reProps.value.defaultSelectFirst &&\n isEmpty(reModelValue.value) &&\n res.list.length\n ) {\n const firstOption = res.list[0]\n reModelValue.value =\n firstOption[\n (reProps.value.selectOptions.keys?.value ||\n qdServiceSelectKeys.value) as keyof typeof firstOption\n ]\n hasAutoSelected = true\n }\n }\n })\n\n const selectLoad = computed(() => reProps.value.externalLoad || firstLoad.value)\n\n function handleFilter(filterWords: string, option: SelectOption) {\n if (!filterWords) return true\n\n if ('value' in option) {\n if (reProps.value.selectOptions.multiple) {\n if (reModelValue.value.includes(option.value)) return true\n } else if (reModelValue.value === option.value) {\n return true\n }\n }\n\n if (!option.label) return false\n\n const value = filterWords.trim().toLowerCase()\n return option.label.toLowerCase().includes(value)\n }\n\n const expose = {\n firstLoad,\n manualTriggerLoad,\n loading,\n loadingMore,\n noMore,\n error,\n refresh,\n refreshAsync,\n cancel,\n loadMore,\n loadMoreAsync,\n mutate\n } as QdServiceSelectInstanceFunctions<D, R, P, TP, Pag>\n\n // manual 为 true 时,watch fillOptions 对 options.value 进行赋值\n if (reProps.value.serviceOptions.manual) {\n fillOptionsWatchStop = watch(\n () => reProps.value.fillOptions,\n (fillOpts) => {\n if (!fillOpts?.length) return\n\n options.value = fillOpts\n triggerServiceMerged = true\n },\n { immediate: true, deep: true }\n )\n }\n\n onMounted(() => {\n autofocus.value = reProps.value.autofocus\n })\n\n onActivated(() => {\n autofocus.value = reProps.value.autofocus\n })\n\n onDeactivated(() => {\n autofocus.value = false\n })\n\n defineExpose(expose)\n</script>\n\n<style lang=\"less\" scoped>\n .qd-service-select {\n &__load {\n width: 100%;\n border-top: 1px solid var(--td-component-stroke);\n padding: 6px;\n color: var(--td-text-color-disabled);\n }\n }\n</style>\n"],"names":["modelValue","inputValue","valueLabel","autofocus","selectOptions","_openBlock","_createBlock","_unref","_mergeProps","$slots","TLoading","_renderSlot","_renderList","_withCtx","_normalizeProps","_guardReactiveProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmEE,UAAM,QAAQ;AACd,UAAM,OAAO;AAOb,UAAM,EAAE,YAAY,YAAY,YAAY,cAAc,YAAY,WAAW,OAAO,MAAM;AAAA,MAC5F,SAAS;AAAA,IAAA,CACV;AAED,UAAM,eAAe,SAAS;AAAA,MAC5B,KAAK,MAAM;AACT,cAAM,EAAE,SAAS,cAAA,IAAkB,QAAQ;AAC3C,cAAM,EAAE,UAAU,UAAA,IAAc;AAChC,YAAI,CAAC,YAAY,cAAc,iBAAiB,WAAW;AAE3D,YAAI,QAAQ,WAAW,KAAK,UAAU,CAAA;AACtC,YAAI,OAAO,WAAW,UAAU,UAAU;AACxC,iBAAO,WAAW,MAAM;AAAA,aACrB,OAAO,YAAY,WAAW,UAAU,OAAO;AAAA,UAAA;AAAA,QAEpD;AACA,eAAO,WAAW;AAAA,MACpB;AAAA,MACA,KAAK,CAAC,QAAQ;AACZ,cAAM,EAAE,SAAS,cAAA,IAAkB,QAAQ;AAC3C,cAAM,EAAE,UAAU,UAAA,IAAc;AAChC,YAAI,CAAC,YAAY,cAAc,UAAU;AACvC,qBAAW,QAAQ;AACnB;AAAA,QACF;AAEA,YAAI,WAAW,MAAM,QAAQ,GAAG,GAAG;AACjC,qBAAW,QAAQ,IAAI;AAAA,aACpB,O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AAA,IAAvBE,WAA+E,KAAA,QAAA,wBAAA,EAAA,KAAA,EAAA,GAAA,QAAA,IAAA;;QAGtE,iBACT,MAAkC;AAAA,UAAlCA,WAAkC,KAAA,QAAA,WAAA;AAAA,YAA3B,SAASJ,MAAA,OAAA;AAAA,UAAA;;;;QAIIK,WAAAL,MAAA,yBAAA,EAA0BE,KAAAA,QAAM,cAAA,GAAA,CAA5C,GAAG,SAAI;;;YAGf,IAAAI,QAAA,CAFS,cAAS;AAAA,cAElBF,WAAwC,KAAA,QAA3B,MAAIG,eAAAC,mBAAU,SAAS,CAAA,GAAA,QAAA,IAAA;AAAA,YAAA;;;;;;;"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { TableRowData } from 'tdesign-vue-next';
|
|
2
|
+
import type { ServicePageParams, ServicePagination } from 'qidian-shared';
|
|
3
|
+
import type { QdServiceTableInstanceFunctions, QdServiceTableProps } from './types';
|
|
4
|
+
declare const _default: <D extends TableRowData = TableRowData, R = unknown, P = ServicePageParams, TP = P, Pag extends ServicePagination = ServicePagination>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
|
+
readonly "onUpdate:data"?: ((args_0: D[] | undefined) => any) | undefined;
|
|
7
|
+
readonly "onUpdate:selectedRowKeys"?: ((args_0: (string | number)[] | undefined) => any) | undefined;
|
|
8
|
+
readonly "onUpdate:activeRowKeys"?: ((args_0: (string | number)[] | undefined) => any) | undefined;
|
|
9
|
+
readonly "onUpdate:columnControllerVisible"?: ((args_0: boolean | undefined) => any) | undefined;
|
|
10
|
+
readonly "onUpdate:displayColumns"?: ((args_0: import("tdesign-vue-next").CheckboxGroupValue | undefined) => any) | undefined;
|
|
11
|
+
readonly "onUpdate:expandedRowKeys"?: ((args_0: (string | number)[] | undefined) => any) | undefined;
|
|
12
|
+
readonly "onUpdate:filterValue"?: ((args_0: import("tdesign-vue-next").FilterValue | undefined) => any) | undefined;
|
|
13
|
+
readonly "onUpdate:sort"?: ((args_0: import("tdesign-vue-next").TableSort | undefined) => any) | undefined;
|
|
14
|
+
readonly "onUpdate:expandedTreeNodes"?: ((args_0: (string | number)[] | undefined) => any) | undefined;
|
|
15
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:data" | "onUpdate:selectedRowKeys" | "onUpdate:activeRowKeys" | "onUpdate:columnControllerVisible" | "onUpdate:displayColumns" | "onUpdate:expandedRowKeys" | "onUpdate:filterValue" | "onUpdate:sort" | "onUpdate:expandedTreeNodes"> & QdServiceTableProps<D, R, P, TP, Pag> & Partial<{}>> & import("vue").PublicProps;
|
|
16
|
+
expose(exposed: import("vue").ShallowUnwrapRef<QdServiceTableInstanceFunctions<D, R, P, TP, Pag>>): void;
|
|
17
|
+
attrs: any;
|
|
18
|
+
slots: {
|
|
19
|
+
[x: string]: ((props: any) => any) | undefined;
|
|
20
|
+
[x: number]: ((props: any) => any) | undefined;
|
|
21
|
+
};
|
|
22
|
+
emit: ((evt: "update:data", args_0: D[] | undefined) => void) & ((evt: "update:selectedRowKeys", args_0: (string | number)[] | undefined) => void) & ((evt: "update:activeRowKeys", args_0: (string | number)[] | undefined) => void) & ((evt: "update:columnControllerVisible", args_0: boolean | undefined) => void) & ((evt: "update:displayColumns", args_0: import("tdesign-vue-next").CheckboxGroupValue | undefined) => void) & ((evt: "update:expandedRowKeys", args_0: (string | number)[] | undefined) => void) & ((evt: "update:filterValue", args_0: import("tdesign-vue-next").FilterValue | undefined) => void) & ((evt: "update:sort", args_0: import("tdesign-vue-next").TableSort | undefined) => void) & ((evt: "update:expandedTreeNodes", args_0: (string | number)[] | undefined) => void);
|
|
23
|
+
}>) => import("vue").VNode & {
|
|
24
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
25
|
+
};
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_PrettifyLocal<T> = {
|
|
28
|
+
[K in keyof T]: T[K];
|
|
29
|
+
} & {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import _sfc_main from "./table.vue2.mjs";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const QdServiceTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-698f981f"]]);
|
|
5
|
+
export {
|
|
6
|
+
QdServiceTable as default
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=table.vue.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|