hy-dispatch-ui-v3 0.2.28 → 0.2.30

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.
Files changed (52) hide show
  1. package/dist/tailwind.css +4 -0
  2. package/es/components/hyDatePicker/datePicker.vue.mjs +14 -2
  3. package/es/components/hyForm/cpns/arrayItem.vue.mjs +6 -1
  4. package/es/components/hyForm/cpns/extraItem.vue.mjs +6 -1
  5. package/es/components/hyForm/cpns/formItem.vue.mjs +4 -0
  6. package/es/components/hyForm/form.vue.mjs +6 -3
  7. package/es/components/hyInput/input.vue.mjs +14 -2
  8. package/es/components/hyTable/cpns/virtualTable.vue.mjs +329 -245
  9. package/es/components/hyTable/js/index.mjs +11 -2
  10. package/es/components/hyTable/js/search.mjs +1 -0
  11. package/es/components/hyTable/table.vue.mjs +17 -7
  12. package/es/components/hyTimePicker/timePicker.vue.mjs +14 -2
  13. package/es/hooks/useAudioPlayerConfig.mjs +2 -2
  14. package/es/hooks/usePermissionMap.mjs +2 -2
  15. package/es/hooks/useTooltipConfig.mjs +2 -2
  16. package/es/hooks/useUserAvatarMap.mjs +2 -2
  17. package/es/hooks/useVideoPlayerConfig.mjs +2 -2
  18. package/es/static/hy-svg-icons/hy-icon-Miscellaneous-graffiti-angular-position.js +17 -0
  19. package/es/static/hy-svg-icons/hy-icon-Miscellaneous-h264.js +8 -0
  20. package/es/static/hy-svg-icons/hy-icon-Miscellaneous-h265.js +8 -0
  21. package/es/static/hy-svg-icons/hy-icon-dispatch-linear-ArrowDownBold.js +8 -0
  22. package/es/static/hy-svg-icons/hy-icon-dispatch-linear-ArrowUpBold.js +8 -0
  23. package/es/static/hy-svg-icons/hy-icon-map-marker-v3-lawenforce-screen-mark.js +29 -0
  24. package/es/utils/is.mjs +1 -1
  25. package/es/version.mjs +1 -1
  26. package/lib/components/hyDatePicker/datePicker.vue.js +13 -1
  27. package/lib/components/hyForm/cpns/arrayItem.vue.js +6 -1
  28. package/lib/components/hyForm/cpns/extraItem.vue.js +6 -1
  29. package/lib/components/hyForm/cpns/formItem.vue.js +4 -0
  30. package/lib/components/hyForm/form.vue.js +6 -3
  31. package/lib/components/hyInput/input.vue.js +13 -1
  32. package/lib/components/hyTable/cpns/virtualTable.vue.js +326 -242
  33. package/lib/components/hyTable/js/index.js +11 -2
  34. package/lib/components/hyTable/js/search.js +1 -0
  35. package/lib/components/hyTable/table.vue.js +17 -7
  36. package/lib/components/hyTimePicker/timePicker.vue.js +13 -1
  37. package/lib/hooks/useAudioPlayerConfig.js +1 -1
  38. package/lib/hooks/usePermissionMap.js +1 -1
  39. package/lib/hooks/useTooltipConfig.js +1 -1
  40. package/lib/hooks/useUserAvatarMap.js +1 -1
  41. package/lib/hooks/useVideoPlayerConfig.js +1 -1
  42. package/lib/static/hy-svg-icons/hy-icon-Miscellaneous-graffiti-angular-position.js +17 -0
  43. package/lib/static/hy-svg-icons/hy-icon-Miscellaneous-h264.js +8 -0
  44. package/lib/static/hy-svg-icons/hy-icon-Miscellaneous-h265.js +8 -0
  45. package/lib/static/hy-svg-icons/hy-icon-dispatch-linear-ArrowDownBold.js +8 -0
  46. package/lib/static/hy-svg-icons/hy-icon-dispatch-linear-ArrowUpBold.js +8 -0
  47. package/lib/static/hy-svg-icons/hy-icon-map-marker-v3-lawenforce-screen-mark.js +29 -0
  48. package/lib/utils/is.js +1 -1
  49. package/lib/version.js +1 -1
  50. package/package.json +1 -1
  51. package/es/static/hy-svg-icons/hy-icon-dispatch-linear-/345/220/221/344/270/213.js +0 -9
  52. package/lib/static/hy-svg-icons/hy-icon-dispatch-linear-/345/220/221/344/270/213.js +0 -9
@@ -2,8 +2,12 @@ import { ref, computed, watchEffect, unref, nextTick } from 'vue';
2
2
  import { ElLoading } from 'element-plus';
3
3
  import { isString, isBoolean, isFunction, isPermission, isArray, isNumber } from '../../../utils/is.mjs';
4
4
  import { useLocale } from '../../../hooks/useLocale.mjs';
5
+ import { usePermissionMap } from '../../../hooks/usePermissionMap.mjs';
5
6
 
6
7
  function tableColumnShowHandler(column) {
8
+ if (column.permission && !isPermission(column.permission)) {
9
+ return false;
10
+ }
7
11
  const show = unref(column.show);
8
12
  if (isBoolean(show)) return show;
9
13
  if (isFunction(show)) return show(column);
@@ -72,8 +76,8 @@ function tableColumnHandler(columns, cacheKey, searchArr) {
72
76
  );
73
77
  }
