qidian-vue-ui 1.1.22 → 1.1.23
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 +14 -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,58 @@
|
|
|
1
|
+
export declare const qdDialogProps: {
|
|
2
|
+
readonly width: "min(960px, 100%)";
|
|
3
|
+
readonly theme: "default";
|
|
4
|
+
readonly attach: "body";
|
|
5
|
+
readonly header: true;
|
|
6
|
+
readonly footer: true;
|
|
7
|
+
readonly closeBtn: true;
|
|
8
|
+
readonly closeOnEscKeydown: true;
|
|
9
|
+
readonly closeOnOverlayClick: false;
|
|
10
|
+
readonly confirmOnEnter: undefined;
|
|
11
|
+
readonly destroyOnClose: false;
|
|
12
|
+
readonly lazy: true;
|
|
13
|
+
readonly placement: "center";
|
|
14
|
+
readonly preventScrollThrough: true;
|
|
15
|
+
readonly showOverlay: true;
|
|
16
|
+
};
|
|
17
|
+
export declare const qdDialogFormProps: {
|
|
18
|
+
readonly wrapper: () => {
|
|
19
|
+
readonly width: "min(960px, 100%)";
|
|
20
|
+
readonly theme: "default";
|
|
21
|
+
readonly attach: "body";
|
|
22
|
+
readonly header: true;
|
|
23
|
+
readonly footer: true;
|
|
24
|
+
readonly closeBtn: true;
|
|
25
|
+
readonly closeOnEscKeydown: true;
|
|
26
|
+
readonly closeOnOverlayClick: false;
|
|
27
|
+
readonly confirmOnEnter: undefined;
|
|
28
|
+
readonly destroyOnClose: false;
|
|
29
|
+
readonly lazy: true;
|
|
30
|
+
readonly placement: "center";
|
|
31
|
+
readonly preventScrollThrough: true;
|
|
32
|
+
readonly showOverlay: true;
|
|
33
|
+
};
|
|
34
|
+
readonly gutter: () => number[];
|
|
35
|
+
readonly grid: () => {
|
|
36
|
+
col: {
|
|
37
|
+
xs: number;
|
|
38
|
+
sm: number;
|
|
39
|
+
md: number;
|
|
40
|
+
lg: number;
|
|
41
|
+
xl: number;
|
|
42
|
+
xxl: number;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
readonly data: () => any;
|
|
46
|
+
readonly disabled: undefined;
|
|
47
|
+
readonly readonly: undefined;
|
|
48
|
+
readonly labelAlign: "top";
|
|
49
|
+
readonly labelWidth: "auto";
|
|
50
|
+
readonly requiredMarkPosition: "left";
|
|
51
|
+
readonly resetType: "initial";
|
|
52
|
+
readonly scrollToFirstError: "smooth";
|
|
53
|
+
readonly preventSubmitDefault: true;
|
|
54
|
+
readonly requiredMark: undefined;
|
|
55
|
+
readonly showErrorMessage: true;
|
|
56
|
+
readonly statusIcon: undefined;
|
|
57
|
+
readonly defaultClearable: undefined;
|
|
58
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { qdFormProps } from "../form/props.mjs";
|
|
2
|
+
const qdDialogProps = {
|
|
3
|
+
width: "min(960px, 100%)",
|
|
4
|
+
theme: "default",
|
|
5
|
+
attach: "body",
|
|
6
|
+
header: true,
|
|
7
|
+
footer: true,
|
|
8
|
+
closeBtn: true,
|
|
9
|
+
closeOnEscKeydown: true,
|
|
10
|
+
closeOnOverlayClick: false,
|
|
11
|
+
confirmOnEnter: void 0,
|
|
12
|
+
destroyOnClose: false,
|
|
13
|
+
lazy: true,
|
|
14
|
+
placement: "center",
|
|
15
|
+
preventScrollThrough: true,
|
|
16
|
+
showOverlay: true
|
|
17
|
+
};
|
|
18
|
+
const qdDialogFormProps = {
|
|
19
|
+
...qdFormProps,
|
|
20
|
+
wrapper: () => qdDialogProps
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
qdDialogFormProps,
|
|
24
|
+
qdDialogProps
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=props.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.mjs","sources":["../../../src/components/dialog/props.ts"],"sourcesContent":["import { qdFormProps } from '../form/props'\n\nexport const qdDialogProps = {\n width: 'min(960px, 100%)',\n theme: 'default',\n attach: 'body',\n header: true,\n footer: true,\n closeBtn: true,\n closeOnEscKeydown: true,\n closeOnOverlayClick: false,\n confirmOnEnter: undefined,\n destroyOnClose: false,\n lazy: true,\n placement: 'center',\n preventScrollThrough: true,\n showOverlay: true\n} as const\n\nexport const qdDialogFormProps = {\n ...qdFormProps,\n\n wrapper: () => qdDialogProps\n} as const\n"],"names":[],"mappings":";AAEO,MAAM,gBAAgB;AAAA,EAC3B,OAAO;AAAA,EACP,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,MAAM;AAAA,EACN,WAAW;AAAA,EACX,sBAAsB;AAAA,EACtB,aAAa;AACf;AAEO,MAAM,oBAAoB;AAAA,EAC/B,GAAG;AAAA,EAEH,SAAS,MAAM;AACjB;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Data, FormInstanceFunctions, TdDialogProps } from 'tdesign-vue-next';
|
|
2
|
+
import type { QdFormProps, QdFormSubmitContext } from '../form';
|
|
3
|
+
export type QdDialogDone = (closed: boolean) => void;
|
|
4
|
+
export interface QdDialogProps extends Omit<TdDialogProps, 'onConfirm'> {
|
|
5
|
+
onConfirm?: (done: QdDialogDone) => void | Promise<void>;
|
|
6
|
+
}
|
|
7
|
+
export interface QdDialogInstanceFunctions {
|
|
8
|
+
show: () => void;
|
|
9
|
+
hide: () => void;
|
|
10
|
+
}
|
|
11
|
+
export interface QdDialogFormProps<FD extends Data = Data> extends Omit<QdFormProps<FD>, 'onSubmit'>, Pick<QdDialogProps, 'visible'> {
|
|
12
|
+
onSubmit?: (context: QdFormSubmitContext<FD>) => void | boolean | Promise<void | boolean>;
|
|
13
|
+
wrapper?: Omit<QdDialogProps, 'visible'>;
|
|
14
|
+
}
|
|
15
|
+
export interface QdDialogFormInstanceFunctions<FD extends Data = Data> extends FormInstanceFunctions {
|
|
16
|
+
show: (data?: FD) => void;
|
|
17
|
+
hide: () => void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { QdDictCheckboxGroupProps } from './types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<QdDictCheckboxGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
"update:modelValue": (args_0: string | import("tdesign-vue-next").CheckboxGroupValue | undefined) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<QdDictCheckboxGroupProps> & Readonly<{
|
|
5
|
+
"onUpdate:modelValue"?: ((args_0: string | import("tdesign-vue-next").CheckboxGroupValue | undefined) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
modelValue: import("tdesign-vue-next").CheckboxGroupValue | string;
|
|
9
|
+
value: import("tdesign-vue-next").CheckboxGroupValue;
|
|
10
|
+
defaultValue: import("tdesign-vue-next").CheckboxGroupValue;
|
|
11
|
+
max: number;
|
|
12
|
+
convStr: boolean | string;
|
|
13
|
+
readonly: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import _sfc_main from "./checkbox-group.vue2.mjs";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const checkboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ef427474"]]);
|
|
5
|
+
export {
|
|
6
|
+
checkboxGroup as default
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=checkbox-group.vue.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox-group.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { defineComponent, mergeDefaults, computed, toRef, withDirectives, createBlock, openBlock, unref, mergeProps } from "vue";
|
|
2
|
+
import { qdDictConvStrSeparator, qdDictCheckboxGroupProps } from "./props.mjs";
|
|
3
|
+
import { CheckboxGroup, LoadingDirective } from "tdesign-vue-next";
|
|
4
|
+
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";
|
|
5
|
+
import "../../hooks/useAgentChat/index.mjs";
|
|
6
|
+
import "../../locales/zh-CN.mjs";
|
|
7
|
+
import { isEmpty } from "qidian-shared";
|
|
8
|
+
import { useDictDynamic } from "../../hooks/useDict/index.mjs";
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
+
...{
|
|
11
|
+
name: "QdDictCheckboxGroup"
|
|
12
|
+
},
|
|
13
|
+
__name: "checkbox-group",
|
|
14
|
+
props: /* @__PURE__ */ mergeDefaults({
|
|
15
|
+
dictType: {},
|
|
16
|
+
convStr: { type: [Boolean, String] },
|
|
17
|
+
modelValue: {},
|
|
18
|
+
disabled: { type: Boolean },
|
|
19
|
+
lazyLoad: { type: Boolean },
|
|
20
|
+
max: {},
|
|
21
|
+
name: {},
|
|
22
|
+
readonly: { type: Boolean },
|
|
23
|
+
value: {},
|
|
24
|
+
defaultValue: {},
|
|
25
|
+
onChange: { type: Function }
|
|
26
|
+
}, qdDictCheckboxGroupProps),
|
|
27
|
+
emits: ["update:modelValue"],
|
|
28
|
+
setup(__props, { emit: __emit }) {
|
|
29
|
+
const vLoading = LoadingDirective;
|
|
30
|
+
const props = __props;
|
|
31
|
+
const emit = __emit;
|
|
32
|
+
const { modelValue } = useVModels(props, emit, { passive: true });
|
|
33
|
+
const reModelValue = computed({
|
|
34
|
+
get: () => {
|
|
35
|
+
if (isEmpty(modelValue.value)) return [];
|
|
36
|
+
if (typeof modelValue.value === "string") {
|
|
37
|
+
const { convStr } = reProps.value;
|
|
38
|
+
return modelValue.value.split((typeof convStr === "string" ? convStr : "") || qdDictConvStrSeparator);
|
|
39
|
+
}
|
|
40
|
+
return modelValue.value;
|
|
41
|
+
},
|
|
42
|
+
set: (val) => {
|
|
43
|
+
const { convStr } = reProps.value;
|
|
44
|
+
if (convStr) {
|
|
45
|
+
modelValue.value = val.join((typeof convStr === "string" ? convStr : "") || qdDictConvStrSeparator);
|
|
46
|
+
} else {
|
|
47
|
+
modelValue.value = val;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
const dictType = toRef(props, "dictType");
|
|
52
|
+
const reProps = computed(() => {
|
|
53
|
+
const { modelValue: modelValue2, dictType: dictType2, convStr, ...checkboxOptions } = props;
|
|
54
|
+
return {
|
|
55
|
+
dictType: dictType2,
|
|
56
|
+
convStr,
|
|
57
|
+
checkboxOptions,
|
|
58
|
+
models: {
|
|
59
|
+
modelValue: modelValue2
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
});
|
|
63
|
+
const { options: dictOptions, loading: dictLoading } = useDictDynamic(dictType);
|
|
64
|
+
return (_ctx, _cache) => {
|
|
65
|
+
return withDirectives((openBlock(), createBlock(unref(CheckboxGroup), mergeProps({
|
|
66
|
+
modelValue: reModelValue.value,
|
|
67
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => reModelValue.value = $event),
|
|
68
|
+
class: "qd-dict-checkbox-group"
|
|
69
|
+
}, reProps.value.checkboxOptions, { options: unref(dictOptions) }), null, 16, ["modelValue", "options"])), [
|
|
70
|
+
[unref(vLoading), { loading: unref(dictLoading), size: "small" }]
|
|
71
|
+
]);
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
export {
|
|
76
|
+
_sfc_main as default
|
|
77
|
+
};
|
|
78
|
+
//# sourceMappingURL=checkbox-group.vue2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox-group.vue2.mjs","sources":["../../../src/components/dict/checkbox-group.vue"],"sourcesContent":["<template>\n <t-checkbox-group\n v-model=\"reModelValue\"\n v-loading=\"{ loading: dictLoading, size: 'small' }\"\n class=\"qd-dict-checkbox-group\"\n v-bind=\"reProps.checkboxOptions\"\n :options=\"dictOptions\"\n />\n</template>\n\n<script setup lang=\"ts\">\n import type { QdDictCheckboxGroupProps } from './types'\n import { qdDictCheckboxGroupProps, qdDictConvStrSeparator } from './props'\n import { LoadingDirective, CheckboxGroup as TCheckboxGroup } from 'tdesign-vue-next'\n import { useVModels } from '@vueuse/core'\n import { computed, toRef } from 'vue'\n import { useDictDynamic } from '../../hooks'\n import { isEmpty } from 'qidian-shared'\n\n defineOptions({\n name: 'QdDictCheckboxGroup'\n })\n\n const vLoading = LoadingDirective\n\n const props = withDefaults(defineProps<QdDictCheckboxGroupProps>(), qdDictCheckboxGroupProps)\n const emit = defineEmits<{\n 'update:modelValue': [QdDictCheckboxGroupProps['modelValue']]\n }>()\n\n const { modelValue } = useVModels(props, emit, { passive: true })\n\n const reModelValue = computed({\n get: () => {\n if (isEmpty(modelValue.value)) return []\n if (typeof modelValue.value === 'string') {\n const { convStr } = reProps.value\n return modelValue.value.split((typeof convStr === 'string' ? convStr : '') || qdDictConvStrSeparator)\n }\n return modelValue.value\n },\n set: (val) => {\n const { convStr } = reProps.value\n if (convStr) {\n modelValue.value = val.join((typeof convStr === 'string' ? convStr : '') || qdDictConvStrSeparator)\n } else {\n modelValue.value = val\n }\n }\n })\n\n const dictType = toRef(props, 'dictType')\n\n const reProps = computed(() => {\n const { modelValue, dictType, convStr, ...checkboxOptions } = props\n\n return {\n dictType,\n convStr,\n checkboxOptions,\n models: {\n modelValue\n }\n }\n })\n\n const { options: dictOptions, loading: dictLoading } = useDictDynamic(dictType)\n</script>\n\n<style lang=\"less\" scoped>\n .qd-dict-checkbox-group {\n :deep(.t-loading) {\n position: relative;\n }\n }\n</style>\n"],"names":["modelValue","dictType","_withDirectives","_openBlock","_createBlock","_unref","_mergeProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBE,UAAM,WAAW;AAEjB,UAAM,QAAQ;AACd,UAAM,OAAO;AAIb,UAAM,EAAE,eAAe,WAAW,OAAO,MAAM,EAAE,SAAS,MAAM;AAEhE,UAAM,eAAe,SAAS;AAAA,MAC5B,KAAK,MAAM;AACT,YAAI,QAAQ,WAAW,KAAK,UAAU,CAAA;AACtC,YAAI,OAAO,WAAW,UAAU,UAAU;AACxC,gBAAM,EAAE,YAAY,QAAQ;AAC5B,iBAAO,WAAW,MAAM,OAAO,OAAO,YAAY,WAAW,UAAU,OAAO,sBAAsB;AAAA,QACtG;AACA,eAAO,WAAW;AAAA,MACpB;AAAA,MACA,KAAK,CAAC,QAAQ;AACZ,cAAM,EAAE,YAAY,QAAQ;AAC5B,YAAI,SAAS;AACX,qBAAW,QAAQ,IAAI,MAAM,OAAO,YAAY,WAAW,UAAU,OAAO,sBAAsB;AAAA,QACpG,OAAO;AACL,qBAAW,QAAQ;AAAA,QACrB;AAAA,MACF;AAAA,IAAA,CACD;AAED,UAAM,WAAW,MAAM,OAAO,UAAU;AAExC,UAAM,UAAU,SAAS,MAAM;AAC7B,YAAM,EAAE,YAAAA,aAAY,UAAAC,WAAU,SAAS,GAAG,oBAAoB;AAE9D,aAAO;AAAA,QACL,UAAAA;AAAAA,QACA;AAAA,QACA;AAAA,QACA,QAAQ;AAAA,UACN,YAAAD;AAAAA,QAAA;AAAA,MACF;AAAA,IAEJ,CAAC;AAED,UAAM,EAAE,SAAS,aAAa,SAAS,YAAA,IAAgB,eAAe,QAAQ;;AAjE9E,aAAAE,gBAAAC,aAAAC,YAMEC,sBANFC,WAME;AAAA,oBALS,aAAA;AAAA,qEAAA,aAAY,QAAA;AAAA,QAErB,OAAM;AAAA,MAAA,GACE,QAAA,MAAQ,iBAAe,EAC9B,SAASD,MAAA,WAAA,EAAA,CAAW,GAAA,MAAA,IAAA,CAAA,cAAA,SAAA,CAAA,IAAA;AAAA,qCAHCA,MAAA,WAAA,GAAW,MAAA,QAAA,CAAA;AAAA,MAAA;;;;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as QdDictSelect } from './select.vue';
|
|
2
|
+
export { default as QdDictRadioGroup } from './radio-group.vue';
|
|
3
|
+
export { default as QdDictCheckboxGroup } from './checkbox-group.vue';
|
|
4
|
+
export { default as QdDictTag } from './tag.vue';
|
|
5
|
+
export type { QdDictSelectProps, QdDictRadioGroupProps, QdDictCheckboxGroupProps, QdDictTagProps } from './types';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const qdDictConvStrSeparator = ",";
|
|
2
|
+
export declare const qdDictSelectProps: {
|
|
3
|
+
readonly showArrow: true;
|
|
4
|
+
readonly filterable: true;
|
|
5
|
+
readonly popupVisible: undefined;
|
|
6
|
+
readonly disabled: undefined;
|
|
7
|
+
readonly clearable: false;
|
|
8
|
+
readonly readonly: undefined;
|
|
9
|
+
readonly valueType: "value";
|
|
10
|
+
readonly defaultSelectFirst: false;
|
|
11
|
+
readonly convStr: false;
|
|
12
|
+
};
|
|
13
|
+
export declare const qdDictRadioGroupProps: {
|
|
14
|
+
readonly allowUncheck: false;
|
|
15
|
+
readonly disabled: undefined;
|
|
16
|
+
readonly readonly: undefined;
|
|
17
|
+
readonly theme: "radio";
|
|
18
|
+
readonly variant: "outline";
|
|
19
|
+
};
|
|
20
|
+
export declare const qdDictCheckboxGroupProps: {
|
|
21
|
+
readonly max: undefined;
|
|
22
|
+
readonly disabled: undefined;
|
|
23
|
+
readonly readonly: undefined;
|
|
24
|
+
readonly modelValue: () => never[];
|
|
25
|
+
readonly value: () => never[];
|
|
26
|
+
readonly defaultValue: () => never[];
|
|
27
|
+
readonly convStr: false;
|
|
28
|
+
};
|
|
29
|
+
export declare const qdDictTagProps: {
|
|
30
|
+
readonly options: undefined;
|
|
31
|
+
readonly strict: false;
|
|
32
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const qdDictConvStrSeparator = ",";
|
|
2
|
+
const qdDictSelectProps = {
|
|
3
|
+
showArrow: true,
|
|
4
|
+
filterable: true,
|
|
5
|
+
popupVisible: void 0,
|
|
6
|
+
disabled: void 0,
|
|
7
|
+
clearable: false,
|
|
8
|
+
readonly: void 0,
|
|
9
|
+
valueType: "value",
|
|
10
|
+
defaultSelectFirst: false,
|
|
11
|
+
convStr: false
|
|
12
|
+
};
|
|
13
|
+
const qdDictRadioGroupProps = {
|
|
14
|
+
allowUncheck: false,
|
|
15
|
+
disabled: void 0,
|
|
16
|
+
readonly: void 0,
|
|
17
|
+
theme: "radio",
|
|
18
|
+
variant: "outline"
|
|
19
|
+
};
|
|
20
|
+
const qdDictCheckboxGroupProps = {
|
|
21
|
+
max: void 0,
|
|
22
|
+
disabled: void 0,
|
|
23
|
+
readonly: void 0,
|
|
24
|
+
modelValue: () => [],
|
|
25
|
+
value: () => [],
|
|
26
|
+
defaultValue: () => [],
|
|
27
|
+
convStr: false
|
|
28
|
+
};
|
|
29
|
+
const qdDictTagProps = {
|
|
30
|
+
options: void 0,
|
|
31
|
+
strict: false
|
|
32
|
+
};
|
|
33
|
+
export {
|
|
34
|
+
qdDictCheckboxGroupProps,
|
|
35
|
+
qdDictConvStrSeparator,
|
|
36
|
+
qdDictRadioGroupProps,
|
|
37
|
+
qdDictSelectProps,
|
|
38
|
+
qdDictTagProps
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=props.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.mjs","sources":["../../../src/components/dict/props.ts"],"sourcesContent":["export const qdDictConvStrSeparator = ','\n\nexport const qdDictSelectProps = {\n showArrow: true,\n filterable: true,\n popupVisible: undefined,\n disabled: undefined,\n clearable: false,\n readonly: undefined,\n valueType: 'value',\n defaultSelectFirst: false,\n convStr: false\n} as const\n\nexport const qdDictRadioGroupProps = {\n allowUncheck: false,\n disabled: undefined,\n readonly: undefined,\n theme: 'radio',\n variant: 'outline'\n} as const\n\nexport const qdDictCheckboxGroupProps = {\n max: undefined,\n disabled: undefined,\n readonly: undefined,\n modelValue: () => [],\n value: () => [],\n defaultValue: () => [],\n convStr: false\n} as const\n\nexport const qdDictTagProps = {\n options: undefined,\n strict: false\n} as const\n"],"names":[],"mappings":"AAAO,MAAM,yBAAyB;AAE/B,MAAM,oBAAoB;AAAA,EAC/B,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,cAAc;AAAA,EACd,UAAU;AAAA,EACV,WAAW;AAAA,EACX,UAAU;AAAA,EACV,WAAW;AAAA,EACX,oBAAoB;AAAA,EACpB,SAAS;AACX;AAEO,MAAM,wBAAwB;AAAA,EACnC,cAAc;AAAA,EACd,UAAU;AAAA,EACV,UAAU;AAAA,EACV,OAAO;AAAA,EACP,SAAS;AACX;AAEO,MAAM,2BAA2B;AAAA,EACtC,KAAK;AAAA,EACL,UAAU;AAAA,EACV,UAAU;AAAA,EACV,YAAY,MAAM,CAAA;AAAA,EAClB,OAAO,MAAM,CAAA;AAAA,EACb,cAAc,MAAM,CAAA;AAAA,EACpB,SAAS;AACX;AAEO,MAAM,iBAAiB;AAAA,EAC5B,SAAS;AAAA,EACT,QAAQ;AACV;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { QdDictRadioGroupProps } from './types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<QdDictRadioGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
"update:modelValue": (args_0: import("tdesign-vue-next").RadioValue | undefined) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<QdDictRadioGroupProps> & Readonly<{
|
|
5
|
+
"onUpdate:modelValue"?: ((args_0: import("tdesign-vue-next").RadioValue | undefined) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
theme: "radio" | "button";
|
|
9
|
+
variant: "outline" | "primary-filled" | "default-filled";
|
|
10
|
+
readonly: boolean;
|
|
11
|
+
allowUncheck: boolean;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import _sfc_main from "./radio-group.vue2.mjs";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const radioGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e97fb1f0"]]);
|
|
5
|
+
export {
|
|
6
|
+
radioGroup as default
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=radio-group.vue.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { defineComponent, mergeDefaults, toRef, computed, withDirectives, createBlock, openBlock, unref, mergeProps, isRef } from "vue";
|
|
2
|
+
import { qdDictRadioGroupProps } from "./props.mjs";
|
|
3
|
+
import { RadioGroup, LoadingDirective } from "tdesign-vue-next";
|
|
4
|
+
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";
|
|
5
|
+
import "../../hooks/useAgentChat/index.mjs";
|
|
6
|
+
import "../../locales/zh-CN.mjs";
|
|
7
|
+
import "qidian-shared";
|
|
8
|
+
import { useDictDynamic } from "../../hooks/useDict/index.mjs";
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
+
...{
|
|
11
|
+
name: "QdDictRadioGroup"
|
|
12
|
+
},
|
|
13
|
+
__name: "radio-group",
|
|
14
|
+
props: /* @__PURE__ */ mergeDefaults({
|
|
15
|
+
dictType: {},
|
|
16
|
+
allowUncheck: { type: Boolean },
|
|
17
|
+
disabled: { type: Boolean },
|
|
18
|
+
name: {},
|
|
19
|
+
readonly: { type: Boolean },
|
|
20
|
+
size: {},
|
|
21
|
+
theme: {},
|
|
22
|
+
value: {},
|
|
23
|
+
defaultValue: {},
|
|
24
|
+
modelValue: {},
|
|
25
|
+
variant: {},
|
|
26
|
+
onChange: { type: Function }
|
|
27
|
+
}, qdDictRadioGroupProps),
|
|
28
|
+
emits: ["update:modelValue"],
|
|
29
|
+
setup(__props, { emit: __emit }) {
|
|
30
|
+
const vLoading = LoadingDirective;
|
|
31
|
+
const props = __props;
|
|
32
|
+
const emit = __emit;
|
|
33
|
+
const { modelValue } = useVModels(props, emit, { passive: true });
|
|
34
|
+
const dictType = toRef(props, "dictType");
|
|
35
|
+
const reProps = computed(() => {
|
|
36
|
+
const { modelValue: modelValue2, dictType: dictType2, ...radioOptions } = props;
|
|
37
|
+
return {
|
|
38
|
+
dictType: dictType2,
|
|
39
|
+
radioOptions,
|
|
40
|
+
models: {
|
|
41
|
+
modelValue: modelValue2
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
});
|
|
45
|
+
const { options: dictOptions, loading: dictLoading } = useDictDynamic(dictType);
|
|
46
|
+
return (_ctx, _cache) => {
|
|
47
|
+
return withDirectives((openBlock(), createBlock(unref(RadioGroup), mergeProps({
|
|
48
|
+
modelValue: unref(modelValue),
|
|
49
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),
|
|
50
|
+
class: "qd-dict-radio-group"
|
|
51
|
+
}, reProps.value.radioOptions, { options: unref(dictOptions) }), null, 16, ["modelValue", "options"])), [
|
|
52
|
+
[unref(vLoading), { loading: unref(dictLoading), size: "small" }]
|
|
53
|
+
]);
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
export {
|
|
58
|
+
_sfc_main as default
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=radio-group.vue2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group.vue2.mjs","sources":["../../../src/components/dict/radio-group.vue"],"sourcesContent":["<template>\n <t-radio-group\n v-model=\"modelValue\"\n v-loading=\"{ loading: dictLoading, size: 'small' }\"\n class=\"qd-dict-radio-group\"\n v-bind=\"reProps.radioOptions\"\n :options=\"dictOptions\"\n />\n</template>\n\n<script setup lang=\"ts\">\n import type { QdDictRadioGroupProps } from './types'\n import { qdDictRadioGroupProps } from './props'\n import { LoadingDirective, RadioGroup as TRadioGroup } from 'tdesign-vue-next'\n import { useVModels } from '@vueuse/core'\n import { computed, toRef } from 'vue'\n import { useDictDynamic } from '../../hooks'\n\n defineOptions({\n name: 'QdDictRadioGroup'\n })\n\n const vLoading = LoadingDirective\n\n const props = withDefaults(defineProps<QdDictRadioGroupProps>(), qdDictRadioGroupProps)\n const emit = defineEmits<{\n 'update:modelValue': [QdDictRadioGroupProps['modelValue']]\n }>()\n\n const { modelValue } = useVModels(props, emit, { passive: true })\n\n const dictType = toRef(props, 'dictType')\n\n const reProps = computed(() => {\n const { modelValue, dictType, ...radioOptions } = props\n\n return {\n dictType,\n radioOptions,\n models: {\n modelValue\n }\n }\n })\n\n const { options: dictOptions, loading: dictLoading } = useDictDynamic(dictType)\n</script>\n\n<style lang=\"less\" scoped>\n .qd-dict-radio-group {\n :deep(.t-loading) {\n position: relative;\n }\n }\n</style>\n"],"names":["modelValue","dictType","_withDirectives","_openBlock","_createBlock","_unref","_mergeProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBE,UAAM,WAAW;AAEjB,UAAM,QAAQ;AACd,UAAM,OAAO;AAIb,UAAM,EAAE,eAAe,WAAW,OAAO,MAAM,EAAE,SAAS,MAAM;AAEhE,UAAM,WAAW,MAAM,OAAO,UAAU;AAExC,UAAM,UAAU,SAAS,MAAM;AAC7B,YAAM,EAAE,YAAAA,aAAY,UAAAC,WAAU,GAAG,iBAAiB;AAElD,aAAO;AAAA,QACL,UAAAA;AAAAA,QACA;AAAA,QACA,QAAQ;AAAA,UACN,YAAAD;AAAAA,QAAA;AAAA,MACF;AAAA,IAEJ,CAAC;AAED,UAAM,EAAE,SAAS,aAAa,SAAS,YAAA,IAAgB,eAAe,QAAQ;;AA5C9E,aAAAE,gBAAAC,aAAAC,YAMEC,mBANFC,WAME;AAAA,oBALSD,MAAA,UAAA;AAAA,yFAAA,WAAU,QAAA,SAAA;AAAA,QAEnB,OAAM;AAAA,MAAA,GACE,QAAA,MAAQ,cAAY,EAC3B,SAASA,MAAA,WAAA,EAAA,CAAW,GAAA,MAAA,IAAA,CAAA,cAAA,SAAA,CAAA,IAAA;AAAA,qCAHCA,MAAA,WAAA,GAAW,MAAA,QAAA,CAAA;AAAA,MAAA;;;;"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { QdDictSelectProps } from './types';
|
|
2
|
+
declare var __VLS_7: string | number, __VLS_8: any;
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
[K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<QdDictSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (args_0: import("tdesign-vue-next").SelectValue<import("tdesign-vue-next").SelectOption> | undefined) => any;
|
|
8
|
+
"update:inputValue": (args_0: string | undefined) => any;
|
|
9
|
+
"update:popupVisible": (args_0: boolean | undefined) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<QdDictSelectProps> & Readonly<{
|
|
11
|
+
"onUpdate:modelValue"?: ((args_0: import("tdesign-vue-next").SelectValue<import("tdesign-vue-next").SelectOption> | undefined) => any) | undefined;
|
|
12
|
+
"onUpdate:inputValue"?: ((args_0: string | undefined) => any) | undefined;
|
|
13
|
+
"onUpdate:popupVisible"?: ((args_0: boolean | undefined) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
showArrow: boolean;
|
|
17
|
+
convStr: boolean | string;
|
|
18
|
+
readonly: boolean;
|
|
19
|
+
clearable: boolean;
|
|
20
|
+
defaultSelectFirst: boolean;
|
|
21
|
+
popupVisible: boolean;
|
|
22
|
+
filterable: boolean;
|
|
23
|
+
valueType: "value" | "object";
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { defineComponent, mergeDefaults, computed, toRef, createBlock, openBlock, unref, mergeProps, isRef, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
+
import { qdDictConvStrSeparator, qdDictSelectProps } from "./props.mjs";
|
|
3
|
+
import { Select } from "tdesign-vue-next";
|
|
4
|
+
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";
|
|
5
|
+
import "../../hooks/useAgentChat/index.mjs";
|
|
6
|
+
import "../../locales/zh-CN.mjs";
|
|
7
|
+
import { isEmpty } from "qidian-shared";
|
|
8
|
+
import { useDictDynamic } from "../../hooks/useDict/index.mjs";
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
+
...{
|
|
11
|
+
name: "QdDictSelect"
|
|
12
|
+
},
|
|
13
|
+
__name: "select",
|
|
14
|
+
props: /* @__PURE__ */ mergeDefaults({
|
|
15
|
+
dictType: {},
|
|
16
|
+
defaultSelectFirst: { type: Boolean },
|
|
17
|
+
convStr: { type: [Boolean, String] },
|
|
18
|
+
autoWidth: { type: Boolean },
|
|
19
|
+
autofocus: { type: Boolean },
|
|
20
|
+
borderless: { type: Boolean },
|
|
21
|
+
clearable: { type: Boolean },
|
|
22
|
+
collapsedItems: {},
|
|
23
|
+
creatable: { type: Boolean },
|
|
24
|
+
disabled: { type: Boolean },
|
|
25
|
+
empty: {},
|
|
26
|
+
filter: { type: Function },
|
|
27
|
+
filterable: { type: Boolean },
|
|
28
|
+
inputProps: {},
|
|
29
|
+
inputValue: {},
|
|
30
|
+
defaultInputValue: {},
|
|
31
|
+
keys: {},
|
|
32
|
+
label: {},
|
|
33
|
+
loading: { type: Boolean },
|
|
34
|
+
loadingText: {},
|
|
35
|
+
max: {},
|
|
36
|
+
minCollapsedNum: {},
|
|
37
|
+
multiple: { type: Boolean },
|
|
38
|
+
panelBottomContent: {},
|
|
39
|
+
panelTopContent: {},
|
|
40
|
+
placeholder: {},
|
|
41
|
+
popupProps: {},
|
|
42
|
+
popupVisible: { type: Boolean },
|
|
43
|
+
defaultPopupVisible: { type: Boolean },
|
|
44
|
+
prefixIcon: {},
|
|
45
|
+
readonly: { type: Boolean },
|
|
46
|
+
reserveKeyword: { type: Boolean },
|
|
47
|
+
scroll: {},
|
|
48
|
+
selectInputProps: {},
|
|
49
|
+
showArrow: { type: Boolean },
|
|
50
|
+
size: {},
|
|
51
|
+
status: {},
|
|
52
|
+
suffix: {},
|
|
53
|
+
suffixIcon: {},
|
|
54
|
+
tagInputProps: {},
|
|
55
|
+
tagProps: {},
|
|
56
|
+
tips: {},
|
|
57
|
+
value: {},
|
|
58
|
+
defaultValue: {},
|
|
59
|
+
modelValue: {},
|
|
60
|
+
valueDisplay: {},
|
|
61
|
+
valueType: {},
|
|
62
|
+
onBlur: { type: Function },
|
|
63
|
+
onChange: { type: Function },
|
|
64
|
+
onClear: { type: Function },
|
|
65
|
+
onCreate: { type: Function },
|
|
66
|
+
onEnter: { type: Function },
|
|
67
|
+
onFocus: { type: Function },
|
|
68
|
+
onInputChange: { type: Function },
|
|
69
|
+
onPopupVisibleChange: { type: Function },
|
|
70
|
+
onRemove: { type: Function },
|
|
71
|
+
onSearch: { type: Function }
|
|
72
|
+
}, qdDictSelectProps),
|
|
73
|
+
emits: ["update:modelValue", "update:inputValue", "update:popupVisible"],
|
|
74
|
+
setup(__props, { emit: __emit }) {
|
|
75
|
+
const props = __props;
|
|
76
|
+
const emit = __emit;
|
|
77
|
+
const { modelValue, inputValue, popupVisible } = useVModels(props, emit, { passive: true });
|
|
78
|
+
const reModelValue = computed({
|
|
79
|
+
get: () => {
|
|
80
|
+
const { convStr, selectOptions } = reProps.value;
|
|
81
|
+
const { multiple, valueType } = selectOptions;
|
|
82
|
+
if (!multiple || valueType === "object") return modelValue.value;
|
|
83
|
+
if (isEmpty(modelValue.value)) return [];
|
|
84
|
+
if (typeof modelValue.value === "string") {
|
|
85
|
+
return modelValue.value.split(
|
|
86
|
+
(typeof convStr === "string" ? convStr : "") || qdDictConvStrSeparator
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
return modelValue.value;
|
|
90
|
+
},
|
|
91
|
+
set: (val) => {
|
|
92
|
+
const { convStr, selectOptions } = reProps.value;
|
|
93
|
+
const { multiple, valueType } = selectOptions;
|
|
94
|
+
if (!multiple || valueType === "object") {
|
|
95
|
+
modelValue.value = val;
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
if (convStr && Array.isArray(val)) {
|
|
99
|
+
modelValue.value = val.join(
|
|
100
|
+
(typeof convStr === "string" ? convStr : "") || qdDictConvStrSeparator
|
|
101
|
+
);
|
|
102
|
+
} else {
|
|
103
|
+
modelValue.value = val;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
const dictType = toRef(props, "dictType");
|
|
108
|
+
const reProps = computed(() => {
|
|
109
|
+
const {
|
|
110
|
+
convStr,
|
|
111
|
+
modelValue: modelValue2,
|
|
112
|
+
inputValue: inputValue2,
|
|
113
|
+
popupVisible: popupVisible2,
|
|
114
|
+
dictType: dictType2,
|
|
115
|
+
loading,
|
|
116
|
+
defaultSelectFirst,
|
|
117
|
+
...selectOptions
|
|
118
|
+
} = props;
|
|
119
|
+
return {
|
|
120
|
+
convStr,
|
|
121
|
+
dictType: dictType2,
|
|
122
|
+
loading,
|
|
123
|
+
defaultSelectFirst,
|
|
124
|
+
selectOptions,
|
|
125
|
+
models: {
|
|
126
|
+
modelValue: modelValue2,
|
|
127
|
+
inputValue: inputValue2,
|
|
128
|
+
popupVisible: popupVisible2
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
});
|
|
132
|
+
const { options: dictOptions, loading: dictLoading } = useDictDynamic(dictType, {
|
|
133
|
+
onInit: (options) => {
|
|
134
|
+
if (reProps.value.defaultSelectFirst && isEmpty(reModelValue.value) && options.length) {
|
|
135
|
+
reModelValue.value = options[0]?.value;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
return (_ctx, _cache) => {
|
|
140
|
+
return openBlock(), createBlock(unref(Select), mergeProps({
|
|
141
|
+
modelValue: reModelValue.value,
|
|
142
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => reModelValue.value = $event),
|
|
143
|
+
"input-value": unref(inputValue),
|
|
144
|
+
"onUpdate:inputValue": _cache[1] || (_cache[1] = ($event) => isRef(inputValue) ? inputValue.value = $event : null),
|
|
145
|
+
"popup-visible": unref(popupVisible),
|
|
146
|
+
"onUpdate:popupVisible": _cache[2] || (_cache[2] = ($event) => isRef(popupVisible) ? popupVisible.value = $event : null)
|
|
147
|
+
}, reProps.value.selectOptions, {
|
|
148
|
+
options: unref(dictOptions),
|
|
149
|
+
loading: unref(dictLoading) || reProps.value.loading
|
|
150
|
+
}), createSlots({ _: 2 }, [
|
|
151
|
+
renderList(_ctx.$slots, (_, name) => {
|
|
152
|
+
return {
|
|
153
|
+
name,
|
|
154
|
+
fn: withCtx((slotProps) => [
|
|
155
|
+
renderSlot(_ctx.$slots, name, normalizeProps(guardReactiveProps(slotProps)))
|
|
156
|
+
])
|
|
157
|
+
};
|
|
158
|
+
})
|
|
159
|
+
]), 1040, ["modelValue", "input-value", "popup-visible", "options", "loading"]);
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
export {
|
|
164
|
+
_sfc_main as default
|
|
165
|
+
};
|
|
166
|
+
//# sourceMappingURL=select.vue.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.vue.mjs","sources":["../../../src/components/dict/select.vue"],"sourcesContent":["<template>\n <t-select\n v-model=\"reModelValue\"\n v-model:input-value=\"inputValue\"\n v-model:popup-visible=\"popupVisible\"\n v-bind=\"reProps.selectOptions\"\n :options=\"dictOptions\"\n :loading=\"dictLoading || reProps.loading\"\n >\n <template v-for=\"(_, name) in $slots\" #[name]=\"slotProps\">\n <slot :name=\"name\" v-bind=\"slotProps\" />\n </template>\n </t-select>\n</template>\n\n<script setup lang=\"ts\">\n import type { TdSelectProps } from 'tdesign-vue-next'\n import type { QdDictSelectProps } from './types'\n import { qdDictConvStrSeparator, qdDictSelectProps } from './props'\n import { Select as TSelect } from 'tdesign-vue-next'\n import { useVModels } from '@vueuse/core'\n import { computed, toRef } from 'vue'\n import { useDictDynamic } from '../../hooks'\n import { isEmpty } from 'qidian-shared'\n\n defineOptions({\n name: 'QdDictSelect'\n })\n\n const props = withDefaults(defineProps<QdDictSelectProps>(), qdDictSelectProps)\n const emit = defineEmits<{\n 'update:modelValue': [QdDictSelectProps['modelValue']]\n 'update:inputValue': [QdDictSelectProps['inputValue']]\n 'update:popupVisible': [QdDictSelectProps['popupVisible']]\n }>()\n\n const { modelValue, inputValue, popupVisible } = useVModels(props, emit, { passive: true })\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 dictType = toRef(props, 'dictType')\n\n const reProps = computed(() => {\n const {\n convStr,\n modelValue,\n inputValue,\n popupVisible,\n dictType,\n loading,\n defaultSelectFirst,\n ...selectOptions\n } = props\n\n return {\n convStr,\n dictType,\n loading,\n defaultSelectFirst,\n selectOptions: selectOptions as TdSelectProps,\n models: {\n modelValue,\n inputValue,\n popupVisible\n }\n }\n })\n\n const { options: dictOptions, loading: dictLoading } = useDictDynamic(dictType, {\n onInit: (options) => {\n // 当 defaultSelectFirst 为 true 且 modelValue 为空时,默认选中第一个\n if (reProps.value.defaultSelectFirst && isEmpty(reModelValue.value) && options.length) {\n reModelValue.value = options[0]?.value\n }\n }\n })\n</script>\n"],"names":["modelValue","inputValue","popupVisible","dictType","_openBlock","_createBlock","_unref","_mergeProps","$slots","_withCtx","_renderSlot","_normalizeProps","_guardReactiveProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BE,UAAM,QAAQ;AACd,UAAM,OAAO;AAMb,UAAM,EAAE,YAAY,YAAY,iBAAiB,WAAW,OAAO,MAAM,EAAE,SAAS,MAAM;AAE1F,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,OAAO,YAAY,WAAW,UAAU,OAAO;AAAA,UAAA;AAAA,QAEpD,OAAO;AACL,qBAAW,QAAQ;AAAA,QACrB;AAAA,MACF;AAAA,IAAA,CACD;AAED,UAAM,WAAW,MAAM,OAAO,UAAU;AAExC,UAAM,UAAU,SAAS,MAAM;AAC7B,YAAM;AAAA,QACJ;AAAA,QACA,YAAAA;AAAAA,QACA,YAAAC;AAAAA,QACA,cAAAC;AAAAA,QACA,UAAAC;AAAAA,QACA;AAAA,QACA;AAAA,QACA,GAAG;AAAA,MAAA,IACD;AAEJ,aAAO;AAAA,QACL;AAAA,QACA,UAAAA;AAAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA,QAAQ;AAAA,UACN,YAAAH;AAAAA,UACA,YAAAC;AAAAA,UACA,cAAAC;AAAAA,QAAA;AAAA,MACF;AAAA,IAEJ,CAAC;AAED,UAAM,EAAE,SAAS,aAAa,SAAS,YAAA,IAAgB,eAAe,UAAU;AAAA,MAC9E,QAAQ,CAAC,YAAY;AAEnB,YAAI,QAAQ,MAAM,sBAAsB,QAAQ,aAAa,KAAK,KAAK,QAAQ,QAAQ;AACrF,uBAAa,QAAQ,QAAQ,CAAC,GAAG;AAAA,QACnC;AAAA,MACF;AAAA,IAAA,CACD;;AAxGD,aAAAE,aAAAC,YAWWC,eAXXC,WAWW;AAAA,oBAVA,aAAA;AAAA,qEAAA,aAAY,QAAA;AAAA,QACb,eAAaD,MAAA,UAAA;AAAA,yFAAA,WAAU,QAAA,SAAA;AAAA,QACvB,iBAAeA,MAAA,YAAA;AAAA,6FAAA,aAAY,QAAA,SAAA;AAAA,MAAA,GAC3B,QAAA,MAAQ,eAAa;AAAA,QAC5B,SAASA,MAAA,WAAA;AAAA,QACT,SAASA,MAAA,WAAA,KAAe,QAAA,MAAQ;AAAA,MAAA;mBAEHE,KAAAA,QAAM,CAAlB,GAAG,SAAI;;;YACvB,IAAAC,QAAA,CAD6C,cAAS;AAAA,cACtDC,WAAwC,KAAA,QAA3B,MAAIC,eAAAC,mBAAU,SAAS,CAAA,CAAA;AAAA,YAAA;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.vue2.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|