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
package/dist/tailwind.css CHANGED
@@ -996,6 +996,10 @@ video {
996
996
  width: 0.125rem;
997
997
  }
998
998
 
999
+ .w-3 {
1000
+ width: 0.75rem;
1001
+ }
1002
+
999
1003
  .w-4 {
1000
1004
  width: 1rem;
1001
1005
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent, useTemplateRef, useModel, computed, watch, unref, openBlock, createBlock, mergeProps, mergeModels } from 'vue';
1
+ import { defineComponent, useTemplateRef, useModel, computed, watch, unref, openBlock, createBlock, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, mergeModels } from 'vue';
2
2
  import { ElDatePicker } from 'element-plus';
3
3
  import { getDefaultValueFormatByType } from '../../utils/date.mjs';
4
4
  import { isArray } from '../../utils/is.mjs';
@@ -144,7 +144,19 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
144
144
  "range-separator": unref(t)("datePicker.to"),
145
145
  "end-placeholder": endPlaceholder.value,
146
146
  onChange: onChangeHandler
147
- }), null, 16, ["modelValue", "onUpdate:modelValue", "type", "format", "valueFormat", "start-placeholder", "range-separator", "end-placeholder"]);
147
+ }), createSlots({
148
+ _: 2
149
+ /* DYNAMIC */
150
+ }, [
151
+ renderList(_ctx.$slots, (_, slotName) => {
152
+ return {
153
+ name: slotName,
154
+ fn: withCtx((scope) => [
155
+ renderSlot(_ctx.$slots, slotName, normalizeProps(guardReactiveProps(scope)))
156
+ ])
157
+ };
158
+ })
159
+ ]), 1040, ["modelValue", "onUpdate:modelValue", "type", "format", "valueFormat", "start-placeholder", "range-separator", "end-placeholder"]);
148
160
  };
149
161
  }
150
162
  });
@@ -21,6 +21,10 @@ const _sfc_main = {
21
21
  type: Object,
22
22
  default: () => ({})
23
23
  },
24
+ rules: {
25
+ type: Object,
26
+ default: () => ({})
27
+ },
24
28
  columnNum: {
25
29
  type: Number,
26
30
  default: 1
@@ -240,6 +244,7 @@ const _sfc_main = {
240
244
  key: cindex,
241
245
  model: item,
242
246
  column: citem,
247
+ rules: __props.rules,
243
248
  "parent-prop": __props.column.field,
244
249
  index,
245
250
  loading: __props.loading,
@@ -256,7 +261,7 @@ const _sfc_main = {
256
261
  ])
257
262
  };
258
263
  })
259
- ]), 1032, ["model", "column", "parent-prop", "index", "loading", "readonly"]);
264
+ ]), 1032, ["model", "column", "rules", "parent-prop", "index", "loading", "readonly"]);
260
265
  }),
261
266
  128
262
267
  /* KEYED_FRAGMENT */
@@ -16,6 +16,10 @@ const _sfc_main = {
16
16
  type: Object,
17
17
  default: () => ({})
18
18
  },
19
+ rules: {
20
+ type: Object,
21
+ default: () => ({})
22
+ },
19
23
  columnNum: {
20
24
  type: Number,
21
25
  default: 1
@@ -105,6 +109,7 @@ const _sfc_main = {
105
109
  key: index,
106
110
  model: __props.model,
107
111
  column: item,
112
+ rules: __props.rules,
108
113
  loading: __props.loading,
109
114
  readonly: __props.readonly
110
115
  }, createSlots({
@@ -119,7 +124,7 @@ const _sfc_main = {
119
124
  ])
120
125
  };
121
126
  })
122
- ]), 1032, ["model", "column", "loading", "readonly"]);
127
+ ]), 1032, ["model", "column", "rules", "loading", "readonly"]);
123
128
  }),
124
129
  128
125
130
  /* KEYED_FRAGMENT */
@@ -22,6 +22,10 @@ const _sfc_main = {
22
22
  type: Object,
23
23
  default: () => ({})
24
24
  },
25
+ rules: {
26
+ type: Object,
27
+ default: () => ({})
28
+ },
25
29
  parentProp: {
26
30
  type: String
27
31
  },
@@ -165,6 +165,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
165
165
  key: 0,
166
166
  model: __props.model,
167
167
  column,
168
+ rules: __props.rules,
168
169
  columnNum: __props.columnNum,
169
170
  loading: __props.loading,
170
171
  readonly: __props.readonly,
@@ -181,7 +182,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
181
182
  ])
182
183
  };
183
184
  })
184
- ]), 1032, ["model", "column", "columnNum", "loading", "readonly", "style"])) : createCommentVNode("v-if", true)
185
+ ]), 1032, ["model", "column", "rules", "columnNum", "loading", "readonly", "style"])) : createCommentVNode("v-if", true)
185
186
  ],
186
187
  64
187
188
  /* STABLE_FRAGMENT */
@@ -194,6 +195,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
194
195
  key: 0,
195
196
  model: __props.model,
196
197
  column,
198
+ rules: __props.rules,
197
199
  columnNum: __props.columnNum,
198
200
  loading: __props.loading,
199
201
  readonly: __props.readonly,
@@ -211,7 +213,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
211
213
  ])
212
214
  };
213
215
  })
214
- ]), 1032, ["model", "column", "columnNum", "loading", "readonly", "size", "style"])) : createCommentVNode("v-if", true)
216
+ ]), 1032, ["model", "column", "rules", "columnNum", "loading", "readonly", "size", "style"])) : createCommentVNode("v-if", true)
215
217
  ],
216
218
  64
217
219
  /* STABLE_FRAGMENT */
@@ -223,6 +225,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
223
225
  createVNode(_sfc_main$3, {
224
226
  model: __props.model,
225
227
  column,
228
+ rules: __props.rules,
226
229
  loading: __props.loading,
227
230
  readonly: __props.readonly
228
231
  }, createSlots({
@@ -237,7 +240,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
237
240
  ])
238
241
  };
239
242
  })
240
- ]), 1032, ["model", "column", "loading", "readonly"])
243
+ ]), 1032, ["model", "column", "rules", "loading", "readonly"])
241
244
  ],
242
245
  64
243
246
  /* STABLE_FRAGMENT */
@@ -1,4 +1,4 @@
1
- import { useModel, useTemplateRef, computed, openBlock, createBlock, unref, mergeProps, mergeModels, defineComponent } from 'vue';
1
+ import { useModel, useTemplateRef, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, mergeModels, defineComponent } from 'vue';
2
2
  import { ElInput } from 'element-plus';
3
3
  import { clearSpace } from '../../utils/form.mjs';
4
4
 
@@ -93,7 +93,19 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
93
93
  modelValue: bindValue.value,
94
94
  "onUpdate:modelValue": ($event) => bindValue.value = $event,
95
95
  type: __props.type
96
- }, _ctx.$attrs, { onBlur: onBlurHandler }), null, 16, ["modelValue", "onUpdate:modelValue", "type"]);
96
+ }, _ctx.$attrs, { onBlur: onBlurHandler }), createSlots({
97
+ _: 2
98
+ /* DYNAMIC */
99
+ }, [
100
+ renderList(_ctx.$slots, (_, slotName) => {
101
+ return {
102
+ name: slotName,
103
+ fn: withCtx((scope) => [
104
+ renderSlot(_ctx.$slots, slotName, normalizeProps(guardReactiveProps(scope)))
105
+ ])
106
+ };
107
+ })
108
+ ]), 1040, ["modelValue", "onUpdate:modelValue", "type"]);
97
109
  };
98
110
  }
99
111
  });