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,45 @@
|
|
|
1
|
+
export declare const qdFormGutter: number[];
|
|
2
|
+
export declare const qdFormGrid: {
|
|
3
|
+
col: {
|
|
4
|
+
xs: number;
|
|
5
|
+
sm: number;
|
|
6
|
+
md: number;
|
|
7
|
+
lg: number;
|
|
8
|
+
xl: number;
|
|
9
|
+
xxl: number;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export declare const qdFormProps: {
|
|
13
|
+
readonly gutter: () => number[];
|
|
14
|
+
readonly grid: () => {
|
|
15
|
+
col: {
|
|
16
|
+
xs: number;
|
|
17
|
+
sm: number;
|
|
18
|
+
md: number;
|
|
19
|
+
lg: number;
|
|
20
|
+
xl: number;
|
|
21
|
+
xxl: number;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
readonly data: () => any;
|
|
25
|
+
readonly disabled: undefined;
|
|
26
|
+
readonly readonly: undefined;
|
|
27
|
+
readonly labelAlign: "top";
|
|
28
|
+
readonly labelWidth: "auto";
|
|
29
|
+
readonly requiredMarkPosition: "left";
|
|
30
|
+
readonly resetType: "initial";
|
|
31
|
+
readonly scrollToFirstError: "smooth";
|
|
32
|
+
readonly preventSubmitDefault: true;
|
|
33
|
+
readonly requiredMark: undefined;
|
|
34
|
+
readonly showErrorMessage: true;
|
|
35
|
+
readonly statusIcon: undefined;
|
|
36
|
+
readonly defaultClearable: undefined;
|
|
37
|
+
};
|
|
38
|
+
export declare const qdFormItemProps: {
|
|
39
|
+
readonly requiredMark: undefined;
|
|
40
|
+
readonly showErrorMessage: undefined;
|
|
41
|
+
readonly statusIcon: undefined;
|
|
42
|
+
readonly successBorder: false;
|
|
43
|
+
readonly defaultClearable: undefined;
|
|
44
|
+
readonly ifRender: undefined;
|
|
45
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
const qdFormGutter = [16, 16];
|
|
2
|
+
const qdFormGrid = {
|
|
3
|
+
col: {
|
|
4
|
+
xs: 12,
|
|
5
|
+
sm: 6,
|
|
6
|
+
md: 6,
|
|
7
|
+
lg: 4,
|
|
8
|
+
xl: 3,
|
|
9
|
+
xxl: 3
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
const qdFormProps = {
|
|
13
|
+
gutter: () => qdFormGutter,
|
|
14
|
+
grid: () => qdFormGrid,
|
|
15
|
+
data: () => ({}),
|
|
16
|
+
disabled: void 0,
|
|
17
|
+
readonly: void 0,
|
|
18
|
+
labelAlign: "top",
|
|
19
|
+
labelWidth: "auto",
|
|
20
|
+
requiredMarkPosition: "left",
|
|
21
|
+
resetType: "initial",
|
|
22
|
+
scrollToFirstError: "smooth",
|
|
23
|
+
preventSubmitDefault: true,
|
|
24
|
+
requiredMark: void 0,
|
|
25
|
+
showErrorMessage: true,
|
|
26
|
+
statusIcon: void 0,
|
|
27
|
+
defaultClearable: void 0
|
|
28
|
+
};
|
|
29
|
+
const qdFormItemProps = {
|
|
30
|
+
requiredMark: void 0,
|
|
31
|
+
showErrorMessage: void 0,
|
|
32
|
+
statusIcon: void 0,
|
|
33
|
+
successBorder: false,
|
|
34
|
+
defaultClearable: void 0,
|
|
35
|
+
ifRender: void 0
|
|
36
|
+
};
|
|
37
|
+
export {
|
|
38
|
+
qdFormGrid,
|
|
39
|
+
qdFormGutter,
|
|
40
|
+
qdFormItemProps,
|
|
41
|
+
qdFormProps
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=props.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.mjs","sources":["../../../src/components/form/props.ts"],"sourcesContent":["export const qdFormGutter = [16, 16]\n\nexport const qdFormGrid = {\n col: {\n xs: 12,\n sm: 6,\n md: 6,\n lg: 4,\n xl: 3,\n xxl: 3\n }\n}\n\nexport const qdFormProps = {\n gutter: () => qdFormGutter,\n grid: () => qdFormGrid,\n data: () => ({}) as any,\n\n disabled: undefined,\n readonly: undefined,\n labelAlign: 'top',\n labelWidth: 'auto',\n requiredMarkPosition: 'left',\n resetType: 'initial',\n scrollToFirstError: 'smooth',\n preventSubmitDefault: true,\n requiredMark: undefined,\n showErrorMessage: true,\n statusIcon: undefined,\n defaultClearable: undefined\n} as const\n\nexport const qdFormItemProps = {\n requiredMark: undefined,\n showErrorMessage: undefined,\n statusIcon: undefined,\n successBorder: false,\n defaultClearable: undefined,\n ifRender: undefined\n} as const\n"],"names":[],"mappings":"AAAO,MAAM,eAAe,CAAC,IAAI,EAAE;AAE5B,MAAM,aAAa;AAAA,EACxB,KAAK;AAAA,IACH,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,KAAK;AAAA,EAAA;AAET;AAEO,MAAM,cAAc;AAAA,EACzB,QAAQ,MAAM;AAAA,EACd,MAAM,MAAM;AAAA,EACZ,MAAM,OAAO,CAAA;AAAA,EAEb,UAAU;AAAA,EACV,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,sBAAsB;AAAA,EACtB,WAAW;AAAA,EACX,oBAAoB;AAAA,EACpB,sBAAsB;AAAA,EACtB,cAAc;AAAA,EACd,kBAAkB;AAAA,EAClB,YAAY;AAAA,EACZ,kBAAkB;AACpB;AAEO,MAAM,kBAAkB;AAAA,EAC7B,cAAc;AAAA,EACd,kBAAkB;AAAA,EAClB,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,kBAAkB;AAAA,EAClB,UAAU;AACZ;"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { TdFormProps, Data, TdFormItemProps, LoadingProps, SubmitContext } from 'tdesign-vue-next';
|
|
2
|
+
import type { QdGridItemProps, QdGridProps } from '../grid';
|
|
3
|
+
import type { QdConfigRendererProps, QdConfigValue } from '../config-renderer';
|
|
4
|
+
export type QdFormBeforeSubmitQueueResult = boolean | {
|
|
5
|
+
success: boolean;
|
|
6
|
+
message?: string;
|
|
7
|
+
};
|
|
8
|
+
export type QdFormBeforeSubmitQueueItem = () => Promise<QdFormBeforeSubmitQueueResult> | QdFormBeforeSubmitQueueResult;
|
|
9
|
+
export interface QdFormItemProps extends TdFormItemProps, QdGridItemProps, Pick<QdFormProps, 'crudMode' | 'defaultClearable'> {
|
|
10
|
+
context?: QdConfigRendererProps['context'];
|
|
11
|
+
component?: QdConfigRendererProps['config'];
|
|
12
|
+
required?: boolean | string;
|
|
13
|
+
ifRender?: QdConfigValue<boolean>;
|
|
14
|
+
}
|
|
15
|
+
export interface QdFormSubmitContext<FD extends Data = Data> extends SubmitContext<FD>, Pick<QdFormProps, 'crudMode'> {
|
|
16
|
+
showErrorMessage: boolean;
|
|
17
|
+
formData: FD;
|
|
18
|
+
}
|
|
19
|
+
export interface QdFormProps<FD extends Data = Data> extends Omit<TdFormProps<FD>, 'layout' | 'onSubmit'>, QdGridProps {
|
|
20
|
+
crudMode?: 'add' | 'view' | 'edit';
|
|
21
|
+
items?: QdFormItemProps[];
|
|
22
|
+
loading?: boolean;
|
|
23
|
+
loadingProps?: LoadingProps;
|
|
24
|
+
defaultClearable?: boolean;
|
|
25
|
+
onSubmit?: (context: QdFormSubmitContext<FD>) => void;
|
|
26
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { InjectionKey, Ref } from 'vue';
|
|
2
|
+
import type { QdGridItemProps } from './types';
|
|
3
|
+
export declare const PROVIDE_GRID_WIDTH_KEY: InjectionKey<Ref<number>>;
|
|
4
|
+
export declare const PROVIDE_GRID_ITEM_PROPS_KEY: InjectionKey<QdGridItemProps>;
|
|
5
|
+
export declare const DEFAULT_GRID_WIDTH = 1920;
|
|
6
|
+
export declare const DEFAULT_BREAKPOINTS: {
|
|
7
|
+
xs: number;
|
|
8
|
+
sm: number;
|
|
9
|
+
md: number;
|
|
10
|
+
lg: number;
|
|
11
|
+
xl: number;
|
|
12
|
+
xxl: number;
|
|
13
|
+
};
|
|
14
|
+
export declare const DEFAULT_COL = 1;
|
|
15
|
+
export declare const DEFAULT_ROW = 1;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const PROVIDE_GRID_WIDTH_KEY = Symbol("QdGridWidth");
|
|
2
|
+
const PROVIDE_GRID_ITEM_PROPS_KEY = Symbol("QdGridItemProps");
|
|
3
|
+
const DEFAULT_GRID_WIDTH = 1920;
|
|
4
|
+
const DEFAULT_BREAKPOINTS = {
|
|
5
|
+
// <768px 手机
|
|
6
|
+
sm: 768,
|
|
7
|
+
// ≥768px 平板
|
|
8
|
+
md: 992,
|
|
9
|
+
// ≥992px 超小尺寸电脑
|
|
10
|
+
lg: 1200,
|
|
11
|
+
// ≥1200px 小尺寸电脑
|
|
12
|
+
xl: 1400,
|
|
13
|
+
// ≥1400px 中尺寸电脑
|
|
14
|
+
xxl: 1880
|
|
15
|
+
// ≥1880px 大尺寸电脑
|
|
16
|
+
};
|
|
17
|
+
const DEFAULT_COL = 1;
|
|
18
|
+
const DEFAULT_ROW = 1;
|
|
19
|
+
export {
|
|
20
|
+
DEFAULT_BREAKPOINTS,
|
|
21
|
+
DEFAULT_COL,
|
|
22
|
+
DEFAULT_GRID_WIDTH,
|
|
23
|
+
DEFAULT_ROW,
|
|
24
|
+
PROVIDE_GRID_ITEM_PROPS_KEY,
|
|
25
|
+
PROVIDE_GRID_WIDTH_KEY
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=config.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.mjs","sources":["../../../src/components/grid/config.ts"],"sourcesContent":["import type { InjectionKey, Ref } from 'vue'\nimport type { QdGridItemProps } from './types'\n\nexport const PROVIDE_GRID_WIDTH_KEY: InjectionKey<Ref<number>> = Symbol('QdGridWidth')\nexport const PROVIDE_GRID_ITEM_PROPS_KEY: InjectionKey<QdGridItemProps> = Symbol('QdGridItemProps')\nexport const DEFAULT_GRID_WIDTH = 1920\n\nexport const DEFAULT_BREAKPOINTS = {\n xs: 768, // <768px 手机\n sm: 768, // ≥768px 平板\n md: 992, // ≥992px 超小尺寸电脑\n lg: 1200, // ≥1200px 小尺寸电脑\n xl: 1400, // ≥1400px 中尺寸电脑\n xxl: 1880 // ≥1880px 大尺寸电脑\n}\n\nexport const DEFAULT_COL = 1\nexport const DEFAULT_ROW = 1\n"],"names":[],"mappings":"AAGO,MAAM,yBAAoD,OAAO,aAAa;AAC9E,MAAM,8BAA6D,OAAO,iBAAiB;AAC3F,MAAM,qBAAqB;AAE3B,MAAM,sBAAsB;AAAA;AAAA,EAEjC,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,KAAK;AAAA;AACP;AAEO,MAAM,cAAc;AACpB,MAAM,cAAc;"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { QdGridProps } from './types';
|
|
2
|
+
declare var __VLS_1: {
|
|
3
|
+
gutterStyle: {
|
|
4
|
+
gap?: undefined;
|
|
5
|
+
} | {
|
|
6
|
+
gap: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_1) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<QdGridProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<QdGridProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -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 QdGrid = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f53624a2"]]);
|
|
5
|
+
export {
|
|
6
|
+
QdGrid 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,58 @@
|
|
|
1
|
+
import { defineComponent, provide, useTemplateRef, ref, computed, withDirectives, createElementBlock, openBlock, normalizeStyle, renderSlot, unref } from "vue";
|
|
2
|
+
import { resizeDirective, isEmpty } from "qidian-shared";
|
|
3
|
+
import { PROVIDE_GRID_ITEM_PROPS_KEY, DEFAULT_GRID_WIDTH, PROVIDE_GRID_WIDTH_KEY, DEFAULT_BREAKPOINTS } from "./config.mjs";
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
+
...{
|
|
6
|
+
name: "QdGrid"
|
|
7
|
+
},
|
|
8
|
+
__name: "index",
|
|
9
|
+
props: {
|
|
10
|
+
gutter: {},
|
|
11
|
+
grid: {}
|
|
12
|
+
},
|
|
13
|
+
setup(__props) {
|
|
14
|
+
const vResize = resizeDirective;
|
|
15
|
+
const props = __props;
|
|
16
|
+
provide(PROVIDE_GRID_ITEM_PROPS_KEY, props.grid || {});
|
|
17
|
+
const gridRef = useTemplateRef("grid");
|
|
18
|
+
const gridWidth = ref(DEFAULT_GRID_WIDTH);
|
|
19
|
+
provide(PROVIDE_GRID_WIDTH_KEY, gridWidth);
|
|
20
|
+
function onResize() {
|
|
21
|
+
gridWidth.value = gridRef.value?.clientWidth ?? DEFAULT_GRID_WIDTH;
|
|
22
|
+
}
|
|
23
|
+
const getGutterValue = (gutter) => {
|
|
24
|
+
if (typeof gutter === "number") return gutter;
|
|
25
|
+
const { xxl, xl, lg, md, sm, xs } = gutter;
|
|
26
|
+
if (gridWidth.value >= DEFAULT_BREAKPOINTS.xxl && !isEmpty(xxl)) return xxl;
|
|
27
|
+
if (gridWidth.value >= DEFAULT_BREAKPOINTS.xl && !isEmpty(xl)) return xl;
|
|
28
|
+
if (gridWidth.value >= DEFAULT_BREAKPOINTS.lg && !isEmpty(lg)) return lg;
|
|
29
|
+
if (gridWidth.value >= DEFAULT_BREAKPOINTS.md && !isEmpty(md)) return md;
|
|
30
|
+
if (gridWidth.value >= DEFAULT_BREAKPOINTS.sm && !isEmpty(sm)) return sm;
|
|
31
|
+
return xs;
|
|
32
|
+
};
|
|
33
|
+
const gutterStyle = computed(() => {
|
|
34
|
+
if (!props.gutter) return {};
|
|
35
|
+
const gutterArray = Array.isArray(props.gutter) ? props.gutter : [props.gutter, 0];
|
|
36
|
+
const horizontalGutter = getGutterValue(gutterArray[0]) || 0;
|
|
37
|
+
const verticalGutter = gutterArray[1] ? getGutterValue(gutterArray[1]) : 0;
|
|
38
|
+
return {
|
|
39
|
+
gap: `${verticalGutter}px ${horizontalGutter}px`
|
|
40
|
+
};
|
|
41
|
+
});
|
|
42
|
+
return (_ctx, _cache) => {
|
|
43
|
+
return withDirectives((openBlock(), createElementBlock("div", {
|
|
44
|
+
ref: "grid",
|
|
45
|
+
class: "qd-grid",
|
|
46
|
+
style: normalizeStyle(gutterStyle.value)
|
|
47
|
+
}, [
|
|
48
|
+
renderSlot(_ctx.$slots, "default", { gutterStyle: gutterStyle.value }, void 0, true)
|
|
49
|
+
], 4)), [
|
|
50
|
+
[unref(vResize), onResize]
|
|
51
|
+
]);
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
_sfc_main as default
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=index.vue2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue2.mjs","sources":["../../../src/components/grid/index.vue"],"sourcesContent":["<template>\n <div ref=\"grid\" v-resize=\"onResize\" class=\"qd-grid\" :style=\"gutterStyle\">\n <slot :gutter-style=\"gutterStyle\" />\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import type { GridGutterValue, QdGridProps } from './types'\n import { computed, provide, ref, useTemplateRef } from 'vue'\n import { isEmpty, resizeDirective } from 'qidian-shared'\n import {\n DEFAULT_BREAKPOINTS,\n DEFAULT_GRID_WIDTH,\n PROVIDE_GRID_ITEM_PROPS_KEY,\n PROVIDE_GRID_WIDTH_KEY\n } from './config'\n\n defineOptions({\n name: 'QdGrid'\n })\n\n const vResize = resizeDirective\n\n const props = defineProps<QdGridProps>()\n\n provide(PROVIDE_GRID_ITEM_PROPS_KEY, props.grid || {})\n const gridRef = useTemplateRef<HTMLElement>('grid')\n const gridWidth = ref(DEFAULT_GRID_WIDTH)\n provide(PROVIDE_GRID_WIDTH_KEY, gridWidth)\n\n function onResize() {\n gridWidth.value = gridRef.value?.clientWidth ?? DEFAULT_GRID_WIDTH\n }\n\n const getGutterValue = (gutter: GridGutterValue) => {\n if (typeof gutter === 'number') return gutter\n\n const { xxl, xl, lg, md, sm, xs } = gutter\n if (gridWidth.value >= DEFAULT_BREAKPOINTS.xxl && !isEmpty(xxl)) return xxl\n if (gridWidth.value >= DEFAULT_BREAKPOINTS.xl && !isEmpty(xl)) return xl\n if (gridWidth.value >= DEFAULT_BREAKPOINTS.lg && !isEmpty(lg)) return lg\n if (gridWidth.value >= DEFAULT_BREAKPOINTS.md && !isEmpty(md)) return md\n if (gridWidth.value >= DEFAULT_BREAKPOINTS.sm && !isEmpty(sm)) return sm\n return xs\n }\n\n const gutterStyle = computed(() => {\n if (!props.gutter) return {}\n\n const gutterArray = Array.isArray(props.gutter) ? props.gutter : [props.gutter, 0]\n const horizontalGutter = getGutterValue(gutterArray[0]) || 0\n const verticalGutter = gutterArray[1] ? getGutterValue(gutterArray[1]) : 0\n\n return {\n gap: `${verticalGutter}px ${horizontalGutter}px`\n }\n })\n</script>\n\n<style lang=\"less\" scoped>\n .qd-grid {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n }\n</style>\n"],"names":["_createElementBlock","_renderSlot"],"mappings":";;;;;;;;;;;;;AAqBE,UAAM,UAAU;AAEhB,UAAM,QAAQ;AAEd,YAAQ,6BAA6B,MAAM,QAAQ,CAAA,CAAE;AACrD,UAAM,UAAU,eAA4B,MAAM;AAClD,UAAM,YAAY,IAAI,kBAAkB;AACxC,YAAQ,wBAAwB,SAAS;AAEzC,aAAS,WAAW;AAClB,gBAAU,QAAQ,QAAQ,OAAO,eAAe;AAAA,IAClD;AAEA,UAAM,iBAAiB,CAAC,WAA4B;AAClD,UAAI,OAAO,WAAW,SAAU,QAAO;AAEvC,YAAM,EAAE,KAAK,IAAI,IAAI,IAAI,IAAI,OAAO;AACpC,UAAI,UAAU,SAAS,oBAAoB,OAAO,CAAC,QAAQ,GAAG,EAAG,QAAO;AACxE,UAAI,UAAU,SAAS,oBAAoB,MAAM,CAAC,QAAQ,EAAE,EAAG,QAAO;AACtE,UAAI,UAAU,SAAS,oBAAoB,MAAM,CAAC,QAAQ,EAAE,EAAG,QAAO;AACtE,UAAI,UAAU,SAAS,oBAAoB,MAAM,CAAC,QAAQ,EAAE,EAAG,QAAO;AACtE,UAAI,UAAU,SAAS,oBAAoB,MAAM,CAAC,QAAQ,EAAE,EAAG,QAAO;AACtE,aAAO;AAAA,IACT;AAEA,UAAM,cAAc,SAAS,MAAM;AACjC,UAAI,CAAC,MAAM,OAAQ,QAAO,CAAA;AAE1B,YAAM,cAAc,MAAM,QAAQ,MAAM,MAAM,IAAI,MAAM,SAAS,CAAC,MAAM,QAAQ,CAAC;AACjF,YAAM,mBAAmB,eAAe,YAAY,CAAC,CAAC,KAAK;AAC3D,YAAM,iBAAiB,YAAY,CAAC,IAAI,eAAe,YAAY,CAAC,CAAC,IAAI;AAEzE,aAAO;AAAA,QACL,KAAK,GAAG,cAAc,MAAM,gBAAgB;AAAA,MAAA;AAAA,IAEhD,CAAC;;0CAvDDA,mBAEM,OAAA;AAAA,QAFD,KAAI;AAAA,QAA2B,OAAM;AAAA,QAAW,sBAAO,YAAA,KAAW;AAAA,MAAA;QACrEC,WAAoC,KAAA,QAAA,WAAA,EAA7B,aAAc,YAAA,SAAW,QAAA,IAAA;AAAA,MAAA;yBADR,QAAQ;AAAA,MAAA;;;;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { QdGridItemProps } from './types';
|
|
2
|
+
declare var __VLS_1: {
|
|
3
|
+
itemStyle: {
|
|
4
|
+
gridColumn: string;
|
|
5
|
+
gridRow: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<QdGridItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<QdGridItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import _sfc_main from "./item.vue2.mjs";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const QdGridItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f8a13f89"]]);
|
|
5
|
+
export {
|
|
6
|
+
QdGridItem as default
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=item.vue.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { defineComponent, inject, ref, computed, createElementBlock, openBlock, normalizeStyle, renderSlot } from "vue";
|
|
2
|
+
import { isEmpty } from "qidian-shared";
|
|
3
|
+
import { PROVIDE_GRID_ITEM_PROPS_KEY, PROVIDE_GRID_WIDTH_KEY, DEFAULT_GRID_WIDTH, DEFAULT_COL, DEFAULT_BREAKPOINTS, DEFAULT_ROW } from "./config.mjs";
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
+
...{
|
|
6
|
+
name: "QdGridItem"
|
|
7
|
+
},
|
|
8
|
+
__name: "item",
|
|
9
|
+
props: {
|
|
10
|
+
col: {},
|
|
11
|
+
row: {}
|
|
12
|
+
},
|
|
13
|
+
setup(__props) {
|
|
14
|
+
const props = __props;
|
|
15
|
+
const defaultProps = inject(PROVIDE_GRID_ITEM_PROPS_KEY, void 0);
|
|
16
|
+
const gridWidth = inject(PROVIDE_GRID_WIDTH_KEY, ref(DEFAULT_GRID_WIDTH));
|
|
17
|
+
const reProps = computed(() => {
|
|
18
|
+
const mergeGutterValue = (prop, defaultProp) => {
|
|
19
|
+
if (!prop) return defaultProp;
|
|
20
|
+
if (!defaultProp) return prop;
|
|
21
|
+
if (typeof prop === "number" || typeof defaultProp === "number") return prop;
|
|
22
|
+
return {
|
|
23
|
+
...defaultProp,
|
|
24
|
+
...prop
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
return {
|
|
28
|
+
col: mergeGutterValue(props.col, defaultProps?.col),
|
|
29
|
+
row: mergeGutterValue(props.row, defaultProps?.row)
|
|
30
|
+
};
|
|
31
|
+
});
|
|
32
|
+
const getColSpan = computed(() => {
|
|
33
|
+
const { col } = reProps.value;
|
|
34
|
+
if (isEmpty(col)) return DEFAULT_COL;
|
|
35
|
+
if (typeof col === "number") return col;
|
|
36
|
+
const { span, xxl, xl, lg, md, sm, xs } = col;
|
|
37
|
+
if (gridWidth.value >= DEFAULT_BREAKPOINTS.xxl && !isEmpty(xxl)) return xxl;
|
|
38
|
+
if (gridWidth.value >= DEFAULT_BREAKPOINTS.xl && !isEmpty(xl)) return xl;
|
|
39
|
+
if (gridWidth.value >= DEFAULT_BREAKPOINTS.lg && !isEmpty(lg)) return lg;
|
|
40
|
+
if (gridWidth.value >= DEFAULT_BREAKPOINTS.md && !isEmpty(md)) return md;
|
|
41
|
+
if (gridWidth.value >= DEFAULT_BREAKPOINTS.sm && !isEmpty(sm)) return sm;
|
|
42
|
+
return xs ?? span ?? DEFAULT_COL;
|
|
43
|
+
});
|
|
44
|
+
const getRowSpan = computed(() => {
|
|
45
|
+
const { row } = reProps.value;
|
|
46
|
+
if (isEmpty(row)) return DEFAULT_ROW;
|
|
47
|
+
if (typeof row === "number") return row;
|
|
48
|
+
const { span, xxl, xl, lg, md, sm, xs } = row;
|
|
49
|
+
if (gridWidth.value >= DEFAULT_BREAKPOINTS.xxl && !isEmpty(xxl)) return xxl;
|
|
50
|
+
if (gridWidth.value >= DEFAULT_BREAKPOINTS.xl && !isEmpty(xl)) return xl;
|
|
51
|
+
if (gridWidth.value >= DEFAULT_BREAKPOINTS.lg && !isEmpty(lg)) return lg;
|
|
52
|
+
if (gridWidth.value >= DEFAULT_BREAKPOINTS.md && !isEmpty(md)) return md;
|
|
53
|
+
if (gridWidth.value >= DEFAULT_BREAKPOINTS.sm && !isEmpty(sm)) return sm;
|
|
54
|
+
return xs ?? span ?? DEFAULT_ROW;
|
|
55
|
+
});
|
|
56
|
+
const itemStyle = computed(() => ({
|
|
57
|
+
gridColumn: `span ${getColSpan.value}`,
|
|
58
|
+
gridRow: `span ${getRowSpan.value}`
|
|
59
|
+
}));
|
|
60
|
+
return (_ctx, _cache) => {
|
|
61
|
+
return openBlock(), createElementBlock("div", {
|
|
62
|
+
class: "qd-grid-item",
|
|
63
|
+
style: normalizeStyle(itemStyle.value)
|
|
64
|
+
}, [
|
|
65
|
+
renderSlot(_ctx.$slots, "default", { itemStyle: itemStyle.value }, void 0, true)
|
|
66
|
+
], 4);
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
export {
|
|
71
|
+
_sfc_main as default
|
|
72
|
+
};
|
|
73
|
+
//# sourceMappingURL=item.vue2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item.vue2.mjs","sources":["../../../src/components/grid/item.vue"],"sourcesContent":["<template>\n <div class=\"qd-grid-item\" :style=\"itemStyle\">\n <slot :item-style=\"itemStyle\" />\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import type { GridGutterValue, QdGridItemProps } from './types'\n import { computed, inject, ref } from 'vue'\n import { isEmpty } from 'qidian-shared'\n import {\n DEFAULT_BREAKPOINTS,\n DEFAULT_COL,\n DEFAULT_GRID_WIDTH,\n DEFAULT_ROW,\n PROVIDE_GRID_ITEM_PROPS_KEY,\n PROVIDE_GRID_WIDTH_KEY\n } from './config'\n\n defineOptions({\n name: 'QdGridItem'\n })\n\n const props = defineProps<QdGridItemProps>()\n\n const defaultProps = inject(PROVIDE_GRID_ITEM_PROPS_KEY, undefined)\n const gridWidth = inject(PROVIDE_GRID_WIDTH_KEY, ref(DEFAULT_GRID_WIDTH))\n\n const reProps = computed(() => {\n const mergeGutterValue = (\n prop: GridGutterValue | undefined,\n defaultProp: GridGutterValue | undefined\n ): GridGutterValue | undefined => {\n if (!prop) return defaultProp\n if (!defaultProp) return prop\n if (typeof prop === 'number' || typeof defaultProp === 'number') return prop\n\n return {\n ...defaultProp,\n ...prop\n }\n }\n\n return {\n col: mergeGutterValue(props.col, defaultProps?.col),\n row: mergeGutterValue(props.row, defaultProps?.row)\n }\n })\n\n const getColSpan = computed(() => {\n const { col } = reProps.value\n if (isEmpty(col)) return DEFAULT_COL\n if (typeof col === 'number') return col\n\n const { span, xxl, xl, lg, md, sm, xs } = col!\n if (gridWidth.value >= DEFAULT_BREAKPOINTS.xxl && !isEmpty(xxl)) return xxl\n if (gridWidth.value >= DEFAULT_BREAKPOINTS.xl && !isEmpty(xl)) return xl\n if (gridWidth.value >= DEFAULT_BREAKPOINTS.lg && !isEmpty(lg)) return lg\n if (gridWidth.value >= DEFAULT_BREAKPOINTS.md && !isEmpty(md)) return md\n if (gridWidth.value >= DEFAULT_BREAKPOINTS.sm && !isEmpty(sm)) return sm\n return xs ?? span ?? DEFAULT_COL\n })\n\n const getRowSpan = computed(() => {\n const { row } = reProps.value\n if (isEmpty(row)) return DEFAULT_ROW\n if (typeof row === 'number') return row\n\n const { span, xxl, xl, lg, md, sm, xs } = row!\n if (gridWidth.value >= DEFAULT_BREAKPOINTS.xxl && !isEmpty(xxl)) return xxl\n if (gridWidth.value >= DEFAULT_BREAKPOINTS.xl && !isEmpty(xl)) return xl\n if (gridWidth.value >= DEFAULT_BREAKPOINTS.lg && !isEmpty(lg)) return lg\n if (gridWidth.value >= DEFAULT_BREAKPOINTS.md && !isEmpty(md)) return md\n if (gridWidth.value >= DEFAULT_BREAKPOINTS.sm && !isEmpty(sm)) return sm\n return xs ?? span ?? DEFAULT_ROW\n })\n\n const itemStyle = computed(() => ({\n gridColumn: `span ${getColSpan.value}`,\n gridRow: `span ${getRowSpan.value}`\n }))\n</script>\n\n<style lang=\"less\" scoped>\n .qd-grid-item {\n min-width: 0;\n }\n</style>\n"],"names":["_createElementBlock","_renderSlot"],"mappings":";;;;;;;;;;;;;AAuBE,UAAM,QAAQ;AAEd,UAAM,eAAe,OAAO,6BAA6B,MAAS;AAClE,UAAM,YAAY,OAAO,wBAAwB,IAAI,kBAAkB,CAAC;AAExE,UAAM,UAAU,SAAS,MAAM;AAC7B,YAAM,mBAAmB,CACvB,MACA,gBACgC;AAChC,YAAI,CAAC,KAAM,QAAO;AAClB,YAAI,CAAC,YAAa,QAAO;AACzB,YAAI,OAAO,SAAS,YAAY,OAAO,gBAAgB,SAAU,QAAO;AAExE,eAAO;AAAA,UACL,GAAG;AAAA,UACH,GAAG;AAAA,QAAA;AAAA,MAEP;AAEA,aAAO;AAAA,QACL,KAAK,iBAAiB,MAAM,KAAK,cAAc,GAAG;AAAA,QAClD,KAAK,iBAAiB,MAAM,KAAK,cAAc,GAAG;AAAA,MAAA;AAAA,IAEtD,CAAC;AAED,UAAM,aAAa,SAAS,MAAM;AAChC,YAAM,EAAE,QAAQ,QAAQ;AACxB,UAAI,QAAQ,GAAG,EAAG,QAAO;AACzB,UAAI,OAAO,QAAQ,SAAU,QAAO;AAEpC,YAAM,EAAE,MAAM,KAAK,IAAI,IAAI,IAAI,IAAI,OAAO;AAC1C,UAAI,UAAU,SAAS,oBAAoB,OAAO,CAAC,QAAQ,GAAG,EAAG,QAAO;AACxE,UAAI,UAAU,SAAS,oBAAoB,MAAM,CAAC,QAAQ,EAAE,EAAG,QAAO;AACtE,UAAI,UAAU,SAAS,oBAAoB,MAAM,CAAC,QAAQ,EAAE,EAAG,QAAO;AACtE,UAAI,UAAU,SAAS,oBAAoB,MAAM,CAAC,QAAQ,EAAE,EAAG,QAAO;AACtE,UAAI,UAAU,SAAS,oBAAoB,MAAM,CAAC,QAAQ,EAAE,EAAG,QAAO;AACtE,aAAO,MAAM,QAAQ;AAAA,IACvB,CAAC;AAED,UAAM,aAAa,SAAS,MAAM;AAChC,YAAM,EAAE,QAAQ,QAAQ;AACxB,UAAI,QAAQ,GAAG,EAAG,QAAO;AACzB,UAAI,OAAO,QAAQ,SAAU,QAAO;AAEpC,YAAM,EAAE,MAAM,KAAK,IAAI,IAAI,IAAI,IAAI,OAAO;AAC1C,UAAI,UAAU,SAAS,oBAAoB,OAAO,CAAC,QAAQ,GAAG,EAAG,QAAO;AACxE,UAAI,UAAU,SAAS,oBAAoB,MAAM,CAAC,QAAQ,EAAE,EAAG,QAAO;AACtE,UAAI,UAAU,SAAS,oBAAoB,MAAM,CAAC,QAAQ,EAAE,EAAG,QAAO;AACtE,UAAI,UAAU,SAAS,oBAAoB,MAAM,CAAC,QAAQ,EAAE,EAAG,QAAO;AACtE,UAAI,UAAU,SAAS,oBAAoB,MAAM,CAAC,QAAQ,EAAE,EAAG,QAAO;AACtE,aAAO,MAAM,QAAQ;AAAA,IACvB,CAAC;AAED,UAAM,YAAY,SAAS,OAAO;AAAA,MAChC,YAAY,QAAQ,WAAW,KAAK;AAAA,MACpC,SAAS,QAAQ,WAAW,KAAK;AAAA,IAAA,EACjC;;0BA/EFA,mBAEM,OAAA;AAAA,QAFD,OAAM;AAAA,QAAgB,sBAAO,UAAA,KAAS;AAAA,MAAA;QACzCC,WAAgC,KAAA,QAAA,WAAA,EAAzB,WAAY,UAAA,SAAS,QAAA,IAAA;AAAA,MAAA;;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { GutterObject, TdRowProps } from 'tdesign-vue-next';
|
|
2
|
+
export type GridGutterValue = number | (GutterObject & {
|
|
3
|
+
span?: number;
|
|
4
|
+
});
|
|
5
|
+
export interface QdGridProps {
|
|
6
|
+
gutter?: TdRowProps['gutter'];
|
|
7
|
+
grid?: QdGridItemProps;
|
|
8
|
+
}
|
|
9
|
+
export interface QdGridItemProps {
|
|
10
|
+
col?: GridGutterValue;
|
|
11
|
+
row?: GridGutterValue;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { QdImageProps } from './types';
|
|
2
|
+
declare const _default: <OR = unknown, OP extends string | number | (string | number)[] = string | number | (string | number)[], TOP = OP>(__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<{
|
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, never> & QdImageProps<OR, OP, TOP> & Partial<{}>> & import("vue").PublicProps;
|
|
4
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
5
|
+
attrs: any;
|
|
6
|
+
slots: {};
|
|
7
|
+
emit: {};
|
|
8
|
+
}>) => import("vue").VNode & {
|
|
9
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_PrettifyLocal<T> = {
|
|
13
|
+
[K in keyof T]: T[K];
|
|
14
|
+
} & {};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { defineComponent, mergeDefaults, inject, computed, ref, watch, resolveDirective, withDirectives, createBlock, openBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
+
import { qdImageProps } from "./props.mjs";
|
|
3
|
+
import { Image } from "tdesign-vue-next";
|
|
4
|
+
import { isEmpty, validator, suspectedWrapperPromise, to } from "qidian-shared";
|
|
5
|
+
import { PROVIDE_UPLOAD } from "../config-provider/config.mjs";
|
|
6
|
+
import merge from "../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs";
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
+
...{
|
|
9
|
+
name: "QdImage"
|
|
10
|
+
},
|
|
11
|
+
__name: "index",
|
|
12
|
+
props: /* @__PURE__ */ mergeDefaults({
|
|
13
|
+
src: {},
|
|
14
|
+
mode: {},
|
|
15
|
+
alt: {},
|
|
16
|
+
error: {},
|
|
17
|
+
fallback: {},
|
|
18
|
+
fit: {},
|
|
19
|
+
gallery: { type: Boolean },
|
|
20
|
+
lazy: { type: Boolean },
|
|
21
|
+
loading: {},
|
|
22
|
+
overlayContent: {},
|
|
23
|
+
overlayTrigger: {},
|
|
24
|
+
placeholder: {},
|
|
25
|
+
position: {},
|
|
26
|
+
referrerpolicy: {},
|
|
27
|
+
shape: {},
|
|
28
|
+
srcset: {},
|
|
29
|
+
onError: { type: Function },
|
|
30
|
+
onLoad: { type: Function },
|
|
31
|
+
listOssByIds: {}
|
|
32
|
+
}, qdImageProps),
|
|
33
|
+
setup(__props) {
|
|
34
|
+
const props = __props;
|
|
35
|
+
const globalUploadProps = inject(
|
|
36
|
+
PROVIDE_UPLOAD,
|
|
37
|
+
computed(() => void 0)
|
|
38
|
+
);
|
|
39
|
+
const reSrc = ref();
|
|
40
|
+
const reProps = computed(() => {
|
|
41
|
+
const { src, mode, listOssByIds, ...imageOptions } = props;
|
|
42
|
+
const reListOssByIds = merge(listOssByIds, globalUploadProps.value?.listOssByIds);
|
|
43
|
+
return {
|
|
44
|
+
src,
|
|
45
|
+
mode,
|
|
46
|
+
listOssByIds: reListOssByIds,
|
|
47
|
+
imageOptions
|
|
48
|
+
};
|
|
49
|
+
});
|
|
50
|
+
const serviceLoad = ref(false);
|
|
51
|
+
watch(
|
|
52
|
+
() => reProps.value.src,
|
|
53
|
+
async (newVal, oldVal) => {
|
|
54
|
+
if (newVal === oldVal) return;
|
|
55
|
+
const { mode, listOssByIds } = reProps.value;
|
|
56
|
+
if (mode === "ossId") {
|
|
57
|
+
if (!listOssByIds || !listOssByIds.service || isEmpty(newVal) || newVal instanceof File || validator(newVal, "url")) {
|
|
58
|
+
reSrc.value = newVal;
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
const { service, transformParams, transformRes } = listOssByIds;
|
|
62
|
+
serviceLoad.value = true;
|
|
63
|
+
const currentParams = newVal;
|
|
64
|
+
let tParams;
|
|
65
|
+
if (transformParams) {
|
|
66
|
+
const [trErr, trRes] = await suspectedWrapperPromise(transformParams(currentParams));
|
|
67
|
+
if (trErr) {
|
|
68
|
+
serviceLoad.value = false;
|
|
69
|
+
throw trErr;
|
|
70
|
+
}
|
|
71
|
+
tParams = trRes;
|
|
72
|
+
}
|
|
73
|
+
const [serviceErr, serviceRes] = await to(
|
|
74
|
+
service(tParams || currentParams)
|
|
75
|
+
);
|
|
76
|
+
if (serviceErr) {
|
|
77
|
+
serviceLoad.value = false;
|
|
78
|
+
throw serviceErr;
|
|
79
|
+
}
|
|
80
|
+
let res;
|
|
81
|
+
if (transformRes) {
|
|
82
|
+
const [trErr, trRes] = await suspectedWrapperPromise(transformRes(serviceRes));
|
|
83
|
+
serviceLoad.value = false;
|
|
84
|
+
if (trErr) throw trErr;
|
|
85
|
+
res = trRes;
|
|
86
|
+
} else {
|
|
87
|
+
serviceLoad.value = false;
|
|
88
|
+
res = serviceRes;
|
|
89
|
+
}
|
|
90
|
+
reSrc.value = res[0]?.url;
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
{ immediate: true }
|
|
94
|
+
);
|
|
95
|
+
return (_ctx, _cache) => {
|
|
96
|
+
const _directive_loading = resolveDirective("loading");
|
|
97
|
+
return withDirectives((openBlock(), createBlock(unref(Image), mergeProps(reProps.value.imageOptions, {
|
|
98
|
+
src: typeof reSrc.value === "number" ? reSrc.value + "" : reSrc.value
|
|
99
|
+
}), createSlots({ _: 2 }, [
|
|
100
|
+
renderList(_ctx.$slots, (name) => {
|
|
101
|
+
return {
|
|
102
|
+
name,
|
|
103
|
+
fn: withCtx((slotProps) => [
|
|
104
|
+
renderSlot(_ctx.$slots, name, normalizeProps(guardReactiveProps(slotProps)))
|
|
105
|
+
])
|
|
106
|
+
};
|
|
107
|
+
})
|
|
108
|
+
]), 1040, ["src"])), [
|
|
109
|
+
[_directive_loading, { loading: serviceLoad.value, size: "small" }]
|
|
110
|
+
]);
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
export {
|
|
115
|
+
_sfc_main as default
|
|
116
|
+
};
|
|
117
|
+
//# sourceMappingURL=index.vue.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue.mjs","sources":["../../../src/components/image/index.vue"],"sourcesContent":["<template>\n <t-image\n v-loading=\"{ loading: serviceLoad, size: 'small' }\"\n v-bind=\"reProps.imageOptions\"\n :src=\"typeof reSrc === 'number' ? reSrc + '' : reSrc\"\n >\n <template v-for=\"name in $slots\" #[name]=\"slotProps\">\n <slot :name=\"name\" v-bind=\"slotProps\" />\n </template>\n </t-image>\n</template>\n\n<script\n setup\n lang=\"ts\"\n generic=\"\n OR = unknown,\n OP extends string | number | (string | number)[] = string | number | (string | number)[],\n TOP = OP\n \"\n>\n import type { QdImageProps } from './types'\n import type { QdUploadListOssByIdsResult } from '../upload/types'\n import { qdImageProps } from './props'\n import { Image as TImage } from 'tdesign-vue-next'\n import { computed, inject, ref, watch } from 'vue'\n import { isEmpty, suspectedWrapperPromise, to, validator } from 'qidian-shared'\n import { PROVIDE_UPLOAD } from '../config-provider/config'\n import { merge } from 'lodash-es'\n\n defineOptions({\n name: 'QdImage'\n })\n\n type Props = QdImageProps<OR, OP, TOP>\n\n const props = withDefaults(defineProps<Props>(), qdImageProps)\n\n const globalUploadProps = inject(\n PROVIDE_UPLOAD,\n computed(() => undefined)\n )\n\n const reSrc = ref<string | number | File | undefined>()\n const reProps = computed(() => {\n const { src, mode, listOssByIds, ...imageOptions } = props\n const reListOssByIds = merge(listOssByIds, globalUploadProps.value?.listOssByIds)\n\n return {\n src,\n mode,\n listOssByIds: reListOssByIds,\n imageOptions\n }\n })\n\n const serviceLoad = ref(false)\n\n watch(\n () => reProps.value.src,\n async (newVal, oldVal) => {\n if (newVal === oldVal) return\n\n const { mode, listOssByIds } = reProps.value\n if (mode === 'ossId') {\n if (\n !listOssByIds ||\n !listOssByIds.service ||\n isEmpty(newVal) ||\n newVal instanceof File ||\n validator(newVal, 'url')\n ) {\n reSrc.value = newVal\n return\n }\n\n const { service, transformParams, transformRes } = listOssByIds\n\n serviceLoad.value = true\n const currentParams = newVal\n let tParams: TOP | undefined\n\n if (transformParams) {\n const [trErr, trRes] = await suspectedWrapperPromise(transformParams(currentParams as OP))\n if (trErr) {\n serviceLoad.value = false\n throw trErr\n }\n\n tParams = trRes\n }\n\n const [serviceErr, serviceRes] = await to(\n service(tParams || (currentParams as unknown as TOP))\n )\n if (serviceErr) {\n serviceLoad.value = false\n throw serviceErr\n }\n\n let res: QdUploadListOssByIdsResult | undefined\n if (transformRes) {\n const [trErr, trRes] = await suspectedWrapperPromise(transformRes(serviceRes))\n serviceLoad.value = false\n if (trErr) throw trErr\n\n res = trRes\n } else {\n serviceLoad.value = false\n res = serviceRes as QdUploadListOssByIdsResult\n }\n\n reSrc.value = res[0]?.url\n }\n },\n { immediate: true }\n )\n</script>\n"],"names":["_withDirectives","_openBlock","_createBlock","_unref","TImage","_mergeProps","$slots","_withCtx","_renderSlot","_normalizeProps","_guardReactiveProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCE,UAAM,QAAQ;AAEd,UAAM,oBAAoB;AAAA,MACxB;AAAA,MACA,SAAS,MAAM,MAAS;AAAA,IAAA;AAG1B,UAAM,QAAQ,IAAA;AACd,UAAM,UAAU,SAAS,MAAM;AAC7B,YAAM,EAAE,KAAK,MAAM,cAAc,GAAG,iBAAiB;AACrD,YAAM,iBAAiB,MAAM,cAAc,kBAAkB,OAAO,YAAY;AAEhF,aAAO;AAAA,QACL;AAAA,QACA;AAAA,QACA,cAAc;AAAA,QACd;AAAA,MAAA;AAAA,IAEJ,CAAC;AAED,UAAM,cAAc,IAAI,KAAK;AAE7B;AAAA,MACE,MAAM,QAAQ,MAAM;AAAA,MACpB,OAAO,QAAQ,WAAW;AACxB,YAAI,WAAW,OAAQ;AAEvB,cAAM,EAAE,MAAM,aAAA,IAAiB,QAAQ;AACvC,YAAI,SAAS,SAAS;AACpB,cACE,CAAC,gBACD,CAAC,aAAa,WACd,QAAQ,MAAM,KACd,kBAAkB,QAClB,UAAU,QAAQ,KAAK,GACvB;AACA,kBAAM,QAAQ;AACd;AAAA,UACF;AAEA,gBAAM,EAAE,SAAS,iBAAiB,aAAA,IAAiB;AAEnD,sBAAY,QAAQ;AACpB,gBAAM,gBAAgB;AACtB,cAAI;AAEJ,cAAI,iBAAiB;AACnB,kBAAM,CAAC,OAAO,KAAK,IAAI,MAAM,wBAAwB,gBAAgB,aAAmB,CAAC;AACzF,gBAAI,OAAO;AACT,0BAAY,QAAQ;AACpB,oBAAM;AAAA,YACR;AAEA,sBAAU;AAAA,UACZ;AAEA,gBAAM,CAAC,YAAY,UAAU,IAAI,MAAM;AAAA,YACrC,QAAQ,WAAY,aAAgC;AAAA,UAAA;AAEtD,cAAI,YAAY;AACd,wBAAY,QAAQ;AACpB,kBAAM;AAAA,UACR;AAEA,cAAI;AACJ,cAAI,cAAc;AAChB,kBAAM,CAAC,OAAO,KAAK,IAAI,MAAM,wBAAwB,aAAa,UAAU,CAAC;AAC7E,wBAAY,QAAQ;AACpB,gBAAI,MAAO,OAAM;AAEjB,kBAAM;AAAA,UACR,OAAO;AACL,wBAAY,QAAQ;AACpB,kBAAM;AAAA,UACR;AAEA,gBAAM,QAAQ,IAAI,CAAC,GAAG;AAAA,QACxB;AAAA,MACF;AAAA,MACA,EAAE,WAAW,KAAA;AAAA,IAAK;;;AAlHpB,aAAAA,gBAAAC,aAAAC,YAQUC,MAAAC,KAAA,GARVC,WAEU,QAMA,MANQ,cAAY;AAAA,QAC3B,KAAG,OAAS,MAAA,UAAK,WAAgB,MAAA,aAAa,MAAA;AAAA,MAAA;QAEtBC,WAAAA,KAAAA,SAAR,SAAI;;;YACnB,IAAAC,QAAA,CADwC,cAAS;AAAA,cACjDC,WAAwC,KAAA,QAA3B,MAAIC,eAAAC,mBAAU,SAAS,CAAA,CAAA;AAAA,YAAA;;;;wCALhB,YAAA,OAAW,MAAA,SAAA;AAAA,MAAA;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue2.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { createVNode } from "vue";
|
|
2
|
+
import { ImageErrorIcon, LoadingIcon } from "tdesign-icons-vue-next";
|
|
3
|
+
const qdImageProps = {
|
|
4
|
+
loading: () => () => createVNode(LoadingIcon, null, null),
|
|
5
|
+
error: () => () => createVNode(ImageErrorIcon, null, null),
|
|
6
|
+
mode: "ossId",
|
|
7
|
+
lazy: true
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
qdImageProps
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=props.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.mjs","sources":["../../../src/components/image/props.tsx"],"sourcesContent":["import { ImageErrorIcon, LoadingIcon } from 'tdesign-icons-vue-next'\n\nexport const qdImageProps = {\n loading: () => () => <LoadingIcon />,\n error: () => () => <ImageErrorIcon />,\n mode: 'ossId',\n lazy: true\n} as const\n"],"names":["qdImageProps","loading","_createVNode","LoadingIcon","error","ImageErrorIcon","mode","lazy"],"mappings":";;AAEO,MAAMA,eAAe;AAAA,EAC1BC,SAASA,MAAM,MAAAC,YAAAC,aAAA,MAAA,IAAA;AAAA,EACfC,OAAOA,MAAM,MAAAF,YAAAG,gBAAA,MAAA,IAAA;AAAA,EACbC,MAAM;AAAA,EACNC,MAAM;AACR;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { TdImageProps, UploadFile } from 'tdesign-vue-next';
|
|
2
|
+
import type { QdUploadProps } from '../upload';
|
|
3
|
+
export interface QdImageProps<OR = unknown, OP extends string | number | (string | number)[] = string | number | (string | number)[], TOP = OP> extends Omit<TdImageProps, 'src'>, Pick<QdUploadProps<UploadFile, OR, OP, TOP>, 'listOssByIds'> {
|
|
4
|
+
src?: string | number | File;
|
|
5
|
+
mode?: 'ossId' | 'url';
|
|
6
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from './auto-tooltip';
|
|
2
|
+
export * from './avatar';
|
|
3
|
+
export * from './card';
|
|
4
|
+
export * from './config-provider';
|
|
5
|
+
export * from './config-renderer';
|
|
6
|
+
export * from './crud';
|
|
7
|
+
export * from './dialog';
|
|
8
|
+
export * from './dict';
|
|
9
|
+
export * from './office';
|
|
10
|
+
export * from './org';
|
|
11
|
+
export * from './form';
|
|
12
|
+
export * from './grid';
|
|
13
|
+
export * from './image';
|
|
14
|
+
export * from './service';
|
|
15
|
+
export * from './upload';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './pdf';
|