74
78
  function operatorShowHandler(operator, scope) {
75
- if (operator.permission) {
76
- return isPermission(operator.permission);
79
+ if (operator.permission && !isPermission(operator.permission)) {
80
+ return false;
77
81
  }
78
82
  const show = unref(operator.show);
79
83
  if (isBoolean(show)) return show;
@@ -145,12 +149,16 @@ const useAppTableWrapper = (hy) => {
145
149
  tableDropdownRef,
146
150
  operatorDropdownRef
147
151
  } = hy;
152
+ const { permissionMap } = usePermissionMap();
148
153
  const { t } = useLocale();
149
154
  const CACHE_COLUMNS_KEY = props.controller || props.url || "CACHE_COLUMNS_KEY";
150
155
  const loading = ref(true);
151
156
  const tableDataSource = ref([]);
152
157
  const tableColumns = ref([]);
153
158
  const tableColumnsEditablele = ref({});
159
+ const tableColumnsList = computed(() => {
160
+ return tableColumns.value.filter((column) => tableColumnShowHandler(column));
161
+ });
154
162
  const searchPlaceholder = ref("");
155
163
  function getRowKey(row = {}) {
156
164
  if (isString(props.rowKey)) return row[props.rowKey];
@@ -326,6 +334,7 @@ const useAppTableWrapper = (hy) => {
326
334
  tableDataSource,
327
335
  tableColumns,
328
336
  tableColumnsEditablele,
337
+ tableColumnsList,
329
338
  searchPlaceholder,
330
339
  doLayout,
331
340
  showAppTableLoading,
@@ -40,6 +40,7 @@ function useAppTableSearch(hy) {
40
40
  closeAppTableLoading();
41
41
  });
42
42
  } else {
43
+ emits("search-data");
43
44
  closeAppTableLoading();
44
45
  reject();
45
46
  }
@@ -139,6 +139,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
139
139
  type: String,
140
140
  default: ""
141
141
  },
142
+ showOperate: {
143
+ // 是否显示操作栏
144
+ type: Boolean,
145
+ default: true
146
+ },
142
147
  // 分页配置
143
148
  layout: {
144
149
  type: String,
@@ -174,7 +179,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
174
179
  "row-click",
175
180
  "select-all",
176
181
  "on-select-checkbox",
177
- "reqSuccess"
182
+ "reqSuccess",
183
+ "search-data"
178
184
  ],
179
185
  setup(__props, { expose: __expose, emit: __emit }) {
180
186
  const props = __props;
@@ -191,6 +197,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
191
197
  tableDataSource,
192
198
  tableColumns,
193
199
  tableColumnsEditablele,
200
+ tableColumnsList,
194
201
  searchPlaceholder,
195
202
  onTableColumnsSelectHandler,
196
203
  // 表格行操作配置
@@ -254,7 +261,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
254
261
  },
255
262
  [
256
263
  createCommentVNode(" \u64CD\u4F5C\u680F "),
257
- createElementVNode("div", { class: "min-h-[36px] flex flex-row-reverse items-center justify-between gap-3 mb-4" }, [
264
+ __props.showOperate ? (openBlock(), createElementBlock("div", {
265
+ key: 0,
266
+ class: "min-h-[36px] flex flex-row-reverse items-center justify-between gap-3 mb-4"
267
+ }, [
258
268
  createElementVNode("div", { class: "flex gap-3 whitespace-nowrap" }, [
259
269
  __props.showEditable ? (openBlock(), createBlock(_sfc_main$1, {
260
270
  key: 0,
@@ -342,7 +352,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
342
352
  default: withCtx(() => [
343
353
  createVNode(unref(HyIcon), {
344
354
  class: "w-[12px] h-[12px]",
345
- "svg-name": "refres"
355
+ "svg-name": "ops-button-icon-refres-v2"
346
356
  })
347
357
  ]),
348
358
  _: 1
@@ -356,10 +366,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
356
366
  }, [
357
367
  renderSlot(_ctx.$slots, "operator-left-box")
358
368
  ])) : createCommentVNode("v-if", true)
359
- ]),
369
+ ])) : createCommentVNode("v-if", true),
360
370
  createCommentVNode(" \u67E5\u8BE2\u8FC7\u6EE4 "),
361
371
  __props.filterColumns.length > 0 ? (openBlock(), createBlock(unref(HySearch), {
362
- key: 0,
372
+ key: 1,
363
373
  ref_key: "appSearchRef",
364
374
  ref: appSearchRef,
365
375
  model: __props.filterModel,
@@ -417,7 +427,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
417
427
  (openBlock(true), createElementBlock(
418
428
  Fragment,
419
429
  null,
420
- renderList(unref(tableColumns), (column) => {
430
+ renderList(unref(tableColumnsList), (column) => {
421
431
  return openBlock(), createElementBlock(
422
432
  Fragment,
423
433
  {
@@ -651,7 +661,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
651
661
  height,
652
662
  "row-key": __props.rowKey,
653
663
  data: unref(tableDataSource),
654
- columns: unref(tableColumns),
664
+ columns: unref(tableColumnsList),
655
665
  "columns-editable": unref(tableColumnsEditablele),
656
666
  "show-header": __props.showHeader,
657
667
  "row-class-name": unref(setTableRowClassName),
@@ -1,4 +1,4 @@
1
- import { useTemplateRef, useModel, computed, watch, unref, openBlock, createBlock, mergeProps, mergeModels, defineComponent } from 'vue';
1
+ import { useTemplateRef, useModel, computed, watch, unref, openBlock, createBlock, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, mergeModels, defineComponent } from 'vue';
2
2
  import dayjs from 'dayjs';
3
3
  import { ElTimePicker } from 'element-plus';
4
4
  import { useLocale } from '../../hooks/useLocale.mjs';
@@ -146,7 +146,19 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
146
146
  "range-separator": unref(t)("timePicker.to"),
147
147
  "end-placeholder": endPlaceholder.value,
148
148
  onChange: onChangeHandler
149
- }), null, 16, ["modelValue", "onUpdate:modelValue", "isRange", "format", "valueFormat", "disabledSeconds", "start-placeholder", "range-separator", "end-placeholder"]);
149
+ }), createSlots({
150
+ _: 2
151
+ /* DYNAMIC */
152
+ }, [
153
+ renderList(_ctx.$slots, (_, slotName) => {
154
+ return {
155
+ name: slotName,
156
+ fn: withCtx((scope) => [
157
+ renderSlot(_ctx.$slots, slotName, normalizeProps(guardReactiveProps(scope)))
158
+ ])
159
+ };
160
+ })
161
+ ]), 1040, ["modelValue", "onUpdate:modelValue", "isRange", "format", "valueFormat", "disabledSeconds", "start-placeholder", "range-separator", "end-placeholder"]);
150
162
  };
151
163
  }
152
164
  });
@@ -1,11 +1,11 @@
1
- import { inject, ref, unref } from 'vue';
1
+ import { inject, ref, unref, computed } from 'vue';
2
2
  import { useGlobalConfig } from './useGlobalConfig.mjs';
3
3
 
4
4
  const localAudioPlayerConfigKey = /* @__PURE__ */ Symbol("useAudioPlayerConfig");
5
5
  const useAudioPlayerConfig = () => {
6
6
  const audioPlayerConfig = inject(localAudioPlayerConfigKey, ref());
7
7
  return {
8
- audioPlayerConfig: unref(audioPlayerConfig) ? audioPlayerConfig : unref(useGlobalConfig()).audioPlayer || ref(/* @__PURE__ */ new Map())
8
+ audioPlayerConfig: unref(audioPlayerConfig) ? audioPlayerConfig : computed(() => unref(useGlobalConfig()).audioPlayer || {})
9
9
  };
10
10
  };
11
11
 
@@ -1,11 +1,11 @@
1
- import { inject, ref, unref } from 'vue';
1
+ import { inject, ref, unref, computed } from 'vue';
2
2
  import { useGlobalConfig } from './useGlobalConfig.mjs';
3
3
 
4
4
  const localPermissionMapKey = /* @__PURE__ */ Symbol("permissionMap");
5
5
  const usePermissionMap = () => {
6
6
  const permissionMap = inject(localPermissionMapKey, ref());
7
7
  return {
8
- permissionMap: unref(permissionMap) ? permissionMap : unref(useGlobalConfig()).permissionMap || ref(/* @__PURE__ */ new Map())
8
+ permissionMap: unref(permissionMap) ? permissionMap : computed(() => unref(useGlobalConfig()).permissionMap || /* @__PURE__ */ new Map())
9
9
  };
10
10
  };
11
11
 
@@ -1,11 +1,11 @@
1
- import { inject, ref, unref } from 'vue';
1
+ import { inject, ref, unref, computed } from 'vue';
2
2
  import { useGlobalConfig } from './useGlobalConfig.mjs';
3
3
 
4
4
  const localTooltipConfigKey = /* @__PURE__ */ Symbol("useTooltipConfig");
5
5
  const useTooltipConfig = () => {
6
6
  const tooltipConfig = inject(localTooltipConfigKey, ref());
7
7
  return {
8
- tooltipConfig: unref(tooltipConfig) ? tooltipConfig : unref(useGlobalConfig()).tooltip || ref(/* @__PURE__ */ new Map())
8
+ tooltipConfig: unref(tooltipConfig) ? tooltipConfig : computed(() => unref(useGlobalConfig()).tooltip || {})
9
9
  };
10
10
  };
11
11
 
@@ -1,11 +1,11 @@
1
- import { inject, ref, unref } from 'vue';
1
+ import { inject, ref, unref, computed } from 'vue';
2
2
  import { useGlobalConfig } from './useGlobalConfig.mjs';
3
3
 
4
4
  const localUserAvatarMapKey = /* @__PURE__ */ Symbol("userAvatarMap");
5
5
  const useUserAvatarMap = () => {
6
6
  const userAvatarMap = inject(localUserAvatarMapKey, ref());
7
7
  return {
8
- userAvatarMap: unref(userAvatarMap) ? userAvatarMap : unref(useGlobalConfig()).userAvatarMap || ref(/* @__PURE__ */ new Map())
8
+ userAvatarMap: unref(userAvatarMap) ? userAvatarMap : computed(() => unref(useGlobalConfig()).userAvatarMap || /* @__PURE__ */ new Map())
9
9
  };
10
10
  };
11
11
 
@@ -1,11 +1,11 @@
1
- import { inject, ref, unref } from 'vue';
1
+ import { inject, ref, unref, computed } from 'vue';
2
2
  import { useGlobalConfig } from './useGlobalConfig.mjs';
3
3
 
4
4
  const localVideoPlayerConfigKey = /* @__PURE__ */ Symbol("useVideoPlayerConfig");
5
5
  const useVideoPlayerConfig = () => {
6
6
  const videoPlayerConfig = inject(localVideoPlayerConfigKey, ref());
7
7
  return {
8
- videoPlayerConfig: unref(videoPlayerConfig) ? videoPlayerConfig : unref(useGlobalConfig()).videoPlayer || ref(/* @__PURE__ */ new Map())
8
+ videoPlayerConfig: unref(videoPlayerConfig) ? videoPlayerConfig : computed(() => unref(useGlobalConfig()).videoPlayer || {})
9
9
  };
10
10
  };
11
11
 
@@ -0,0 +1,17 @@
1
+ export default {
2
+ id: 'hy-icon-Miscellaneous-graffiti-angular-position',
3
+ defs: `<radialGradient cx="16.2732184%" cy="15.0678403%" fx="16.2732184%" fy="15.0678403%" r="100%" gradientTransform="translate(0.162732,0.150678),scale(0.999876,1.000000),rotate(90.000000),translate(-0.162732,-0.150678)" id="hy-icon-Miscellaneous-graffiti-angular-position-radialGradient-1">
4
+ <stop stop-color="#2DF2FF" offset="0%"></stop>
5
+ <stop stop-color="#11232A" stop-opacity="0" offset="100%"></stop>
6
+ </radialGradient>`,
7
+ symbol: `<symbol id="hy-icon-Miscellaneous-graffiti-angular-position" viewBox="0 0 36 37">
8
+ <g id="hy-icon-Miscellaneous-graffiti-angular-position-页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
9
+ <g id="hy-icon-Miscellaneous-graffiti-angular-position-数据中心-3迭" transform="translate(-654.000000, -854.000000)">
10
+ <g id="hy-icon-Miscellaneous-graffiti-angular-position-angularPosition" transform="translate(655.000000, 855.000000)">
11
+ <path d="M0,0 C4.17842556,0 10.5583317,0 19.1397183,0 L34.0844201,15.0721633 L34.0844201,35.3633052" id="hy-icon-Miscellaneous-graffiti-angular-position-路径" stroke="#2DF2FF"></path>
12
+ <polyline id="hy-icon-Miscellaneous-graffiti-angular-position-路径-7备份-32" stroke="url(#hy-icon-Miscellaneous-graffiti-angular-position-radialGradient-1)" stroke-width="2" stroke-linecap="round" transform="translate(13.586099, 20.500000) scale(-1, 1) translate(-13.586099, -20.500000) " points="0.084421 34 0.084421 15.5357771 8.71685585 7 27.0877779 7"></polyline>
13
+ </g>
14
+ </g>
15
+ </g>
16
+ </symbol>`,
17
+ };
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-Miscellaneous-h264',
3
+ symbol: `<symbol id="hy-icon-Miscellaneous-h264" viewBox="0 0 160 160">
4
+ <g id="hy-icon-Miscellaneous-h264-报表[采集站报表][采集站数据统计]" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M160,0 L160,160 L0,160 L0,0 L160,0 Z M109.618717,110.741195 L103.693144,110.741195 L97.5528947,119.800295 C95.6070466,122.65285 94.2095383,125.185658 93.3636533,127.398874 C92.5146413,129.614749 92.0929496,131.907707 92.0929496,134.277905 C92.0929496,136.592909 92.5723366,138.624284 93.5315795,140.374218 C94.490666,142.124309 95.8382968,143.47194 97.5747845,144.417267 C99.3112722,145.362594 101.306529,145.836665 103.563681,145.836665 C105.738278,145.836665 107.692413,145.362594 109.428588,144.417267 C111.164919,143.47194 112.523964,142.168401 113.513071,140.501023 C114.499832,138.836146 114.996106,136.959251 114.995793,134.870493 C114.995793,132.753748 114.549397,130.871381 113.661922,129.22042 C112.771788,127.569771 111.531574,126.277021 109.93565,125.345454 C108.340039,124.413886 106.529126,123.948102 104.495249,123.948102 C102.634928,123.948102 100.95379,124.457978 99.4598102,125.472258 C100.193119,124.005953 101.110771,122.539961 102.210422,121.070842 L109.618717,110.741195 Z M137.387542,110.474765 L132.446068,110.474765 L120.092384,134.534763 L120.092384,138.961803 L134.55437,138.961803 L134.55437,145.698603 L139.11573,145.698603 L139.11573,138.961803 L143.296977,138.961803 L143.296977,134.534763 L139.11573,134.534763 L139.11573,124.718284 L134.55437,124.718284 L134.55437,134.534763 L125.033858,134.534763 L137.387542,110.474765 Z M55.6465655,139.147607 C54.6846645,139.147607 53.9102342,139.437021 53.3176456,140.015851 C52.7250571,140.59468 52.427512,141.377397 52.427512,142.364002 C52.427512,143.350607 52.7250571,144.136139 53.3176456,144.714968 C53.9103905,145.290827 54.6848209,145.580241 55.6465655,145.580241 C56.6058084,145.580241 57.3747663,145.290983 57.9534392,144.714968 C58.529454,144.136139 58.821683,143.350764 58.821683,142.364002 C58.821683,141.377241 58.529454,140.594523 57.9534392,140.015851 C57.3747663,139.437021 56.6058084,139.147607 55.6465655,139.147607 Z M24.4449808,110.741039 L18.8998219,110.741039 L18.8998219,145.285354 L24.4449808,145.285354 L24.4449808,129.537197 L40.6589225,129.537197 L40.6589225,145.285354 L46.2042378,145.285354 L46.2042378,110.741039 L40.6589225,110.741039 L40.6589225,124.838235 L24.4449808,124.838235 L24.4449808,110.741039 Z M75.7082674,110.189572 C72.9165343,110.189572 70.5874581,110.804206 68.7243222,112.033476 C66.8613427,113.259931 65.549361,115.045827 64.78869,117.38835 L68.7243222,119.714455 C69.2315405,118.080224 70.0639788,116.815149 71.2214809,115.927674 C72.378983,115.03754 73.8176129,114.593802 75.5401849,114.593802 C77.4033208,114.593802 78.8779125,115.145113 79.9636473,116.244763 C81.0495384,117.34457 81.5925622,118.827136 81.5925622,120.690272 C81.5925622,121.988494 81.2975187,123.201034 80.7050865,124.331017 C80.1123417,125.458186 79.1091627,126.728733 77.6982079,128.139845 L64.4054619,141.685887 L64.4054619,145.285354 L87.0964432,145.285354 L87.0964432,140.881124 L71.8581618,140.881124 L80.7906132,131.653785 C82.9622391,129.424151 84.5276735,127.511451 85.4895745,125.918498 C86.4488174,124.32273 86.9282043,122.567011 86.9282043,120.646023 C86.9282043,118.642323 86.4542899,116.845482 85.5088063,115.249715 C84.5636354,113.656762 83.2380508,112.413577 81.5290817,111.523443 C79.8230834,110.635968 77.8828641,110.189572 75.7082674,110.189572 Z M103.563681,128.352176 C105.484825,128.352176 107.01461,128.939136 108.158197,130.107895 C109.30194,131.279157 109.872326,132.866637 109.872326,134.870337 C109.872326,136.846362 109.285366,138.433842 108.116919,139.632779 C106.945501,140.83453 105.426817,141.432434 103.563681,141.432434 C101.673027,141.432434 100.14887,140.83453 98.9941826,139.632779 C97.8365241,138.433842 97.2578513,136.846362 97.2578513,134.870337 C97.2578513,132.866637 97.8283936,131.279157 98.9722928,130.107895 C100.115879,128.939136 101.645508,128.352176 103.563681,128.352176 Z M154.355555,5.64444492 L5.64585212,5.64444492 L5.64585212,92.9561901 L154.355555,92.9561901 L154.355555,5.64444492 Z M94.3970089,22.5333746 L98.6992955,55.1762472 L102.243569,22.5333746 L114.367555,22.5333746 L103.673912,79.5288218 L93.8045767,79.5288218 L82.2207998,22.5333746 L94.3970089,22.5333746 Z M133.957688,22.0815063 C135.942156,22.0815063 137.890819,22.4426883 139.803519,23.1564526 L139.803519,30.3414713 C138.576908,29.9250958 137.402832,29.712921 136.286608,29.712921 C134.084493,29.712921 132.210412,30.5921097 130.658737,32.3504872 C127.98818,35.4014582 126.654308,41.1148561 126.654308,49.4877099 C126.654308,58.3208754 127.547256,64.18844 129.333152,67.0907167 C131.11639,69.9956514 133.489402,71.4452261 136.449531,71.4452261 C137.568413,71.4452261 138.687295,71.2136632 139.803519,70.753508 L139.803519,78.313468 C138.290308,79.1235475 136.42983,79.5288218 134.230529,79.5288218 C128.167051,79.5288218 123.325024,76.9711533 119.700696,71.8614453 C116.07371,66.7487665 114.259983,59.605182 114.259983,50.4247503 C114.259983,40.1556131 116.927726,32.3973939 122.271967,27.147122 C125.733372,23.7710873 129.628039,22.0815063 133.957688,22.0815063 Z M36.3816528,22.5333746 L36.3816528,47.8589514 L42.444975,47.8589514 L42.444975,22.5333746 L54.3484995,22.5333746 L54.3484995,79.0766407 L42.444975,79.0766407 L42.444975,55.2120527 L36.3816528,55.2120527 L36.3816528,79.0766407 L24.4753139,79.0766407 L24.4753139,22.5333746 L36.3816528,22.5333746 Z M80.5421638,22.5333746 L80.5421638,30.0271961 L72.1555506,30.0271961 L72.1555506,47.8589514 L80.5421638,47.8589514 L80.5421638,55.2120527 L72.1555506,55.2120527 L72.1555506,71.6545866 L80.5421638,71.6545866 L80.5421638,79.0766407 L60.2492116,79.0766407 L60.2492116,22.5333746 L80.5421638,22.5333746 Z" id="hy-icon-Miscellaneous-h264-H.264" fill-rule="nonzero"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-Miscellaneous-h265',
3
+ symbol: `<symbol id="hy-icon-Miscellaneous-h265" viewBox="0 0 160 160">
4
+ <g id="hy-icon-Miscellaneous-h265-报表[采集站报表][采集站数据统计]" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M160,0 L160,160 L0,160 L0,0 L160,0 Z M109.618717,110.741195 L103.693144,110.741195 L97.5528947,119.800295 C95.6070466,122.65285 94.2095383,125.185658 93.3636533,127.398874 C92.5146413,129.614749 92.0929496,131.907707 92.0929496,134.277905 C92.0929496,136.592909 92.5723366,138.624284 93.5315795,140.374218 C94.490666,142.124309 95.8382968,143.47194 97.5747845,144.417267 C99.3112722,145.362594 101.306529,145.836665 103.563681,145.836665 C105.738278,145.836665 107.692413,145.362594 109.428588,144.417267 C111.164919,143.47194 112.523964,142.168401 113.513071,140.501023 C114.499832,138.836146 114.996106,136.959251 114.995793,134.870493 C114.995793,132.753748 114.549397,130.871381 113.661922,129.22042 C112.771788,127.569771 111.531574,126.277021 109.93565,125.345454 C108.340039,124.413886 106.529126,123.948102 104.495249,123.948102 C102.634928,123.948102 100.95379,124.457978 99.4598102,125.472258 C100.193119,124.005953 101.110771,122.539961 102.210422,121.070842 L109.618717,110.741195 Z M141.45448,110.741039 L123.757504,110.741039 L121.811968,129.790962 L126.086736,130.893427 C126.538605,130.102423 127.208433,129.468556 128.098567,128.986199 C128.986042,128.506655 130.066461,128.266806 131.336852,128.266806 C133.22735,128.266806 134.779025,128.867681 135.991721,130.066617 C137.204417,131.265397 137.813579,132.839119 137.813579,134.787625 C137.813579,136.763806 137.204417,138.365202 135.991721,139.591501 C134.779025,140.8178 133.213591,141.432434 131.29276,141.432434 C129.600208,141.432434 128.161578,141.010899 126.976714,140.161887 C125.791537,139.315846 124.956284,138.144428 124.476897,136.647946 L120.541108,138.976866 C121.161372,141.010899 122.423476,142.66186 124.330861,143.929593 C126.235118,145.20014 128.555751,145.836665 131.292603,145.836665 C133.549756,145.836665 135.570186,145.362594 137.347795,144.417267 C139.125404,143.47194 140.500554,142.168401 141.473556,140.501023 C142.449372,138.836146 142.934232,136.931888 142.934232,134.787781 C142.934232,132.726386 142.482364,130.863094 141.581129,129.19853 C140.677236,127.53381 139.414819,126.230115 137.791689,125.282129 C136.168403,124.336802 134.313398,123.865546 132.224328,123.865546 C130.504726,123.865546 128.853765,124.386367 127.271601,125.43098 L128.33013,115.186704 L141.45448,115.186704 L141.45448,110.741039 Z M55.6465655,139.147607 C54.6846645,139.147607 53.9102342,139.437021 53.3176456,140.015851 C52.7250571,140.59468 52.427512,141.377397 52.427512,142.364002 C52.427512,143.350607 52.7250571,144.136139 53.3176456,144.714968 C53.9103905,145.290827 54.6848209,145.580241 55.6465655,145.580241 C56.6058084,145.580241 57.3747663,145.290983 57.9534392,144.714968 C58.529454,144.136139 58.821683,143.350764 58.821683,142.364002 C58.821683,141.377241 58.529454,140.594523 57.9534392,140.015851 C57.3747663,139.437021 56.6058084,139.147607 55.6465655,139.147607 Z M24.4449808,110.741039 L18.8998219,110.741039 L18.8998219,145.285354 L24.4449808,145.285354 L24.4449808,129.537197 L40.6589225,129.537197 L40.6589225,145.285354 L46.2042378,145.285354 L46.2042378,110.741039 L40.6589225,110.741039 L40.6589225,124.838235 L24.4449808,124.838235 L24.4449808,110.741039 Z M75.7082674,110.189572 C72.9165343,110.189572 70.5874581,110.804206 68.7243222,112.033476 C66.8613427,113.259931 65.549361,115.045827 64.78869,117.38835 L68.7243222,119.714455 C69.2315405,118.080224 70.0639788,116.815149 71.2214809,115.927674 C72.378983,115.03754 73.8176129,114.593802 75.5401849,114.593802 C77.4033208,114.593802 78.8779125,115.145113 79.9636473,116.244763 C81.0495384,117.34457 81.5925622,118.827136 81.5925622,120.690272 C81.5925622,121.988494 81.2975187,123.201034 80.7050865,124.331017 C80.1123417,125.458186 79.1091627,126.728733 77.6982079,128.139845 L64.4054619,141.685887 L64.4054619,145.285354 L87.0964432,145.285354 L87.0964432,140.881124 L71.8581618,140.881124 L80.7906132,131.653785 C82.9622391,129.424151 84.5276735,127.511451 85.4895745,125.918498 C86.4488174,124.32273 86.9282043,122.567011 86.9282043,120.646023 C86.9282043,118.642323 86.4542899,116.845482 85.5088063,115.249715 C84.5636354,113.656762 83.2380508,112.413577 81.5290817,111.523443 C79.8230834,110.635968 77.8828641,110.189572 75.7082674,110.189572 Z M103.563681,128.352176 C105.484825,128.352176 107.01461,128.939136 108.158197,130.107895 C109.30194,131.279157 109.872326,132.866637 109.872326,134.870337 C109.872326,136.846362 109.285366,138.433842 108.116919,139.632779 C106.945501,140.83453 105.426817,141.432434 103.563681,141.432434 C101.673027,141.432434 100.14887,140.83453 98.9941826,139.632779 C97.8365241,138.433842 97.2578513,136.846362 97.2578513,134.870337 C97.2578513,132.866637 97.8283936,131.279157 98.9722928,130.107895 C100.115879,128.939136 101.645508,128.352176 103.563681,128.352176 Z M154.355555,5.64444492 L5.64585212,5.64444492 L5.64585212,92.9561901 L154.355555,92.9561901 L154.355555,5.64444492 Z M94.3970089,22.5333746 L98.6992955,55.1762472 L102.243569,22.5333746 L114.367555,22.5333746 L103.673912,79.5288218 L93.8045767,79.5288218 L82.2207998,22.5333746 L94.3970089,22.5333746 Z M133.957688,22.0815063 C135.942156,22.0815063 137.890819,22.4426883 139.803519,23.1564526 L139.803519,30.3414713 C138.576908,29.9250958 137.402832,29.712921 136.286608,29.712921 C134.084493,29.712921 132.210412,30.5921097 130.658737,32.3504872 C127.98818,35.4014582 126.654308,41.1148561 126.654308,49.4877099 C126.654308,58.3208754 127.547256,64.18844 129.333152,67.0907167 C131.11639,69.9956514 133.489402,71.4452261 136.449531,71.4452261 C137.568413,71.4452261 138.687295,71.2136632 139.803519,70.753508 L139.803519,78.313468 C138.290308,79.1235475 136.42983,79.5288218 134.230529,79.5288218 C128.167051,79.5288218 123.325024,76.9711533 119.700696,71.8614453 C116.07371,66.7487665 114.259983,59.605182 114.259983,50.4247503 C114.259983,40.1556131 116.927726,32.3973939 122.271967,27.147122 C125.733372,23.7710873 129.628039,22.0815063 133.957688,22.0815063 Z M36.3816528,22.5333746 L36.3816528,47.8589514 L42.444975,47.8589514 L42.444975,22.5333746 L54.3484995,22.5333746 L54.3484995,79.0766407 L42.444975,79.0766407 L42.444975,55.2120527 L36.3816528,55.2120527 L36.3816528,79.0766407 L24.4753139,79.0766407 L24.4753139,22.5333746 L36.3816528,22.5333746 Z M80.5421638,22.5333746 L80.5421638,30.0271961 L72.1555506,30.0271961 L72.1555506,47.8589514 L80.5421638,47.8589514 L80.5421638,55.2120527 L72.1555506,55.2120527 L72.1555506,71.6545866 L80.5421638,71.6545866 L80.5421638,79.0766407 L60.2492116,79.0766407 L60.2492116,22.5333746 L80.5421638,22.5333746 Z" id="hy-icon-Miscellaneous-h265-H.265" fill-rule="nonzero"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-dispatch-linear-ArrowDownBold',
3
+ symbol: `<symbol id="hy-icon-dispatch-linear-ArrowDownBold" viewBox="0 0 12 12">
4
+ <g id="hy-icon-dispatch-linear-ArrowDownBold-下拉箭头" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <path d="M0.22922078,3.2165734 C0.534848487,2.92780887 1.0303689,2.92780887 1.33599661,3.2165734 L5.81553736,7.44895316 C5.91741326,7.54520801 6.08258674,7.54520801 6.18446264,7.44895316 L10.6640034,3.2165734 C10.9696311,2.92780887 11.4651515,2.92780887 11.7707792,3.2165734 C12.0764069,3.50533794 12.0764069,3.97351776 11.7707792,4.2622823 L7.29123847,8.49466206 C6.57810715,9.16844598 5.42189285,9.16844598 4.70876153,8.49466206 L0.22922078,4.2622823 C-0.0764069266,3.97351776 -0.0764069266,3.50533794 0.22922078,3.2165734 Z" id="hy-icon-dispatch-linear-ArrowDownBold-路径-5" fill="#FFFFFF" fill-rule="nonzero"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-dispatch-linear-ArrowUpBold',
3
+ symbol: `<symbol id="hy-icon-dispatch-linear-ArrowUpBold" viewBox="0 0 12 12">
4
+ <g id="hy-icon-dispatch-linear-ArrowUpBold-上拉箭头" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <path d="M0.22922078,3.2165734 C0.534848487,2.92780887 1.0303689,2.92780887 1.33599661,3.2165734 L5.81553736,7.44895316 C5.91741326,7.54520801 6.08258674,7.54520801 6.18446264,7.44895316 L10.6640034,3.2165734 C10.9696311,2.92780887 11.4651515,2.92780887 11.7707792,3.2165734 C12.0764069,3.50533794 12.0764069,3.97351776 11.7707792,4.2622823 L7.29123847,8.49466206 C6.57810715,9.16844598 5.42189285,9.16844598 4.70876153,8.49466206 L0.22922078,4.2622823 C-0.0764069266,3.97351776 -0.0764069266,3.50533794 0.22922078,3.2165734 Z" id="hy-icon-dispatch-linear-ArrowUpBold-路径-5" fill="#FFFFFF" fill-rule="nonzero" transform="translate(6, 6) scale(1, -1) translate(-6, -6)"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -0,0 +1,29 @@
1
+ export default {
2
+ id: 'hy-icon-map-marker-v3-lawenforce-screen-mark',
3
+ defs: `<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="hy-icon-map-marker-v3-lawenforce-screen-mark-linearGradient-1">
4
+ <stop stop-color="#FF0505" offset="0%"></stop>
5
+ <stop stop-color="#FF8484" offset="100%"></stop>
6
+ </linearGradient>
7
+ <radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="108.602576%" gradientTransform="translate(0.5, 0.5), scale(0.4306, 1), scale(1, 0.4854), translate(-0.5, -0.5)" id="hy-icon-map-marker-v3-lawenforce-screen-mark-radialGradient-2">
8
+ <stop stop-color="#FF4D4D" stop-opacity="0.456785402" offset="0%"></stop>
9
+ <stop stop-color="#FF4D4D" stop-opacity="0" offset="100%"></stop>
10
+ </radialGradient>`,
11
+ symbol: `<symbol id="hy-icon-map-marker-v3-lawenforce-screen-mark" viewBox="0 0 72 98">
12
+ <g id="hy-icon-map-marker-v3-lawenforce-screen-mark-Mark_01" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
13
+ <ellipse id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-48" fill="#FF8888" cx="36" cy="78.0636926" rx="5" ry="2.5"></ellipse>
14
+ <ellipse id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-49" fill="#FF4D4D" opacity="0.407459077" cx="57" cy="91.0636926" rx="3" ry="1.5"></ellipse>
15
+ <ellipse id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-50" fill="#FF4D4D" opacity="0.407459077" cx="15" cy="68.0636926" rx="3" ry="1.5"></ellipse>
16
+ <ellipse id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-51" fill="#FF4D4D" opacity="0.407459077" cx="15" cy="91.0636926" rx="3" ry="1.5"></ellipse>
17
+ <ellipse id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-52" fill="#FF4D4D" opacity="0.407459077" cx="36" cy="96.0636926" rx="3" ry="1.5"></ellipse>
18
+ <ellipse id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-53" fill="#FF4D4D" opacity="0.407459077" transform="translate(57, 68.0637) scale(-1, 1) translate(-57, -68.0637)" cx="57" cy="68.0636926" rx="3" ry="1.5"></ellipse>
19
+ <ellipse id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-54" fill="#FF4D4D" opacity="0.407459077" transform="translate(64, 79.0637) scale(-1, 1) translate(-64, -79.0637)" cx="64" cy="79.0636926" rx="3" ry="1.5"></ellipse>
20
+ <ellipse id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-55" fill="#FF4D4D" opacity="0.407459077" transform="translate(8, 79.0637) scale(-1, 1) translate(-8, -79.0637)" cx="8" cy="79.0636926" rx="3" ry="1.5"></ellipse>
21
+ <path d="M36,72.5636926 C43.1797017,72.5636926 49,75.2499841 49,78.5636926 C49,81.8774011 43.1797017,84.5636926 36,84.5636926 C28.8202983,84.5636926 23,81.8774011 23,78.5636926 C23,75.2499841 28.8202983,72.5636926 36,72.5636926 Z M36,74.5636926 C29.7948854,74.5636926 25,76.7767166 25,78.5636926 C25,80.3506686 29.7948854,82.5636926 36,82.5636926 C42.2051146,82.5636926 47,80.3506686 47,78.5636926 C47,76.7767166 42.2051146,74.5636926 36,74.5636926 Z" id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-56" fill="#FF4D4D" fill-rule="nonzero"></path>
22
+ <path d="M36,69.5636926 C45.3888407,69.5636926 53,73.5931299 53,78.5636926 C53,83.5342553 45.3888407,87.5636926 36,87.5636926 C26.6111593,87.5636926 19,83.5342553 19,78.5636926 C19,73.5931299 26.6111593,69.5636926 36,69.5636926 Z M36,70.5636926 C27.0904754,70.5636926 20,74.3174737 20,78.5636926 C20,82.8099115 27.0904754,86.5636926 36,86.5636926 C44.9095246,86.5636926 52,82.8099115 52,78.5636926 C52,74.3174737 44.9095246,70.5636926 36,70.5636926 Z" id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-57" fill="#FF4D4D" fill-rule="nonzero"></path>
23
+ <polygon id="hy-icon-map-marker-v3-lawenforce-screen-mark-路径-33备份-4" fill="url(#hy-icon-map-marker-v3-lawenforce-screen-mark-linearGradient-1)" fill-rule="nonzero" points="37 78.0636926 37 0 35 0 35 78.0636926"></polygon>
24
+ <path d="M35.9523762,63.274499 C36.2272631,63.2481971 36.4714249,63.4497151 36.4977268,63.724602 C37.1779365,70.8336239 38.6527848,75.5011345 40.8687883,77.7095319 C41.0643858,77.9044581 41.06493,78.2210401 40.8700038,78.4166377 C40.6750777,78.6122352 40.3584956,78.6127794 40.1628981,78.4178533 C37.7385609,76.0018372 36.2028472,71.1417033 35.5022732,63.8198496 C35.4759713,63.5449626 35.6774893,63.3008009 35.9523762,63.274499 Z" id="hy-icon-map-marker-v3-lawenforce-screen-mark-路径-34备份-8" fill="#FF8484" fill-rule="nonzero"></path>
25
+ <path d="M31.4433932,63.2744706 C31.7182958,63.248333 31.9623371,63.4499969 31.9884747,63.7248995 C32.6643871,70.8338239 34.1370697,75.5012278 36.3529796,77.7095319 C36.5485771,77.9044581 36.5491213,78.2210401 36.3541952,78.4166377 C36.159269,78.6122352 35.8426869,78.6127794 35.6470894,78.4178533 C33.2226586,76.0017439 31.6891312,71.1415032 30.9929643,63.8195521 C30.9668267,63.5446495 31.1684906,63.3006082 31.4433932,63.2744706 Z" id="hy-icon-map-marker-v3-lawenforce-screen-mark-路径-34备份-9" fill="#FF8484" fill-rule="nonzero" transform="translate(33.7454, 70.9179) scale(-1, 1) translate(-33.7454, -70.9179)"></path>
26
+ <ellipse id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-47" fill="url(#hy-icon-map-marker-v3-lawenforce-screen-mark-radialGradient-2)" cx="36" cy="79.5" rx="36" ry="15.5"></ellipse>
27
+ </g>
28
+ </symbol>`,
29
+ };
package/es/utils/is.mjs CHANGED
@@ -44,7 +44,7 @@ function isPermission(permission) {
44
44
  if (!permission) {
45
45
  return true;
46
46
  }
47
- return permissionMap.has(permission);
47
+ return permissionMap.value.has(permission);
48
48
  }
49
49
 
50
50
  export { isArray, isBoolean, isEmpty, isFile, isFunction, isNull, isNumber, isObject, isOverflowing, isPermission, isString, isSupportH265, isSymbol, isUndefined, isVueProxy };
package/es/version.mjs CHANGED
@@ -1,3 +1,3 @@
1
- const version = "0.2.27";
1
+ const version = "0.2.29";
2
2
 
3
3
  export { version };
@@ -148,7 +148,19 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
148
148
  "range-separator": vue.unref(t)("datePicker.to"),
149
149
  "end-placeholder": endPlaceholder.value,
150
150
  onChange: onChangeHandler
151
- }), null, 16, ["modelValue", "onUpdate:modelValue", "type", "format", "valueFormat", "start-placeholder", "range-separator", "end-placeholder"]);
151
+ }), vue.createSlots({
152
+ _: 2
153
+ /* DYNAMIC */
154
+ }, [
155
+ vue.renderList(_ctx.$slots, (_, slotName) => {
156
+ return {
157
+ name: slotName,
158
+ fn: vue.withCtx((scope) => [
159
+ vue.renderSlot(_ctx.$slots, slotName, vue.normalizeProps(vue.guardReactiveProps(scope)))
160
+ ])
161
+ };
162
+ })
163
+ ]), 1040, ["modelValue", "onUpdate:modelValue", "type", "format", "valueFormat", "start-placeholder", "range-separator", "end-placeholder"]);
152
164
  };
