qidian-vue-ui 1.1.22 → 1.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_commonjsHelpers.mjs +7 -0
- package/dist/_virtual/_commonjsHelpers.mjs.map +1 -0
- package/dist/_virtual/_plugin-vue_export-helper.mjs +11 -0
- package/dist/_virtual/_plugin-vue_export-helper.mjs.map +1 -0
- package/dist/_virtual/dayjs.min.mjs +8 -0
- package/dist/_virtual/dayjs.min.mjs.map +1 -0
- package/dist/_virtual/dayjs.min2.mjs +5 -0
- package/dist/_virtual/dayjs.min2.mjs.map +1 -0
- package/dist/components/auto-tooltip/index.d.ts +2 -0
- package/dist/components/auto-tooltip/index.vue.d.ts +25 -0
- package/dist/components/auto-tooltip/index.vue.mjs +8 -0
- package/dist/components/auto-tooltip/index.vue.mjs.map +1 -0
- package/dist/components/auto-tooltip/index.vue2.mjs +81 -0
- package/dist/components/auto-tooltip/index.vue2.mjs.map +1 -0
- package/dist/components/auto-tooltip/types.d.ts +9 -0
- package/dist/components/avatar/index.d.ts +2 -0
- package/dist/components/avatar/index.vue.d.ts +17 -0
- package/dist/components/avatar/index.vue.mjs +8 -0
- package/dist/components/avatar/index.vue.mjs.map +1 -0
- package/dist/components/avatar/index.vue2.mjs +119 -0
- package/dist/components/avatar/index.vue2.mjs.map +1 -0
- package/dist/components/avatar/props.d.ts +8 -0
- package/dist/components/avatar/props.mjs +15 -0
- package/dist/components/avatar/props.mjs.map +1 -0
- package/dist/components/avatar/types.d.ts +9 -0
- package/dist/components/card/index.d.ts +2 -0
- package/dist/components/card/index.vue.d.ts +15 -0
- package/dist/components/card/index.vue.mjs +8 -0
- package/dist/components/card/index.vue.mjs.map +1 -0
- package/dist/components/card/index.vue2.mjs +89 -0
- package/dist/components/card/index.vue2.mjs.map +1 -0
- package/dist/components/card/props.d.ts +3 -0
- package/dist/components/card/props.mjs +7 -0
- package/dist/components/card/props.mjs.map +1 -0
- package/dist/components/card/types.d.ts +4 -0
- package/dist/components/config-provider/config.d.ts +8 -0
- package/dist/components/config-provider/config.mjs +15 -0
- package/dist/components/config-provider/config.mjs.map +1 -0
- package/dist/components/config-provider/index.d.ts +217 -0
- package/dist/components/config-provider/index.mjs +98 -0
- package/dist/components/config-provider/index.mjs.map +1 -0
- package/dist/components/config-provider/types.d.ts +82 -0
- package/dist/components/config-provider/useConfig.d.ts +241 -0
- package/dist/components/config-provider/useConfig.mjs +26 -0
- package/dist/components/config-provider/useConfig.mjs.map +1 -0
- package/dist/components/config-renderer/compute.d.ts +8 -0
- package/dist/components/config-renderer/compute.mjs +68 -0
- package/dist/components/config-renderer/compute.mjs.map +1 -0
- package/dist/components/config-renderer/index.d.ts +4 -0
- package/dist/components/config-renderer/index.vue.d.ts +7 -0
- package/dist/components/config-renderer/index.vue.mjs +126 -0
- package/dist/components/config-renderer/index.vue.mjs.map +1 -0
- package/dist/components/config-renderer/index.vue2.mjs +5 -0
- package/dist/components/config-renderer/index.vue2.mjs.map +1 -0
- package/dist/components/config-renderer/types.d.ts +39 -0
- package/dist/components/config-renderer/utils.d.ts +15 -0
- package/dist/components/config-renderer/utils.mjs +49 -0
- package/dist/components/config-renderer/utils.mjs.map +1 -0
- package/dist/components/crud/define.d.ts +5 -0
- package/dist/components/crud/define.mjs +11 -0
- package/dist/components/crud/define.mjs.map +1 -0
- package/dist/components/crud/index.d.ts +5 -0
- package/dist/components/crud/list.vue.d.ts +29 -0
- package/dist/components/crud/list.vue.mjs +8 -0
- package/dist/components/crud/list.vue.mjs.map +1 -0
- package/dist/components/crud/list.vue2.mjs +199 -0
- package/dist/components/crud/list.vue2.mjs.map +1 -0
- package/dist/components/crud/props.d.ts +70 -0
- package/dist/components/crud/props.mjs +37 -0
- package/dist/components/crud/props.mjs.map +1 -0
- package/dist/components/crud/search.vue.d.ts +44 -0
- package/dist/components/crud/search.vue.mjs +8 -0
- package/dist/components/crud/search.vue.mjs.map +1 -0
- package/dist/components/crud/search.vue2.mjs +98 -0
- package/dist/components/crud/search.vue2.mjs.map +1 -0
- package/dist/components/crud/table.vue.d.ts +35 -0
- package/dist/components/crud/table.vue.mjs +8 -0
- package/dist/components/crud/table.vue.mjs.map +1 -0
- package/dist/components/crud/table.vue2.mjs +1041 -0
- package/dist/components/crud/table.vue2.mjs.map +1 -0
- package/dist/components/crud/types.d.ts +70 -0
- package/dist/components/dialog/form.vue.d.ts +22 -0
- package/dist/components/dialog/form.vue.mjs +175 -0
- package/dist/components/dialog/form.vue.mjs.map +1 -0
- package/dist/components/dialog/form.vue2.mjs +5 -0
- package/dist/components/dialog/form.vue2.mjs.map +1 -0
- package/dist/components/dialog/index.d.ts +3 -0
- package/dist/components/dialog/index.vue.d.ts +35 -0
- package/dist/components/dialog/index.vue.mjs +111 -0
- package/dist/components/dialog/index.vue.mjs.map +1 -0
- package/dist/components/dialog/index.vue3.mjs +6 -0
- package/dist/components/dialog/index.vue3.mjs.map +1 -0
- package/dist/components/dialog/props.d.ts +58 -0
- package/dist/components/dialog/props.mjs +26 -0
- package/dist/components/dialog/props.mjs.map +1 -0
- package/dist/components/dialog/types.d.ts +18 -0
- package/dist/components/dict/checkbox-group.vue.d.ts +15 -0
- package/dist/components/dict/checkbox-group.vue.mjs +8 -0
- package/dist/components/dict/checkbox-group.vue.mjs.map +1 -0
- package/dist/components/dict/checkbox-group.vue2.mjs +78 -0
- package/dist/components/dict/checkbox-group.vue2.mjs.map +1 -0
- package/dist/components/dict/index.d.ts +5 -0
- package/dist/components/dict/props.d.ts +32 -0
- package/dist/components/dict/props.mjs +40 -0
- package/dist/components/dict/props.mjs.map +1 -0
- package/dist/components/dict/radio-group.vue.d.ts +13 -0
- package/dist/components/dict/radio-group.vue.mjs +8 -0
- package/dist/components/dict/radio-group.vue.mjs.map +1 -0
- package/dist/components/dict/radio-group.vue2.mjs +60 -0
- package/dist/components/dict/radio-group.vue2.mjs.map +1 -0
- package/dist/components/dict/select.vue.d.ts +31 -0
- package/dist/components/dict/select.vue.mjs +166 -0
- package/dist/components/dict/select.vue.mjs.map +1 -0
- package/dist/components/dict/select.vue2.mjs +5 -0
- package/dist/components/dict/select.vue2.mjs.map +1 -0
- package/dist/components/dict/tag.vue.d.ts +40 -0
- package/dist/components/dict/tag.vue.mjs +8 -0
- package/dist/components/dict/tag.vue.mjs.map +1 -0
- package/dist/components/dict/tag.vue2.mjs +98 -0
- package/dist/components/dict/tag.vue2.mjs.map +1 -0
- package/dist/components/dict/types.d.ts +22 -0
- package/dist/components/form/config.d.ts +3 -0
- package/dist/components/form/config.mjs +5 -0
- package/dist/components/form/config.mjs.map +1 -0
- package/dist/components/form/index.d.ts +5 -0
- package/dist/components/form/index.vue.d.ts +30 -0
- package/dist/components/form/index.vue.mjs +187 -0
- package/dist/components/form/index.vue.mjs.map +1 -0
- package/dist/components/form/index.vue2.mjs +5 -0
- package/dist/components/form/index.vue2.mjs.map +1 -0
- package/dist/components/form/item.vue.d.ts +23 -0
- package/dist/components/form/item.vue.mjs +8 -0
- package/dist/components/form/item.vue.mjs.map +1 -0
- package/dist/components/form/item.vue2.mjs +106 -0
- package/dist/components/form/item.vue2.mjs.map +1 -0
- package/dist/components/form/props.d.ts +45 -0
- package/dist/components/form/props.mjs +43 -0
- package/dist/components/form/props.mjs.map +1 -0
- package/dist/components/form/types.d.ts +26 -0
- package/dist/components/grid/config.d.ts +15 -0
- package/dist/components/grid/config.mjs +27 -0
- package/dist/components/grid/config.mjs.map +1 -0
- package/dist/components/grid/index.d.ts +4 -0
- package/dist/components/grid/index.vue.d.ts +19 -0
- package/dist/components/grid/index.vue.mjs +8 -0
- package/dist/components/grid/index.vue.mjs.map +1 -0
- package/dist/components/grid/index.vue2.mjs +58 -0
- package/dist/components/grid/index.vue2.mjs.map +1 -0
- package/dist/components/grid/item.vue.d.ts +18 -0
- package/dist/components/grid/item.vue.mjs +8 -0
- package/dist/components/grid/item.vue.mjs.map +1 -0
- package/dist/components/grid/item.vue2.mjs +73 -0
- package/dist/components/grid/item.vue2.mjs.map +1 -0
- package/dist/components/grid/types.d.ts +12 -0
- package/dist/components/image/index.d.ts +2 -0
- package/dist/components/image/index.vue.d.ts +17 -0
- package/dist/components/image/index.vue.mjs +117 -0
- package/dist/components/image/index.vue.mjs.map +1 -0
- package/dist/components/image/index.vue2.mjs +5 -0
- package/dist/components/image/index.vue2.mjs.map +1 -0
- package/dist/components/image/props.d.ts +6 -0
- package/dist/components/image/props.mjs +12 -0
- package/dist/components/image/props.mjs.map +1 -0
- package/dist/components/image/types.d.ts +6 -0
- package/dist/components/index.d.ts +15 -0
- package/dist/components/office/index.d.ts +1 -0
- package/dist/components/office/pdf/config.d.ts +6 -0
- package/dist/components/office/pdf/config.mjs +9 -0
- package/dist/components/office/pdf/config.mjs.map +1 -0
- package/dist/components/office/pdf/hooks/useZoom.d.ts +21 -0
- package/dist/components/office/pdf/hooks/useZoom.mjs +200 -0
- package/dist/components/office/pdf/hooks/useZoom.mjs.map +1 -0
- package/dist/components/office/pdf/index.d.ts +2 -0
- package/dist/components/office/pdf/index.vue.d.ts +11 -0
- package/dist/components/office/pdf/index.vue.mjs +8 -0
- package/dist/components/office/pdf/index.vue.mjs.map +1 -0
- package/dist/components/office/pdf/index.vue2.mjs +322 -0
- package/dist/components/office/pdf/index.vue2.mjs.map +1 -0
- package/dist/components/office/pdf/types.d.ts +17 -0
- package/dist/components/org/index.d.ts +2 -0
- package/dist/components/org/select/index.vue.d.ts +28 -0
- package/dist/components/org/select/index.vue.mjs +273 -0
- package/dist/components/org/select/index.vue.mjs.map +1 -0
- package/dist/components/org/select/index.vue3.mjs +6 -0
- package/dist/components/org/select/index.vue3.mjs.map +1 -0
- package/dist/components/org/select/props.d.ts +22 -0
- package/dist/components/org/select/props.mjs +19 -0
- package/dist/components/org/select/props.mjs.map +1 -0
- package/dist/components/org/select/types.d.ts +22 -0
- package/dist/components/service/index.d.ts +4 -0
- package/dist/components/service/list.vue.d.ts +26 -0
- package/dist/components/service/list.vue.mjs +8 -0
- package/dist/components/service/list.vue.mjs.map +1 -0
- package/dist/components/service/list.vue2.mjs +251 -0
- package/dist/components/service/list.vue2.mjs.map +1 -0
- package/dist/components/service/props.d.ts +58 -0
- package/dist/components/service/props.mjs +66 -0
- package/dist/components/service/props.mjs.map +1 -0
- package/dist/components/service/select.vue.d.ts +30 -0
- package/dist/components/service/select.vue.mjs +8 -0
- package/dist/components/service/select.vue.mjs.map +1 -0
- package/dist/components/service/select.vue2.mjs +407 -0
- package/dist/components/service/select.vue2.mjs.map +1 -0
- package/dist/components/service/table.vue.d.ts +29 -0
- package/dist/components/service/table.vue.mjs +8 -0
- package/dist/components/service/table.vue.mjs.map +1 -0
- package/dist/components/service/table.vue2.mjs +693 -0
- package/dist/components/service/table.vue2.mjs.map +1 -0
- package/dist/components/service/types.d.ts +44 -0
- package/dist/components/upload/config.d.ts +4 -0
- package/dist/components/upload/config.mjs +37 -0
- package/dist/components/upload/config.mjs.map +1 -0
- package/dist/components/upload/index.d.ts +3 -0
- package/dist/components/upload/index.vue.d.ts +21 -0
- package/dist/components/upload/index.vue.mjs +8 -0
- package/dist/components/upload/index.vue.mjs.map +1 -0
- package/dist/components/upload/index.vue2.mjs +526 -0
- package/dist/components/upload/index.vue2.mjs.map +1 -0
- package/dist/components/upload/props.d.ts +27 -0
- package/dist/components/upload/props.mjs +32 -0
- package/dist/components/upload/props.mjs.map +1 -0
- package/dist/components/upload/types.d.ts +43 -0
- package/dist/directive/hasPermi.d.ts +12 -0
- package/dist/directive/hasPermi.mjs +33 -0
- package/dist/directive/hasPermi.mjs.map +1 -0
- package/dist/directive/hasRole.d.ts +12 -0
- package/dist/directive/hasRole.mjs +33 -0
- package/dist/directive/hasRole.mjs.map +1 -0
- package/dist/directive/index.d.ts +2 -0
- package/dist/hooks/index.d.ts +6 -0
- package/dist/hooks/useAgentChat/index.d.ts +15 -0
- package/dist/hooks/useAgentChat/index.mjs +202 -0
- package/dist/hooks/useAgentChat/index.mjs.map +1 -0
- package/dist/hooks/useAgentChat/types.d.ts +46 -0
- package/dist/hooks/useDict/index.d.ts +18 -0
- package/dist/hooks/useDict/index.mjs +137 -0
- package/dist/hooks/useDict/index.mjs.map +1 -0
- package/dist/hooks/useDict/types.d.ts +13 -0
- package/dist/hooks/useDisabled.d.ts +5 -0
- package/dist/hooks/useDisabled.mjs +18 -0
- package/dist/hooks/useDisabled.mjs.map +1 -0
- package/dist/hooks/useModal.d.ts +35 -0
- package/dist/hooks/useModal.mjs +179 -0
- package/dist/hooks/useModal.mjs.map +1 -0
- package/dist/hooks/useReadonly.d.ts +5 -0
- package/dist/hooks/useReadonly.mjs +18 -0
- package/dist/hooks/useReadonly.mjs.map +1 -0
- package/dist/hooks/useUserAvatar/index.d.ts +5 -0
- package/dist/hooks/useUserAvatar/index.mjs +38 -0
- package/dist/hooks/useUserAvatar/index.mjs.map +1 -0
- package/dist/hooks/useUserAvatar/types.d.ts +3 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.mjs +101 -0
- package/dist/index.mjs.map +1 -0
- package/dist/locales/en-US.d.ts +316 -0
- package/dist/locales/en-US.mjs +71 -0
- package/dist/locales/en-US.mjs.map +1 -0
- package/dist/locales/zh-CN.d.ts +316 -0
- package/dist/locales/zh-CN.mjs +68 -0
- package/dist/locales/zh-CN.mjs.map +1 -0
- package/dist/locales/zh-TW.d.ts +316 -0
- package/dist/locales/zh-TW.mjs +68 -0
- package/dist/locales/zh-TW.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/fetch.mjs +90 -0
- package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/fetch.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/parse.mjs +110 -0
- package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/parse.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.22_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs +62 -0
- package/dist/node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.22_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.22_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +67 -0
- package/dist/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.22_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/dayjs.min.mjs +287 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/dayjs.min.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs +25 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs +75 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs +23 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs +28 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs +62 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSet.mjs +32 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs +24 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs +24 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs +26 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs +35 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs +44 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs +23 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBoolean.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBoolean.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isNumber.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isNumber.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs +23 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs +23 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/set.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/set.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs.map +1 -0
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.mjs +25810 -0
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.mjs.map +1 -0
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.sandbox.mjs +5 -0
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.sandbox.mjs.map +1 -0
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.worker.mjs +5 -0
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.worker.mjs.map +1 -0
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/web/pdf_viewer.mjs +8940 -0
- package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/web/pdf_viewer.mjs.map +1 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-0f6107c9.mjs +316 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-0f6107c9.mjs.map +1 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-4d4f98d8.mjs +330 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-4d4f98d8.mjs.map +1 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-8c6ad426.mjs +10 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-8c6ad426.mjs.map +1 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-c68053ef.mjs +17 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-c68053ef.mjs.map +1 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/locale/en_US.mjs +287 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/locale/en_US.mjs.map +1 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/locale/zh_TW.mjs +328 -0
- package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/locale/zh_TW.mjs.map +1 -0
- package/dist/qidian-vue-ui.css +6054 -0
- package/dist/utils/auth.d.ts +6 -0
- package/dist/utils/auth.mjs +67 -0
- package/dist/utils/auth.mjs.map +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/time.d.ts +2 -0
- package/dist/utils/time.mjs +30 -0
- package/dist/utils/time.mjs.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1041 @@
|
|
|
1
|
+
import { defineComponent, mergeDefaults, computed, reactive, useTemplateRef, ref, onMounted, createElementBlock, openBlock, withDirectives, createCommentVNode, createVNode, createBlock, mergeProps, unref, isRef, createSlots, withCtx, createTextVNode, toDisplayString, renderList, renderSlot, normalizeProps, guardReactiveProps, vShow, createElementVNode, Fragment, withModifiers, nextTick, shallowRef, triggerRef } from "vue";
|
|
2
|
+
import { useVModels } from "../../node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.22_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs";
|
|
3
|
+
import { easyCopy, suspectedWrapperPromise, extractSlotsWithPrefix, isEmpty, generateRandomString, to } from "qidian-shared";
|
|
4
|
+
import { qdCrudTableProps } from "./props.mjs";
|
|
5
|
+
import { hasPermiDirective } from "../../directive/hasPermi.mjs";
|
|
6
|
+
import { hasPermiOr } from "../../utils/auth.mjs";
|
|
7
|
+
import "../../_virtual/dayjs.min.mjs";
|
|
8
|
+
import { useConfig } from "../config-provider/useConfig.mjs";
|
|
9
|
+
import { Space, Button, Tooltip, Divider, Link } from "tdesign-vue-next";
|
|
10
|
+
import { SearchIcon, RefreshIcon, UnfoldLessIcon, UnfoldMoreIcon, SettingIcon, AddIcon } from "tdesign-icons-vue-next";
|
|
11
|
+
import QdServiceTable from "../service/table.vue.mjs";
|
|
12
|
+
import { qdServiceTableTreeConfig } from "../service/props.mjs";
|
|
13
|
+
/* empty css */
|
|
14
|
+
/* empty css */
|
|
15
|
+
import "../dialog/props.mjs";
|
|
16
|
+
/* empty css */
|
|
17
|
+
import _sfc_main$2 from "../dialog/form.vue.mjs";
|
|
18
|
+
import QdCrudSearch from "./search.vue.mjs";
|
|
19
|
+
import _sfc_main$1 from "../config-renderer/index.vue.mjs";
|
|
20
|
+
import QdCard from "../card/index.vue.mjs";
|
|
21
|
+
import "../../hooks/useAgentChat/index.mjs";
|
|
22
|
+
import { useModal } from "../../hooks/useModal.mjs";
|
|
23
|
+
import merge from "../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs";
|
|
24
|
+
import cloneDeep from "../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.mjs";
|
|
25
|
+
const _hoisted_1 = {
|
|
26
|
+
class: "qd-crud-table"
|
|
27
|
+
};
|
|
28
|
+
const _hoisted_2 = {
|
|
29
|
+
class: "qd-crud-table__toolbar"
|
|
30
|
+
};
|
|
31
|
+
const _hoisted_3 = {
|
|
32
|
+
key: 0,
|
|
33
|
+
class: "qd-crud-table__toolbar-separator"
|
|
34
|
+
};
|
|
35
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
36
|
+
...{
|
|
37
|
+
name: "QdCrudTable"
|
|
38
|
+
},
|
|
39
|
+
__name: "table",
|
|
40
|
+
props: /* @__PURE__ */ mergeDefaults({
|
|
41
|
+
title: {},
|
|
42
|
+
permiPrefix: {},
|
|
43
|
+
search: {},
|
|
44
|
+
searchData: {},
|
|
45
|
+
form: {},
|
|
46
|
+
detail: {},
|
|
47
|
+
add: {
|
|
48
|
+
type: [Boolean, Object]
|
|
49
|
+
},
|
|
50
|
+
actions: {},
|
|
51
|
+
edit: {
|
|
52
|
+
type: [Boolean, Object]
|
|
53
|
+
},
|
|
54
|
+
view: {
|
|
55
|
+
type: [Boolean, Object]
|
|
56
|
+
},
|
|
57
|
+
del: {
|
|
58
|
+
type: [Boolean, Object]
|
|
59
|
+
},
|
|
60
|
+
rowActions: {},
|
|
61
|
+
rowKey: {},
|
|
62
|
+
selectType: {},
|
|
63
|
+
headerBg: {
|
|
64
|
+
type: Boolean
|
|
65
|
+
},
|
|
66
|
+
tree: {},
|
|
67
|
+
loadingWithData: {
|
|
68
|
+
type: Boolean
|
|
69
|
+
},
|
|
70
|
+
beforeDragSort: {
|
|
71
|
+
type: Function
|
|
72
|
+
},
|
|
73
|
+
expandedTreeNodes: {},
|
|
74
|
+
defaultExpandedTreeNodes: {},
|
|
75
|
+
treeExpandAndFoldIcon: {},
|
|
76
|
+
onAbnormalDragSort: {
|
|
77
|
+
type: Function
|
|
78
|
+
},
|
|
79
|
+
onExpandedTreeNodesChange: {
|
|
80
|
+
type: Function
|
|
81
|
+
},
|
|
82
|
+
onTreeExpandChange: {
|
|
83
|
+
type: Function
|
|
84
|
+
},
|
|
85
|
+
asyncLoading: {},
|
|
86
|
+
columnController: {},
|
|
87
|
+
columnControllerVisible: {
|
|
88
|
+
type: Boolean
|
|
89
|
+
},
|
|
90
|
+
defaultColumnControllerVisible: {
|
|
91
|
+
type: Boolean
|
|
92
|
+
},
|
|
93
|
+
columns: {},
|
|
94
|
+
displayColumns: {},
|
|
95
|
+
defaultDisplayColumns: {},
|
|
96
|
+
dragSort: {},
|
|
97
|
+
dragSortOptions: {},
|
|
98
|
+
editableCellState: {
|
|
99
|
+
type: Function
|
|
100
|
+
},
|
|
101
|
+
editableRowKeys: {},
|
|
102
|
+
expandIcon: {
|
|
103
|
+
type: Boolean
|
|
104
|
+
},
|
|
105
|
+
expandOnRowClick: {
|
|
106
|
+
type: Boolean
|
|
107
|
+
},
|
|
108
|
+
expandedRow: {},
|
|
109
|
+
expandedRowKeys: {},
|
|
110
|
+
defaultExpandedRowKeys: {},
|
|
111
|
+
filterIcon: {},
|
|
112
|
+
filterRow: {},
|
|
113
|
+
filterValue: {},
|
|
114
|
+
defaultFilterValue: {},
|
|
115
|
+
hideSortTips: {
|
|
116
|
+
type: Boolean
|
|
117
|
+
},
|
|
118
|
+
indeterminateSelectedRowKeys: {},
|
|
119
|
+
multipleSort: {
|
|
120
|
+
type: Boolean
|
|
121
|
+
},
|
|
122
|
+
reserveSelectedRowOnPaginate: {
|
|
123
|
+
type: Boolean
|
|
124
|
+
},
|
|
125
|
+
rowSelectionAllowUncheck: {
|
|
126
|
+
type: Boolean
|
|
127
|
+
},
|
|
128
|
+
rowSelectionType: {},
|
|
129
|
+
selectOnRowClick: {
|
|
130
|
+
type: Boolean
|
|
131
|
+
},
|
|
132
|
+
selectedRowKeys: {},
|
|
133
|
+
defaultSelectedRowKeys: {},
|
|
134
|
+
showSortColumnBgColor: {
|
|
135
|
+
type: Boolean
|
|
136
|
+
},
|
|
137
|
+
sort: {},
|
|
138
|
+
defaultSort: {},
|
|
139
|
+
sortIcon: {},
|
|
140
|
+
sortOnRowDraggable: {
|
|
141
|
+
type: Boolean
|
|
142
|
+
},
|
|
143
|
+
onAsyncLoadingClick: {
|
|
144
|
+
type: Function
|
|
145
|
+
},
|
|
146
|
+
onCellClick: {
|
|
147
|
+
type: Function
|
|
148
|
+
},
|
|
149
|
+
onChange: {
|
|
150
|
+
type: Function
|
|
151
|
+
},
|
|
152
|
+
onColumnChange: {
|
|
153
|
+
type: Function
|
|
154
|
+
},
|
|
155
|
+
onColumnControllerVisibleChange: {
|
|
156
|
+
type: Function
|
|
157
|
+
},
|
|
158
|
+
onDataChange: {
|
|
159
|
+
type: Function
|
|
160
|
+
},
|
|
161
|
+
onDisplayColumnsChange: {
|
|
162
|
+
type: Function
|
|
163
|
+
},
|
|
164
|
+
onDragSort: {
|
|
165
|
+
type: Function
|
|
166
|
+
},
|
|
167
|
+
onExpandChange: {
|
|
168
|
+
type: Function
|
|
169
|
+
},
|
|
170
|
+
onFilterChange: {
|
|
171
|
+
type: Function
|
|
172
|
+
},
|
|
173
|
+
onRowEdit: {
|
|
174
|
+
type: Function
|
|
175
|
+
},
|
|
176
|
+
onRowValidate: {
|
|
177
|
+
type: Function
|
|
178
|
+
},
|
|
179
|
+
onSelectChange: {
|
|
180
|
+
type: Function
|
|
181
|
+
},
|
|
182
|
+
onSortChange: {
|
|
183
|
+
type: Function
|
|
184
|
+
},
|
|
185
|
+
onValidate: {
|
|
186
|
+
type: Function
|
|
187
|
+
},
|
|
188
|
+
activeRowKeys: {},
|
|
189
|
+
defaultActiveRowKeys: {},
|
|
190
|
+
activeRowType: {},
|
|
191
|
+
allowResizeColumnWidth: {
|
|
192
|
+
type: Boolean
|
|
193
|
+
},
|
|
194
|
+
attach: {
|
|
195
|
+
type: [String, Function]
|
|
196
|
+
},
|
|
197
|
+
bordered: {
|
|
198
|
+
type: Boolean
|
|
199
|
+
},
|
|
200
|
+
bottomContent: {},
|
|
201
|
+
cellEmptyContent: {},
|
|
202
|
+
data: {},
|
|
203
|
+
disableDataPage: {
|
|
204
|
+
type: Boolean
|
|
205
|
+
},
|
|
206
|
+
disableSpaceInactiveRow: {
|
|
207
|
+
type: Boolean
|
|
208
|
+
},
|
|
209
|
+
empty: {},
|
|
210
|
+
firstFullRow: {},
|
|
211
|
+
fixedRows: {},
|
|
212
|
+
footData: {},
|
|
213
|
+
footerAffixProps: {},
|
|
214
|
+
footerAffixedBottom: {
|
|
215
|
+
type: [Boolean, Object]
|
|
216
|
+
},
|
|
217
|
+
footerSummary: {},
|
|
218
|
+
headerAffixProps: {},
|
|
219
|
+
headerAffixedTop: {
|
|
220
|
+
type: [Boolean, Object]
|
|
221
|
+
},
|
|
222
|
+
height: {},
|
|
223
|
+
horizontalScrollAffixedBottom: {
|
|
224
|
+
type: [Boolean, Object]
|
|
225
|
+
},
|
|
226
|
+
hover: {
|
|
227
|
+
type: Boolean
|
|
228
|
+
},
|
|
229
|
+
keyboardRowHover: {
|
|
230
|
+
type: Boolean
|
|
231
|
+
},
|
|
232
|
+
lastFullRow: {},
|
|
233
|
+
lazyLoad: {
|
|
234
|
+
type: Boolean
|
|
235
|
+
},
|
|
236
|
+
loading: {
|
|
237
|
+
type: Boolean
|
|
238
|
+
},
|
|
239
|
+
loadingProps: {},
|
|
240
|
+
locale: {},
|
|
241
|
+
maxHeight: {},
|
|
242
|
+
paginationAffixedBottom: {
|
|
243
|
+
type: [Boolean, Object]
|
|
244
|
+
},
|
|
245
|
+
resizable: {
|
|
246
|
+
type: Boolean
|
|
247
|
+
},
|
|
248
|
+
rowAttributes: {
|
|
249
|
+
type: [Object, Function, Array]
|
|
250
|
+
},
|
|
251
|
+
rowClassName: {
|
|
252
|
+
type: [Object, Array, String, Function]
|
|
253
|
+
},
|
|
254
|
+
rowspanAndColspan: {
|
|
255
|
+
type: Function
|
|
256
|
+
},
|
|
257
|
+
rowspanAndColspanInFooter: {
|
|
258
|
+
type: Function
|
|
259
|
+
},
|
|
260
|
+
scroll: {},
|
|
261
|
+
showHeader: {
|
|
262
|
+
type: Boolean
|
|
263
|
+
},
|
|
264
|
+
size: {},
|
|
265
|
+
stripe: {
|
|
266
|
+
type: Boolean
|
|
267
|
+
},
|
|
268
|
+
tableContentWidth: {},
|
|
269
|
+
tableLayout: {},
|
|
270
|
+
topContent: {},
|
|
271
|
+
verticalAlign: {},
|
|
272
|
+
onActiveChange: {
|
|
273
|
+
type: Function
|
|
274
|
+
},
|
|
275
|
+
onActiveRowAction: {
|
|
276
|
+
type: Function
|
|
277
|
+
},
|
|
278
|
+
onColumnResizeChange: {
|
|
279
|
+
type: Function
|
|
280
|
+
},
|
|
281
|
+
onPageChange: {
|
|
282
|
+
type: Function
|
|
283
|
+
},
|
|
284
|
+
onRowClick: {
|
|
285
|
+
type: Function
|
|
286
|
+
},
|
|
287
|
+
onRowDblclick: {
|
|
288
|
+
type: Function
|
|
289
|
+
},
|
|
290
|
+
onRowMousedown: {
|
|
291
|
+
type: Function
|
|
292
|
+
},
|
|
293
|
+
onRowMouseenter: {
|
|
294
|
+
type: Function
|
|
295
|
+
},
|
|
296
|
+
onRowMouseleave: {
|
|
297
|
+
type: Function
|
|
298
|
+
},
|
|
299
|
+
onRowMouseover: {
|
|
300
|
+
type: Function
|
|
301
|
+
},
|
|
302
|
+
onRowMouseup: {
|
|
303
|
+
type: Function
|
|
304
|
+
},
|
|
305
|
+
onScroll: {
|
|
306
|
+
type: Function
|
|
307
|
+
},
|
|
308
|
+
onScrollX: {
|
|
309
|
+
type: Function
|
|
310
|
+
},
|
|
311
|
+
onScrollY: {
|
|
312
|
+
type: Function
|
|
313
|
+
},
|
|
314
|
+
cacheKey: {
|
|
315
|
+
type: [String, Function]
|
|
316
|
+
},
|
|
317
|
+
cacheTime: {},
|
|
318
|
+
pollingInterval: {},
|
|
319
|
+
onBefore: {
|
|
320
|
+
type: Function
|
|
321
|
+
},
|
|
322
|
+
onAfter: {
|
|
323
|
+
type: Function
|
|
324
|
+
},
|
|
325
|
+
onSuccess: {
|
|
326
|
+
type: Function
|
|
327
|
+
},
|
|
328
|
+
onError: {
|
|
329
|
+
type: Function
|
|
330
|
+
},
|
|
331
|
+
service: {
|
|
332
|
+
type: Function
|
|
333
|
+
},
|
|
334
|
+
manual: {
|
|
335
|
+
type: Boolean
|
|
336
|
+
},
|
|
337
|
+
transformParams: {
|
|
338
|
+
type: Function
|
|
339
|
+
},
|
|
340
|
+
transformRes: {
|
|
341
|
+
type: Function
|
|
342
|
+
},
|
|
343
|
+
pagination: {}
|
|
344
|
+
}, qdCrudTableProps),
|
|
345
|
+
emits: ["update:searchData", "update:data", "update:selectedRowKeys", "update:activeRowKeys", "update:columnControllerVisible", "update:displayColumns", "update:expandedRowKeys", "update:filterValue", "update:sort", "update:expandedTreeNodes"],
|
|
346
|
+
setup(__props, {
|
|
347
|
+
expose: __expose,
|
|
348
|
+
emit: __emit
|
|
349
|
+
}) {
|
|
350
|
+
const vHasPermi = hasPermiDirective;
|
|
351
|
+
const props = __props;
|
|
352
|
+
const emit = __emit;
|
|
353
|
+
const {
|
|
354
|
+
searchData,
|
|
355
|
+
data,
|
|
356
|
+
selectedRowKeys,
|
|
357
|
+
activeRowKeys,
|
|
358
|
+
columnControllerVisible,
|
|
359
|
+
displayColumns,
|
|
360
|
+
expandedRowKeys,
|
|
361
|
+
filterValue,
|
|
362
|
+
sort,
|
|
363
|
+
expandedTreeNodes
|
|
364
|
+
} = useVModels(props, emit, {
|
|
365
|
+
passive: true
|
|
366
|
+
});
|
|
367
|
+
const {
|
|
368
|
+
t
|
|
369
|
+
} = useConfig("crud");
|
|
370
|
+
const {
|
|
371
|
+
msgError,
|
|
372
|
+
msgSuccess,
|
|
373
|
+
alertWarning,
|
|
374
|
+
confirm
|
|
375
|
+
} = useModal();
|
|
376
|
+
const treeIsExpand = computed(() => !!expandedTreeNodes.value?.length);
|
|
377
|
+
const dialogFormMap = reactive({});
|
|
378
|
+
const rowActionsIfRenderMap = reactive({});
|
|
379
|
+
const reProps = computed(() => {
|
|
380
|
+
const {
|
|
381
|
+
data: data2,
|
|
382
|
+
searchData: inSearchData,
|
|
383
|
+
selectedRowKeys: selectedRowKeys2,
|
|
384
|
+
activeRowKeys: activeRowKeys2,
|
|
385
|
+
columnControllerVisible: columnControllerVisible2,
|
|
386
|
+
displayColumns: displayColumns2,
|
|
387
|
+
expandedRowKeys: expandedRowKeys2,
|
|
388
|
+
filterValue: filterValue2,
|
|
389
|
+
sort: sort2,
|
|
390
|
+
expandedTreeNodes: expandedTreeNodes2,
|
|
391
|
+
transformParams,
|
|
392
|
+
search,
|
|
393
|
+
form,
|
|
394
|
+
detail,
|
|
395
|
+
add,
|
|
396
|
+
actions,
|
|
397
|
+
edit,
|
|
398
|
+
view,
|
|
399
|
+
del,
|
|
400
|
+
rowActions,
|
|
401
|
+
title,
|
|
402
|
+
columns,
|
|
403
|
+
selectType,
|
|
404
|
+
...serviceTableOptions
|
|
405
|
+
} = props;
|
|
406
|
+
const mergedTransformParams = (params) => {
|
|
407
|
+
const merged = {
|
|
408
|
+
...params,
|
|
409
|
+
...searchData.value
|
|
410
|
+
};
|
|
411
|
+
if (transformParams) return transformParams(merged);
|
|
412
|
+
return merged;
|
|
413
|
+
};
|
|
414
|
+
const reAdd = mergeAction({
|
|
415
|
+
crudMode: "add",
|
|
416
|
+
permiID: "add",
|
|
417
|
+
content: t("addText"),
|
|
418
|
+
icon: () => createVNode(AddIcon, null, null)
|
|
419
|
+
}, add, form);
|
|
420
|
+
const reActions = [reAdd, ...buildActions(actions, form)].filter(Boolean);
|
|
421
|
+
const reEdit = mergeAction({
|
|
422
|
+
crudMode: "edit",
|
|
423
|
+
permiID: "edit",
|
|
424
|
+
content: t("editText"),
|
|
425
|
+
theme: "primary",
|
|
426
|
+
hover: "color"
|
|
427
|
+
}, edit, form);
|
|
428
|
+
const reView = mergeAction({
|
|
429
|
+
crudMode: "view",
|
|
430
|
+
permiID: "query",
|
|
431
|
+
content: t("viewText"),
|
|
432
|
+
theme: "primary",
|
|
433
|
+
hover: "color"
|
|
434
|
+
}, view, form);
|
|
435
|
+
const reDel = mergeAction({
|
|
436
|
+
crudMode: "del",
|
|
437
|
+
permiID: "remove",
|
|
438
|
+
content: t("deleteText"),
|
|
439
|
+
theme: "danger",
|
|
440
|
+
hover: "color",
|
|
441
|
+
selectType: "multiple"
|
|
442
|
+
}, del, form);
|
|
443
|
+
const reRowActions = [reEdit, reView, reDel, ...buildActions(rowActions, form)].filter(Boolean);
|
|
444
|
+
let reSelectType = selectType;
|
|
445
|
+
if (reDel?.selectType === "multiple") {
|
|
446
|
+
if (!reSelectType) reSelectType = "multiple";
|
|
447
|
+
const batchDel = mergeAction({
|
|
448
|
+
crudMode: "del",
|
|
449
|
+
permiID: "remove",
|
|
450
|
+
content: t("deleteText"),
|
|
451
|
+
theme: "danger",
|
|
452
|
+
variant: "outline",
|
|
453
|
+
selectType: "multiple"
|
|
454
|
+
}, del, form);
|
|
455
|
+
reActions.splice(reAdd ? 1 : 0, 0, batchDel);
|
|
456
|
+
}
|
|
457
|
+
const reColumns = columns || [];
|
|
458
|
+
const operationLength = reRowActions.length;
|
|
459
|
+
if (operationLength) {
|
|
460
|
+
const operationIdx = reColumns.findIndex((item) => item.colKey === "operation");
|
|
461
|
+
const defaultOperation = {
|
|
462
|
+
title: t("operationText"),
|
|
463
|
+
colKey: "operation",
|
|
464
|
+
align: "center",
|
|
465
|
+
fixed: "right",
|
|
466
|
+
width: 28 * operationLength + 25 * operationLength - 1 + 32
|
|
467
|
+
};
|
|
468
|
+
if (operationIdx > -1) {
|
|
469
|
+
reColumns[operationIdx] = {
|
|
470
|
+
...defaultOperation,
|
|
471
|
+
...reColumns[operationIdx]
|
|
472
|
+
};
|
|
473
|
+
} else {
|
|
474
|
+
reColumns.push(defaultOperation);
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
return {
|
|
478
|
+
title,
|
|
479
|
+
searchOptions: search,
|
|
480
|
+
serviceTableOptions: {
|
|
481
|
+
...serviceTableOptions,
|
|
482
|
+
selectType: reSelectType,
|
|
483
|
+
columns: reColumns,
|
|
484
|
+
transformParams: mergedTransformParams
|
|
485
|
+
},
|
|
486
|
+
formOptions: form,
|
|
487
|
+
detailOptions: detail,
|
|
488
|
+
actions: reActions,
|
|
489
|
+
rowActions: reRowActions,
|
|
490
|
+
models: {
|
|
491
|
+
data: data2,
|
|
492
|
+
searchData: inSearchData,
|
|
493
|
+
selectedRowKeys: selectedRowKeys2,
|
|
494
|
+
activeRowKeys: activeRowKeys2,
|
|
495
|
+
columnControllerVisible: columnControllerVisible2,
|
|
496
|
+
displayColumns: displayColumns2,
|
|
497
|
+
expandedRowKeys: expandedRowKeys2,
|
|
498
|
+
filterValue: filterValue2,
|
|
499
|
+
sort: sort2,
|
|
500
|
+
expandedTreeNodes: expandedTreeNodes2
|
|
501
|
+
}
|
|
502
|
+
};
|
|
503
|
+
});
|
|
504
|
+
const tableRef = useTemplateRef("table");
|
|
505
|
+
const searchVisible = ref(true);
|
|
506
|
+
const searchRef = useTemplateRef("search");
|
|
507
|
+
let searchMode = "refresh";
|
|
508
|
+
function handleSearch() {
|
|
509
|
+
searchMode = "changeCurrent";
|
|
510
|
+
}
|
|
511
|
+
async function handleResetSearch() {
|
|
512
|
+
searchMode = "changeCurrent";
|
|
513
|
+
searchRef.value?.reset();
|
|
514
|
+
await nextTick();
|
|
515
|
+
searchRef.value?.submit();
|
|
516
|
+
}
|
|
517
|
+
function triggerSearch({
|
|
518
|
+
validateResult
|
|
519
|
+
}) {
|
|
520
|
+
if (validateResult !== true) return;
|
|
521
|
+
switch (searchMode) {
|
|
522
|
+
case "changeCurrent":
|
|
523
|
+
tableRef.value?.changeCurrent(1);
|
|
524
|
+
break;
|
|
525
|
+
default:
|
|
526
|
+
tableRef.value?.refresh();
|
|
527
|
+
break;
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
function handleRefresh() {
|
|
531
|
+
searchMode = "refresh";
|
|
532
|
+
searchRef.value?.submit();
|
|
533
|
+
}
|
|
534
|
+
function toggleSearchVisible() {
|
|
535
|
+
searchVisible.value = !searchVisible.value;
|
|
536
|
+
}
|
|
537
|
+
function toggleTreeExpandAll() {
|
|
538
|
+
if (treeIsExpand.value) tableRef.value?.foldAll();
|
|
539
|
+
else tableRef.value?.expandAll();
|
|
540
|
+
}
|
|
541
|
+
function openColumnController() {
|
|
542
|
+
columnControllerVisible.value = true;
|
|
543
|
+
}
|
|
544
|
+
function buildActions(actions, crudForm) {
|
|
545
|
+
if (!actions) return [];
|
|
546
|
+
return actions.map((item) => mergeAction({
|
|
547
|
+
variant: "outline",
|
|
548
|
+
theme: "primary",
|
|
549
|
+
hover: "color"
|
|
550
|
+
}, item, crudForm));
|
|
551
|
+
}
|
|
552
|
+
function mergeAction(defaultOptions, currentOptions, crudForm) {
|
|
553
|
+
if (currentOptions === false || !currentOptions) return;
|
|
554
|
+
const mergeOptions = merge(defaultOptions, currentOptions);
|
|
555
|
+
mergeOptions.permi = buildActionPermi(mergeOptions);
|
|
556
|
+
if (mergeOptions.crudMode !== "del") {
|
|
557
|
+
mergeOptions.form = buildActionForm(mergeOptions, crudForm);
|
|
558
|
+
}
|
|
559
|
+
return mergeOptions;
|
|
560
|
+
}
|
|
561
|
+
function getConfigRendererCtx(self, other) {
|
|
562
|
+
return {
|
|
563
|
+
tableData: data.value,
|
|
564
|
+
searchData: searchData.value,
|
|
565
|
+
selectedRowKeys: selectedRowKeys.value,
|
|
566
|
+
activeRowKeys: activeRowKeys.value,
|
|
567
|
+
self,
|
|
568
|
+
...other
|
|
569
|
+
};
|
|
570
|
+
}
|
|
571
|
+
function actionIsCRU(crudMode) {
|
|
572
|
+
return crudMode && ["add", "edit", "view"].includes(crudMode);
|
|
573
|
+
}
|
|
574
|
+
function buildActionPermi(action) {
|
|
575
|
+
if (action.permi) return action.permi;
|
|
576
|
+
if (!props.permiPrefix || !action.permiID) return [];
|
|
577
|
+
return [`${props.permiPrefix}:${action.permiID}`];
|
|
578
|
+
}
|
|
579
|
+
function buildActionForm(action, crudForm) {
|
|
580
|
+
const IsCRU = actionIsCRU(action.crudMode);
|
|
581
|
+
if (!action.form && IsCRU) {
|
|
582
|
+
action.form = cloneDeep(crudForm);
|
|
583
|
+
}
|
|
584
|
+
const {
|
|
585
|
+
form
|
|
586
|
+
} = action;
|
|
587
|
+
if (form) {
|
|
588
|
+
if (action.crudMode === "view") form.readonly = true;
|
|
589
|
+
if (!form.onSubmit && IsCRU) {
|
|
590
|
+
form.onSubmit = async (context) => {
|
|
591
|
+
const {
|
|
592
|
+
uid,
|
|
593
|
+
service,
|
|
594
|
+
transformParams,
|
|
595
|
+
transformRes,
|
|
596
|
+
crudMode
|
|
597
|
+
} = action;
|
|
598
|
+
if (context.validateResult !== true || !service || !uid || !dialogFormMap[uid]) return false;
|
|
599
|
+
let currentParams = easyCopy(context.formData);
|
|
600
|
+
if (transformParams) {
|
|
601
|
+
const [tpErr, tpRes] = await suspectedWrapperPromise(transformParams(currentParams));
|
|
602
|
+
if (tpErr) throw tpErr;
|
|
603
|
+
currentParams = tpRes;
|
|
604
|
+
}
|
|
605
|
+
const [serviceErr, serviceRes] = await suspectedWrapperPromise(service(currentParams));
|
|
606
|
+
if (serviceErr) throw serviceErr;
|
|
607
|
+
let res;
|
|
608
|
+
if (transformRes) {
|
|
609
|
+
const [trErr, trRes] = await suspectedWrapperPromise(transformRes(serviceRes));
|
|
610
|
+
if (trErr) throw trErr;
|
|
611
|
+
res = trRes;
|
|
612
|
+
} else {
|
|
613
|
+
res = serviceRes;
|
|
614
|
+
}
|
|
615
|
+
if (typeof res === "boolean") {
|
|
616
|
+
res = {
|
|
617
|
+
success: res,
|
|
618
|
+
message: ""
|
|
619
|
+
};
|
|
620
|
+
}
|
|
621
|
+
if (!res) {
|
|
622
|
+
res = {
|
|
623
|
+
success: true,
|
|
624
|
+
message: ""
|
|
625
|
+
};
|
|
626
|
+
}
|
|
627
|
+
const message = res.message;
|
|
628
|
+
if (res.success === false) {
|
|
629
|
+
if (message) msgError(message);
|
|
630
|
+
return false;
|
|
631
|
+
}
|
|
632
|
+
msgSuccess(message || t("operationSuccessText"));
|
|
633
|
+
if (crudMode === "add") {
|
|
634
|
+
tableRef.value?.changeCurrent(1);
|
|
635
|
+
} else {
|
|
636
|
+
tableRef.value?.refresh();
|
|
637
|
+
}
|
|
638
|
+
};
|
|
639
|
+
}
|
|
640
|
+
const {
|
|
641
|
+
title
|
|
642
|
+
} = props;
|
|
643
|
+
form.wrapper = merge({}, {
|
|
644
|
+
header: `${action.content}${title ? ` ${title}` : ""}`
|
|
645
|
+
}, form.wrapper);
|
|
646
|
+
}
|
|
647
|
+
return action.form;
|
|
648
|
+
}
|
|
649
|
+
function buildActionOnClick(action, originalParams) {
|
|
650
|
+
if (action.onClick) return action.onClick;
|
|
651
|
+
if (action.crudMode === "del") {
|
|
652
|
+
const onClick2 = async () => {
|
|
653
|
+
const {
|
|
654
|
+
service,
|
|
655
|
+
transformParams,
|
|
656
|
+
transformRes
|
|
657
|
+
} = action;
|
|
658
|
+
const row = originalParams?.row;
|
|
659
|
+
if (!service || !row && action.selectType !== "multiple" || !row && !selectedRowKeys.value.length && action.selectType === "multiple") {
|
|
660
|
+
return;
|
|
661
|
+
}
|
|
662
|
+
const childrenKey = reProps.value.serviceTableOptions.tree?.childrenKey || qdServiceTableTreeConfig.childrenKey;
|
|
663
|
+
let delHasChild = false;
|
|
664
|
+
if (!row) {
|
|
665
|
+
const rowKey = reProps.value.serviceTableOptions.rowKey || qdCrudTableProps.rowKey;
|
|
666
|
+
delHasChild = selectedRowKeys.value.some((item) => {
|
|
667
|
+
const data2 = tableRef.value?.getData(item);
|
|
668
|
+
if (!data2) return false;
|
|
669
|
+
const children = data2.row[childrenKey];
|
|
670
|
+
if (isEmpty(children)) return false;
|
|
671
|
+
if (children === true) return true;
|
|
672
|
+
return children.some((child) => !selectedRowKeys.value.includes(child[rowKey]));
|
|
673
|
+
});
|
|
674
|
+
} else if (!isEmpty(row[childrenKey])) {
|
|
675
|
+
delHasChild = true;
|
|
676
|
+
}
|
|
677
|
+
if (delHasChild) {
|
|
678
|
+
alertWarning(t("deleteHasChildrenText"));
|
|
679
|
+
return;
|
|
680
|
+
}
|
|
681
|
+
confirm({
|
|
682
|
+
body: t("deleteWrapperBodyText"),
|
|
683
|
+
...action.wrapper
|
|
684
|
+
}, async () => {
|
|
685
|
+
const params = row || selectedRowKeys.value;
|
|
686
|
+
let currentParams = row ? params[reProps.value.serviceTableOptions.rowKey || qdCrudTableProps.rowKey] : selectedRowKeys.value;
|
|
687
|
+
if (transformParams) {
|
|
688
|
+
const [tpErr, tpRes] = await suspectedWrapperPromise(transformParams(easyCopy(params)));
|
|
689
|
+
if (tpErr) throw tpErr;
|
|
690
|
+
currentParams = tpRes;
|
|
691
|
+
}
|
|
692
|
+
const [serviceErr, serviceRes] = await suspectedWrapperPromise(service(currentParams));
|
|
693
|
+
if (serviceErr) throw serviceErr;
|
|
694
|
+
let res;
|
|
695
|
+
if (transformRes) {
|
|
696
|
+
const [trErr, trRes] = await suspectedWrapperPromise(transformRes(serviceRes));
|
|
697
|
+
if (trErr) throw trErr;
|
|
698
|
+
res = trRes;
|
|
699
|
+
} else {
|
|
700
|
+
res = serviceRes;
|
|
701
|
+
}
|
|
702
|
+
if (typeof res === "boolean") {
|
|
703
|
+
res = {
|
|
704
|
+
success: res,
|
|
705
|
+
message: ""
|
|
706
|
+
};
|
|
707
|
+
}
|
|
708
|
+
if (!res) {
|
|
709
|
+
res = {
|
|
710
|
+
success: true,
|
|
711
|
+
message: ""
|
|
712
|
+
};
|
|
713
|
+
}
|
|
714
|
+
const message = res.message;
|
|
715
|
+
if (res.success === false) {
|
|
716
|
+
if (message) msgError(message);
|
|
717
|
+
return false;
|
|
718
|
+
}
|
|
719
|
+
msgSuccess(message || t("deleteSuccessText"));
|
|
720
|
+
if (!row) selectedRowKeys.value = [];
|
|
721
|
+
tableRef.value?.refresh();
|
|
722
|
+
return true;
|
|
723
|
+
});
|
|
724
|
+
};
|
|
725
|
+
return onClick2;
|
|
726
|
+
}
|
|
727
|
+
if (isEmpty(action.form) || !actionIsCRU(action.crudMode)) return;
|
|
728
|
+
const onClick = async () => {
|
|
729
|
+
if (!action.uid) action.uid = generateRandomString(16);
|
|
730
|
+
const uid = action.uid;
|
|
731
|
+
const form = shallowRef(action.form);
|
|
732
|
+
if (!dialogFormMap[uid]) {
|
|
733
|
+
dialogFormMap[uid] = {
|
|
734
|
+
visible: false,
|
|
735
|
+
data: {},
|
|
736
|
+
crudMode: action.crudMode,
|
|
737
|
+
form
|
|
738
|
+
};
|
|
739
|
+
}
|
|
740
|
+
await nextTick();
|
|
741
|
+
dialogFormMap[uid].visible = true;
|
|
742
|
+
if (!action.crudMode || !["edit", "view"].includes(action.crudMode) || !originalParams) {
|
|
743
|
+
return;
|
|
744
|
+
}
|
|
745
|
+
form.value.loading = true;
|
|
746
|
+
triggerRef(form);
|
|
747
|
+
const [err, res] = await to(getDetail(originalParams.row));
|
|
748
|
+
form.value.loading = false;
|
|
749
|
+
triggerRef(form);
|
|
750
|
+
if (err) {
|
|
751
|
+
dialogFormMap[uid].data = originalParams.row;
|
|
752
|
+
return;
|
|
753
|
+
}
|
|
754
|
+
dialogFormMap[uid].data = res;
|
|
755
|
+
};
|
|
756
|
+
return onClick;
|
|
757
|
+
}
|
|
758
|
+
function buildActionDisabled(action) {
|
|
759
|
+
if (action.disabled) return action.disabled;
|
|
760
|
+
switch (action.selectType) {
|
|
761
|
+
case "single":
|
|
762
|
+
return selectedRowKeys.value.length !== 1;
|
|
763
|
+
case "multiple":
|
|
764
|
+
return selectedRowKeys.value.length === 0;
|
|
765
|
+
default:
|
|
766
|
+
return false;
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
async function getDetail(params) {
|
|
770
|
+
const {
|
|
771
|
+
detailOptions
|
|
772
|
+
} = reProps.value;
|
|
773
|
+
if (!detailOptions) return easyCopy(params);
|
|
774
|
+
const {
|
|
775
|
+
service,
|
|
776
|
+
transformParams,
|
|
777
|
+
transformRes
|
|
778
|
+
} = detailOptions;
|
|
779
|
+
if (!service) return easyCopy(params);
|
|
780
|
+
let currentParams = params[reProps.value.serviceTableOptions.rowKey || qdCrudTableProps.rowKey];
|
|
781
|
+
if (transformParams) {
|
|
782
|
+
const [tpErr, tpRes] = await suspectedWrapperPromise(transformParams(easyCopy(params)));
|
|
783
|
+
if (tpErr) throw tpErr;
|
|
784
|
+
currentParams = tpRes;
|
|
785
|
+
}
|
|
786
|
+
const [serviceErr, serviceRes] = await suspectedWrapperPromise(service(currentParams));
|
|
787
|
+
if (serviceErr) throw serviceErr;
|
|
788
|
+
let res;
|
|
789
|
+
if (transformRes) {
|
|
790
|
+
const [trErr, trRes] = await suspectedWrapperPromise(transformRes(serviceRes));
|
|
791
|
+
if (trErr) throw trErr;
|
|
792
|
+
res = trRes;
|
|
793
|
+
} else {
|
|
794
|
+
res = serviceRes;
|
|
795
|
+
}
|
|
796
|
+
return res;
|
|
797
|
+
}
|
|
798
|
+
function setActionIfRender(compIfRender, action, cellIndex) {
|
|
799
|
+
const ifRender = compIfRender && hasPermiOr(action.permi, false);
|
|
800
|
+
if (!cellIndex) {
|
|
801
|
+
action._ifRender = ifRender;
|
|
802
|
+
return;
|
|
803
|
+
}
|
|
804
|
+
const {
|
|
805
|
+
colIndex,
|
|
806
|
+
rowIndex,
|
|
807
|
+
index
|
|
808
|
+
} = cellIndex;
|
|
809
|
+
rowActionsIfRenderMap[`${colIndex}.${rowIndex}.${index}`] = ifRender;
|
|
810
|
+
}
|
|
811
|
+
function getActionSeparator(action, cellIndex) {
|
|
812
|
+
const {
|
|
813
|
+
index,
|
|
814
|
+
colIndex,
|
|
815
|
+
rowIndex
|
|
816
|
+
} = cellIndex;
|
|
817
|
+
if (index <= 0) return false;
|
|
818
|
+
if (isEmpty(colIndex) && isEmpty(rowIndex)) {
|
|
819
|
+
if (action._ifRender === false) return false;
|
|
820
|
+
for (let i = index - 1; i >= 0; i--) {
|
|
821
|
+
const previousAction = reProps.value.actions[i];
|
|
822
|
+
if (previousAction._ifRender !== false) return true;
|
|
823
|
+
}
|
|
824
|
+
return false;
|
|
825
|
+
}
|
|
826
|
+
if (rowActionsIfRenderMap[`${colIndex}.${rowIndex}.${index}`] === false) return false;
|
|
827
|
+
for (let i = index - 1; i >= 0; i--) {
|
|
828
|
+
const previousIfRender = rowActionsIfRenderMap[`${colIndex}.${rowIndex}.${i}`];
|
|
829
|
+
if (previousIfRender !== false) return true;
|
|
830
|
+
}
|
|
831
|
+
return false;
|
|
832
|
+
}
|
|
833
|
+
const expose = {};
|
|
834
|
+
onMounted(() => {
|
|
835
|
+
Object.assign(expose, tableRef.value);
|
|
836
|
+
});
|
|
837
|
+
__expose(expose);
|
|
838
|
+
return (_ctx, _cache) => {
|
|
839
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [reProps.value.searchOptions?.items?.length ? withDirectives((openBlock(), createBlock(QdCrudSearch, mergeProps({
|
|
840
|
+
key: 0,
|
|
841
|
+
ref: "search",
|
|
842
|
+
data: unref(searchData),
|
|
843
|
+
"onUpdate:data": _cache[0] || (_cache[0] = ($event) => isRef(searchData) ? searchData.value = $event : null),
|
|
844
|
+
class: [!searchVisible.value ? "qd-crud-search--hide" : ""]
|
|
845
|
+
}, reProps.value.searchOptions, {
|
|
846
|
+
"on-submit": triggerSearch
|
|
847
|
+
}), createSlots({
|
|
848
|
+
"form-footer": withCtx(() => [createVNode(unref(Space), {
|
|
849
|
+
align: "center",
|
|
850
|
+
size: "small"
|
|
851
|
+
}, {
|
|
852
|
+
default: withCtx(() => [createVNode(unref(Button), {
|
|
853
|
+
type: "submit",
|
|
854
|
+
onClick: handleSearch
|
|
855
|
+
}, {
|
|
856
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("searchText")), 1)]),
|
|
857
|
+
_: 1
|
|
858
|
+
}), createVNode(unref(Button), {
|
|
859
|
+
variant: "outline",
|
|
860
|
+
onClick: handleResetSearch
|
|
861
|
+
}, {
|
|
862
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("resetText")), 1)]),
|
|
863
|
+
_: 1
|
|
864
|
+
})]),
|
|
865
|
+
_: 1
|
|
866
|
+
})]),
|
|
867
|
+
_: 2
|
|
868
|
+
}, [renderList(unref(extractSlotsWithPrefix)(_ctx.$slots, "search"), (item) => {
|
|
869
|
+
return {
|
|
870
|
+
name: item.filterName,
|
|
871
|
+
fn: withCtx((slotProps) => [renderSlot(_ctx.$slots, item.originalName, normalizeProps(guardReactiveProps(slotProps)), void 0, true)])
|
|
872
|
+
};
|
|
873
|
+
})]), 1040, ["data", "class"])), [[vShow, searchVisible.value]]) : createCommentVNode("", true), createVNode(unref(QdCard), {
|
|
874
|
+
class: "qd-crud-table__body"
|
|
875
|
+
}, {
|
|
876
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_2, [createVNode(unref(Space), {
|
|
877
|
+
align: "center",
|
|
878
|
+
size: 0
|
|
879
|
+
}, {
|
|
880
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "actions", {}, () => [(openBlock(true), createElementBlock(Fragment, null, renderList(reProps.value.actions, (item, index) => {
|
|
881
|
+
return openBlock(), createElementBlock(Fragment, {
|
|
882
|
+
key: item.uid || index
|
|
883
|
+
}, [getActionSeparator(item, {
|
|
884
|
+
index
|
|
885
|
+
}) ? (openBlock(), createElementBlock("span", _hoisted_3)) : createCommentVNode("", true), withDirectives(createVNode(unref(_sfc_main$1), {
|
|
886
|
+
"fn-inject-ctx": "",
|
|
887
|
+
context: getConfigRendererCtx(item),
|
|
888
|
+
config: {
|
|
889
|
+
is: unref(Button),
|
|
890
|
+
...item,
|
|
891
|
+
form: void 0,
|
|
892
|
+
onClick: buildActionOnClick(item),
|
|
893
|
+
disabled: buildActionDisabled(item)
|
|
894
|
+
},
|
|
895
|
+
onIfRenderChange: (ifRender) => setActionIfRender(ifRender, item)
|
|
896
|
+
}, null, 8, ["context", "config", "onIfRenderChange"]), [[unref(vHasPermi), item.permi]])], 64);
|
|
897
|
+
}), 128))], true)]),
|
|
898
|
+
_: 3
|
|
899
|
+
}), createVNode(unref(Space), {
|
|
900
|
+
align: "center",
|
|
901
|
+
size: "small"
|
|
902
|
+
}, {
|
|
903
|
+
default: withCtx(() => [reProps.value.searchOptions?.items?.length ? (openBlock(), createBlock(unref(Tooltip), {
|
|
904
|
+
key: 0,
|
|
905
|
+
content: searchVisible.value ? unref(t)("collapseSearchText") : unref(t)("expandSearchText")
|
|
906
|
+
}, {
|
|
907
|
+
default: withCtx(() => [createVNode(unref(Button), {
|
|
908
|
+
variant: "text",
|
|
909
|
+
shape: "square",
|
|
910
|
+
onClick: toggleSearchVisible
|
|
911
|
+
}, {
|
|
912
|
+
icon: withCtx(() => [createVNode(unref(SearchIcon))]),
|
|
913
|
+
_: 1
|
|
914
|
+
})]),
|
|
915
|
+
_: 1
|
|
916
|
+
}, 8, ["content"])) : createCommentVNode("", true), createVNode(unref(Tooltip), {
|
|
917
|
+
content: unref(t)("refreshText")
|
|
918
|
+
}, {
|
|
919
|
+
default: withCtx(() => [createVNode(unref(Button), {
|
|
920
|
+
variant: "text",
|
|
921
|
+
shape: "square",
|
|
922
|
+
onClick: handleRefresh
|
|
923
|
+
}, {
|
|
924
|
+
icon: withCtx(() => [createVNode(unref(RefreshIcon))]),
|
|
925
|
+
_: 1
|
|
926
|
+
})]),
|
|
927
|
+
_: 1
|
|
928
|
+
}, 8, ["content"]), !unref(isEmpty)(reProps.value.serviceTableOptions.tree) && !reProps.value.serviceTableOptions.tree.lazyLoad ? (openBlock(), createBlock(unref(Tooltip), {
|
|
929
|
+
key: 1,
|
|
930
|
+
content: treeIsExpand.value ? unref(t)("collapseTreeText") : unref(t)("expandTreeText")
|
|
931
|
+
}, {
|
|
932
|
+
default: withCtx(() => [createVNode(unref(Button), {
|
|
933
|
+
variant: "text",
|
|
934
|
+
shape: "square",
|
|
935
|
+
onClick: toggleTreeExpandAll
|
|
936
|
+
}, {
|
|
937
|
+
icon: withCtx(() => [treeIsExpand.value ? (openBlock(), createBlock(unref(UnfoldLessIcon), {
|
|
938
|
+
key: 0
|
|
939
|
+
})) : (openBlock(), createBlock(unref(UnfoldMoreIcon), {
|
|
940
|
+
key: 1
|
|
941
|
+
}))]),
|
|
942
|
+
_: 1
|
|
943
|
+
})]),
|
|
944
|
+
_: 1
|
|
945
|
+
}, 8, ["content"])) : createCommentVNode("", true), reProps.value.serviceTableOptions.columnController?.hideTriggerButton !== true ? (openBlock(), createBlock(unref(Tooltip), {
|
|
946
|
+
key: 2,
|
|
947
|
+
content: unref(t)("columnControllerText")
|
|
948
|
+
}, {
|
|
949
|
+
default: withCtx(() => [createVNode(unref(Button), {
|
|
950
|
+
variant: "text",
|
|
951
|
+
shape: "square",
|
|
952
|
+
onClick: openColumnController
|
|
953
|
+
}, {
|
|
954
|
+
icon: withCtx(() => [createVNode(unref(SettingIcon))]),
|
|
955
|
+
_: 1
|
|
956
|
+
})]),
|
|
957
|
+
_: 1
|
|
958
|
+
}, 8, ["content"])) : createCommentVNode("", true)]),
|
|
959
|
+
_: 1
|
|
960
|
+
})]), createVNode(unref(QdServiceTable), mergeProps({
|
|
961
|
+
ref: "table",
|
|
962
|
+
data: unref(data),
|
|
963
|
+
"onUpdate:data": _cache[2] || (_cache[2] = ($event) => isRef(data) ? data.value = $event : null),
|
|
964
|
+
"selected-row-keys": unref(selectedRowKeys),
|
|
965
|
+
"onUpdate:selectedRowKeys": _cache[3] || (_cache[3] = ($event) => isRef(selectedRowKeys) ? selectedRowKeys.value = $event : null),
|
|
966
|
+
"active-row-keys": unref(activeRowKeys),
|
|
967
|
+
"onUpdate:activeRowKeys": _cache[4] || (_cache[4] = ($event) => isRef(activeRowKeys) ? activeRowKeys.value = $event : null),
|
|
968
|
+
"column-controller-visible": unref(columnControllerVisible),
|
|
969
|
+
"onUpdate:columnControllerVisible": _cache[5] || (_cache[5] = ($event) => isRef(columnControllerVisible) ? columnControllerVisible.value = $event : null),
|
|
970
|
+
"display-columns": unref(displayColumns),
|
|
971
|
+
"onUpdate:displayColumns": _cache[6] || (_cache[6] = ($event) => isRef(displayColumns) ? displayColumns.value = $event : null),
|
|
972
|
+
"expanded-row-keys": unref(expandedRowKeys),
|
|
973
|
+
"onUpdate:expandedRowKeys": _cache[7] || (_cache[7] = ($event) => isRef(expandedRowKeys) ? expandedRowKeys.value = $event : null),
|
|
974
|
+
"filter-value": unref(filterValue),
|
|
975
|
+
"onUpdate:filterValue": _cache[8] || (_cache[8] = ($event) => isRef(filterValue) ? filterValue.value = $event : null),
|
|
976
|
+
sort: unref(sort),
|
|
977
|
+
"onUpdate:sort": _cache[9] || (_cache[9] = ($event) => isRef(sort) ? sort.value = $event : null),
|
|
978
|
+
"expanded-tree-nodes": unref(expandedTreeNodes),
|
|
979
|
+
"onUpdate:expandedTreeNodes": _cache[10] || (_cache[10] = ($event) => isRef(expandedTreeNodes) ? expandedTreeNodes.value = $event : null)
|
|
980
|
+
}, reProps.value.serviceTableOptions), createSlots({
|
|
981
|
+
operation: withCtx((slotProps) => [renderSlot(_ctx.$slots, "table-operation", normalizeProps(guardReactiveProps(slotProps)), () => [reProps.value.rowActions?.length ? (openBlock(), createBlock(unref(Space), {
|
|
982
|
+
key: 0,
|
|
983
|
+
align: "center",
|
|
984
|
+
size: 0,
|
|
985
|
+
onClick: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
986
|
+
}, ["stop"]))
|
|
987
|
+
}, {
|
|
988
|
+
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(reProps.value.rowActions, (item, index) => {
|
|
989
|
+
return openBlock(), createElementBlock(Fragment, null, [getActionSeparator(item, {
|
|
990
|
+
colIndex: slotProps.colIndex,
|
|
991
|
+
rowIndex: slotProps.rowIndex,
|
|
992
|
+
index
|
|
993
|
+
}) ? (openBlock(), createBlock(unref(Divider), {
|
|
994
|
+
key: `${slotProps.colIndex}.${slotProps.rowIndex}.${index}.divider`,
|
|
995
|
+
layout: "vertical"
|
|
996
|
+
})) : createCommentVNode("", true), withDirectives((openBlock(), createBlock(unref(_sfc_main$1), {
|
|
997
|
+
key: `${slotProps.colIndex}.${slotProps.rowIndex}.${index}.renderer`,
|
|
998
|
+
"fn-inject-ctx": "",
|
|
999
|
+
context: getConfigRendererCtx(item, slotProps),
|
|
1000
|
+
config: {
|
|
1001
|
+
is: unref(Link),
|
|
1002
|
+
...item,
|
|
1003
|
+
onClick: buildActionOnClick(item, slotProps)
|
|
1004
|
+
},
|
|
1005
|
+
onIfRenderChange: (ifRender) => setActionIfRender(ifRender, item, {
|
|
1006
|
+
colIndex: slotProps.colIndex,
|
|
1007
|
+
rowIndex: slotProps.rowIndex,
|
|
1008
|
+
index
|
|
1009
|
+
})
|
|
1010
|
+
}, null, 8, ["context", "config", "onIfRenderChange"])), [[unref(vHasPermi), item.permi]])], 64);
|
|
1011
|
+
}), 256))]),
|
|
1012
|
+
_: 2
|
|
1013
|
+
}, 1024)) : createCommentVNode("", true)], true)]),
|
|
1014
|
+
_: 2
|
|
1015
|
+
}, [renderList(unref(extractSlotsWithPrefix)(_ctx.$slots, "table"), (item) => {
|
|
1016
|
+
return {
|
|
1017
|
+
name: item.filterName,
|
|
1018
|
+
fn: withCtx((slotProps) => [renderSlot(_ctx.$slots, item.originalName, normalizeProps(guardReactiveProps(slotProps)), void 0, true)])
|
|
1019
|
+
};
|
|
1020
|
+
})]), 1040, ["data", "selected-row-keys", "active-row-keys", "column-controller-visible", "display-columns", "expanded-row-keys", "filter-value", "sort", "expanded-tree-nodes"])]),
|
|
1021
|
+
_: 3
|
|
1022
|
+
}), (openBlock(true), createElementBlock(Fragment, null, renderList(dialogFormMap, (dialogForm, uid) => {
|
|
1023
|
+
return openBlock(), createBlock(unref(_sfc_main$1), {
|
|
1024
|
+
key: uid,
|
|
1025
|
+
config: {
|
|
1026
|
+
is: unref(_sfc_main$2),
|
|
1027
|
+
...dialogForm.form,
|
|
1028
|
+
vModelVisible: "self.visible",
|
|
1029
|
+
vModelData: "self.data",
|
|
1030
|
+
crudMode: dialogForm.crudMode
|
|
1031
|
+
},
|
|
1032
|
+
context: getConfigRendererCtx(dialogForm)
|
|
1033
|
+
}, null, 8, ["config", "context"]);
|
|
1034
|
+
}), 128))]);
|
|
1035
|
+
};
|
|
1036
|
+
}
|
|
1037
|
+
});
|
|
1038
|
+
export {
|
|
1039
|
+
_sfc_main as default
|
|
1040
|
+
};
|
|
1041
|
+
//# sourceMappingURL=table.vue2.mjs.map
|