@das-fed/ui 1.1.4 → 6.3.0-beta.0

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 (152) hide show
  1. package/global/icons/index.local.js +1 -1
  2. package/global/style/index.css +1 -1
  3. package/global/style/scrollbar.css +22 -22
  4. package/global/theme/index.js +12 -12
  5. package/global/theme/module/color.js +31 -31
  6. package/global/theme/module/fontSize.js +5 -5
  7. package/global/theme/module/scrollbar.js +6 -6
  8. package/package.json +13 -7
  9. package/packages/business-components/app-container/index.js +154 -147
  10. package/packages/business-components/change-enterprises/index.css +1 -0
  11. package/packages/business-components/change-enterprises/index.js +241 -0
  12. package/packages/business-components/change-pwd/index.css +1 -0
  13. package/packages/business-components/change-pwd/index.js +330 -0
  14. package/packages/business-components/currency-page/index.css +1 -0
  15. package/packages/business-components/currency-page/index.js +99 -0
  16. package/packages/business-components/device-panel/index.css +1 -0
  17. package/packages/business-components/device-panel/index.js +115939 -0
  18. package/packages/business-components/echarts/index.js +93 -122
  19. package/packages/business-components/export-button/index.js +73 -66
  20. package/packages/business-components/import-button/index.js +213 -170
  21. package/packages/business-components/index.js +8 -1
  22. package/packages/business-components/layout-breadcrumb/index.js +82 -66
  23. package/packages/business-components/model-table-dialog/index.js +299 -289
  24. package/packages/business-components/process-configuration/index.css +1 -0
  25. package/packages/business-components/process-configuration/index.js +612 -0
  26. package/packages/business-components/process-form/index.css +1 -0
  27. package/packages/business-components/process-form/index.js +524 -0
  28. package/packages/business-components/process-search-form/index.js +73 -315
  29. package/packages/business-components/process-table/index.css +1 -1
  30. package/packages/business-components/process-table/index.js +186 -152
  31. package/packages/business-components/urgent-panel/index.css +1 -0
  32. package/packages/business-components/urgent-panel/index.js +3914 -0
  33. package/packages/business-components/user-org-dialog/index.js +466 -375
  34. package/packages/business-components/video-dialog/index.css +1 -0
  35. package/packages/business-components/video-dialog/index.js +1041 -0
  36. package/packages/business.js +1 -2
  37. package/packages/components/alert/index.js +449 -633
  38. package/packages/components/audio-video/index.css +1 -1
  39. package/packages/components/audio-video/index.js +312 -126
  40. package/packages/components/autocomplete/index.css +1 -1
  41. package/packages/components/autocomplete/index.js +312 -2923
  42. package/packages/components/breadcrumb/index.js +97 -82
  43. package/packages/components/button/index.css +1 -1
  44. package/packages/components/button/index.js +646 -787
  45. package/packages/components/calendar/index.css +1 -1
  46. package/packages/components/calendar/index.js +655 -3879
  47. package/packages/components/cascader/index.js +209 -203
  48. package/packages/components/checkbox/index.css +1 -1
  49. package/packages/components/checkbox/index.js +710 -872
  50. package/packages/components/collapse-panel/index.css +1 -1
  51. package/packages/components/collapse-panel/index.js +419 -601
  52. package/packages/components/collapse-transition/index.js +23 -21
  53. package/packages/components/collaspe/index.css +1 -1
  54. package/packages/components/collaspe/index.js +413 -595
  55. package/packages/components/color-picker/index.css +1 -1
  56. package/packages/components/color-picker/index.js +176 -133
  57. package/packages/components/custom-search-item/index.js +43 -37
  58. package/packages/components/date-picker/index.js +1338 -1459
  59. package/packages/components/dialog/index.js +441 -241
  60. package/packages/components/dimple-layout/index.css +1 -1
  61. package/packages/components/dimple-layout/index.js +1298 -1794
  62. package/packages/components/drawer/index.js +116 -101
  63. package/packages/components/dropdown/index.js +129 -109
  64. package/packages/components/edit-table/index.css +1 -1
  65. package/packages/components/edit-table/index.js +868 -752
  66. package/packages/components/empty/index.js +83 -78
  67. package/packages/components/form/index.js +22 -15
  68. package/packages/components/form-item/index.css +1 -1
  69. package/packages/components/form-item/index.js +601 -440
  70. package/packages/components/icon/index.css +1 -1
  71. package/packages/components/icon/index.js +38 -22
  72. package/packages/components/image-preview/index.css +1 -0
  73. package/packages/components/image-preview/index.js +2714 -0
  74. package/packages/components/image-upload/index.js +601 -765
  75. package/packages/components/image-viewer/index.css +1 -1
  76. package/packages/components/image-viewer/index.js +909 -990
  77. package/packages/components/index.js +2 -2
  78. package/packages/components/input/index.css +1 -1
  79. package/packages/components/input/index.js +284 -256
  80. package/packages/components/input-dialog-select/index.css +1 -1
  81. package/packages/components/input-dialog-select/index.js +179 -156
  82. package/packages/components/input-number/index.css +1 -1
  83. package/packages/components/input-number/index.js +157 -170
  84. package/packages/components/live-player/index.css +1 -0
  85. package/packages/components/live-player/index.js +170 -0
  86. package/packages/components/loading/index.js +17 -26
  87. package/packages/components/map/index.css +1 -1
  88. package/packages/components/map/index.js +18913 -461
  89. package/packages/components/menu-aside/index.css +1 -1
  90. package/packages/components/menu-aside/index.js +648 -713
  91. package/packages/components/menu-header/index.js +446 -629
  92. package/packages/components/message/index.js +25 -16
  93. package/packages/components/notification/index.js +386 -575
  94. package/packages/components/overlay/index.js +112 -103
  95. package/packages/components/pagination/index.js +260 -330
  96. package/packages/components/popover/index.js +104 -93
  97. package/packages/components/popup-mask/index.css +1 -1
  98. package/packages/components/popup-mask/index.js +77 -72
  99. package/packages/components/preview/index.js +33 -28
  100. package/packages/components/progress/index.js +214 -221
  101. package/packages/components/radio/index.css +1 -1
  102. package/packages/components/radio/index.js +699 -862
  103. package/packages/components/radio-tabs/index.js +144 -107
  104. package/packages/components/rich-editor/index.css +1 -1
  105. package/packages/components/rich-editor/index.js +105 -106
  106. package/packages/components/scrollbar/index.css +3 -2
  107. package/packages/components/scrollbar/index.js +2262 -1201
  108. package/packages/components/search/index.js +500 -664
  109. package/packages/components/search-form/index.css +1 -1
  110. package/packages/components/search-form/index.js +724 -626
  111. package/packages/components/select/index.css +1 -1
  112. package/packages/components/select/index.js +1052 -950
  113. package/packages/components/select-input/index.js +63 -53
  114. package/packages/components/select-list/index.css +1 -1
  115. package/packages/components/select-list/index.js +258 -235
  116. package/packages/components/special-range-picker-month/index.css +1 -1
  117. package/packages/components/special-range-picker-month/index.js +3068 -72555
  118. package/packages/components/special-range-picker-year/index.css +1 -1
  119. package/packages/components/special-range-picker-year/index.js +345 -339
  120. package/packages/components/spin/index.js +415 -594
  121. package/packages/components/split-panel/index.css +1 -1
  122. package/packages/components/split-panel/index.js +146 -127
  123. package/packages/components/step/index.js +414 -597
  124. package/packages/components/steps/index.js +407 -590
  125. package/packages/components/switch/index.js +23 -23
  126. package/packages/components/table/index.css +1 -1
  127. package/packages/components/table/index.js +80813 -27734
  128. package/packages/components/tabs/index.css +1 -1
  129. package/packages/components/tabs/index.js +620 -813
  130. package/packages/components/tag/index.js +63 -63
  131. package/packages/components/text-tooltip/index.css +9 -0
  132. package/packages/components/text-tooltip/index.js +2739 -33
  133. package/packages/components/time-line/index.js +464 -643
  134. package/packages/components/tooltip/index.css +1 -1
  135. package/packages/components/tooltip/index.js +108 -79
  136. package/packages/components/tree/index.css +1 -1
  137. package/packages/components/tree/index.js +840 -809
  138. package/packages/components/tree-select/index.js +271 -303
  139. package/packages/components/tree-table/index.js +461 -352
  140. package/packages/components/upload/index.js +682 -858
  141. package/packages/components/virtual-tree/index.css +1 -1
  142. package/packages/components/virtual-tree/index.js +144 -126
  143. package/packages/index.d.ts +1 -0
  144. package/packages/index.js +2 -2
  145. package/style/business.css +11 -4
  146. package/style/index.css +55 -45
  147. package/packages/business-components/low-code/index.css +0 -1
  148. package/packages/business-components/low-code/index.js +0 -60
  149. package/packages/components/audio-video-player/index.css +0 -1
  150. package/packages/components/audio-video-player/index.js +0 -83
  151. package/packages/components/table-column/index.css +0 -1
  152. package/packages/components/table-column/index.js +0 -82021
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createElementBlock, createElementVNode, warn, computed, getCurrentInstance as getCurrentInstance$1, inject, ref as ref$1, unref as unref$1, isRef, shallowRef, watch as watch$1, mergeProps, renderSlot, onMounted as onMounted$1, toRef, onUnmounted, useAttrs as useAttrs$1, useSlots, nextTick as nextTick$1, withDirectives, createCommentVNode, Fragment, normalizeClass, createBlock, withCtx, resolveDynamicComponent, withModifiers, createVNode, toDisplayString, normalizeStyle, vShow, reactive, onUpdated, withKeys, useCssVars, onBeforeUnmount, Teleport } from 'vue';
1
+ import { defineComponent, openBlock, createElementBlock, createElementVNode, warn, computed, getCurrentInstance as getCurrentInstance$1, inject, ref as ref$1, unref as unref$1, isRef, shallowRef, watch as watch$1, mergeProps, renderSlot, onMounted as onMounted$1, toRef, onUnmounted, useAttrs as useAttrs$1, useSlots, nextTick as nextTick$1, withDirectives, createCommentVNode, Fragment, normalizeClass, createBlock, withCtx, resolveDynamicComponent, withModifiers, createVNode, toDisplayString, normalizeStyle, vShow, reactive, onUpdated, withKeys, mergeModels, useCssVars, useModel, onBeforeUnmount, Teleport } from 'vue';
2
2
  import { withInstall as withInstall$1 } from '@das-fed/utils';
