qidian-vue-ui 1.1.21 → 1.1.22
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/package.json +1 -1
- package/dist/_virtual/_commonjsHelpers.mjs +0 -7
- package/dist/_virtual/_commonjsHelpers.mjs.map +0 -1
- package/dist/_virtual/_plugin-vue_export-helper.mjs +0 -11
- package/dist/_virtual/_plugin-vue_export-helper.mjs.map +0 -1
- package/dist/_virtual/dayjs.min.mjs +0 -8
- package/dist/_virtual/dayjs.min.mjs.map +0 -1
- package/dist/_virtual/dayjs.min2.mjs +0 -5
- package/dist/_virtual/dayjs.min2.mjs.map +0 -1
- package/dist/components/auto-tooltip/index.d.ts +0 -2
- package/dist/components/auto-tooltip/index.vue.d.ts +0 -25
- package/dist/components/auto-tooltip/index.vue.mjs +0 -8
- package/dist/components/auto-tooltip/index.vue.mjs.map +0 -1
- package/dist/components/auto-tooltip/index.vue2.mjs +0 -81
- package/dist/components/auto-tooltip/index.vue2.mjs.map +0 -1
- package/dist/components/auto-tooltip/types.d.ts +0 -9
- package/dist/components/avatar/index.d.ts +0 -2
- package/dist/components/avatar/index.vue.d.ts +0 -17
- package/dist/components/avatar/index.vue.mjs +0 -8
- package/dist/components/avatar/index.vue.mjs.map +0 -1
- package/dist/components/avatar/index.vue2.mjs +0 -107
- package/dist/components/avatar/index.vue2.mjs.map +0 -1
- package/dist/components/avatar/props.d.ts +0 -5
- package/dist/components/avatar/props.mjs +0 -11
- package/dist/components/avatar/props.mjs.map +0 -1
- package/dist/components/avatar/types.d.ts +0 -9
- package/dist/components/card/index.d.ts +0 -2
- package/dist/components/card/index.vue.d.ts +0 -15
- package/dist/components/card/index.vue.mjs +0 -8
- package/dist/components/card/index.vue.mjs.map +0 -1
- package/dist/components/card/index.vue2.mjs +0 -89
- package/dist/components/card/index.vue2.mjs.map +0 -1
- package/dist/components/card/props.d.ts +0 -3
- package/dist/components/card/props.mjs +0 -7
- package/dist/components/card/props.mjs.map +0 -1
- package/dist/components/card/types.d.ts +0 -4
- package/dist/components/config-provider/config.d.ts +0 -8
- package/dist/components/config-provider/config.mjs +0 -15
- package/dist/components/config-provider/config.mjs.map +0 -1
- package/dist/components/config-provider/index.d.ts +0 -217
- package/dist/components/config-provider/index.mjs +0 -98
- package/dist/components/config-provider/index.mjs.map +0 -1
- package/dist/components/config-provider/types.d.ts +0 -82
- package/dist/components/config-provider/useConfig.d.ts +0 -241
- package/dist/components/config-provider/useConfig.mjs +0 -26
- package/dist/components/config-provider/useConfig.mjs.map +0 -1
- package/dist/components/config-renderer/compute.d.ts +0 -8
- package/dist/components/config-renderer/compute.mjs +0 -68
- package/dist/components/config-renderer/compute.mjs.map +0 -1
- package/dist/components/config-renderer/index.d.ts +0 -4
- package/dist/components/config-renderer/index.vue.d.ts +0 -7
- package/dist/components/config-renderer/index.vue.mjs +0 -126
- package/dist/components/config-renderer/index.vue.mjs.map +0 -1
- package/dist/components/config-renderer/index.vue2.mjs +0 -5
- package/dist/components/config-renderer/index.vue2.mjs.map +0 -1
- package/dist/components/config-renderer/types.d.ts +0 -39
- package/dist/components/config-renderer/utils.d.ts +0 -15
- package/dist/components/config-renderer/utils.mjs +0 -49
- package/dist/components/config-renderer/utils.mjs.map +0 -1
- package/dist/components/crud/define.d.ts +0 -5
- package/dist/components/crud/define.mjs +0 -11
- package/dist/components/crud/define.mjs.map +0 -1
- package/dist/components/crud/index.d.ts +0 -5
- package/dist/components/crud/list.vue.d.ts +0 -29
- package/dist/components/crud/list.vue.mjs +0 -8
- package/dist/components/crud/list.vue.mjs.map +0 -1
- package/dist/components/crud/list.vue2.mjs +0 -199
- package/dist/components/crud/list.vue2.mjs.map +0 -1
- package/dist/components/crud/props.d.ts +0 -70
- package/dist/components/crud/props.mjs +0 -37
- package/dist/components/crud/props.mjs.map +0 -1
- package/dist/components/crud/search.vue.d.ts +0 -44
- package/dist/components/crud/search.vue.mjs +0 -8
- package/dist/components/crud/search.vue.mjs.map +0 -1
- package/dist/components/crud/search.vue2.mjs +0 -98
- package/dist/components/crud/search.vue2.mjs.map +0 -1
- package/dist/components/crud/table.vue.d.ts +0 -35
- package/dist/components/crud/table.vue.mjs +0 -8
- package/dist/components/crud/table.vue.mjs.map +0 -1
- package/dist/components/crud/table.vue2.mjs +0 -1041
- package/dist/components/crud/table.vue2.mjs.map +0 -1
- package/dist/components/crud/types.d.ts +0 -70
- package/dist/components/dialog/form.vue.d.ts +0 -22
- package/dist/components/dialog/form.vue.mjs +0 -175
- package/dist/components/dialog/form.vue.mjs.map +0 -1
- package/dist/components/dialog/form.vue2.mjs +0 -5
- package/dist/components/dialog/form.vue2.mjs.map +0 -1
- package/dist/components/dialog/index.d.ts +0 -3
- package/dist/components/dialog/index.vue.d.ts +0 -35
- package/dist/components/dialog/index.vue.mjs +0 -111
- package/dist/components/dialog/index.vue.mjs.map +0 -1
- package/dist/components/dialog/index.vue3.mjs +0 -6
- package/dist/components/dialog/index.vue3.mjs.map +0 -1
- package/dist/components/dialog/props.d.ts +0 -58
- package/dist/components/dialog/props.mjs +0 -26
- package/dist/components/dialog/props.mjs.map +0 -1
- package/dist/components/dialog/types.d.ts +0 -18
- package/dist/components/dict/checkbox-group.vue.d.ts +0 -15
- package/dist/components/dict/checkbox-group.vue.mjs +0 -8
- package/dist/components/dict/checkbox-group.vue.mjs.map +0 -1
- package/dist/components/dict/checkbox-group.vue2.mjs +0 -78
- package/dist/components/dict/checkbox-group.vue2.mjs.map +0 -1
- package/dist/components/dict/index.d.ts +0 -5
- package/dist/components/dict/props.d.ts +0 -32
- package/dist/components/dict/props.mjs +0 -40
- package/dist/components/dict/props.mjs.map +0 -1
- package/dist/components/dict/radio-group.vue.d.ts +0 -13
- package/dist/components/dict/radio-group.vue.mjs +0 -8
- package/dist/components/dict/radio-group.vue.mjs.map +0 -1
- package/dist/components/dict/radio-group.vue2.mjs +0 -60
- package/dist/components/dict/radio-group.vue2.mjs.map +0 -1
- package/dist/components/dict/select.vue.d.ts +0 -31
- package/dist/components/dict/select.vue.mjs +0 -166
- package/dist/components/dict/select.vue.mjs.map +0 -1
- package/dist/components/dict/select.vue2.mjs +0 -5
- package/dist/components/dict/select.vue2.mjs.map +0 -1
- package/dist/components/dict/tag.vue.d.ts +0 -40
- package/dist/components/dict/tag.vue.mjs +0 -8
- package/dist/components/dict/tag.vue.mjs.map +0 -1
- package/dist/components/dict/tag.vue2.mjs +0 -98
- package/dist/components/dict/tag.vue2.mjs.map +0 -1
- package/dist/components/dict/types.d.ts +0 -22
- package/dist/components/form/config.d.ts +0 -3
- package/dist/components/form/config.mjs +0 -5
- package/dist/components/form/config.mjs.map +0 -1
- package/dist/components/form/index.d.ts +0 -5
- package/dist/components/form/index.vue.d.ts +0 -30
- package/dist/components/form/index.vue.mjs +0 -187
- package/dist/components/form/index.vue.mjs.map +0 -1
- package/dist/components/form/index.vue2.mjs +0 -5
- package/dist/components/form/index.vue2.mjs.map +0 -1
- package/dist/components/form/item.vue.d.ts +0 -23
- package/dist/components/form/item.vue.mjs +0 -8
- package/dist/components/form/item.vue.mjs.map +0 -1
- package/dist/components/form/item.vue2.mjs +0 -106
- package/dist/components/form/item.vue2.mjs.map +0 -1
- package/dist/components/form/props.d.ts +0 -45
- package/dist/components/form/props.mjs +0 -43
- package/dist/components/form/props.mjs.map +0 -1
- package/dist/components/form/types.d.ts +0 -26
- package/dist/components/grid/config.d.ts +0 -15
- package/dist/components/grid/config.mjs +0 -27
- package/dist/components/grid/config.mjs.map +0 -1
- package/dist/components/grid/index.d.ts +0 -4
- package/dist/components/grid/index.vue.d.ts +0 -19
- package/dist/components/grid/index.vue.mjs +0 -8
- package/dist/components/grid/index.vue.mjs.map +0 -1
- package/dist/components/grid/index.vue2.mjs +0 -58
- package/dist/components/grid/index.vue2.mjs.map +0 -1
- package/dist/components/grid/item.vue.d.ts +0 -18
- package/dist/components/grid/item.vue.mjs +0 -8
- package/dist/components/grid/item.vue.mjs.map +0 -1
- package/dist/components/grid/item.vue2.mjs +0 -73
- package/dist/components/grid/item.vue2.mjs.map +0 -1
- package/dist/components/grid/types.d.ts +0 -12
- package/dist/components/index.d.ts +0 -14
- package/dist/components/office/index.d.ts +0 -1
- package/dist/components/office/pdf/config.d.ts +0 -6
- package/dist/components/office/pdf/config.mjs +0 -9
- package/dist/components/office/pdf/config.mjs.map +0 -1
- package/dist/components/office/pdf/hooks/useZoom.d.ts +0 -21
- package/dist/components/office/pdf/hooks/useZoom.mjs +0 -200
- package/dist/components/office/pdf/hooks/useZoom.mjs.map +0 -1
- package/dist/components/office/pdf/index.d.ts +0 -2
- package/dist/components/office/pdf/index.vue.d.ts +0 -11
- package/dist/components/office/pdf/index.vue.mjs +0 -8
- package/dist/components/office/pdf/index.vue.mjs.map +0 -1
- package/dist/components/office/pdf/index.vue2.mjs +0 -322
- package/dist/components/office/pdf/index.vue2.mjs.map +0 -1
- package/dist/components/office/pdf/types.d.ts +0 -17
- package/dist/components/org/index.d.ts +0 -2
- package/dist/components/org/select/index.vue.d.ts +0 -28
- package/dist/components/org/select/index.vue.mjs +0 -273
- package/dist/components/org/select/index.vue.mjs.map +0 -1
- package/dist/components/org/select/index.vue3.mjs +0 -6
- package/dist/components/org/select/index.vue3.mjs.map +0 -1
- package/dist/components/org/select/props.d.ts +0 -22
- package/dist/components/org/select/props.mjs +0 -19
- package/dist/components/org/select/props.mjs.map +0 -1
- package/dist/components/org/select/types.d.ts +0 -22
- package/dist/components/service/index.d.ts +0 -4
- package/dist/components/service/list.vue.d.ts +0 -26
- package/dist/components/service/list.vue.mjs +0 -8
- package/dist/components/service/list.vue.mjs.map +0 -1
- package/dist/components/service/list.vue2.mjs +0 -251
- package/dist/components/service/list.vue2.mjs.map +0 -1
- package/dist/components/service/props.d.ts +0 -58
- package/dist/components/service/props.mjs +0 -66
- package/dist/components/service/props.mjs.map +0 -1
- package/dist/components/service/select.vue.d.ts +0 -30
- package/dist/components/service/select.vue.mjs +0 -8
- package/dist/components/service/select.vue.mjs.map +0 -1
- package/dist/components/service/select.vue2.mjs +0 -407
- package/dist/components/service/select.vue2.mjs.map +0 -1
- package/dist/components/service/table.vue.d.ts +0 -29
- package/dist/components/service/table.vue.mjs +0 -8
- package/dist/components/service/table.vue.mjs.map +0 -1
- package/dist/components/service/table.vue2.mjs +0 -693
- package/dist/components/service/table.vue2.mjs.map +0 -1
- package/dist/components/service/types.d.ts +0 -44
- package/dist/components/upload/config.d.ts +0 -4
- package/dist/components/upload/config.mjs +0 -37
- package/dist/components/upload/config.mjs.map +0 -1
- package/dist/components/upload/index.d.ts +0 -3
- package/dist/components/upload/index.vue.d.ts +0 -21
- package/dist/components/upload/index.vue.mjs +0 -8
- package/dist/components/upload/index.vue.mjs.map +0 -1
- package/dist/components/upload/index.vue2.mjs +0 -526
- package/dist/components/upload/index.vue2.mjs.map +0 -1
- package/dist/components/upload/props.d.ts +0 -27
- package/dist/components/upload/props.mjs +0 -32
- package/dist/components/upload/props.mjs.map +0 -1
- package/dist/components/upload/types.d.ts +0 -43
- package/dist/directive/hasPermi.d.ts +0 -12
- package/dist/directive/hasPermi.mjs +0 -33
- package/dist/directive/hasPermi.mjs.map +0 -1
- package/dist/directive/hasRole.d.ts +0 -12
- package/dist/directive/hasRole.mjs +0 -33
- package/dist/directive/hasRole.mjs.map +0 -1
- package/dist/directive/index.d.ts +0 -2
- package/dist/hooks/index.d.ts +0 -6
- package/dist/hooks/useAgentChat/index.d.ts +0 -15
- package/dist/hooks/useAgentChat/index.mjs +0 -202
- package/dist/hooks/useAgentChat/index.mjs.map +0 -1
- package/dist/hooks/useAgentChat/types.d.ts +0 -46
- package/dist/hooks/useDict/index.d.ts +0 -18
- package/dist/hooks/useDict/index.mjs +0 -137
- package/dist/hooks/useDict/index.mjs.map +0 -1
- package/dist/hooks/useDict/types.d.ts +0 -13
- package/dist/hooks/useDisabled.d.ts +0 -5
- package/dist/hooks/useDisabled.mjs +0 -18
- package/dist/hooks/useDisabled.mjs.map +0 -1
- package/dist/hooks/useModal.d.ts +0 -35
- package/dist/hooks/useModal.mjs +0 -179
- package/dist/hooks/useModal.mjs.map +0 -1
- package/dist/hooks/useReadonly.d.ts +0 -5
- package/dist/hooks/useReadonly.mjs +0 -18
- package/dist/hooks/useReadonly.mjs.map +0 -1
- package/dist/hooks/useUserAvatar/index.d.ts +0 -5
- package/dist/hooks/useUserAvatar/index.mjs +0 -38
- package/dist/hooks/useUserAvatar/index.mjs.map +0 -1
- package/dist/hooks/useUserAvatar/types.d.ts +0 -3
- package/dist/index.d.ts +0 -5
- package/dist/index.mjs +0 -99
- package/dist/index.mjs.map +0 -1
- package/dist/locales/en-US.d.ts +0 -316
- package/dist/locales/en-US.mjs +0 -71
- package/dist/locales/en-US.mjs.map +0 -1
- package/dist/locales/zh-CN.d.ts +0 -316
- package/dist/locales/zh-CN.mjs +0 -68
- package/dist/locales/zh-CN.mjs.map +0 -1
- package/dist/locales/zh-TW.d.ts +0 -316
- package/dist/locales/zh-TW.mjs +0 -68
- package/dist/locales/zh-TW.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/fetch.mjs +0 -90
- package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/fetch.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/parse.mjs +0 -110
- package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/parse.mjs.map +0 -1
- 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 +0 -62
- 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 +0 -1
- 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 +0 -67
- 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 +0 -1
- package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/dayjs.min.mjs +0 -287
- package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/dayjs.min.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs +0 -22
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs +0 -22
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs +0 -22
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs +0 -19
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs +0 -17
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs +0 -25
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs +0 -17
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs +0 -75
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs +0 -22
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs +0 -15
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs +0 -23
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs +0 -15
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs +0 -20
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs +0 -21
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs +0 -28
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs +0 -62
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSet.mjs +0 -32
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSet.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs +0 -15
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs +0 -22
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs +0 -17
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs +0 -24
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs +0 -24
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs +0 -16
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs +0 -5
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs +0 -26
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs +0 -18
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs +0 -35
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs +0 -16
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs +0 -44
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs +0 -18
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs +0 -17
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs +0 -21
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs +0 -15
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs +0 -15
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs +0 -16
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs +0 -19
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs +0 -22
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs +0 -21
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs +0 -23
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs +0 -17
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs +0 -19
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs +0 -5
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBoolean.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBoolean.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isNumber.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isNumber.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs +0 -23
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs +0 -23
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/set.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/set.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs.map +0 -1
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.mjs +0 -25810
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.mjs.map +0 -1
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.sandbox.mjs +0 -5
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.sandbox.mjs.map +0 -1
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.worker.mjs +0 -5
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.worker.mjs.map +0 -1
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/web/pdf_viewer.mjs +0 -8940
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/web/pdf_viewer.mjs.map +0 -1
- 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 +0 -316
- 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 +0 -1
- 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 +0 -330
- 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 +0 -1
- 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 +0 -10
- 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 +0 -1
- 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 +0 -17
- 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 +0 -1
- 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 +0 -287
- 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 +0 -1
- 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 +0 -328
- 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 +0 -1
- package/dist/qidian-vue-ui.css +0 -6054
- package/dist/utils/auth.d.ts +0 -6
- package/dist/utils/auth.mjs +0 -67
- package/dist/utils/auth.mjs.map +0 -1
- package/dist/utils/index.d.ts +0 -2
- package/dist/utils/time.d.ts +0 -2
- package/dist/utils/time.mjs +0 -30
- package/dist/utils/time.mjs.map +0 -1
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import type { QdDictTagProps } from './types';
|
|
2
|
-
declare var __VLS_1: {
|
|
3
|
-
item: import("../..").QdDictItem;
|
|
4
|
-
}, __VLS_3: {
|
|
5
|
-
item: import("../..").QdDictItem;
|
|
6
|
-
}, __VLS_5: {
|
|
7
|
-
item: import("../..").QdDictItem;
|
|
8
|
-
}, __VLS_11: {
|
|
9
|
-
item: import("../..").QdDictItem;
|
|
10
|
-
}, __VLS_13: {
|
|
11
|
-
item: import("../..").QdDictItem;
|
|
12
|
-
}, __VLS_15: {
|
|
13
|
-
item: import("../..").QdDictItem;
|
|
14
|
-
}, __VLS_17: {};
|
|
15
|
-
type __VLS_Slots = {} & {
|
|
16
|
-
prefix?: (props: typeof __VLS_1) => any;
|
|
17
|
-
} & {
|
|
18
|
-
default?: (props: typeof __VLS_3) => any;
|
|
19
|
-
} & {
|
|
20
|
-
suffix?: (props: typeof __VLS_5) => any;
|
|
21
|
-
} & {
|
|
22
|
-
prefix?: (props: typeof __VLS_11) => any;
|
|
23
|
-
} & {
|
|
24
|
-
default?: (props: typeof __VLS_13) => any;
|
|
25
|
-
} & {
|
|
26
|
-
suffix?: (props: typeof __VLS_15) => any;
|
|
27
|
-
} & {
|
|
28
|
-
separator?: (props: typeof __VLS_17) => any;
|
|
29
|
-
};
|
|
30
|
-
declare const __VLS_component: import("vue").DefineComponent<QdDictTagProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<QdDictTagProps> & Readonly<{}>, {
|
|
31
|
-
options: import("../..").QdDictItem[];
|
|
32
|
-
strict: boolean;
|
|
33
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
-
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
35
|
-
export default _default;
|
|
36
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
37
|
-
new (): {
|
|
38
|
-
$slots: S;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import _sfc_main from "./tag.vue2.mjs";
|
|
2
|
-
/* empty css */
|
|
3
|
-
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const tag = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cab615cf"]]);
|
|
5
|
-
export {
|
|
6
|
-
tag as default
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=tag.vue.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tag.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { defineComponent, mergeDefaults, toRef, computed, resolveDirective, withDirectives, createElementBlock, openBlock, Fragment, renderList, createBlock, renderSlot, createCommentVNode, normalizeClass, createTextVNode, toDisplayString, unref, withCtx } from "vue";
|
|
2
|
-
import { Tag } from "tdesign-vue-next";
|
|
3
|
-
import { isEmpty } from "qidian-shared";
|
|
4
|
-
import { qdDictTagProps } from "./props.mjs";
|
|
5
|
-
import "../../hooks/useAgentChat/index.mjs";
|
|
6
|
-
import "../../locales/zh-CN.mjs";
|
|
7
|
-
import { useDictDynamic } from "../../hooks/useDict/index.mjs";
|
|
8
|
-
import isNumber from "../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isNumber.mjs";
|
|
9
|
-
const _hoisted_1 = { class: "qd-dict-tag" };
|
|
10
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
|
-
...{
|
|
12
|
-
name: "QdDictTag"
|
|
13
|
-
},
|
|
14
|
-
__name: "tag",
|
|
15
|
-
props: /* @__PURE__ */ mergeDefaults({
|
|
16
|
-
value: {},
|
|
17
|
-
strict: { type: Boolean },
|
|
18
|
-
separator: {},
|
|
19
|
-
options: {},
|
|
20
|
-
dictType: {},
|
|
21
|
-
size: {},
|
|
22
|
-
shape: {},
|
|
23
|
-
theme: {},
|
|
24
|
-
variant: {}
|
|
25
|
-
}, qdDictTagProps),
|
|
26
|
-
setup(__props) {
|
|
27
|
-
const props = __props;
|
|
28
|
-
const dictType = toRef(props, "dictType");
|
|
29
|
-
const reProps = computed(() => {
|
|
30
|
-
const { options, ...otherOptions } = props;
|
|
31
|
-
return {
|
|
32
|
-
...otherOptions,
|
|
33
|
-
options: options || dictOptions.value || []
|
|
34
|
-
};
|
|
35
|
-
});
|
|
36
|
-
const { options: dictOptions, loading: dictLoading } = useDictDynamic(dictType);
|
|
37
|
-
const reValue = computed(() => {
|
|
38
|
-
const { value, strict } = reProps.value;
|
|
39
|
-
if (isEmpty(value)) return [];
|
|
40
|
-
if (Array.isArray(value)) return value.map((item) => strict ? item : item.toString());
|
|
41
|
-
if (isNumber(value)) {
|
|
42
|
-
return strict ? [value] : [value.toString()];
|
|
43
|
-
}
|
|
44
|
-
return String(value).split(",");
|
|
45
|
-
});
|
|
46
|
-
const matchOptions = computed(() => {
|
|
47
|
-
const { options, strict } = reProps.value;
|
|
48
|
-
return options.filter((option) => {
|
|
49
|
-
return reValue.value.includes(strict ? option.value : option.value.toString());
|
|
50
|
-
});
|
|
51
|
-
});
|
|
52
|
-
return (_ctx, _cache) => {
|
|
53
|
-
const _directive_loading = resolveDirective("loading");
|
|
54
|
-
return withDirectives((openBlock(), createElementBlock("div", _hoisted_1, [
|
|
55
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(matchOptions.value, (item, index) => {
|
|
56
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
57
|
-
(!reProps.value.theme || reProps.value.theme === "text") && !__props.variant && (item.theme === "text" || !item.theme) ? (openBlock(), createElementBlock("span", {
|
|
58
|
-
key: item.value,
|
|
59
|
-
class: normalizeClass(item.class)
|
|
60
|
-
}, [
|
|
61
|
-
renderSlot(_ctx.$slots, "prefix", { item }, void 0, true),
|
|
62
|
-
renderSlot(_ctx.$slots, "default", { item }, () => [
|
|
63
|
-
createTextVNode(toDisplayString(item.label), 1)
|
|
64
|
-
], true),
|
|
65
|
-
renderSlot(_ctx.$slots, "suffix", { item }, void 0, true)
|
|
66
|
-
], 2)) : (openBlock(), createBlock(unref(Tag), {
|
|
67
|
-
key: item.value + "",
|
|
68
|
-
index,
|
|
69
|
-
size: reProps.value.size,
|
|
70
|
-
shape: reProps.value.shape,
|
|
71
|
-
theme: reProps.value.theme || item.theme || "default",
|
|
72
|
-
variant: reProps.value.variant || item.variant || "light",
|
|
73
|
-
class: normalizeClass(item.class)
|
|
74
|
-
}, {
|
|
75
|
-
default: withCtx(() => [
|
|
76
|
-
renderSlot(_ctx.$slots, "prefix", { item }, void 0, true),
|
|
77
|
-
renderSlot(_ctx.$slots, "default", { item }, () => [
|
|
78
|
-
createTextVNode(toDisplayString(item.label), 1)
|
|
79
|
-
], true),
|
|
80
|
-
renderSlot(_ctx.$slots, "suffix", { item }, void 0, true)
|
|
81
|
-
]),
|
|
82
|
-
_: 2
|
|
83
|
-
}, 1032, ["index", "size", "shape", "theme", "variant", "class"])),
|
|
84
|
-
(_ctx.$slots.separator || __props.separator) && matchOptions.value.length - 1 !== index ? renderSlot(_ctx.$slots, "separator", { key: 2 }, () => [
|
|
85
|
-
createTextVNode(toDisplayString(__props.separator), 1)
|
|
86
|
-
], true) : createCommentVNode("", true)
|
|
87
|
-
], 64);
|
|
88
|
-
}), 256))
|
|
89
|
-
])), [
|
|
90
|
-
[_directive_loading, { loading: unref(dictLoading), size: "small" }]
|
|
91
|
-
]);
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
});
|
|
95
|
-
export {
|
|
96
|
-
_sfc_main as default
|
|
97
|
-
};
|
|
98
|
-
//# sourceMappingURL=tag.vue2.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tag.vue2.mjs","sources":["../../../src/components/dict/tag.vue"],"sourcesContent":["<template>\n <div v-loading=\"{ loading: dictLoading, size: 'small' }\" class=\"qd-dict-tag\">\n <template v-for=\"(item, index) in matchOptions\">\n <span\n v-if=\"\n (!reProps.theme || reProps.theme === 'text') &&\n !variant &&\n (item.theme === 'text' || !item.theme)\n \"\n :key=\"item.value\"\n :class=\"item.class\"\n >\n <slot name=\"prefix\" :item=\"item\" />\n <slot :item=\"item\">{{ item.label }}</slot>\n <slot name=\"suffix\" :item=\"item\" />\n </span>\n\n <t-tag\n v-else\n :key=\"item.value + ''\"\n :index=\"index\"\n :size=\"reProps.size\"\n :shape=\"reProps.shape\"\n :theme=\"(reProps.theme || item.theme || 'default') as TdTagProps['theme']\"\n :variant=\"reProps.variant || item.variant || 'light'\"\n :class=\"item.class\"\n >\n <slot name=\"prefix\" :item=\"item\" />\n <slot :item=\"item\">{{ item.label }}</slot>\n <slot name=\"suffix\" :item=\"item\" />\n </t-tag>\n\n <template v-if=\"($slots.separator || separator) && matchOptions.length - 1 !== index\">\n <slot name=\"separator\">{{ separator }}</slot>\n </template>\n </template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import type { TdTagProps } from 'tdesign-vue-next'\n import type { QdDictTagProps } from './types'\n import { computed, toRef } from 'vue'\n import { Tag as TTag } from 'tdesign-vue-next'\n import { isEmpty } from 'qidian-shared'\n import { isNumber } from 'lodash-es'\n import { qdDictTagProps } from './props'\n import { useDictDynamic } from '../../hooks'\n\n defineOptions({\n name: 'QdDictTag'\n })\n\n const props = withDefaults(defineProps<QdDictTagProps>(), qdDictTagProps)\n\n const dictType = toRef(props, 'dictType')\n\n const reProps = computed(() => {\n const { options, ...otherOptions } = props\n\n return {\n ...otherOptions,\n options: options || dictOptions.value || []\n }\n })\n\n const { options: dictOptions, loading: dictLoading } = useDictDynamic(dictType)\n\n const reValue = computed(() => {\n const { value, strict } = reProps.value\n\n if (isEmpty(value)) return []\n if (Array.isArray(value)) return value.map((item) => (strict ? item : item.toString()))\n if (isNumber(value)) {\n return strict ? [value] : [value.toString()]\n }\n return String(value).split(',')\n })\n\n const matchOptions = computed(() => {\n const { options, strict } = reProps.value\n\n return options.filter((option) => {\n return reValue.value.includes(strict ? option.value : option.value.toString())\n })\n })\n</script>\n\n<style lang=\"less\" scoped>\n .qd-dict-tag {\n display: inline-flex;\n align-items: center;\n flex-wrap: wrap;\n }\n</style>\n"],"names":["_withDirectives","_openBlock","_createElementBlock","_Fragment","_renderList","_normalizeClass","_renderSlot","_createTextVNode","_toDisplayString","_createBlock","_unref","TTag","$slots"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAqDE,UAAM,QAAQ;AAEd,UAAM,WAAW,MAAM,OAAO,UAAU;AAExC,UAAM,UAAU,SAAS,MAAM;AAC7B,YAAM,EAAE,SAAS,GAAG,aAAA,IAAiB;AAErC,aAAO;AAAA,QACL,GAAG;AAAA,QACH,SAAS,WAAW,YAAY,SAAS,CAAA;AAAA,MAAC;AAAA,IAE9C,CAAC;AAED,UAAM,EAAE,SAAS,aAAa,SAAS,YAAA,IAAgB,eAAe,QAAQ;AAE9E,UAAM,UAAU,SAAS,MAAM;AAC7B,YAAM,EAAE,OAAO,OAAA,IAAW,QAAQ;AAElC,UAAI,QAAQ,KAAK,EAAG,QAAO,CAAA;AAC3B,UAAI,MAAM,QAAQ,KAAK,EAAG,QAAO,MAAM,IAAI,CAAC,SAAU,SAAS,OAAO,KAAK,UAAW;AACtF,UAAI,SAAS,KAAK,GAAG;AACnB,eAAO,SAAS,CAAC,KAAK,IAAI,CAAC,MAAM,UAAU;AAAA,MAC7C;AACA,aAAO,OAAO,KAAK,EAAE,MAAM,GAAG;AAAA,IAChC,CAAC;AAED,UAAM,eAAe,SAAS,MAAM;AAClC,YAAM,EAAE,SAAS,OAAA,IAAW,QAAQ;AAEpC,aAAO,QAAQ,OAAO,CAAC,WAAW;AAChC,eAAO,QAAQ,MAAM,SAAS,SAAS,OAAO,QAAQ,OAAO,MAAM,UAAU;AAAA,MAC/E,CAAC;AAAA,IACH,CAAC;;;AApFD,aAAAA,gBAAAC,UAAA,GAAAC,mBAmCM,OAnCN,YAmCM;AAAA,SAlCJD,UAAA,IAAA,GAAAC,mBAiCWC,UAAA,MAAAC,WAjCuB,aAAA,OAAY,CAA5B,MAAM,UAAK;;aAEN,CAAA,QAAA,MAAQ,SAAS,QAAA,MAAQ,UAAK,YAA2B,QAAA,YAAsB,KAAK,UAAK,UAAA,CAAgB,KAAK,uBADnIF,mBAYO,QAAA;AAAA,cANJ,KAAK,KAAK;AAAA,cACV,OAAKG,eAAE,KAAK,KAAK;AAAA,YAAA;cAElBC,WAAmC,KAAA,QAAA,UAAA,EAAd,KAAA,GAAU,QAAA,IAAA;AAAA,cAC/BA,WAA0C,KAAA,QAAA,WAAA,EAAnC,KAAA,GAAP,MAA0C;AAAA,gBAApBC,gBAAAC,gBAAA,KAAK,KAAK,GAAA,CAAA;AAAA,cAAA;cAChCF,WAAmC,KAAA,QAAA,UAAA,EAAd,KAAA,GAAU,QAAA,IAAA;AAAA,YAAA,uBAGjCG,YAaQC,MAAAC,GAAA,GAAA;AAAA,cAXL,KAAK,KAAK,QAAK;AAAA,cACf;AAAA,cACA,MAAM,QAAA,MAAQ;AAAA,cACd,OAAO,QAAA,MAAQ;AAAA,cACf,OAAQ,QAAA,MAAQ,SAAS,KAAK,SAAK;AAAA,cACnC,SAAS,QAAA,MAAQ,WAAW,KAAK,WAAO;AAAA,cACxC,OAAKN,eAAE,KAAK,KAAK;AAAA,YAAA;+BAElB,MAAmC;AAAA,gBAAnCC,WAAmC,KAAA,QAAA,UAAA,EAAd,KAAA,GAAU,QAAA,IAAA;AAAA,gBAC/BA,WAA0C,KAAA,QAAA,WAAA,EAAnC,KAAA,GAAP,MAA0C;AAAA,kBAApBC,gBAAAC,gBAAA,KAAK,KAAK,GAAA,CAAA;AAAA,gBAAA;gBAChCF,WAAmC,KAAA,QAAA,UAAA,EAAd,KAAA,GAAU,QAAA,IAAA;AAAA,cAAA;;;aAGhBM,KAAAA,OAAO,aAAa,QAAA,cAAc,aAAA,MAAa,SAAM,MAAS,QAC7EN,WAA6C,sCAA7C,MAA6C;AAAA,8CAAnB,QAAA,SAAS,GAAA,CAAA;AAAA,YAAA;;;;wCAhCdI,MAAA,WAAA,GAAW,MAAA,QAAA,CAAA;AAAA,MAAA;;;;"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { TdSelectProps, TdRadioGroupProps, TdCheckboxGroupProps, TdTagProps, CheckboxGroupValue } from 'tdesign-vue-next';
|
|
2
|
-
import type { QdDictItem } from '../../hooks';
|
|
3
|
-
export interface QdDictSelectProps extends Omit<TdSelectProps<QdDictItem>, 'options'> {
|
|
4
|
-
dictType: string;
|
|
5
|
-
defaultSelectFirst?: boolean;
|
|
6
|
-
convStr?: boolean | string;
|
|
7
|
-
}
|
|
8
|
-
export interface QdDictRadioGroupProps extends Omit<TdRadioGroupProps, 'options'> {
|
|
9
|
-
dictType: string;
|
|
10
|
-
}
|
|
11
|
-
export interface QdDictCheckboxGroupProps extends Omit<TdCheckboxGroupProps, 'modelValue' | 'options'> {
|
|
12
|
-
dictType: string;
|
|
13
|
-
convStr?: boolean | string;
|
|
14
|
-
modelValue?: CheckboxGroupValue | string;
|
|
15
|
-
}
|
|
16
|
-
export interface QdDictTagProps extends Pick<TdTagProps, 'size' | 'shape'>, Pick<QdDictItem, 'theme' | 'variant'> {
|
|
17
|
-
value?: string | number | (string | number)[];
|
|
18
|
-
strict?: boolean;
|
|
19
|
-
separator?: string;
|
|
20
|
-
options?: QdDictItem[];
|
|
21
|
-
dictType?: string;
|
|
22
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.mjs","sources":["../../../src/components/form/config.ts"],"sourcesContent":["import type { InjectionKey } from 'vue'\nimport type { QdFormBeforeSubmitQueueItem } from './types'\n\n/** 提交前需要处理的队列 */\nexport const PROVIDE_FORM_ADD_BEFORE_SUBMIT_QUEUE: InjectionKey<\n (item: QdFormBeforeSubmitQueueItem) => void\n> = Symbol('QdFormAddBeforeSubmitQueue')\n"],"names":[],"mappings":"AAIO,MAAM,uCAET,OAAO,4BAA4B;"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { default as QdForm } from './index.vue';
|
|
2
|
-
export { default as QdFormItem } from './item.vue';
|
|
3
|
-
export { PROVIDE_FORM_ADD_BEFORE_SUBMIT_QUEUE } from './config';
|
|
4
|
-
export { qdFormGutter, qdFormGrid } from './props';
|
|
5
|
-
export type { QdFormBeforeSubmitQueueResult, QdFormBeforeSubmitQueueItem, QdFormProps, QdFormSubmitContext, QdFormItemProps } from './types';
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { Data, FormInstanceFunctions } from 'tdesign-vue-next';
|
|
2
|
-
import type { QdFormProps } from './types';
|
|
3
|
-
declare const _default: <FD extends Data = Data>(__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<{
|
|
4
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
-
readonly "onUpdate:modelValue"?: ((args_0: Data | undefined) => any) | undefined;
|
|
6
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & QdFormProps<Data> & Partial<{}>> & import("vue").PublicProps;
|
|
7
|
-
expose(exposed: import("vue").ShallowUnwrapRef<FormInstanceFunctions<Data>>): void;
|
|
8
|
-
attrs: any;
|
|
9
|
-
slots: {
|
|
10
|
-
header?: (props: {
|
|
11
|
-
context: Data;
|
|
12
|
-
}) => any;
|
|
13
|
-
} & {
|
|
14
|
-
default?: (props: {
|
|
15
|
-
grid: import("..").QdGridItemProps;
|
|
16
|
-
gutter: number | import("tdesign-vue-next").GutterObject | (number | import("tdesign-vue-next").GutterObject)[];
|
|
17
|
-
}) => any;
|
|
18
|
-
} & {
|
|
19
|
-
footer?: (props: {
|
|
20
|
-
context: Data;
|
|
21
|
-
}) => any;
|
|
22
|
-
};
|
|
23
|
-
emit: (evt: "update:modelValue", args_0: Data | undefined) => void;
|
|
24
|
-
}>) => import("vue").VNode & {
|
|
25
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
26
|
-
};
|
|
27
|
-
export default _default;
|
|
28
|
-
type __VLS_PrettifyLocal<T> = {
|
|
29
|
-
[K in keyof T]: T[K];
|
|
30
|
-
} & {};
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
import { defineComponent, mergeDefaults, provide, nextTick, onBeforeUnmount, useTemplateRef, ref, computed, onMounted, withDirectives, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, normalizeProps, guardReactiveProps, createVNode, createElementBlock, Fragment, renderList } from "vue";
|
|
2
|
-
import { Form, LoadingDirective } from "tdesign-vue-next";
|
|
3
|
-
import QdFormItem from "./item.vue.mjs";
|
|
4
|
-
import QdGrid from "../grid/index.vue.mjs";
|
|
5
|
-
import { suspectedWrapperPromise } from "qidian-shared";
|
|
6
|
-
/* empty css */
|
|
7
|
-
import { PROVIDE_FORM_ADD_BEFORE_SUBMIT_QUEUE } from "./config.mjs";
|
|
8
|
-
import { qdFormProps } from "./props.mjs";
|
|
9
|
-
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";
|
|
10
|
-
import { useModal } from "../../hooks/useModal.mjs";
|
|
11
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
|
-
...{
|
|
13
|
-
name: "QdForm"
|
|
14
|
-
},
|
|
15
|
-
__name: "index",
|
|
16
|
-
props: /* @__PURE__ */ mergeDefaults({
|
|
17
|
-
crudMode: {},
|
|
18
|
-
items: {},
|
|
19
|
-
loading: { type: Boolean },
|
|
20
|
-
loadingProps: {},
|
|
21
|
-
defaultClearable: { type: Boolean },
|
|
22
|
-
onSubmit: { type: Function },
|
|
23
|
-
colon: { type: Boolean },
|
|
24
|
-
data: {},
|
|
25
|
-
disabled: { type: Boolean },
|
|
26
|
-
errorMessage: {},
|
|
27
|
-
id: {},
|
|
28
|
-
labelAlign: {},
|
|
29
|
-
labelWidth: {},
|
|
30
|
-
preventSubmitDefault: { type: Boolean },
|
|
31
|
-
readonly: { type: Boolean },
|
|
32
|
-
requiredMark: { type: Boolean },
|
|
33
|
-
requiredMarkPosition: {},
|
|
34
|
-
resetType: {},
|
|
35
|
-
rules: {},
|
|
36
|
-
scrollToFirstError: {},
|
|
37
|
-
showErrorMessage: { type: Boolean },
|
|
38
|
-
statusIcon: { type: Boolean },
|
|
39
|
-
submitWithWarningMessage: { type: Boolean },
|
|
40
|
-
onReset: { type: Function },
|
|
41
|
-
onValidate: { type: Function },
|
|
42
|
-
gutter: {},
|
|
43
|
-
grid: {}
|
|
44
|
-
}, qdFormProps),
|
|
45
|
-
emits: ["update:modelValue"],
|
|
46
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
47
|
-
const vLoading = LoadingDirective;
|
|
48
|
-
const props = __props;
|
|
49
|
-
const emit = __emit;
|
|
50
|
-
const { data } = useVModels(props, emit, { passive: true });
|
|
51
|
-
const { msgError } = useModal();
|
|
52
|
-
const beforeSubmitQueue = [];
|
|
53
|
-
provide(PROVIDE_FORM_ADD_BEFORE_SUBMIT_QUEUE, (item) => {
|
|
54
|
-
const index = beforeSubmitQueue.length;
|
|
55
|
-
nextTick(() => {
|
|
56
|
-
beforeSubmitQueue.push(item);
|
|
57
|
-
});
|
|
58
|
-
onBeforeUnmount(() => {
|
|
59
|
-
beforeSubmitQueue.splice(index, 1);
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
const formRef = useTemplateRef("form");
|
|
63
|
-
const submitShowErrorMessage = ref();
|
|
64
|
-
const reProps = computed(() => {
|
|
65
|
-
const {
|
|
66
|
-
grid,
|
|
67
|
-
gutter,
|
|
68
|
-
items,
|
|
69
|
-
onSubmit,
|
|
70
|
-
data: data2,
|
|
71
|
-
scrollToFirstError,
|
|
72
|
-
loading: externalLoad,
|
|
73
|
-
...formOptions
|
|
74
|
-
} = props;
|
|
75
|
-
return {
|
|
76
|
-
externalLoad,
|
|
77
|
-
formOptions: {
|
|
78
|
-
...formOptions,
|
|
79
|
-
scrollToFirstError: submitShowErrorMessage.value === false ? "" : scrollToFirstError
|
|
80
|
-
},
|
|
81
|
-
formItems: items,
|
|
82
|
-
gridOptions: {
|
|
83
|
-
grid,
|
|
84
|
-
gutter
|
|
85
|
-
},
|
|
86
|
-
onSubmit,
|
|
87
|
-
models: { data: data2 }
|
|
88
|
-
};
|
|
89
|
-
});
|
|
90
|
-
const submitLoad = ref(false);
|
|
91
|
-
const formLoad = computed(() => {
|
|
92
|
-
return {
|
|
93
|
-
loading: reProps.value.externalLoad || submitLoad.value,
|
|
94
|
-
size: "small",
|
|
95
|
-
...props.loadingProps
|
|
96
|
-
};
|
|
97
|
-
});
|
|
98
|
-
async function handleSubmit(context) {
|
|
99
|
-
const showErrorMessage = submitShowErrorMessage.value ?? props.showErrorMessage;
|
|
100
|
-
submitShowErrorMessage.value = void 0;
|
|
101
|
-
if (showErrorMessage && context.firstError) {
|
|
102
|
-
msgError(context.firstError);
|
|
103
|
-
}
|
|
104
|
-
if (context.validateResult === true || !showErrorMessage) {
|
|
105
|
-
submitLoad.value = true;
|
|
106
|
-
const queueRes = await Promise.all(
|
|
107
|
-
beforeSubmitQueue.map((item) => suspectedWrapperPromise(item()))
|
|
108
|
-
);
|
|
109
|
-
submitLoad.value = false;
|
|
110
|
-
const reQueueRes = { success: true, message: "" };
|
|
111
|
-
queueRes.some(([err, res]) => {
|
|
112
|
-
if (err) {
|
|
113
|
-
reQueueRes.success = false;
|
|
114
|
-
reQueueRes.message = err.message;
|
|
115
|
-
return true;
|
|
116
|
-
}
|
|
117
|
-
if (res === false) {
|
|
118
|
-
reQueueRes.success = false;
|
|
119
|
-
return true;
|
|
120
|
-
}
|
|
121
|
-
if (typeof res === "object" && !res.success) {
|
|
122
|
-
reQueueRes.success = false;
|
|
123
|
-
reQueueRes.message = res.message || "";
|
|
124
|
-
return true;
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
|
-
if (reQueueRes.success === false) {
|
|
128
|
-
if (showErrorMessage && reQueueRes.message) {
|
|
129
|
-
msgError(reQueueRes.message);
|
|
130
|
-
}
|
|
131
|
-
return;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
props.onSubmit?.({
|
|
135
|
-
...context,
|
|
136
|
-
showErrorMessage,
|
|
137
|
-
formData: data.value,
|
|
138
|
-
crudMode: reProps.value.formOptions.crudMode
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
const expose = {};
|
|
142
|
-
onMounted(() => {
|
|
143
|
-
const submit = async (params) => {
|
|
144
|
-
submitShowErrorMessage.value = params?.showErrorMessage;
|
|
145
|
-
formRef.value?.submit(params);
|
|
146
|
-
};
|
|
147
|
-
Object.assign(expose, formRef.value, { submit });
|
|
148
|
-
});
|
|
149
|
-
__expose(expose);
|
|
150
|
-
return (_ctx, _cache) => {
|
|
151
|
-
return withDirectives((openBlock(), createBlock(unref(Form), mergeProps({
|
|
152
|
-
ref: "form",
|
|
153
|
-
class: ["qd-form", _ctx.$slots.footer ? "qd-form--has-footer" : ""]
|
|
154
|
-
}, reProps.value.formOptions, {
|
|
155
|
-
data: unref(data),
|
|
156
|
-
onSubmit: handleSubmit
|
|
157
|
-
}), {
|
|
158
|
-
default: withCtx(() => [
|
|
159
|
-
renderSlot(_ctx.$slots, "header", { context: unref(data) }),
|
|
160
|
-
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(reProps.value.gridOptions)), () => [
|
|
161
|
-
createVNode(unref(QdGrid), normalizeProps(guardReactiveProps(reProps.value.gridOptions)), {
|
|
162
|
-
default: withCtx(() => [
|
|
163
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(reProps.value.formItems, (item, index) => {
|
|
164
|
-
return openBlock(), createBlock(QdFormItem, mergeProps({
|
|
165
|
-
key: index,
|
|
166
|
-
"crud-mode": __props.crudMode,
|
|
167
|
-
context: unref(data),
|
|
168
|
-
"default-clearable": __props.defaultClearable
|
|
169
|
-
}, { ref_for: true }, item), null, 16, ["crud-mode", "context", "default-clearable"]);
|
|
170
|
-
}), 128))
|
|
171
|
-
]),
|
|
172
|
-
_: 1
|
|
173
|
-
}, 16)
|
|
174
|
-
]),
|
|
175
|
-
renderSlot(_ctx.$slots, "footer", { context: unref(data) })
|
|
176
|
-
]),
|
|
177
|
-
_: 3
|
|
178
|
-
}, 16, ["class", "data"])), [
|
|
179
|
-
[unref(vLoading), formLoad.value]
|
|
180
|
-
]);
|
|
181
|
-
};
|
|
182
|
-
}
|
|
183
|
-
});
|
|
184
|
-
export {
|
|
185
|
-
_sfc_main as default
|
|
186
|
-
};
|
|
187
|
-
//# sourceMappingURL=index.vue.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.mjs","sources":["../../../src/components/form/index.vue"],"sourcesContent":["<template>\n <t-form\n ref=\"form\"\n :class=\"['qd-form', $slots.footer ? 'qd-form--has-footer' : '']\"\n v-loading=\"formLoad\"\n v-bind=\"reProps.formOptions\"\n :data=\"data\"\n @submit=\"handleSubmit\"\n >\n <slot name=\"header\" :context=\"data\" />\n\n <slot v-bind=\"reProps.gridOptions\">\n <qd-grid v-bind=\"reProps.gridOptions\">\n <qd-form-item\n v-for=\"(item, index) in reProps.formItems\"\n :key=\"index\"\n :crud-mode=\"crudMode\"\n :context=\"data\"\n :default-clearable=\"defaultClearable\"\n v-bind=\"item\"\n />\n </qd-grid>\n </slot>\n\n <slot name=\"footer\" :context=\"data\" />\n </t-form>\n</template>\n\n<script setup lang=\"ts\" generic=\"FD extends Data = Data\">\n import type { Data, FormInstanceFunctions, SubmitContext } from 'tdesign-vue-next'\n import type { QdFormBeforeSubmitQueueItem, QdFormProps } from './types'\n import { computed, nextTick, provide, onBeforeUnmount, useTemplateRef, ref, onMounted } from 'vue'\n import { Form as TForm, LoadingDirective } from 'tdesign-vue-next'\n import QdFormItem from './item.vue'\n import { QdGrid } from '../grid'\n import { PROVIDE_FORM_ADD_BEFORE_SUBMIT_QUEUE } from './config'\n import { suspectedWrapperPromise } from 'qidian-shared'\n import { qdFormProps } from './props'\n import { useVModels } from '@vueuse/core'\n import { useModal } from '../../hooks/useModal'\n\n defineOptions({\n name: 'QdForm'\n })\n\n const vLoading = LoadingDirective\n\n type Props = QdFormProps<Data>\n\n const props = withDefaults(defineProps<QdFormProps<Data>>(), qdFormProps)\n const emit = defineEmits<{\n 'update:modelValue': [Props['data']]\n }>()\n const { data } = useVModels(props, emit, { passive: true })\n\n const { msgError } = useModal()\n\n const beforeSubmitQueue: QdFormBeforeSubmitQueueItem[] = [] // 提交前需要处理的队列\n provide(PROVIDE_FORM_ADD_BEFORE_SUBMIT_QUEUE, (item: QdFormBeforeSubmitQueueItem) => {\n const index = beforeSubmitQueue.length\n nextTick(() => {\n beforeSubmitQueue.push(item)\n })\n onBeforeUnmount(() => {\n beforeSubmitQueue.splice(index, 1)\n })\n })\n\n const formRef = useTemplateRef<FormInstanceFunctions>('form')\n const submitShowErrorMessage = ref<boolean | undefined>()\n\n const reProps = computed(() => {\n const {\n grid,\n gutter,\n items,\n onSubmit,\n data,\n scrollToFirstError,\n loading: externalLoad,\n ...formOptions\n } = props\n\n return {\n externalLoad,\n formOptions: {\n ...formOptions,\n scrollToFirstError: submitShowErrorMessage.value === false ? '' : scrollToFirstError\n },\n formItems: items,\n gridOptions: {\n grid,\n gutter\n },\n onSubmit,\n models: { data }\n }\n })\n\n const submitLoad = ref(false)\n const formLoad = computed(() => {\n return {\n loading: reProps.value.externalLoad || submitLoad.value,\n size: 'small',\n ...props.loadingProps\n }\n })\n\n async function handleSubmit(context: SubmitContext) {\n const showErrorMessage = submitShowErrorMessage.value ?? props.showErrorMessage\n submitShowErrorMessage.value = undefined\n\n if (showErrorMessage && context.firstError) {\n msgError(context.firstError)\n }\n\n if (context.validateResult === true || !showErrorMessage) {\n submitLoad.value = true\n const queueRes = await Promise.all(\n beforeSubmitQueue.map((item) => suspectedWrapperPromise(item()))\n )\n submitLoad.value = false\n\n const reQueueRes = { success: true, message: '' }\n queueRes.some(([err, res]) => {\n if (err) {\n reQueueRes.success = false\n reQueueRes.message = err.message\n return true\n }\n\n if (res === false) {\n reQueueRes.success = false\n return true\n }\n\n if (typeof res === 'object' && !res.success) {\n reQueueRes.success = false\n reQueueRes.message = res.message || ''\n return true\n }\n })\n\n if (reQueueRes.success === false) {\n if (showErrorMessage && reQueueRes.message) {\n msgError(reQueueRes.message)\n }\n return\n }\n }\n\n props.onSubmit?.({\n ...context,\n showErrorMessage,\n formData: data.value,\n crudMode: reProps.value.formOptions.crudMode\n })\n }\n\n const expose = {} as FormInstanceFunctions\n\n onMounted(() => {\n const submit: FormInstanceFunctions['submit'] = async (params) => {\n submitShowErrorMessage.value = params?.showErrorMessage\n formRef.value?.submit(params)\n }\n\n Object.assign(expose, formRef.value, { submit })\n })\n\n defineExpose(expose)\n</script>\n"],"names":["data","_withDirectives","_openBlock","_createBlock","_unref","_mergeProps","$slots","_renderSlot","_normalizeProps","_guardReactiveProps","_createVNode","_createElementBlock","_Fragment"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CE,UAAM,WAAW;AAIjB,UAAM,QAAQ;AACd,UAAM,OAAO;AAGb,UAAM,EAAE,SAAS,WAAW,OAAO,MAAM,EAAE,SAAS,MAAM;AAE1D,UAAM,EAAE,SAAA,IAAa,SAAA;AAErB,UAAM,oBAAmD,CAAA;AACzD,YAAQ,sCAAsC,CAAC,SAAsC;AACnF,YAAM,QAAQ,kBAAkB;AAChC,eAAS,MAAM;AACb,0BAAkB,KAAK,IAAI;AAAA,MAC7B,CAAC;AACD,sBAAgB,MAAM;AACpB,0BAAkB,OAAO,OAAO,CAAC;AAAA,MACnC,CAAC;AAAA,IACH,CAAC;AAED,UAAM,UAAU,eAAsC,MAAM;AAC5D,UAAM,yBAAyB,IAAA;AAE/B,UAAM,UAAU,SAAS,MAAM;AAC7B,YAAM;AAAA,QACJ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA,MAAAA;AAAAA,QACA;AAAA,QACA,SAAS;AAAA,QACT,GAAG;AAAA,MAAA,IACD;AAEJ,aAAO;AAAA,QACL;AAAA,QACA,aAAa;AAAA,UACX,GAAG;AAAA,UACH,oBAAoB,uBAAuB,UAAU,QAAQ,KAAK;AAAA,QAAA;AAAA,QAEpE,WAAW;AAAA,QACX,aAAa;AAAA,UACX;AAAA,UACA;AAAA,QAAA;AAAA,QAEF;AAAA,QACA,QAAQ,EAAE,MAAAA,MAAAA;AAAAA,MAAK;AAAA,IAEnB,CAAC;AAED,UAAM,aAAa,IAAI,KAAK;AAC5B,UAAM,WAAW,SAAS,MAAM;AAC9B,aAAO;AAAA,QACL,SAAS,QAAQ,MAAM,gBAAgB,WAAW;AAAA,QAClD,MAAM;AAAA,QACN,GAAG,MAAM;AAAA,MAAA;AAAA,IAEb,CAAC;AAED,mBAAe,aAAa,SAAwB;AAClD,YAAM,mBAAmB,uBAAuB,SAAS,MAAM;AAC/D,6BAAuB,QAAQ;AAE/B,UAAI,oBAAoB,QAAQ,YAAY;AAC1C,iBAAS,QAAQ,UAAU;AAAA,MAC7B;AAEA,UAAI,QAAQ,mBAAmB,QAAQ,CAAC,kBAAkB;AACxD,mBAAW,QAAQ;AACnB,cAAM,WAAW,MAAM,QAAQ;AAAA,UAC7B,kBAAkB,IAAI,CAAC,SAAS,wBAAwB,KAAA,CAAM,CAAC;AAAA,QAAA;AAEjE,mBAAW,QAAQ;AAEnB,cAAM,aAAa,EAAE,SAAS,MAAM,SAAS,GAAA;AAC7C,iBAAS,KAAK,CAAC,CAAC,KAAK,GAAG,MAAM;AAC5B,cAAI,KAAK;AACP,uBAAW,UAAU;AACrB,uBAAW,UAAU,IAAI;AACzB,mBAAO;AAAA,UACT;AAEA,cAAI,QAAQ,OAAO;AACjB,uBAAW,UAAU;AACrB,mBAAO;AAAA,UACT;AAEA,cAAI,OAAO,QAAQ,YAAY,CAAC,IAAI,SAAS;AAC3C,uBAAW,UAAU;AACrB,uBAAW,UAAU,IAAI,WAAW;AACpC,mBAAO;AAAA,UACT;AAAA,QACF,CAAC;AAED,YAAI,WAAW,YAAY,OAAO;AAChC,cAAI,oBAAoB,WAAW,SAAS;AAC1C,qBAAS,WAAW,OAAO;AAAA,UAC7B;AACA;AAAA,QACF;AAAA,MACF;AAEA,YAAM,WAAW;AAAA,QACf,GAAG;AAAA,QACH;AAAA,QACA,UAAU,KAAK;AAAA,QACf,UAAU,QAAQ,MAAM,YAAY;AAAA,MAAA,CACrC;AAAA,IACH;AAEA,UAAM,SAAS,CAAA;AAEf,cAAU,MAAM;AACd,YAAM,SAA0C,OAAO,WAAW;AAChE,+BAAuB,QAAQ,QAAQ;AACvC,gBAAQ,OAAO,OAAO,MAAM;AAAA,MAC9B;AAEA,aAAO,OAAO,QAAQ,QAAQ,OAAO,EAAE,QAAQ;AAAA,IACjD,CAAC;AAED,aAAa,MAAM;;AAzKnB,aAAAC,gBAAAC,aAAAC,YAwBSC,aAxBTC,WAwBS;AAAA,QAvBP,KAAI;AAAA,QACH,OAAK,CAAA,WAAcC,KAAAA,OAAO,SAAM,wBAAA,EAAA;AAAA,MAAA,GAEzB,QAAA,MAAQ,aAAW;AAAA,QAC1B,MAAMF,MAAA,IAAA;AAAA,QACN,UAAQ;AAAA,MAAA;yBAET,MAAsC;AAAA,UAAtCG,WAAsC,KAAA,QAAA,UAAA,EAAjB,SAASH,MAAA,IAAA,GAAI;AAAA,UAElCG,WAWO,KAAA,QAAA,WAAAC,eAAAC,mBAXO,QAAA,MAAQ,WAAW,IAAjC,MAWO;AAAA,YAVLC,YASUN,MAAA,MAAA,GAAAI,eAAAC,mBATO,QAAA,MAAQ,WAAW,CAAA,GAAA;AAAA,+BAEhC,MAA0C;AAAA,iBAD5CP,UAAA,IAAA,GAAAS,mBAOEC,2BANwB,QAAA,MAAQ,WAAS,CAAjC,MAAM,UAAK;AADrB,yBAAAV,UAAA,GAAAC,YAOE,YAPFE,WAOE;AAAA,oBALC,KAAK;AAAA,oBACL,aAAW,QAAA;AAAA,oBACX,SAASD,MAAA,IAAA;AAAA,oBACT,qBAAmB,QAAA;AAAA,kBAAA,sBACZ,IAAI,GAAA,MAAA,IAAA,CAAA,aAAA,WAAA,mBAAA,CAAA;AAAA;;;;;UAKlBG,WAAsC,KAAA,QAAA,UAAA,EAAjB,SAASH,MAAA,IAAA,EAAA,CAAI;AAAA,QAAA;;;0BApBvB,SAAA,KAAQ;AAAA,MAAA;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue2.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { QdFormItemProps } from './types';
|
|
2
|
-
declare var __VLS_10: {
|
|
3
|
-
crudMode: "view" | "add" | "edit" | undefined;
|
|
4
|
-
context: Record<string, unknown> | undefined;
|
|
5
|
-
};
|
|
6
|
-
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof __VLS_10) => any;
|
|
8
|
-
};
|
|
9
|
-
declare const __VLS_component: import("vue").DefineComponent<QdFormItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<QdFormItemProps> & Readonly<{}>, {
|
|
10
|
-
ifRender: import("..").QdConfigValue<boolean>;
|
|
11
|
-
defaultClearable: boolean;
|
|
12
|
-
requiredMark: boolean;
|
|
13
|
-
showErrorMessage: boolean;
|
|
14
|
-
statusIcon: boolean | import("tdesign-vue-next").TNode;
|
|
15
|
-
successBorder: boolean;
|
|
16
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
-
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
18
|
-
export default _default;
|
|
19
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
-
new (): {
|
|
21
|
-
$slots: S;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import _sfc_main from "./item.vue2.mjs";
|
|
2
|
-
/* empty css */
|
|
3
|
-
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const QdFormItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a363e096"]]);
|
|
5
|
-
export {
|
|
6
|
-
QdFormItem as default
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=item.vue.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"item.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { defineComponent, mergeDefaults, computed, createBlock, createCommentVNode, openBlock, unref, mergeProps, withCtx, createVNode, normalizeProps, guardReactiveProps, renderSlot } from "vue";
|
|
2
|
-
import { FormItem } from "tdesign-vue-next";
|
|
3
|
-
import { isEmpty } from "qidian-shared";
|
|
4
|
-
/* empty css */
|
|
5
|
-
import QdGridItem from "../grid/item.vue.mjs";
|
|
6
|
-
import _sfc_main$1 from "../config-renderer/index.vue.mjs";
|
|
7
|
-
import { qdUseComputeValue } from "../config-renderer/compute.mjs";
|
|
8
|
-
import { qdFormItemProps } from "./props.mjs";
|
|
9
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
-
...{
|
|
11
|
-
name: "QdFormItem"
|
|
12
|
-
},
|
|
13
|
-
__name: "item",
|
|
14
|
-
props: /* @__PURE__ */ mergeDefaults({
|
|
15
|
-
context: {},
|
|
16
|
-
component: {},
|
|
17
|
-
required: { type: [Boolean, String] },
|
|
18
|
-
ifRender: { type: [Boolean, Function, Object] },
|
|
19
|
-
for: {},
|
|
20
|
-
help: {},
|
|
21
|
-
label: {},
|
|
22
|
-
labelAlign: {},
|
|
23
|
-
labelWidth: {},
|
|
24
|
-
name: {},
|
|
25
|
-
requiredMark: { type: Boolean },
|
|
26
|
-
rules: {},
|
|
27
|
-
showErrorMessage: { type: Boolean },
|
|
28
|
-
status: {},
|
|
29
|
-
statusIcon: { type: Boolean },
|
|
30
|
-
successBorder: { type: Boolean },
|
|
31
|
-
tips: {},
|
|
32
|
-
col: {},
|
|
33
|
-
row: {},
|
|
34
|
-
crudMode: {},
|
|
35
|
-
defaultClearable: { type: Boolean }
|
|
36
|
-
}, qdFormItemProps),
|
|
37
|
-
setup(__props) {
|
|
38
|
-
const props = __props;
|
|
39
|
-
const reIfRender = computed(() => {
|
|
40
|
-
const ifRender = props.ifRender;
|
|
41
|
-
if (isEmpty(ifRender)) return true;
|
|
42
|
-
if (ifRender?.__qdCompute || ifRender?.__qdAsyncCompute) {
|
|
43
|
-
const { result } = qdUseComputeValue(
|
|
44
|
-
ifRender,
|
|
45
|
-
computed(() => props.context || {})
|
|
46
|
-
);
|
|
47
|
-
return result.value;
|
|
48
|
-
}
|
|
49
|
-
return ifRender;
|
|
50
|
-
});
|
|
51
|
-
const reProps = computed(() => {
|
|
52
|
-
const { col, row, context, component, required, rules, ...formItemOptions } = props;
|
|
53
|
-
const reRules = rules || [];
|
|
54
|
-
if (component) {
|
|
55
|
-
const comp = component.is;
|
|
56
|
-
const compName = (typeof comp === "string" ? comp : !comp ? "" : "name" in comp ? comp.name || "" : "").toLowerCase();
|
|
57
|
-
const messagePrefix = compName.search("select") > -1 || compName.search("checkbox") > -1 || compName.search("radio") > -1 ? "请选择" : compName.search("upload") > -1 ? "请上传" : "请输入";
|
|
58
|
-
if (required && !reRules.some((item) => item.required)) {
|
|
59
|
-
if (required && typeof required === "string") {
|
|
60
|
-
reRules.push({ required: true, message: required });
|
|
61
|
-
} else {
|
|
62
|
-
reRules.push({ required: true, message: `${messagePrefix}${formItemOptions.label}` });
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
component.placeholder = component.placeholder ?? (compName.search("picker") > -1 ? "" : `${messagePrefix}${formItemOptions.label}`);
|
|
66
|
-
component.clearable = component.clearable ?? (required ? false : props.defaultClearable ?? true);
|
|
67
|
-
}
|
|
68
|
-
return {
|
|
69
|
-
formItemOptions: {
|
|
70
|
-
...formItemOptions,
|
|
71
|
-
rules: reRules
|
|
72
|
-
},
|
|
73
|
-
gridItemOptions: { col, row },
|
|
74
|
-
configRendererOptions: { context, config: component }
|
|
75
|
-
};
|
|
76
|
-
});
|
|
77
|
-
return (_ctx, _cache) => {
|
|
78
|
-
return reIfRender.value !== false ? (openBlock(), createBlock(unref(QdGridItem), mergeProps({
|
|
79
|
-
key: 0,
|
|
80
|
-
class: "qd-form-item"
|
|
81
|
-
}, reProps.value.gridItemOptions), {
|
|
82
|
-
default: withCtx(() => [
|
|
83
|
-
createVNode(unref(FormItem), normalizeProps(guardReactiveProps(reProps.value.formItemOptions)), {
|
|
84
|
-
default: withCtx(() => [
|
|
85
|
-
renderSlot(_ctx.$slots, "default", {
|
|
86
|
-
crudMode: reProps.value.formItemOptions.crudMode,
|
|
87
|
-
context: __props.context
|
|
88
|
-
}, () => [
|
|
89
|
-
reProps.value.configRendererOptions.config ? (openBlock(), createBlock(unref(_sfc_main$1), mergeProps({
|
|
90
|
-
key: 0,
|
|
91
|
-
class: "qd-form-item__component"
|
|
92
|
-
}, reProps.value.configRendererOptions), null, 16)) : createCommentVNode("", true)
|
|
93
|
-
], true)
|
|
94
|
-
]),
|
|
95
|
-
_: 3
|
|
96
|
-
}, 16)
|
|
97
|
-
]),
|
|
98
|
-
_: 3
|
|
99
|
-
}, 16)) : createCommentVNode("", true);
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
export {
|
|
104
|
-
_sfc_main as default
|
|
105
|
-
};
|
|
106
|
-
//# sourceMappingURL=item.vue2.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"item.vue2.mjs","sources":["../../../src/components/form/item.vue"],"sourcesContent":["<template>\n <qd-grid-item v-if=\"reIfRender !== false\" class=\"qd-form-item\" v-bind=\"reProps.gridItemOptions\">\n <t-form-item v-bind=\"reProps.formItemOptions\">\n <slot :crud-mode=\"reProps.formItemOptions.crudMode\" :context=\"context\">\n <qd-config-renderer\n v-if=\"reProps.configRendererOptions.config\"\n class=\"qd-form-item__component\"\n v-bind=\"reProps.configRendererOptions\"\n />\n </slot>\n </t-form-item>\n </qd-grid-item>\n</template>\n\n<script setup lang=\"ts\">\n import type { QdFormItemProps } from './types'\n import type {\n QdConfigRendererProps,\n QdComputeFunction,\n QdAsyncComputeOptions\n } from '../config-renderer'\n import { computed } from 'vue'\n import { FormItem as TFormItem } from 'tdesign-vue-next'\n import { QdGridItem } from '../grid'\n import { QdConfigRenderer } from '../config-renderer'\n import { qdFormItemProps } from './props'\n import { qdUseComputeValue } from '../config-renderer/compute'\n import { isEmpty } from 'qidian-shared'\n\n defineOptions({\n name: 'QdFormItem'\n })\n\n const props = withDefaults(defineProps<QdFormItemProps>(), qdFormItemProps)\n\n // 处理 ifRender\n const reIfRender = computed(() => {\n const ifRender = props.ifRender\n if (isEmpty(ifRender)) return true\n\n if (\n (ifRender as QdComputeFunction<boolean>)?.__qdCompute ||\n (ifRender as QdAsyncComputeOptions<boolean>)?.__qdAsyncCompute\n ) {\n const { result } = qdUseComputeValue(\n ifRender as QdComputeFunction<boolean> | QdAsyncComputeOptions<boolean>,\n computed(() => props.context || {})\n )\n return result.value\n }\n\n return ifRender as boolean\n })\n\n const reProps = computed(() => {\n const { col, row, context, component, required, rules, ...formItemOptions } = props\n const reRules = rules || []\n\n if (component) {\n const comp = component.is\n const compName = (\n typeof comp === 'string' ? comp : !comp ? '' : 'name' in comp ? comp.name || '' : ''\n ).toLowerCase()\n const messagePrefix =\n compName.search('select') > -1 ||\n compName.search('checkbox') > -1 ||\n compName.search('radio') > -1\n ? '请选择'\n : compName.search('upload') > -1\n ? '请上传'\n : '请输入'\n\n if (required && !reRules.some((item) => item.required)) {\n if (required && typeof required === 'string') {\n reRules.push({ required: true, message: required })\n } else {\n reRules.push({ required: true, message: `${messagePrefix}${formItemOptions.label}` })\n }\n }\n\n component.placeholder =\n component.placeholder ??\n (compName.search('picker') > -1 ? '' : `${messagePrefix}${formItemOptions.label}`)\n component.clearable =\n component.clearable ?? (required ? false : (props.defaultClearable ?? true))\n }\n\n return {\n formItemOptions: {\n ...formItemOptions,\n rules: reRules\n },\n gridItemOptions: { col, row },\n configRendererOptions: { context, config: component } as QdConfigRendererProps\n }\n })\n</script>\n\n<style lang=\"less\" scoped>\n .qd-form-item {\n & > :deep(.t-form__item) {\n & > .t-form__controls > .t-form__controls-content > * {\n width: 100%;\n }\n }\n\n &__component {\n width: 100%;\n }\n }\n</style>\n"],"names":["_openBlock","_createBlock","_unref","_mergeProps","_createVNode","TFormItem","_normalizeProps","_guardReactiveProps","_renderSlot"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCE,UAAM,QAAQ;AAGd,UAAM,aAAa,SAAS,MAAM;AAChC,YAAM,WAAW,MAAM;AACvB,UAAI,QAAQ,QAAQ,EAAG,QAAO;AAE9B,UACG,UAAyC,eACzC,UAA6C,kBAC9C;AACA,cAAM,EAAE,WAAW;AAAA,UACjB;AAAA,UACA,SAAS,MAAM,MAAM,WAAW,CAAA,CAAE;AAAA,QAAA;AAEpC,eAAO,OAAO;AAAA,MAChB;AAEA,aAAO;AAAA,IACT,CAAC;AAED,UAAM,UAAU,SAAS,MAAM;AAC7B,YAAM,EAAE,KAAK,KAAK,SAAS,WAAW,UAAU,OAAO,GAAG,gBAAA,IAAoB;AAC9E,YAAM,UAAU,SAAS,CAAA;AAEzB,UAAI,WAAW;AACb,cAAM,OAAO,UAAU;AACvB,cAAM,YACJ,OAAO,SAAS,WAAW,OAAO,CAAC,OAAO,KAAK,UAAU,OAAO,KAAK,QAAQ,KAAK,IAClF,YAAA;AACF,cAAM,gBACJ,SAAS,OAAO,QAAQ,IAAI,MAC5B,SAAS,OAAO,UAAU,IAAI,MAC9B,SAAS,OAAO,OAAO,IAAI,KACvB,QACA,SAAS,OAAO,QAAQ,IAAI,KAC1B,QACA;AAER,YAAI,YAAY,CAAC,QAAQ,KAAK,CAAC,SAAS,KAAK,QAAQ,GAAG;AACtD,cAAI,YAAY,OAAO,aAAa,UAAU;AAC5C,oBAAQ,KAAK,EAAE,UAAU,MAAM,SAAS,UAAU;AAAA,UACpD,OAAO;AACL,oBAAQ,KAAK,EAAE,UAAU,MAAM,SAAS,GAAG,aAAa,GAAG,gBAAgB,KAAK,GAAA,CAAI;AAAA,UACtF;AAAA,QACF;AAEA,kBAAU,cACR,UAAU,gBACT,SAAS,OAAO,QAAQ,IAAI,KAAK,KAAK,GAAG,aAAa,GAAG,gBAAgB,KAAK;AACjF,kBAAU,YACR,UAAU,cAAc,WAAW,QAAS,MAAM,oBAAoB;AAAA,MAC1E;AAEA,aAAO;AAAA,QACL,iBAAiB;AAAA,UACf,GAAG;AAAA,UACH,OAAO;AAAA,QAAA;AAAA,QAET,iBAAiB,EAAE,KAAK,IAAA;AAAA,QACxB,uBAAuB,EAAE,SAAS,QAAQ,UAAA;AAAA,MAAU;AAAA,IAExD,CAAC;;aA9FmB,WAAA,UAAU,SAA9BA,UAAA,GAAAC,YAUeC,mBAVfC,WAUe;AAAA;QAV2B,OAAM;AAAA,MAAA,GAAuB,QAAA,MAAQ,eAAe,GAAA;AAAA,yBAC5F,MAQc;AAAA,UARdC,YAQcF,MAAAG,QAAA,GAAAC,eAAAC,mBARO,QAAA,MAAQ,eAAe,CAAA,GAAA;AAAA,6BAC1C,MAMO;AAAA,cANPC,WAMO,KAAA,QAAA,WAAA;AAAA,gBANA,UAAW,QAAA,MAAQ,gBAAgB;AAAA,gBAAW,SAAS,QAAA;AAAA,cAAA,GAA9D,MAMO;AAAA,gBAJG,QAAA,MAAQ,sBAAsB,UADtCR,aAAAC,YAIEC,oBAJFC,WAIE;AAAA;kBAFA,OAAM;AAAA,gBAAA,GACE,QAAA,MAAQ,qBAAqB,GAAA,MAAA,EAAA;;;;;;;;;;;"}
|