153
165
  }
154
166
  });
@@ -25,6 +25,10 @@ const _sfc_main = {
25
25
  type: Object,
26
26
  default: () => ({})
27
27
  },
28
+ rules: {
29
+ type: Object,
30
+ default: () => ({})
31
+ },
28
32
  columnNum: {
29
33
  type: Number,
30
34
  default: 1
@@ -244,6 +248,7 @@ const _sfc_main = {
244
248
  key: cindex,
245
249
  model: item,
246
250
  column: citem,
251
+ rules: __props.rules,
247
252
  "parent-prop": __props.column.field,
248
253
  index: index$1,
249
254
  loading: __props.loading,
@@ -260,7 +265,7 @@ const _sfc_main = {
260
265
  ])
261
266
  };
262
267
  })
263
- ]), 1032, ["model", "column", "parent-prop", "index", "loading", "readonly"]);
268
+ ]), 1032, ["model", "column", "rules", "parent-prop", "index", "loading", "readonly"]);
264
269
  }),
265
270
  128
266
271
  /* KEYED_FRAGMENT */
@@ -20,6 +20,10 @@ const _sfc_main = {
20
20
  type: Object,
21
21
  default: () => ({})
22
22
  },
23
+ rules: {
24
+ type: Object,
25
+ default: () => ({})
26
+ },
23
27
  columnNum: {
24
28
  type: Number,
25
29
  default: 1
@@ -109,6 +113,7 @@ const _sfc_main = {
109
113
  key: index,
110
114
  model: __props.model,
111
115
  column: item,
116
+ rules: __props.rules,
112
117
  loading: __props.loading,
113
118
  readonly: __props.readonly
114
119
  }, vue.createSlots({
@@ -123,7 +128,7 @@ const _sfc_main = {
123
128
  ])
124
129
  };
125
130
  })
