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 @@
|
|
|
1
|
+
{"version":3,"file":"_commonjsHelpers.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const _export_sfc = (sfc, props) => {
|
|
2
|
+
const target = sfc.__vccOpts || sfc;
|
|
3
|
+
for (const [key, val] of props) {
|
|
4
|
+
target[key] = val;
|
|
5
|
+
}
|
|
6
|
+
return target;
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
_export_sfc as default
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=_plugin-vue_export-helper.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_plugin-vue_export-helper.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { getDefaultExportFromCjs } from "./_commonjsHelpers.mjs";
|
|
2
|
+
import { __require as requireDayjs_min } from "../node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/dayjs.min.mjs";
|
|
3
|
+
var dayjs_minExports = requireDayjs_min();
|
|
4
|
+
const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
|
|
5
|
+
export {
|
|
6
|
+
dayjs as default
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=dayjs.min.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dayjs.min.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dayjs.min2.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { QdAutoTooltipProps } from './types';
|
|
2
|
+
declare var __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
content?: (props: typeof __VLS_5) => any;
|
|
5
|
+
} & {
|
|
6
|
+
default?: (props: typeof __VLS_7) => any;
|
|
7
|
+
} & {
|
|
8
|
+
default?: (props: typeof __VLS_9) => any;
|
|
9
|
+
} & {
|
|
10
|
+
default?: (props: typeof __VLS_11) => any;
|
|
11
|
+
} & {
|
|
12
|
+
suffix?: (props: typeof __VLS_13) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<QdAutoTooltipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<QdAutoTooltipProps> & Readonly<{}>, {
|
|
15
|
+
attach: import("tdesign-vue-next").AttachNode;
|
|
16
|
+
ellipsis: number;
|
|
17
|
+
tooltipDisabled: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import _sfc_main from "./index.vue2.mjs";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const QdAutoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-41eb5480"]]);
|
|
5
|
+
export {
|
|
6
|
+
QdAutoTooltip as default
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=index.vue.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { defineComponent, useCssVars, useTemplateRef, ref, watch, nextTick, resolveDirective, createElementBlock, openBlock, createVNode, renderSlot, unref, withCtx, withDirectives, normalizeClass, createTextVNode, toDisplayString } from "vue";
|
|
2
|
+
import { Tooltip } from "tdesign-vue-next";
|
|
3
|
+
const _hoisted_1 = { class: "qd-auto-tooltip" };
|
|
4
|
+
const _hoisted_2 = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "pre-wrap"
|
|
7
|
+
};
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
|
+
...{
|
|
10
|
+
name: "QdAutoTooltip"
|
|
11
|
+
},
|
|
12
|
+
__name: "index",
|
|
13
|
+
props: {
|
|
14
|
+
content: {},
|
|
15
|
+
preWrap: { type: Boolean },
|
|
16
|
+
ellipsis: { default: 1 },
|
|
17
|
+
tooltipDisabled: { type: Boolean, default: void 0 },
|
|
18
|
+
placement: {},
|
|
19
|
+
attach: { default: "body" }
|
|
20
|
+
},
|
|
21
|
+
setup(__props) {
|
|
22
|
+
useCssVars((_ctx) => ({
|
|
23
|
+
"v07d46710": _ctx.ellipsis
|
|
24
|
+
}));
|
|
25
|
+
const props = __props;
|
|
26
|
+
const contentRef = useTemplateRef("content");
|
|
27
|
+
const isEllipsis = ref(false);
|
|
28
|
+
function checkEllipsis() {
|
|
29
|
+
const el = contentRef.value;
|
|
30
|
+
if (!el) return;
|
|
31
|
+
isEllipsis.value = el.scrollWidth > el.clientWidth || props.ellipsis > 1 && el.scrollHeight > el.clientHeight;
|
|
32
|
+
}
|
|
33
|
+
watch(
|
|
34
|
+
() => props.content,
|
|
35
|
+
() => {
|
|
36
|
+
nextTick(checkEllipsis);
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
return (_ctx, _cache) => {
|
|
40
|
+
const _directive_resize = resolveDirective("resize");
|
|
41
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
42
|
+
createVNode(unref(Tooltip), {
|
|
43
|
+
attach: __props.attach,
|
|
44
|
+
placement: __props.placement,
|
|
45
|
+
disabled: __props.tooltipDisabled ?? !isEllipsis.value,
|
|
46
|
+
"destroy-on-close": ""
|
|
47
|
+
}, {
|
|
48
|
+
content: withCtx(() => [
|
|
49
|
+
renderSlot(_ctx.$slots, "content", {}, () => [
|
|
50
|
+
__props.preWrap ? (openBlock(), createElementBlock("span", _hoisted_2, [
|
|
51
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
52
|
+
createTextVNode(toDisplayString(__props.content), 1)
|
|
53
|
+
], true)
|
|
54
|
+
])) : renderSlot(_ctx.$slots, "default", { key: 1 }, () => [
|
|
55
|
+
createTextVNode(toDisplayString(__props.content), 1)
|
|
56
|
+
], true)
|
|
57
|
+
], true)
|
|
58
|
+
]),
|
|
59
|
+
default: withCtx(() => [
|
|
60
|
+
withDirectives((openBlock(), createElementBlock("div", {
|
|
61
|
+
ref: "content",
|
|
62
|
+
class: normalizeClass(["qd-auto-tooltip__content", `qd-auto-tooltip__content--${__props.ellipsis}`])
|
|
63
|
+
}, [
|
|
64
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
65
|
+
createTextVNode(toDisplayString(__props.content), 1)
|
|
66
|
+
], true)
|
|
67
|
+
], 2)), [
|
|
68
|
+
[_directive_resize, checkEllipsis]
|
|
69
|
+
])
|
|
70
|
+
]),
|
|
71
|
+
_: 3
|
|
72
|
+
}, 8, ["attach", "placement", "disabled"]),
|
|
73
|
+
renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
|
|
74
|
+
]);
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
export {
|
|
79
|
+
_sfc_main as default
|
|
80
|
+
};
|
|
81
|
+
//# sourceMappingURL=index.vue2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue2.mjs","sources":["../../../src/components/auto-tooltip/index.vue"],"sourcesContent":["<template>\n <div class=\"qd-auto-tooltip\">\n <t-tooltip\n :attach=\"attach\"\n :placement=\"placement\"\n :disabled=\"tooltipDisabled ?? !isEllipsis\"\n destroy-on-close\n >\n <template #content>\n <slot name=\"content\">\n <span v-if=\"preWrap\" class=\"pre-wrap\">\n <slot>{{ content }}</slot>\n </span>\n <template v-else>\n <slot>{{ content }}</slot>\n </template>\n </slot>\n </template>\n\n <div\n ref=\"content\"\n v-resize=\"checkEllipsis\"\n :class=\"['qd-auto-tooltip__content', `qd-auto-tooltip__content--${ellipsis}`]\"\n >\n <slot>{{ content }}</slot>\n </div>\n </t-tooltip>\n\n <slot name=\"suffix\" />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\n import type { QdAutoTooltipProps } from './types'\n import { Tooltip as TTooltip } from 'tdesign-vue-next'\n import { ref, watch, nextTick, useTemplateRef } from 'vue'\n\n defineOptions({\n name: 'QdAutoTooltip'\n })\n\n const props = withDefaults(defineProps<QdAutoTooltipProps>(), {\n ellipsis: 1,\n attach: 'body',\n tooltipDisabled: undefined\n })\n\n const contentRef = useTemplateRef('content')\n const isEllipsis = ref(false)\n\n function checkEllipsis() {\n const el = contentRef.value\n if (!el) return\n\n isEllipsis.value =\n el.scrollWidth > el.clientWidth || (props.ellipsis > 1 && el.scrollHeight > el.clientHeight)\n }\n\n watch(\n () => props.content,\n () => {\n nextTick(checkEllipsis)\n }\n )\n</script>\n\n<style lang=\"less\" scoped>\n .qd-auto-tooltip {\n width: 100%;\n display: flex;\n align-items: center;\n\n .pre-wrap {\n white-space: pre-wrap;\n }\n\n &__content {\n overflow: hidden;\n text-overflow: ellipsis;\n\n &--1 {\n white-space: nowrap;\n }\n\n &:not(&--1) {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: v-bind(ellipsis);\n }\n }\n }\n</style>\n"],"names":["_openBlock","_createElementBlock","_createVNode","_unref","TTooltip","_renderSlot"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAyCE,UAAM,QAAQ;AAMd,UAAM,aAAa,eAAe,SAAS;AAC3C,UAAM,aAAa,IAAI,KAAK;AAE5B,aAAS,gBAAgB;AACvB,YAAM,KAAK,WAAW;AACtB,UAAI,CAAC,GAAI;AAET,iBAAW,QACT,GAAG,cAAc,GAAG,eAAgB,MAAM,WAAW,KAAK,GAAG,eAAe,GAAG;AAAA,IACnF;AAEA;AAAA,MACE,MAAM,MAAM;AAAA,MACZ,MAAM;AACJ,iBAAS,aAAa;AAAA,MACxB;AAAA,IAAA;;;AA7DF,aAAAA,UAAA,GAAAC,mBA4BM,OA5BN,YA4BM;AAAA,QA3BJC,YAwBYC,MAAAC,OAAA,GAAA;AAAA,UAvBT,QAAQ,QAAA;AAAA,UACR,WAAW,QAAA;AAAA,UACX,UAAU,QAAA,mBAAe,CAAK,WAAA;AAAA,UAC/B,oBAAA;AAAA,QAAA;UAEW,iBACT,MAOO;AAAA,YAPPC,WAOO,4BAPP,MAOO;AAAA,cANO,QAAA,WAAZL,UAAA,GAAAC,mBAEO,QAFP,YAEO;AAAA,gBADLI,WAA0B,4BAA1B,MAA0B;AAAA,kDAAjB,QAAA,OAAO,GAAA,CAAA;AAAA,gBAAA;oBAGhBA,WAA0B,oCAA1B,MAA0B;AAAA,gDAAjB,QAAA,OAAO,GAAA,CAAA;AAAA,cAAA;;;2BAKtB,MAMM;AAAA,yCANNJ,mBAMM,OAAA;AAAA,cALJ,KAAI;AAAA,cAEH,gFAAiE,QAAA,QAAQ,EAAA,CAAA;AAAA,YAAA;cAE1EI,WAA0B,4BAA1B,MAA0B;AAAA,gDAAjB,QAAA,OAAO,GAAA,CAAA;AAAA,cAAA;;kCAHN,aAAa;AAAA,YAAA;;;;QAO3BA,WAAsB,KAAA,QAAA,UAAA,CAAA,GAAA,QAAA,IAAA;AAAA,MAAA;;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { TdTooltipProps } from 'tdesign-vue-next';
|
|
2
|
+
export interface QdAutoTooltipProps {
|
|
3
|
+
content?: string;
|
|
4
|
+
preWrap?: boolean;
|
|
5
|
+
ellipsis?: number;
|
|
6
|
+
tooltipDisabled?: boolean;
|
|
7
|
+
placement?: TdTooltipProps['placement'];
|
|
8
|
+
attach?: TdTooltipProps['attach'];
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { QdAvatarProps } from './types';
|
|
2
|
+
declare var __VLS_6: import("vue").Slot<any> | undefined, __VLS_7: any;
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
[K in NonNullable<typeof __VLS_6>]?: (props: typeof __VLS_7) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<QdAvatarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<QdAvatarProps> & Readonly<{}>, {
|
|
7
|
+
hideOnLoadFailed: boolean;
|
|
8
|
+
icon: import("tdesign-vue-next").TNode;
|
|
9
|
+
mode: "ossId" | "url";
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import _sfc_main from "./index.vue2.mjs";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-26692975"]]);
|
|
5
|
+
export {
|
|
6
|
+
index as default
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=index.vue.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { defineComponent, mergeDefaults, inject, computed, ref, watch, resolveDirective, createElementBlock, openBlock, withDirectives, createCommentVNode, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, normalizeClass, toDisplayString } from "vue";
|
|
2
|
+
import { Avatar } from "tdesign-vue-next";
|
|
3
|
+
import { isEmpty, validator, abortWrapper } from "qidian-shared";
|
|
4
|
+
import { qdAvatarImageProps, qdAvatarProps } from "./props.mjs";
|
|
5
|
+
import { PROVIDE_AVATAR } from "../config-provider/config.mjs";
|
|
6
|
+
import "../../hooks/useAgentChat/index.mjs";
|
|
7
|
+
import "../../locales/zh-CN.mjs";
|
|
8
|
+
import { useUserAvatar } from "../../hooks/useUserAvatar/index.mjs";
|
|
9
|
+
import merge from "../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs";
|
|
10
|
+
const _hoisted_1 = { class: "qd-avatar" };
|
|
11
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
|
+
...{
|
|
13
|
+
name: "QdAvatar"
|
|
14
|
+
},
|
|
15
|
+
__name: "index",
|
|
16
|
+
props: /* @__PURE__ */ mergeDefaults({
|
|
17
|
+
name: {},
|
|
18
|
+
mode: {},
|
|
19
|
+
avatarClassName: {},
|
|
20
|
+
nameClassName: {},
|
|
21
|
+
image: {},
|
|
22
|
+
alt: {},
|
|
23
|
+
content: {},
|
|
24
|
+
default: {},
|
|
25
|
+
hideOnLoadFailed: { type: Boolean },
|
|
26
|
+
icon: {},
|
|
27
|
+
imageProps: {},
|
|
28
|
+
shape: {},
|
|
29
|
+
size: {},
|
|
30
|
+
onError: { type: Function },
|
|
31
|
+
service: { type: Function }
|
|
32
|
+
}, qdAvatarProps),
|
|
33
|
+
setup(__props) {
|
|
34
|
+
const props = __props;
|
|
35
|
+
const globalAvatarProps = inject(
|
|
36
|
+
PROVIDE_AVATAR,
|
|
37
|
+
computed(() => void 0)
|
|
38
|
+
);
|
|
39
|
+
const { loading, getAvatar } = useUserAvatar();
|
|
40
|
+
let serviceAbort;
|
|
41
|
+
const reImage = ref();
|
|
42
|
+
const reProps = computed(() => {
|
|
43
|
+
const {
|
|
44
|
+
name,
|
|
45
|
+
mode,
|
|
46
|
+
avatarClassName,
|
|
47
|
+
nameClassName,
|
|
48
|
+
image,
|
|
49
|
+
service,
|
|
50
|
+
imageProps,
|
|
51
|
+
...avatarOptions
|
|
52
|
+
} = props;
|
|
53
|
+
const reAlt = avatarOptions.alt || name;
|
|
54
|
+
const serviceOptions = { service: service || globalAvatarProps.value?.service };
|
|
55
|
+
const reImageProps = merge(imageProps, qdAvatarImageProps);
|
|
56
|
+
return {
|
|
57
|
+
avatarOptions: {
|
|
58
|
+
...avatarOptions,
|
|
59
|
+
imageProps: reImageProps,
|
|
60
|
+
alt: reAlt
|
|
61
|
+
},
|
|
62
|
+
serviceOptions,
|
|
63
|
+
name,
|
|
64
|
+
mode,
|
|
65
|
+
avatarClassName,
|
|
66
|
+
nameClassName,
|
|
67
|
+
image
|
|
68
|
+
};
|
|
69
|
+
});
|
|
70
|
+
watch(
|
|
71
|
+
() => reProps.value.image,
|
|
72
|
+
async (newVal, oldVal) => {
|
|
73
|
+
if (newVal === oldVal) return;
|
|
74
|
+
serviceAbort?.abort?.("abort");
|
|
75
|
+
const { mode, serviceOptions } = reProps.value;
|
|
76
|
+
if (mode === "ossId") {
|
|
77
|
+
const { service } = serviceOptions;
|
|
78
|
+
if (!service || isEmpty(newVal) || validator(newVal, "url")) {
|
|
79
|
+
reImage.value = newVal;
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
serviceAbort = abortWrapper(getAvatar(newVal));
|
|
83
|
+
const res = await serviceAbort;
|
|
84
|
+
reImage.value = res;
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
reImage.value = newVal;
|
|
88
|
+
},
|
|
89
|
+
{ immediate: true }
|
|
90
|
+
);
|
|
91
|
+
return (_ctx, _cache) => {
|
|
92
|
+
const _directive_loading = resolveDirective("loading");
|
|
93
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
94
|
+
withDirectives((openBlock(), createBlock(unref(Avatar), mergeProps({ class: __props.avatarClassName }, reProps.value.avatarOptions, {
|
|
95
|
+
image: typeof reImage.value === "number" ? reImage.value + "" : reImage.value
|
|
96
|
+
}), createSlots({ _: 2 }, [
|
|
97
|
+
renderList(_ctx.$slots, (name) => {
|
|
98
|
+
return {
|
|
99
|
+
name,
|
|
100
|
+
fn: withCtx((slotProps) => [
|
|
101
|
+
renderSlot(_ctx.$slots, name, normalizeProps(guardReactiveProps(slotProps)), void 0, true)
|
|
102
|
+
])
|
|
103
|
+
};
|
|
104
|
+
})
|
|
105
|
+
]), 1040, ["class", "image"])), [
|
|
106
|
+
[_directive_loading, { loading: unref(loading), size: "small" }]
|
|
107
|
+
]),
|
|
108
|
+
reProps.value.name ? (openBlock(), createElementBlock("span", {
|
|
109
|
+
key: 0,
|
|
110
|
+
class: normalizeClass(`qd-avatar__name ${__props.nameClassName}`)
|
|
111
|
+
}, toDisplayString(reProps.value.name), 3)) : createCommentVNode("", true)
|
|
112
|
+
]);
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
export {
|
|
117
|
+
_sfc_main as default
|
|
118
|
+
};
|
|
119
|
+
//# sourceMappingURL=index.vue2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue2.mjs","sources":["../../../src/components/avatar/index.vue"],"sourcesContent":["<template>\n <div class=\"qd-avatar\">\n <t-avatar\n v-loading=\"{ loading, size: 'small' }\"\n :class=\"avatarClassName\"\n v-bind=\"reProps.avatarOptions\"\n :image=\"typeof reImage === 'number' ? reImage + '' : reImage\"\n >\n <template v-for=\"name in $slots\" #[name]=\"slotProps\">\n <slot :name=\"name\" v-bind=\"slotProps\" />\n </template>\n </t-avatar>\n\n <span v-if=\"reProps.name\" :class=\"`qd-avatar__name ${nameClassName}`\">{{ reProps.name }}</span>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import type { QdAvatarProps } from './types'\n import type { AbortWrapperPromise } from 'qidian-shared'\n import { Avatar as TAvatar } from 'tdesign-vue-next'\n import { abortWrapper, isEmpty, validator } from 'qidian-shared'\n import { qdAvatarImageProps, qdAvatarProps } from './props'\n import { ref, computed, watch, inject } from 'vue'\n import { PROVIDE_AVATAR } from '../config-provider/config'\n import { useUserAvatar } from '../../hooks'\n import { merge } from 'lodash-es'\n\n defineOptions({\n name: 'QdAvatar'\n })\n\n const props = withDefaults(defineProps<QdAvatarProps>(), qdAvatarProps)\n\n const globalAvatarProps = inject(\n PROVIDE_AVATAR,\n computed(() => undefined)\n )\n\n const { loading, getAvatar } = useUserAvatar()\n let serviceAbort: AbortWrapperPromise<Awaited<ReturnType<typeof getAvatar>>> | undefined\n\n const reImage = ref<string | number | undefined>()\n const reProps = computed(() => {\n const {\n name,\n mode,\n avatarClassName,\n nameClassName,\n image,\n service,\n imageProps,\n ...avatarOptions\n } = props\n const reAlt = avatarOptions.alt || name\n const serviceOptions = { service: service || globalAvatarProps.value?.service }\n const reImageProps = merge(imageProps, qdAvatarImageProps)\n\n return {\n avatarOptions: {\n ...avatarOptions,\n imageProps: reImageProps,\n alt: reAlt\n },\n serviceOptions,\n name,\n mode,\n avatarClassName,\n nameClassName,\n image\n }\n })\n\n watch(\n () => reProps.value.image,\n async (newVal, oldVal) => {\n if (newVal === oldVal) return\n\n serviceAbort?.abort?.('abort')\n const { mode, serviceOptions } = reProps.value\n if (mode === 'ossId') {\n const { service } = serviceOptions\n if (!service || isEmpty(newVal) || validator(newVal, 'url')) {\n reImage.value = newVal\n return\n }\n\n serviceAbort = abortWrapper(getAvatar(newVal))\n const res = await serviceAbort\n reImage.value = res\n return\n }\n\n reImage.value = newVal\n },\n { immediate: true }\n )\n</script>\n\n<style lang=\"less\" scoped>\n .qd-avatar {\n display: inline-flex;\n align-items: center;\n font: var(--td-font-body-medium);\n color: var(--td-text-color-primary);\n\n &__name {\n margin-left: var(--td-comp-margin-s);\n }\n }\n</style>\n"],"names":["_openBlock","_createElementBlock","_createBlock","_unref","TAvatar","_mergeProps","$slots","_withCtx","_renderSlot","_normalizeProps","_guardReactiveProps","_toDisplayString"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCE,UAAM,QAAQ;AAEd,UAAM,oBAAoB;AAAA,MACxB;AAAA,MACA,SAAS,MAAM,MAAS;AAAA,IAAA;AAG1B,UAAM,EAAE,SAAS,UAAA,IAAc,cAAA;AAC/B,QAAI;AAEJ,UAAM,UAAU,IAAA;AAChB,UAAM,UAAU,SAAS,MAAM;AAC7B,YAAM;AAAA,QACJ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA,GAAG;AAAA,MAAA,IACD;AACJ,YAAM,QAAQ,cAAc,OAAO;AACnC,YAAM,iBAAiB,EAAE,SAAS,WAAW,kBAAkB,OAAO,QAAA;AACtE,YAAM,eAAe,MAAM,YAAY,kBAAkB;AAEzD,aAAO;AAAA,QACL,eAAe;AAAA,UACb,GAAG;AAAA,UACH,YAAY;AAAA,UACZ,KAAK;AAAA,QAAA;AAAA,QAEP;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IAEJ,CAAC;AAED;AAAA,MACE,MAAM,QAAQ,MAAM;AAAA,MACpB,OAAO,QAAQ,WAAW;AACxB,YAAI,WAAW,OAAQ;AAEvB,sBAAc,QAAQ,OAAO;AAC7B,cAAM,EAAE,MAAM,eAAA,IAAmB,QAAQ;AACzC,YAAI,SAAS,SAAS;AACpB,gBAAM,EAAE,YAAY;AACpB,cAAI,CAAC,WAAW,QAAQ,MAAM,KAAK,UAAU,QAAQ,KAAK,GAAG;AAC3D,oBAAQ,QAAQ;AAChB;AAAA,UACF;AAEA,yBAAe,aAAa,UAAU,MAAM,CAAC;AAC7C,gBAAM,MAAM,MAAM;AAClB,kBAAQ,QAAQ;AAChB;AAAA,QACF;AAEA,gBAAQ,QAAQ;AAAA,MAClB;AAAA,MACA,EAAE,WAAW,KAAA;AAAA,IAAK;;;AA9FpB,aAAAA,UAAA,GAAAC,mBAaM,OAbN,YAaM;AAAA,qCAZJC,YASWC,MAAAC,MAAA,GATXC,WASW,EAPR,OAAO,QAAA,gBAAA,GACA,QAAA,MAAQ,eAAa;AAAA,UAC5B,OAAK,OAAS,QAAA,UAAO,WAAgB,QAAA,aAAe,QAAA;AAAA,QAAA;UAE5BC,WAAAA,KAAAA,SAAR,SAAI;;;cACnB,IAAAC,QAAA,CADwC,cAAS;AAAA,gBACjDC,WAAwC,KAAA,QAA3B,MAAIC,eAAAC,mBAAU,SAAS,CAAA,GAAA,QAAA,IAAA;AAAA,cAAA;;;;0CANzBP,MAAA,OAAA,GAAO,MAAA,QAAA,CAAA;AAAA,QAAA;QAUV,QAAA,MAAQ,qBAApBF,mBAA+F,QAAA;AAAA;UAApE,yCAA0B,QAAA,aAAa,EAAA;AAAA,QAAA,GAAOU,gBAAA,QAAA,MAAQ,IAAI,GAAA,CAAA;;;;;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { createVNode } from "vue";
|
|
2
|
+
import { UserIcon } from "tdesign-icons-vue-next";
|
|
3
|
+
const qdAvatarProps = {
|
|
4
|
+
hideOnLoadFailed: true,
|
|
5
|
+
icon: () => () => createVNode(UserIcon, null, null),
|
|
6
|
+
mode: "ossId"
|
|
7
|
+
};
|
|
8
|
+
const qdAvatarImageProps = {
|
|
9
|
+
lazy: true
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
qdAvatarImageProps,
|
|
13
|
+
qdAvatarProps
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=props.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.mjs","sources":["../../../src/components/avatar/props.tsx"],"sourcesContent":["import { UserIcon } from 'tdesign-icons-vue-next'\n\nexport const qdAvatarProps = {\n hideOnLoadFailed: true,\n icon: () => () => <UserIcon />,\n mode: 'ossId'\n} as const\n\nexport const qdAvatarImageProps = {\n lazy: true\n} as const"],"names":["qdAvatarProps","hideOnLoadFailed","icon","_createVNode","UserIcon","mode","qdAvatarImageProps","lazy"],"mappings":";;AAEO,MAAMA,gBAAgB;AAAA,EAC3BC,kBAAkB;AAAA,EAClBC,MAAMA,MAAM,MAAAC,YAAAC,UAAA,MAAA,IAAA;AAAA,EACZC,MAAM;AACR;AAEO,MAAMC,qBAAqB;AAAA,EAChCC,MAAM;AACR;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { TdAvatarProps } from 'tdesign-vue-next';
|
|
2
|
+
import type { QdAvatarBaseOptions } from '../../hooks/useUserAvatar';
|
|
3
|
+
export interface QdAvatarProps extends Omit<TdAvatarProps, 'image'>, QdAvatarBaseOptions {
|
|
4
|
+
name?: string;
|
|
5
|
+
mode?: 'ossId' | 'url';
|
|
6
|
+
avatarClassName?: string;
|
|
7
|
+
nameClassName?: string;
|
|
8
|
+
image?: string | number;
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { QdCardProps } from './types';
|
|
2
|
+
declare var __VLS_8: string | number, __VLS_9: any;
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
[K in NonNullable<typeof __VLS_8>]?: (props: typeof __VLS_9) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<QdCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<QdCardProps> & Readonly<{}>, {
|
|
7
|
+
bordered: boolean;
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import _sfc_main from "./index.vue2.mjs";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const QdCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cdb247de"]]);
|
|
5
|
+
export {
|
|
6
|
+
QdCard as default
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=index.vue.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { defineComponent, mergeDefaults, useTemplateRef, computed, onMounted, watch, createBlock, openBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
+
import { Card } from "tdesign-vue-next";
|
|
3
|
+
import { qdCardProps } from "./props.mjs";
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
+
__name: "index",
|
|
6
|
+
props: /* @__PURE__ */ mergeDefaults({
|
|
7
|
+
onHeaderClick: { type: Function },
|
|
8
|
+
actions: {},
|
|
9
|
+
avatar: {},
|
|
10
|
+
bordered: { type: Boolean },
|
|
11
|
+
bodyClassName: {},
|
|
12
|
+
bodyStyle: {},
|
|
13
|
+
content: {},
|
|
14
|
+
cover: {},
|
|
15
|
+
default: {},
|
|
16
|
+
description: {},
|
|
17
|
+
footer: {},
|
|
18
|
+
footerClassName: {},
|
|
19
|
+
footerStyle: {},
|
|
20
|
+
header: {},
|
|
21
|
+
headerClassName: {},
|
|
22
|
+
headerStyle: {},
|
|
23
|
+
headerBordered: { type: Boolean },
|
|
24
|
+
hoverShadow: { type: Boolean },
|
|
25
|
+
loading: { type: Boolean },
|
|
26
|
+
loadingProps: {},
|
|
27
|
+
shadow: { type: Boolean },
|
|
28
|
+
size: {},
|
|
29
|
+
status: {},
|
|
30
|
+
subtitle: {},
|
|
31
|
+
theme: {},
|
|
32
|
+
title: {}
|
|
33
|
+
}, qdCardProps),
|
|
34
|
+
setup(__props) {
|
|
35
|
+
const props = __props;
|
|
36
|
+
const cardRef = useTemplateRef("card");
|
|
37
|
+
const reProps = computed(() => {
|
|
38
|
+
const { loadingProps, onHeaderClick, headerClassName, ...otherOptions } = props;
|
|
39
|
+
let reHeaderClassName = headerClassName;
|
|
40
|
+
if (onHeaderClick) {
|
|
41
|
+
reHeaderClassName = reHeaderClassName ? `${reHeaderClassName} qd-card__header--click` : "qd-card__header--click";
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
...otherOptions,
|
|
45
|
+
onHeaderClick,
|
|
46
|
+
headerClassName: reHeaderClassName,
|
|
47
|
+
loadingProps: {
|
|
48
|
+
size: "small",
|
|
49
|
+
...loadingProps
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
onMounted(() => {
|
|
54
|
+
watch(
|
|
55
|
+
() => reProps.value?.onHeaderClick,
|
|
56
|
+
(newOnHeaderClick, lastOnHeaderClick) => {
|
|
57
|
+
const headerEl = cardRef.value?.$el?.querySelector(".t-card__header");
|
|
58
|
+
if (!headerEl) return;
|
|
59
|
+
if (lastOnHeaderClick) {
|
|
60
|
+
headerEl.removeEventListener("click", lastOnHeaderClick);
|
|
61
|
+
}
|
|
62
|
+
if (newOnHeaderClick) {
|
|
63
|
+
headerEl.addEventListener("click", newOnHeaderClick);
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{ immediate: true }
|
|
67
|
+
);
|
|
68
|
+
});
|
|
69
|
+
return (_ctx, _cache) => {
|
|
70
|
+
return openBlock(), createBlock(unref(Card), mergeProps({
|
|
71
|
+
ref: "card",
|
|
72
|
+
class: "qd-card"
|
|
73
|
+
}, reProps.value), createSlots({ _: 2 }, [
|
|
74
|
+
renderList(_ctx.$slots, (_, name) => {
|
|
75
|
+
return {
|
|
76
|
+
name,
|
|
77
|
+
fn: withCtx((slotProps) => [
|
|
78
|
+
renderSlot(_ctx.$slots, name, normalizeProps(guardReactiveProps(slotProps)), void 0, true)
|
|
79
|
+
])
|
|
80
|
+
};
|
|
81
|
+
})
|
|
82
|
+
]), 1040);
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
export {
|
|
87
|
+
_sfc_main as default
|
|
88
|
+
};
|
|
89
|
+
//# sourceMappingURL=index.vue2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue2.mjs","sources":["../../../src/components/card/index.vue"],"sourcesContent":["<template>\n <t-card ref=\"card\" class=\"qd-card\" v-bind=\"reProps\">\n <template v-for=\"(_, name) in $slots\" #[name]=\"slotProps\">\n <slot :name=\"name\" v-bind=\"slotProps\" />\n </template>\n </t-card>\n</template>\n\n<script setup lang=\"ts\">\n import type { QdCardProps } from './types'\n import { computed, onMounted, useTemplateRef, watch } from 'vue'\n import { Card as TCard } from 'tdesign-vue-next'\n import { qdCardProps } from './props'\n\n const props = withDefaults(defineProps<QdCardProps>(), qdCardProps)\n\n const cardRef = useTemplateRef('card')\n\n const reProps = computed(() => {\n const { loadingProps, onHeaderClick, headerClassName, ...otherOptions } = props\n\n let reHeaderClassName = headerClassName\n if (onHeaderClick) {\n reHeaderClassName = reHeaderClassName\n ? `${reHeaderClassName} qd-card__header--click`\n : 'qd-card__header--click'\n }\n\n return {\n ...otherOptions,\n onHeaderClick,\n headerClassName: reHeaderClassName,\n loadingProps: {\n size: 'small',\n ...loadingProps\n }\n }\n })\n\n onMounted(() => {\n watch(\n () => reProps.value?.onHeaderClick,\n (newOnHeaderClick, lastOnHeaderClick) => {\n const headerEl = cardRef.value?.$el?.querySelector('.t-card__header')\n if (!headerEl) return\n\n if (lastOnHeaderClick) {\n headerEl.removeEventListener('click', lastOnHeaderClick)\n }\n\n if (newOnHeaderClick) {\n headerEl.addEventListener('click', newOnHeaderClick)\n }\n },\n { immediate: true }\n )\n })\n</script>\n\n<style lang=\"less\" scoped>\n .qd-card {\n :deep(&__header--click) {\n cursor: pointer;\n }\n }\n</style>\n"],"names":["_openBlock","_createBlock","_unref","_mergeProps","_createSlots","$slots","_withCtx","_renderSlot","_normalizeProps","_guardReactiveProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcE,UAAM,QAAQ;AAEd,UAAM,UAAU,eAAe,MAAM;AAErC,UAAM,UAAU,SAAS,MAAM;AAC7B,YAAM,EAAE,cAAc,eAAe,iBAAiB,GAAG,iBAAiB;AAE1E,UAAI,oBAAoB;AACxB,UAAI,eAAe;AACjB,4BAAoB,oBAChB,GAAG,iBAAiB,4BACpB;AAAA,MACN;AAEA,aAAO;AAAA,QACL,GAAG;AAAA,QACH;AAAA,QACA,iBAAiB;AAAA,QACjB,cAAc;AAAA,UACZ,MAAM;AAAA,UACN,GAAG;AAAA,QAAA;AAAA,MACL;AAAA,IAEJ,CAAC;AAED,cAAU,MAAM;AACd;AAAA,QACE,MAAM,QAAQ,OAAO;AAAA,QACrB,CAAC,kBAAkB,sBAAsB;AACvC,gBAAM,WAAW,QAAQ,OAAO,KAAK,cAAc,iBAAiB;AACpE,cAAI,CAAC,SAAU;AAEf,cAAI,mBAAmB;AACrB,qBAAS,oBAAoB,SAAS,iBAAiB;AAAA,UACzD;AAEA,cAAI,kBAAkB;AACpB,qBAAS,iBAAiB,SAAS,gBAAgB;AAAA,UACrD;AAAA,QACF;AAAA,QACA,EAAE,WAAW,KAAA;AAAA,MAAK;AAAA,IAEtB,CAAC;;AAvDD,aAAAA,aAAAC,YAISC,aAJTC,WAIS;AAAA,QAJD,KAAI;AAAA,QAAO,OAAM;AAAA,MAAA,GAAkB,QAAA,KAAO,GAAAC,YAAA,EAAA,GAAA,KAAA;AAAA,mBAClBC,KAAAA,QAAM,CAAlB,GAAG,SAAI;;;YACvB,IAAAC,QAAA,CAD6C,cAAS;AAAA,cACtDC,WAAwC,KAAA,QAA3B,MAAIC,eAAAC,mBAAU,SAAS,CAAA,GAAA,QAAA,IAAA;AAAA,YAAA;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.mjs","sources":["../../../src/components/card/props.ts"],"sourcesContent":["export const qdCardProps = {\n bordered: false\n}"],"names":[],"mappings":"AAAO,MAAM,cAAc;AAAA,EACzB,UAAU;AACZ;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ComputedRef, InjectionKey } from 'vue';
|
|
2
|
+
import type { QdConfigProviderProps } from './types';
|
|
3
|
+
export declare const PROVIDE_USER: InjectionKey<ComputedRef<QdConfigProviderProps['user']>>;
|
|
4
|
+
export declare const PROVIDE_DICT: InjectionKey<ComputedRef<QdConfigProviderProps['dict']>>;
|
|
5
|
+
export declare const PROVIDE_UPLOAD: InjectionKey<ComputedRef<QdConfigProviderProps['upload']>>;
|
|
6
|
+
export declare const PROVIDE_AVATAR: InjectionKey<ComputedRef<QdConfigProviderProps['avatar']>>;
|
|
7
|
+
export declare const PROVIDE_ORG: InjectionKey<ComputedRef<QdConfigProviderProps['org']>>;
|
|
8
|
+
export declare const PROVIDE_GLOBAL_CONFIG: InjectionKey<ComputedRef<NonNullable<QdConfigProviderProps['globalConfig']>>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const PROVIDE_USER = Symbol("QdUser");
|
|
2
|
+
const PROVIDE_DICT = Symbol("QdDict");
|
|
3
|
+
const PROVIDE_UPLOAD = Symbol("QdUpload");
|
|
4
|
+
const PROVIDE_AVATAR = Symbol("QdAvatar");
|
|
5
|
+
const PROVIDE_ORG = Symbol("QdOrg");
|
|
6
|
+
const PROVIDE_GLOBAL_CONFIG = Symbol("QdGlobalConfig");
|
|
7
|
+
export {
|
|
8
|
+
PROVIDE_AVATAR,
|
|
9
|
+
PROVIDE_DICT,
|
|
10
|
+
PROVIDE_GLOBAL_CONFIG,
|
|
11
|
+
PROVIDE_ORG,
|
|
12
|
+
PROVIDE_UPLOAD,
|
|
13
|
+
PROVIDE_USER
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=config.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.mjs","sources":["../../../src/components/config-provider/config.ts"],"sourcesContent":["import type { ComputedRef, InjectionKey } from 'vue'\nimport type { QdConfigProviderProps } from './types'\n\nexport const PROVIDE_USER: InjectionKey<ComputedRef<QdConfigProviderProps['user']>> =\n Symbol('QdUser')\nexport const PROVIDE_DICT: InjectionKey<ComputedRef<QdConfigProviderProps['dict']>> =\n Symbol('QdDict')\nexport const PROVIDE_UPLOAD: InjectionKey<ComputedRef<QdConfigProviderProps['upload']>> =\n Symbol('QdUpload')\nexport const PROVIDE_AVATAR: InjectionKey<ComputedRef<QdConfigProviderProps['avatar']>> =\n Symbol('QdAvatar')\nexport const PROVIDE_ORG: InjectionKey<ComputedRef<QdConfigProviderProps['org']>> =\n Symbol('QdOrg')\nexport const PROVIDE_GLOBAL_CONFIG: InjectionKey<\n ComputedRef<NonNullable<QdConfigProviderProps['globalConfig']>>\n> = Symbol('QdGlobalConfig')\n\n"],"names":[],"mappings":"AAGO,MAAM,eACX,OAAO,QAAQ;AACV,MAAM,eACX,OAAO,QAAQ;AACV,MAAM,iBACX,OAAO,UAAU;AACZ,MAAM,iBACX,OAAO,UAAU;AACZ,MAAM,cACX,OAAO,OAAO;AACT,MAAM,wBAET,OAAO,gBAAgB;"}
|