3
3
  import { getVarValue, setThemeRule } from '@das-fed/web';
4
4
  import { getCurrentScope, onScopeDispose, unref, getCurrentInstance, onMounted, nextTick, watch, ref } from 'vue-demi';
@@ -197,11 +197,13 @@ __spreadValues({
197
197
  const isFirefox = () => isClient && /firefox/i.test(window.navigator.userAgent);
198
198
 
199
199
  /**
200
- * @vue/shared v3.4.21
200
+ * @vue/shared v3.4.30
201
201
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
202
202
  * @license MIT
203
203
  **/
204
204
 
205
+
206
+
205
207
  !!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
206
208
  !!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
207
209
  const NOOP = () => {
@@ -1613,15 +1615,10 @@ const ValidateComponentsMap = {
1613
1615
 
1614
1616
  const withInstall = (main, extra) => {
1615
1617
  main.install = (app) => {
1616
- for (const comp of [main, ...Object.values(extra != null ? extra : {})]) {
1618
+ for (const comp of [main, ...Object.values({})]) {
1617
1619
  app.component(comp.name, comp);
1618
1620
  }
1619
1621
  };
1620
- if (extra) {
1621
- for (const [key, comp] of Object.entries(extra)) {
1622
- main[key] = comp;
1623
- }
1624
- }
1625
1622
  return main;
1626
1623
  };
1627
1624
 
@@ -1832,7 +1829,7 @@ const buildLocaleContext = (locale) => {
1832
1829
  };
1833
1830
  const localeContextKey = Symbol("localeContextKey");
1834
1831
  const useLocale = (localeOverrides) => {
1835
- const locale = localeOverrides || inject(localeContextKey, ref$1());
1832
+ const locale = inject(localeContextKey, ref$1());
1836
1833
  return buildLocaleContext(computed(() => locale.value || English));
1837
1834
  };
1838
1835
 
@@ -1853,14 +1850,14 @@ const _bem = (namespace, block, blockSuffix, element, modifier) => {
1853
1850
  };
1854
1851
  const namespaceContextKey = Symbol("namespaceContextKey");
1855
1852
  const useGetDerivedNamespace = (namespaceOverrides) => {
1856
- const derivedNamespace = namespaceOverrides || (getCurrentInstance$1() ? inject(namespaceContextKey, ref$1(defaultNamespace)) : ref$1(defaultNamespace));
1853
+ const derivedNamespace = (getCurrentInstance$1() ? inject(namespaceContextKey, ref$1(defaultNamespace)) : ref$1(defaultNamespace));
1857
1854
  const namespace = computed(() => {
1858
1855
  return unref$1(derivedNamespace) || defaultNamespace;
1859
1856
  });
1860
1857
  return namespace;
1861
1858
  };
1862
1859
  const useNamespace = (block, namespaceOverrides) => {
1863
- const namespace = useGetDerivedNamespace(namespaceOverrides);
1860
+ const namespace = useGetDerivedNamespace();
1864
1861
  const b = (blockSuffix = "") => _bem(namespace.value, block, blockSuffix, "", "");
1865
1862
  const e = (element) => element ? _bem(namespace.value, block, "", element, "") : "";
1866
1863
  const m = (modifier) => modifier ? _bem(namespace.value, block, "", "", modifier) : "";
@@ -3160,17 +3157,13 @@ var InputNumber$1 = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["__file", "/hom
3160
3157
 
3161
3158
  const ElInputNumber = withInstall(InputNumber$1);
3162
3159
 
3163
- const _hoisted_1 = {
3164
- key: 0,
3165
- class: "das-input-number-error-label-content"
3166
- };
3167
3160
  const __default__ = {
3168
3161
  inheritAttrs: false
3169
3162
  };
3170
3163
  var _sfc_main = /* @__PURE__ */ defineComponent({
3171
3164
  ...__default__,
3172
3165
  __name: "App",
3173
- props: {
3166
+ props: /* @__PURE__ */ mergeModels({
3174
3167
  modelValue: { type: Number, required: false, default: 0 },
3175
3168
  placeholder: { type: String, required: false },
3176
3169
  size: { type: String, required: false, default: "default" },
@@ -3185,8 +3178,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
3185
3178
  teleported: { type: Boolean, required: false, default: true },
3186
3179
  errorModelZIndex: { type: Number, required: false, default: 2e3 },
3187
3180
  noSetDefaultVal: { type: Boolean, required: false }
3188
- },
3189
- emits: ["update:modelValue", "change"],
3181
+ }, {
3182
+ "modelValue": { type: Number, default: 0 },
3183
+ "modelModifiers": {}
3184
+ }),
3185
+ emits: /* @__PURE__ */ mergeModels(["update:modelValue", "input", "change"], ["update:modelValue"]),
3190
3186
  setup(__props, { expose: __expose, emit: __emit }) {
3191
3187
  useCssVars((_ctx) => ({
3192
3188
  "3ace2e19-fontSize": fontSize.value,
@@ -3198,46 +3194,31 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
3198
3194
  const $inputNumber = ref$1(null);
3199
3195
  const $elInputNumber = ref$1(null);
3200
3196
  const isReadonly = computed(() => props.isView || props.disabled);
3197
+ const innerValue = useModel(__props, "modelValue");
3201
3198
  const innerPlaceholder = computed(() => {
3202
- if (!props.noSetDefaultVal && isReadonly.value)
3199
+ if (isReadonly.value) {
3200
+ if (props.noSetDefaultVal) return "";
3203
3201
  return "-";
3202
+ }
3204
3203
  return props.placeholder ?? "";
3205
3204
  });
3206
3205
  const width = computed(() => {
3207
- if (props.width)
3208
- return props.width;
3209
- if (!props.controlsPosition)
3210
- return "100px";
3211
- if (!props.baseLine)
3212
- return "80px";
3206
+ if (props.width) return props.width;
3207
+ if (!props.controlsPosition) return "100px";
3208
+ if (!props.baseLine) return "80px";
3213
3209
  return "230px";
3214
3210
  });
3215
3211
  const height = computed(() => {
3216
- if (props.size === "default")
3212
+ if (props.size === "default") {
3213
+ if (props.controlsPosition === "right" && props.baseLine) return "25px";
3217
3214
  return "28px";
3218
- if (props.size === "table")
3219
- return "30px";
3215
+ }
3216
+ if (props.size === "table") return "30px";
3220
3217
  });
3221
3218
  const fontSize = computed(() => {
3222
- if (props.size === "default")
3223
- return "14px";
3224
- if (props.size === "table")
3225
- return "12px";
3226
- });
3227
- const innerValue = computed({
3228
- get() {
3229
- return props.modelValue;
3230
- },
3231
- set(value) {
3232
- emit("update:modelValue", value);
3233
- }
3219
+ if (props.size === "default") return "14px";
3220
+ if (props.size === "table") return "12px";
3234
3221
  });
3235
- watch$1(
3236
- () => innerValue.value,
3237
- (newVal, oldVal) => {
3238
- emit("change", newVal, oldVal);
3239
- }
3240
- );
3241
3222
  const channelInputLimit = (event) => {
3242
3223
  const key = event.code;
3243
3224
  const notAllowList = ["KeyE", "Equal", "Minus"];
@@ -3248,28 +3229,34 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
3248
3229
  return true;
3249
3230
  };
3250
3231
  const onInput = (val) => {
3251
- if (!val && val !== 0)
3252
- innerValue.value = val;
3232
+ if (!val && val !== 0) innerValue.value = val;
3233
+ emit("input", val);
3234
+ };
3235
+ const onChange = (val, preVal) => {
3236
+ emit("change", val, preVal);
3237
+ };
3238
+ const preValue = ref$1(innerValue.value);
3239
+ const onBlur = () => {
3240
+ if (preValue.value === innerValue.value) return;
3241
+ emit("change", innerValue.value, preValue.value);
3242
+ preValue.value = innerValue.value;
3253
3243
  };
3254
3244
  const inputMouseEnter = () => {
3255
- if (!props.error)
3256
- $inputNumber.value.classList.add("input-inner-hover");
3245
+ if (!props.error) $inputNumber.value.classList.add("input-inner-hover");
3257
3246
  };
3258
3247
  const inputMouseLeave = () => {
3259
3248
  if ($inputNumber.value.classList.contains("input-inner-hover"))
3260
3249
  $inputNumber.value.classList.remove("input-inner-hover");
3261
3250
  };
3262
3251
  const decreaseBtnMouseEnter = () => {
3263
- if (!props.error)
3264
- $inputNumber.value.classList.add("decrease-btn-hover");
3252
+ if (!props.error) $inputNumber.value.classList.add("decrease-btn-hover");
3265
3253
  };
3266
3254
  const decreaseBtnMouseLeave = () => {
3267
3255
  if ($inputNumber.value.classList.contains("decrease-btn-hover"))
3268
3256
  $inputNumber.value.classList.remove("decrease-btn-hover");
3269
3257
  };
3270
3258
  const increaseBtnMouseEnter = () => {
3271
- if (!props.error)
3272
- $inputNumber.value.classList.add("increase-btn-hover");
3259
+ if (!props.error) $inputNumber.value.classList.add("increase-btn-hover");
3273
3260
  };
3274
3261
  const increaseBtnMouseLeave = () => {
3275
3262
  if ($inputNumber.value.classList.contains("increase-btn-hover"))
@@ -3331,8 +3318,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
3331
3318
  $elInputNumber.value?.$el.removeEventListener("mouseleave", errorModallInputMouseLeave);
3332
3319
  };
3333
3320
  const addEventSetHoverStyle = () => {
3334
- if (isReadonly.value)
3335
- return;
3321
+ if (isReadonly.value) return;
3336
3322
  nextTick$1(() => {
3337
3323
  const innerInput = $inputNumber.value?.querySelector(".el-input__inner");
3338
3324
  if (innerInput) {
@@ -3372,12 +3358,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
3372
3358
  () => isReadonly.value,
3373
3359
  (newVal) => {
3374
3360
  if (newVal) {
3375
- if (props.controlsPosition === "right")
3376
- return;
3361
+ if (props.controlsPosition === "right") return;
3377
3362
  removeEvent();
3378
3363
  } else {
3379
- if (props.controlsPosition === "right")
3380
- return;
3364
+ if (props.controlsPosition === "right") return;
3381
3365
  addEventSetHoverStyle();
3382
3366
  }
3383
3367
  }
@@ -3385,153 +3369,156 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
3385
3369
  watch$1(
3386
3370
  () => props.errorMode,
3387
3371
  (newVal) => {
3388
- if (newVal === "overlay")
3389
- addEventToInput();
3390
- if (newVal === "default")
3391
- removeEventToInput();
3372
+ if (newVal === "overlay") addEventToInput();
3373
+ if (newVal === "default") removeEventToInput();
3392
3374
  }
3393
3375
  );
3394
3376
  onMounted$1(() => {
3395
- if (props.errorMode === "overlay")
3396
- addEventToInput();
3397
- if (props.controlsPosition === "right")
3398
- return;
3377
+ if (props.errorMode === "overlay") addEventToInput();
3378
+ if (props.controlsPosition === "right") return;
3399
3379
  addEventSetHoverStyle();
3400
3380
  });
3401
3381
  onBeforeUnmount(() => {
3402
- if (props.errorMode === "overlay")
3403
- removeEventToInput();
3404
- if (props.controlsPosition === "right")
3405
- return;
3382
+ if (props.errorMode === "overlay") removeEventToInput();
3383
+ if (props.controlsPosition === "right") return;
3406
3384
  removeEvent();
3407
3385
  });
3408
3386
  __expose({
3409
3387
  $elInputNumber
3410
3388
  });
3411
- return (_ctx, _cache) => {
3412
- return openBlock(), createElementBlock(
3413
- "div",
3414
- {
3415
- ref_key: "$inputNumber",
3416
- ref: $inputNumber,
3417
- class: normalizeClass([
3418
- "das-ui-input-number",
3419
- _ctx.controlsPosition === "" ? "default" : _ctx.baseLine ? "base-line" : "controls-right",
3420
- _ctx.isView ? "is-view" : "",
3421
- _ctx.disabled ? "is-disabled" : "",
3422
- _ctx.noSetDefaultVal ? "nodefault" : ""
3423
- ])
3424
- },
3389
+ const __returned__ = { props, emit, $inputNumber, $elInputNumber, isReadonly, innerValue, innerPlaceholder, width, height, fontSize, channelInputLimit, onInput, onChange, preValue, onBlur, inputMouseEnter, inputMouseLeave, decreaseBtnMouseEnter, decreaseBtnMouseLeave, increaseBtnMouseEnter, increaseBtnMouseLeave, isHoverInInput, errorModelPosition, errorModelWidth, errorModalBaseSyle, errorModelStyle, errorLabelStyle, getErrorModalPosition, errorModalInputMouseEnter, errorModallInputMouseLeave, addEventToInput, removeEventToInput, addEventSetHoverStyle, removeEvent, get ElInputNumber() {
3390
+ return ElInputNumber;
3391
+ } };
3392
+ Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
3393
+ return __returned__;
3394
+ }
3395
+ });
3396
+
3397
+ var _export_sfc = (sfc, props) => {
3398
+ const target = sfc.__vccOpts || sfc;
3399
+ for (const [key, val] of props) {
3400
+ target[key] = val;
3401
+ }
3402
+ return target;
3403
+ };
3404
+
3405
+ const _hoisted_1 = {
3406
+ key: 0,
3407
+ class: "das-input-number-error-label-content"
3408
+ };
3409
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
3410
+ return openBlock(), createElementBlock(
3411
+ "div",
3412
+ {
3413
+ ref: "$inputNumber",
3414
+ class: normalizeClass([
3415
+ "das-ui-input-number",
3416
+ $props.controlsPosition === "" ? "default" : $props.baseLine ? "base-line" : "controls-right",
3417
+ $props.isView ? "is-view" : "",
3418
+ $props.disabled ? "is-disabled" : "",
3419
+ $props.noSetDefaultVal ? "nodefault" : ""
3420
+ ])
3421
+ },
3422
+ [
3423
+ createVNode($setup["ElInputNumber"], mergeProps({
3424
+ ref: "$elInputNumber",
3425
+ class: { "das-input-number-error": $props.error },
3426
+ modelValue: $setup.innerValue,
3427
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $setup.innerValue = $event),
3428
+ readonly: $setup.isReadonly,
3429
+ "controls-position": $props.controlsPosition,
3430
+ placeholder: $setup.innerPlaceholder
3431
+ }, _ctx.$attrs, {
3432
+ onKeydown: $setup.channelInputLimit,
3433
+ onInput: $setup.onInput,
3434
+ onBlur: $setup.onBlur,
3435
+ onChange: $setup.onChange
3436
+ }), null, 16, ["class", "modelValue", "readonly", "controls-position", "placeholder"]),
3437
+ $props.error && !!$props.errorLabel ? (openBlock(), createElementBlock(
3438
+ Fragment,
3439
+ { key: 0 },
3425
3440
  [
3426
- createVNode(unref$1(ElInputNumber), mergeProps({
3427
- ref_key: "$elInputNumber",
3428
- ref: $elInputNumber,
3429
- class: { "das-input-number-error": _ctx.error },
3430
- modelValue: innerValue.value,
3431
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerValue.value = $event),
3432
- readonly: isReadonly.value,
3433
- "controls-position": _ctx.controlsPosition,
3434
- placeholder: innerPlaceholder.value
3435
- }, _ctx.$attrs, {
3436
- onKeydown: channelInputLimit,
3437
- onInput
3438
- }), null, 16, ["class", "modelValue", "readonly", "controls-position", "placeholder"]),
3439
- _ctx.error && !!_ctx.errorLabel ? (openBlock(), createElementBlock(
3441
+ $props.errorMode === "default" ? (openBlock(), createElementBlock("div", _hoisted_1, [
3442
+ createElementVNode(
3443
+ "span",
3444
+ {
3445
+ style: normalizeStyle($setup.errorLabelStyle)
3446
+ },
3447
+ toDisplayString($props.errorLabel),
3448
+ 5
3449
+ /* TEXT, STYLE */
3450
+ )
3451
+ ])) : $setup.isHoverInInput ? (openBlock(), createElementBlock(
3440
3452
  Fragment,
3441
- { key: 0 },
3453
+ { key: 1 },
3442
3454
  [
3443
- _ctx.errorMode === "default" ? (openBlock(), createElementBlock("div", _hoisted_1, [
3455
+ $setup.isHoverInInput ? (openBlock(), createBlock(Teleport, {
3456
+ key: 0,
3457
+ to: "body"
3458
+ }, [
3444
3459
  createElementVNode(
3445
- "span",
3460
+ "div",
3446
3461
  {
3447
- style: normalizeStyle(errorLabelStyle.value)
3462
+ style: normalizeStyle($setup.errorModelStyle)
3448
3463
  },
3449
- toDisplayString(_ctx.errorLabel),
3450
- 5
3451
- /* TEXT, STYLE */
3452
- )
3453
- ])) : isHoverInInput.value ? (openBlock(), createElementBlock(
3454
- Fragment,
3455
- { key: 1 },
3456
- [
3457
- isHoverInInput.value ? (openBlock(), createBlock(Teleport, {
3458
- key: 0,
3459
- to: "body"
3460
- }, [
3464
+ [
3461
3465
  createElementVNode(
3462
- "div",
3466
+ "span",
3463
3467
  {
3464
- style: normalizeStyle(errorModelStyle.value)
3468
+ style: normalizeStyle($setup.errorLabelStyle)
3465
3469
  },
3466
- [
3467
- createElementVNode(
3468
- "span",
3469
- {
3470
- style: normalizeStyle(errorLabelStyle.value)
3471
- },
3472
- toDisplayString(_ctx.errorLabel),
3473
- 5
3474
- /* TEXT, STYLE */
3475
- )
3476
- ],
3477
- 4
3478
- /* STYLE */
3470
+ toDisplayString($props.errorLabel),
3471
+ 5
3472
+ /* TEXT, STYLE */
3479
3473
  )
3480
- ])) : (openBlock(), createElementBlock(
3481
- "div",
3474
+ ],
3475
+ 4
3476
+ /* STYLE */
3477
+ )
3478
+ ])) : (openBlock(), createElementBlock(
3479
+ "div",
3480
+ {
3481
+ key: 1,
3482
+ style: normalizeStyle($setup.errorModalBaseSyle),
3483
+ class: "das-input-number-overlay-error-label-content"
3484
+ },
3485
+ [
3486
+ createElementVNode(
3487
+ "span",
3482
3488
  {
3483
- key: 1,
3484
- style: normalizeStyle(errorModalBaseSyle.value),
3485
- class: "das-input-number-overlay-error-label-content"
3489
+ style: normalizeStyle($setup.errorLabelStyle)
3486
3490
  },
3487
- [
3488
- createElementVNode(
3489
- "span",
3490
- {
3491
- style: normalizeStyle(errorLabelStyle.value)
3492
- },
3493
- toDisplayString(_ctx.errorLabel),
3494
- 5
3495
- /* TEXT, STYLE */
3496
- )
3497
- ],
3498
- 4
3499
- /* STYLE */
3500
- ))
3491
+ toDisplayString($props.errorLabel),
3492
+ 5
3493
+ /* TEXT, STYLE */
3494
+ )
3501
3495
  ],
3502
- 64
3503
- /* STABLE_FRAGMENT */
3504
- )) : createCommentVNode("v-if", true)
3496
+ 4
3497
+ /* STYLE */
3498
+ ))
3505
3499
  ],
3506
3500
  64
3507
3501
  /* STABLE_FRAGMENT */
3508
3502
  )) : createCommentVNode("v-if", true)
3509
3503
  ],
3510
- 2
3511
- /* CLASS */
3512
- );
3513
- };
3514
- }
3515
- });
3516
-
3517
- var _export_sfc = (sfc, props) => {
3518
- const target = sfc.__vccOpts || sfc;
3519
- for (const [key, val] of props) {
3520
- target[key] = val;
3521
- }
3522
- return target;
3523
- };
3524
-
3525
- var InputNumber = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3ace2e19"], ["__file", "E:\\company-code\\v6r3\\framework-3\\packages\\das-ui\\packages\\components\\input-number\\src\\App.vue"]]);
3504
+ 64
3505
+ /* STABLE_FRAGMENT */
3506
+ )) : createCommentVNode("v-if", true)
3507
+ ],
3508
+ 2
3509
+ /* CLASS */
3510
+ );
3511
+ }
3512
+ var InputNumber = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-3ace2e19"], ["__file", "/Users/xiecp/das/das-fe/framework/packages/das-ui/packages/components/input-number/src/App.vue"]]);
3526
3513
 
3527
3514
  var theme = {
3528
3515
  "--das-ui-input-number-border-view-color": "#E5E5E5",
3516
+ "--das-ui-input-number-color": "#212121",
3529
3517
  "--das-ui-input-number-border-color": "#D9D9D9",
3530
3518
  "--das-ui-input-number-button-color": "#666666",
3531
3519
  "--das-ui-input-number-button-bg-color": "#ffffff",
3532
3520
  "--das-ui-input-number-active-color": "#5582F3",
3533
3521
  "--das-ui-input-number-disabled-color": "#B2B2B2",
3534
- "--das-ui-input-base-line-border-color": "#B2B2B2",
3535
3522
  "--das-ui-input-number-overlay-error-color": "#FB2323",
3536
3523
  "--das-ui-input-number-overlay-error-bg-color": "#FFDBE0"
3537
3524
  };
@@ -0,0 +1 @@
1
+ .das-live-player[data-v-6e50b2dc]{height:100%;min-height:10px;min-width:10px;position:relative;width:100%}.das-live-player[data-v-6e50b2dc] .video[data-v-6e50b2dc]{background:#000;height:100%;object-fit:fill;width:100%}.das-live-player[data-v-6e50b2dc] .error[data-v-6e50b2dc]{align-items:center;background:var(--6e50b2dc-loadingBackground);color:#409eff;cursor:pointer;display:flex;font-size:12px;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}