126
- ]), 1032, ["model", "column", "loading", "readonly"]);
131
+ ]), 1032, ["model", "column", "rules", "loading", "readonly"]);
127
132
  }),
128
133
  128
129
134
  /* KEYED_FRAGMENT */
@@ -26,6 +26,10 @@ const _sfc_main = {
26
26
  type: Object,
27
27
  default: () => ({})
28
28
  },
29
+ rules: {
30
+ type: Object,
31
+ default: () => ({})
32
+ },
29
33
  parentProp: {
30
34
  type: String
31
35
  },
@@ -169,6 +169,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
169
169
  key: 0,
170
170
  model: __props.model,
171
171
  column,
172
+ rules: __props.rules,
172
173
  columnNum: __props.columnNum,
173
174
  loading: __props.loading,
174
175
  readonly: __props.readonly,
@@ -185,7 +186,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
185
186
  ])
186
187
  };
187
188
  })
188
- ]), 1032, ["model", "column", "columnNum", "loading", "readonly", "style"])) : vue.createCommentVNode("v-if", true)
189
+ ]), 1032, ["model", "column", "rules", "columnNum", "loading", "readonly", "style"])) : vue.createCommentVNode("v-if", true)
189
190
  ],
190
191
  64
191
192
  /* STABLE_FRAGMENT */
@@ -198,6 +199,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
198
199
  key: 0,
199
200
  model: __props.model,
200
201
  column,
202
+ rules: __props.rules,
201
203
  columnNum: __props.columnNum,
202
204
  loading: __props.loading,
203
205
  readonly: __props.readonly,
@@ -215,7 +217,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
215
217
  ])
216
218
  };
217
219
  })
218
- ]), 1032, ["model", "column", "columnNum", "loading", "readonly", "size", "style"])) : vue.createCommentVNode("v-if", true)
220
+ ]), 1032, ["model", "column", "rules", "columnNum", "loading", "readonly", "size", "style"])) : vue.createCommentVNode("v-if", true)
219
221
  ],
220
222
  64
221
223
  /* STABLE_FRAGMENT */
@@ -227,6 +229,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
227
229
  vue.createVNode(formItem.default, {
228
230
  model: __props.model,
229
231
  column,
232
+ rules: __props.rules,
230
233
  loading: __props.loading,
231
234
  readonly: __props.readonly
232
235
  }, vue.createSlots({
@@ -241,7 +244,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
241
244
  ])
242
245
  };
243
246
  })
244
- ]), 1032, ["model", "column", "loading", "readonly"])
247
+ ]), 1032, ["model", "column", "rules", "loading", "readonly"])
245
248
  ],
246
249
  64
247
250
  /* STABLE_FRAGMENT */
@@ -97,7 +97,19 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
97
97
  modelValue: bindValue.value,
98
98
  "onUpdate:modelValue": ($event) => bindValue.value = $event,
99
99
  type: __props.type
100
- }, _ctx.$attrs, { onBlur: onBlurHandler }), null, 16, ["modelValue", "onUpdate:modelValue", "type"]);
100
+ }, _ctx.$attrs, { onBlur: onBlurHandler }), vue.createSlots({
101
+ _: 2
102
+ /* DYNAMIC */
103
+ }, [
104
+ vue.renderList(_ctx.$slots, (_, slotName) => {
105
+ return {
106
+ name: slotName,
107
+ fn: vue.withCtx((scope) => [
108
+ vue.renderSlot(_ctx.$slots, slotName, vue.normalizeProps(vue.guardReactiveProps(scope)))
109
+ ])
110
+ };
111
+ })
112
+ ]), 1040, ["modelValue", "onUpdate:modelValue", "type"]);
101
113
  };
102
114
  }
103
115
  });