@tagplus/components 5.3.6 → 5.3.8

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 (59) hide show
  1. package/dist/es/components.css +132 -132
  2. package/dist/es/node_modules/element-plus/es/hooks/use-focus-controller/index.mjs +13 -7
  3. package/dist/es/node_modules/element-plus/es/utils/dom/aria.mjs +27 -0
  4. package/dist/es/src/components/Autosuggest/Autosuggest.vue.mjs +264 -267
  5. package/dist/es/src/components/Autosuggest/Multisuggest.vue.mjs +5 -3
  6. package/dist/es/src/components/Autosuggest/core.mjs +4 -4
  7. package/dist/es/src/components/Autosuggest/option.vue.mjs +1 -1
  8. package/dist/es/src/components/Autosuggest/select-dropdown.vue.mjs +2 -3
  9. package/dist/es/src/components/Autosuggest/useOption.mjs +2 -2
  10. package/dist/es/src/components/Autosuggest/useSelect.mjs +26 -23
  11. package/dist/es/src/components/Inline/Inline.vue.mjs +2 -2
  12. package/dist/es/src/components/InputNumber/InputNumber.vue.mjs +12 -18
  13. package/dist/es/src/components/InputNumber/input-number.mjs +1 -1
  14. package/dist/es/src/components/Loader/Loader.vue.mjs +2 -2
  15. package/dist/es/src/components/Money/Money.vue.mjs +2 -2
  16. package/dist/es/src/components/OptionsList/OptionsList.vue.mjs +1 -1
  17. package/dist/es/src/components/OptionsListItem/OptionsListItem.vue.mjs +1 -1
  18. package/dist/es/src/components/Percent/Percent.vue.mjs +2 -2
  19. package/dist/es/src/components/Skeleton/Skeleton.vue.mjs +1 -1
  20. package/dist/es/src/components/Step/Step.vue.mjs +1 -1
  21. package/dist/es/src/components/Steps/Steps.vue.mjs +1 -1
  22. package/dist/es/src/components/Tip/Tip.vue.mjs +5 -3
  23. package/dist/es/src/locale/i18nCreator.mjs +1 -1
  24. package/dist/es/src/plugins/currency.mjs +4 -6
  25. package/dist/es/src/utils/runtime.mjs +3 -3
  26. package/dist/es/src/utils/use-form-common-props.mjs +3 -3
  27. package/dist/es/src/utils/use-form-item.mjs +5 -6
  28. package/dist/es/src/utils/use-id.mjs +1 -1
  29. package/dist/es/src/utils/use-input.mjs +2 -2
  30. package/dist/lib/components.css +132 -132
  31. package/dist/lib/node_modules/element-plus/es/hooks/use-focus-controller/index.js +12 -6
  32. package/dist/lib/node_modules/element-plus/es/utils/dom/aria.js +27 -0
  33. package/dist/lib/src/components/Autosuggest/Autosuggest.vue.js +264 -267
  34. package/dist/lib/src/components/Autosuggest/Multisuggest.vue.js +5 -3
  35. package/dist/lib/src/components/Autosuggest/core.js +4 -4
  36. package/dist/lib/src/components/Autosuggest/option.vue.js +1 -1
  37. package/dist/lib/src/components/Autosuggest/select-dropdown.vue.js +2 -3
  38. package/dist/lib/src/components/Autosuggest/useOption.js +2 -2
  39. package/dist/lib/src/components/Autosuggest/useSelect.js +26 -23
  40. package/dist/lib/src/components/Inline/Inline.vue.js +2 -2
  41. package/dist/lib/src/components/InputNumber/InputNumber.vue.js +12 -18
  42. package/dist/lib/src/components/InputNumber/input-number.js +1 -1
  43. package/dist/lib/src/components/Loader/Loader.vue.js +2 -2
  44. package/dist/lib/src/components/Money/Money.vue.js +2 -2
  45. package/dist/lib/src/components/OptionsList/OptionsList.vue.js +1 -1
  46. package/dist/lib/src/components/OptionsListItem/OptionsListItem.vue.js +1 -1
  47. package/dist/lib/src/components/Percent/Percent.vue.js +2 -2
  48. package/dist/lib/src/components/Skeleton/Skeleton.vue.js +1 -1
  49. package/dist/lib/src/components/Step/Step.vue.js +1 -1
  50. package/dist/lib/src/components/Steps/Steps.vue.js +1 -1
  51. package/dist/lib/src/components/Tip/Tip.vue.js +5 -3
  52. package/dist/lib/src/locale/i18nCreator.js +1 -1
  53. package/dist/lib/src/plugins/currency.js +4 -6
  54. package/dist/lib/src/utils/runtime.js +3 -3
  55. package/dist/lib/src/utils/use-form-common-props.js +3 -3
  56. package/dist/lib/src/utils/use-form-item.js +5 -6
  57. package/dist/lib/src/utils/use-id.js +1 -1
  58. package/dist/lib/src/utils/use-input.js +2 -2
  59. package/package.json +28 -36
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vue = require("vue");
4
- const elementPlus = require("element-plus");
5
- const index = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
6
- const selectDropdown = require("./select-dropdown.vue.js");
7
3
  const option = require("./option.vue.js");
4
+ const selectDropdown = require("./select-dropdown.vue.js");
8
5
  const useSelect = require("./useSelect.js");
6
+ const index = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
7
+ const elementPlus = require("element-plus");
8
+ const vue = require("vue");
9
9
  function autosuggestCore(component_name, propsDefinition) {
10
10
  return {
11
11
  name: component_name,
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vue = require("vue");
4
3
  const useOption = require("./useOption.js");
4
+ const vue = require("vue");
5
5
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
6
6
  const index = require("../../../node_modules/element-plus/es/hooks/use-namespace/index.js");
7
7
  const index$1 = require("../../../node_modules/element-plus/es/hooks/use-id/index.js");
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vue = require("vue");
4
3
  const index = require("../../../node_modules/@vueuse/core/index.js");
4
+ const vue = require("vue");
5
5
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
6
6
  const index$1 = require("../../../node_modules/element-plus/es/hooks/use-namespace/index.js");
7
7
  const _sfc_main = vue.defineComponent({
@@ -33,8 +33,7 @@ const _sfc_main = vue.defineComponent({
33
33
  },
34
34
  methods: {
35
35
  updateMinWidth() {
36
- var _a;
37
- this.minWidth = `${(_a = this.select.selectRef) == null ? void 0 : _a.offsetWidth}px`;
36
+ this.minWidth = `${this.select.selectRef?.offsetWidth}px`;
38
37
  }
39
38
  }
40
39
  });
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const vue = require("vue");
4
- const lodashEs = require("lodash-es");
5
3
  const strings = require("../../utils/strings.js");
4
+ const lodashEs = require("lodash-es");
5
+ const vue = require("vue");
6
6
  const shared_esmBundler = require("../../../node_modules/@vue/shared/dist/shared.esm-bundler.js");
7
7
  function useOption(props, states) {
8
8
  const select = vue.inject("select");
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const vue = require("vue");
4
3
  const shared_esmBundler = require("../../../node_modules/@vue/shared/dist/shared.esm-bundler.js");
5
- const lodashEs = require("lodash-es");
6
4
  const index$5 = require("../../../node_modules/@vueuse/core/index.js");
7
- const types = require("../../utils/types.js");
5
+ const lodashEs = require("lodash-es");
6
+ const vue = require("vue");
8
7
  const error = require("../../utils/error.js");
8
+ const types = require("../../utils/types.js");
9
9
  const icon = require("../../utils/icon.js");
10
10
  const scroll = require("../../utils/scroll.js");
11
- const useInput = require("../../utils/use-input.js");
12
- const useFormItem = require("../../utils/use-form-item.js");
13
11
  const useFormCommonProps = require("../../utils/use-form-common-props.js");
12
+ const useFormItem = require("../../utils/use-form-item.js");
13
+ const useInput = require("../../utils/use-input.js");
14
14
  const index = require("../../../node_modules/element-plus/es/hooks/use-locale/index.js");
15
15
  const index$1 = require("../../../node_modules/element-plus/es/hooks/use-id/index.js");
16
16
  const index$2 = require("../../../node_modules/element-plus/es/hooks/use-namespace/index.js");
@@ -64,8 +64,7 @@ const useSelect = (props, { emit }) => {
64
64
  }
65
65
  },
66
66
  beforeBlur(event) {
67
- var _a;
68
- return (_a = tooltipRef.value) == null ? void 0 : _a.isFocusInsideContent(event);
67
+ return tooltipRef.value?.isFocusInsideContent(event);
69
68
  },
70
69
  afterBlur() {
71
70
  expanded.value = false;
@@ -79,7 +78,7 @@ const useSelect = (props, { emit }) => {
79
78
  const { inputId } = useFormItem.useFormItemInputId(props, {
80
79
  formItemContext: formItem
81
80
  });
82
- const selectDisabled = vue.computed(() => props.disabled || (form == null ? void 0 : form.disabled));
81
+ const selectDisabled = vue.computed(() => props.disabled || form?.disabled);
83
82
  const hasModelValue = vue.computed(() => {
84
83
  return props.multiple ? shared_esmBundler.isArray(props.modelValue) && props.modelValue.length > 0 : props.modelValue !== void 0 && props.modelValue !== null && props.modelValue !== "";
85
84
  });
@@ -111,7 +110,7 @@ const useSelect = (props, { emit }) => {
111
110
  }
112
111
  return newVal;
113
112
  });
114
- const validateState = vue.computed(() => (formItem == null ? void 0 : formItem.validateState) || "");
113
+ const validateState = vue.computed(() => formItem?.validateState || "");
115
114
  const validateIcon = vue.computed(
116
115
  () => icon.ValidateComponentsMap[validateState.value]
117
116
  );
@@ -224,7 +223,7 @@ const useSelect = (props, { emit }) => {
224
223
  }
225
224
  setSelected();
226
225
  if (!lodashEs.isEqual(val, oldVal) && props.validateEvent) {
227
- formItem == null ? void 0 : formItem.validate("change").catch((err) => error.debugWarn(err));
226
+ formItem?.validate("change").catch((err) => error.debugWarn(err));
228
227
  }
229
228
  },
230
229
  {
@@ -367,6 +366,7 @@ const useSelect = (props, { emit }) => {
367
366
  };
368
367
  const getOption = (val) => {
369
368
  const { value, initialLabel } = getValueLabelForOption(val);
369
+ let modifiedLabel = null;
370
370
  let option;
371
371
  if (value && initialLabel) {
372
372
  option = {
@@ -379,7 +379,15 @@ const useSelect = (props, { emit }) => {
379
379
  const isUndefined = shared_esmBundler.toRawType(value).toLowerCase() === "undefined";
380
380
  for (let i = states.cachedOptions.size - 1; i >= 0; i--) {
381
381
  const cachedOption = cachedOptionsArray.value[i];
382
- const isEqualValue = isObjectValue ? lodashEs.get(cachedOption.value, props.valueKey) === lodashEs.get(value, props.valueKey) : cachedOption.value === value;
382
+ let isEqualValue;
383
+ if (isObjectValue) {
384
+ isEqualValue = lodashEs.get(cachedOption.value, props.valueKey) === lodashEs.get(value, props.valueKey);
385
+ } else {
386
+ isEqualValue = cachedOption.value === value;
387
+ if (initialLabel) {
388
+ modifiedLabel = initialLabel;
389
+ }
390
+ }
383
391
  if (isEqualValue) {
384
392
  option = {
385
393
  value,
@@ -393,7 +401,7 @@ const useSelect = (props, { emit }) => {
393
401
  const label = isObjectValue ? value.label : !isNull && !isUndefined ? value : "";
394
402
  const newOption = {
395
403
  value,
396
- currentLabel: initialLabel || label
404
+ currentLabel: modifiedLabel || label
397
405
  };
398
406
  return newOption;
399
407
  };
@@ -426,8 +434,7 @@ const useSelect = (props, { emit }) => {
426
434
  states.collapseItemWidth = collapseItemRef.value.getBoundingClientRect().width;
427
435
  };
428
436
  const updateTooltip = () => {
429
- var _a, _b;
430
- (_b = (_a = tooltipRef.value) == null ? void 0 : _a.updatePopper) == null ? void 0 : _b.call(_a);
437
+ tooltipRef.value?.updatePopper?.();
431
438
  };
432
439
  const onInputChange = () => {
433
440
  if (states.inputValue.length > 0 && !expanded.value) {
@@ -547,10 +554,9 @@ const useSelect = (props, { emit }) => {
547
554
  return -1;
548
555
  };
549
556
  const scrollToOption = (option) => {
550
- var _a, _b, _c, _d, _e;
551
557
  const targetOption = shared_esmBundler.isArray(option) ? option[0] : option;
552
558
  let target = null;
553
- if (targetOption == null ? void 0 : targetOption.value) {
559
+ if (targetOption?.value) {
554
560
  const options = optionsArray.value.filter(
555
561
  (item) => item.value === targetOption.value
556
562
  );
@@ -559,15 +565,14 @@ const useSelect = (props, { emit }) => {
559
565
  }
560
566
  }
561
567
  if (tooltipRef.value && target) {
562
- const menu = (_d = (_c = (_b = (_a = tooltipRef.value) == null ? void 0 : _a.popperRef) == null ? void 0 : _b.contentRef) == null ? void 0 : _c.querySelector) == null ? void 0 : _d.call(
563
- _c,
568
+ const menu = tooltipRef.value?.popperRef?.contentRef?.querySelector?.(
564
569
  `.${nsSelect.be("dropdown", "wrap")}`
565
570
  );
566
571
  if (menu) {
567
572
  scroll.scrollIntoView(menu, target);
568
573
  }
569
574
  }
570
- (_e = scrollbarRef.value) == null ? void 0 : _e.handleScroll();
575
+ scrollbarRef.value?.handleScroll();
571
576
  };
572
577
  const onOptionCreate = (vm) => {
573
578
  states.options.set(vm.value, vm);
@@ -585,15 +590,13 @@ const useSelect = (props, { emit }) => {
585
590
  handleCompositionEnd
586
591
  } = useInput.useInput((e) => onInput(e));
587
592
  const popperRef = vue.computed(() => {
588
- var _a, _b;
589
- return (_b = (_a = tooltipRef.value) == null ? void 0 : _a.popperRef) == null ? void 0 : _b.contentRef;
593
+ return tooltipRef.value?.popperRef?.contentRef;
590
594
  });
591
595
  const handleMenuEnter = () => {
592
596
  vue.nextTick(() => scrollToOption(states.selected));
593
597
  };
594
598
  const focus = () => {
595
- var _a;
596
- (_a = inputRef.value) == null ? void 0 : _a.focus();
599
+ inputRef.value?.focus();
597
600
  };
598
601
  const blur = () => {
599
602
  handleClickOutside();
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vue = require("vue");
4
3
  const index = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
5
4
  const elementPlus = require("element-plus");
5
+ const vue = require("vue");
6
6
  ;/* empty css */
7
7
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
8
8
  const _sfc_main = vue.defineComponent({
@@ -126,5 +126,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
126
126
  }, 8, ["id", "model-value", "onInput", "onBlur", "onKeypress"]))
127
127
  ], 8, _hoisted_1);
128
128
  }
129
- const Inline = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-e30c0e2a"]]);
129
+ const Inline = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-8cf574fc"]]);
130
130
  exports.default = Inline;
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- const lodashEs = require("lodash-es");
5
- const types = require("../../utils/types.js");
4
+ const inputNumber = require("./input-number.js");
5
+ const index$2 = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
6
6
  const error = require("../../utils/error.js");
7
- const useFormItem = require("../../utils/use-form-item.js");
7
+ const types = require("../../utils/types.js");
8
8
  const useFormCommonProps = require("../../utils/use-form-common-props.js");
9
+ const useFormItem = require("../../utils/use-form-item.js");
9
10
  const elementPlus = require("element-plus");
10
- const index$2 = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
11
- const inputNumber = require("./input-number.js");
11
+ const lodashEs = require("lodash-es");
12
12
  const index = require("../../../node_modules/element-plus/es/hooks/use-locale/index.js");
13
13
  const index$1 = require("../../../node_modules/element-plus/es/hooks/use-namespace/index.js");
14
14
  const shared_esmBundler = require("../../../node_modules/@vue/shared/dist/shared.esm-bundler.js");
@@ -169,7 +169,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
169
169
  return newVal;
170
170
  };
171
171
  const setCurrentValue = (value, emitChange = true) => {
172
- var _a;
173
172
  const oldVal = data.currentValue;
174
173
  const newVal = verifyValue(value);
175
174
  if (!emitChange) {
@@ -181,7 +180,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
181
180
  emit(UPDATE_MODEL_EVENT, newVal);
182
181
  emit(CHANGE_EVENT, newVal, oldVal);
183
182
  if (props.validateEvent) {
184
- (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change").catch((err) => error.debugWarn(err));
183
+ formItem?.validate?.("change").catch((err) => error.debugWarn(err));
185
184
  }
186
185
  data.currentValue = newVal;
187
186
  };
@@ -200,22 +199,19 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
200
199
  data.userInput = null;
201
200
  };
202
201
  const focus = () => {
203
- var _a, _b;
204
- (_b = (_a = input.value) == null ? void 0 : _a.focus) == null ? void 0 : _b.call(_a);
202
+ input.value?.focus?.();
205
203
  };
206
204
  const blur = () => {
207
- var _a, _b;
208
- (_b = (_a = input.value) == null ? void 0 : _a.blur) == null ? void 0 : _b.call(_a);
205
+ input.value?.blur?.();
209
206
  };
210
207
  const handleFocus = (event) => {
211
208
  emit("focus", event);
212
209
  };
213
210
  const handleBlur = (event) => {
214
- var _a;
215
211
  data.userInput = null;
216
212
  emit("blur", event);
217
213
  if (props.validateEvent) {
218
- (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "blur").catch((err) => error.debugWarn(err));
214
+ formItem?.validate?.("blur").catch((err) => error.debugWarn(err));
219
215
  }
220
216
  };
221
217
  const setCurrentValueToModelValue = () => {
@@ -240,9 +236,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
240
236
  }
241
237
  );
242
238
  vue.onMounted(() => {
243
- var _a;
244
239
  const { min, max, modelValue } = props;
245
- const innerInput = (_a = input.value) == null ? void 0 : _a.input;
240
+ const innerInput = input.value?.input;
246
241
  innerInput.setAttribute("role", "spinbutton");
247
242
  if (Number.isFinite(max)) {
248
243
  innerInput.setAttribute("aria-valuemax", String(max));
@@ -268,9 +263,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
268
263
  }
269
264
  });
270
265
  vue.onUpdated(() => {
271
- var _a;
272
- const innerInput = (_a = input.value) == null ? void 0 : _a.input;
273
- innerInput == null ? void 0 : innerInput.setAttribute("aria-valuenow", `${data.currentValue ?? ""}`);
266
+ const innerInput = input.value?.input;
267
+ innerInput?.setAttribute("aria-valuenow", `${data.currentValue ?? ""}`);
274
268
  });
275
269
  __expose({
276
270
  /** @description get focus the input component */
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const lodashEs = require("lodash-es");
4
3
  const index = require("../../utils/index.js");
4
+ const lodashEs = require("lodash-es");
5
5
  const runtime = require("../../utils/runtime.js");
6
6
  const index$1 = require("../../../node_modules/element-plus/es/hooks/use-size/index.js");
7
7
  const types = require("../../utils/types.js");
@@ -38,7 +38,7 @@ const _hoisted_4 = { class: "texto" };
38
38
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
39
39
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
40
40
  vue.createElementVNode("div", _hoisted_2, [
41
- _cache[0] || (_cache[0] = vue.createStaticVNode('<svg xmlns="http://www.w3.org/2000/svg" width="150px" height="150px" data-v-719fb911><mask id="mascara" data-v-719fb911><rect x="0" y="0" width="100%" height="100%" fill="white" data-v-719fb911></rect><circle id="circulo-interno" class="circulo" cx="45" cy="50" r="40" fill="black" data-v-719fb911></circle></mask><g id="bola" fill="none" fill-rule="evenodd" transform="translate(30 30)" data-v-719fb911><circle id="circulo" class="circulo" cx="45" cy="50" r="40" fill="#1F7DE7" mask="url(#mascara)" data-v-719fb911></circle><g fill="none" fill-rule="evenodd" data-v-719fb911><circle class="residuo top center" cx="45" cy="9" r="15" fill="#FFCB05" data-v-719fb911></circle><circle class="residuo top right" cx="72" cy="21" r="8.5" fill="#1F7DE7" data-v-719fb911></circle><circle class="residuo middle right" cx="81" cy="45" r="12" fill="#1F7DE7" data-v-719fb911></circle><circle class="residuo bottom right" cx="71" cy="70" r="8.5" fill="none" stroke="#FFCB05" stroke-width="3" data-v-719fb911></circle><circle class="residuo bottom center" cx="45" cy="81" r="8.5" fill="none" stroke="#1F7DE7" stroke-width="3" data-v-719fb911></circle><circle class="residuo bottom left" cx="19" cy="70" r="8.5" fill="#1F7DE7" data-v-719fb911></circle><circle class="residuo middle left" cx="9" cy="45" r="10" fill="#FFCB05" data-v-719fb911></circle><circle class="residuo top left" cx="18" cy="21" r="8.5" fill="none" stroke="#1F7DE7" stroke-width="3" data-v-719fb911></circle></g></g></svg>', 1)),
41
+ _cache[0] || (_cache[0] = vue.createStaticVNode('<svg xmlns="http://www.w3.org/2000/svg" width="150px" height="150px" data-v-fdf492f2><mask id="mascara" data-v-fdf492f2><rect x="0" y="0" width="100%" height="100%" fill="white" data-v-fdf492f2></rect><circle id="circulo-interno" class="circulo" cx="45" cy="50" r="40" fill="black" data-v-fdf492f2></circle></mask><g id="bola" fill="none" fill-rule="evenodd" transform="translate(30 30)" data-v-fdf492f2><circle id="circulo" class="circulo" cx="45" cy="50" r="40" fill="#1F7DE7" mask="url(#mascara)" data-v-fdf492f2></circle><g fill="none" fill-rule="evenodd" data-v-fdf492f2><circle class="residuo top center" cx="45" cy="9" r="15" fill="#FFCB05" data-v-fdf492f2></circle><circle class="residuo top right" cx="72" cy="21" r="8.5" fill="#1F7DE7" data-v-fdf492f2></circle><circle class="residuo middle right" cx="81" cy="45" r="12" fill="#1F7DE7" data-v-fdf492f2></circle><circle class="residuo bottom right" cx="71" cy="70" r="8.5" fill="none" stroke="#FFCB05" stroke-width="3" data-v-fdf492f2></circle><circle class="residuo bottom center" cx="45" cy="81" r="8.5" fill="none" stroke="#1F7DE7" stroke-width="3" data-v-fdf492f2></circle><circle class="residuo bottom left" cx="19" cy="70" r="8.5" fill="#1F7DE7" data-v-fdf492f2></circle><circle class="residuo middle left" cx="9" cy="45" r="10" fill="#FFCB05" data-v-fdf492f2></circle><circle class="residuo top left" cx="18" cy="21" r="8.5" fill="none" stroke="#1F7DE7" stroke-width="3" data-v-fdf492f2></circle></g></g></svg>', 1)),
42
42
  vue.createElementVNode("div", _hoisted_3, [
43
43
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.icons, (icon, k) => {
44
44
  return vue.openBlock(), vue.createElementBlock("i", {
@@ -55,5 +55,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
55
55
  _cache[1] || (_cache[1] = vue.createElementVNode("div", { class: "overlay" }, null, -1))
56
56
  ]);
57
57
  }
58
- const Loader = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-719fb911"]]);
58
+ const Loader = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-fdf492f2"]]);
59
59
  exports.default = Loader;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vue = require("vue");
4
3
  const floatFormatter = require("../../mixins/floatFormatter.js");
5
4
  const elementPlus = require("element-plus");
5
+ const vue = require("vue");
6
6
  ;/* empty css */
7
7
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
8
8
  const _sfc_main = vue.defineComponent({
@@ -72,5 +72,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
72
72
  })
73
73
  ]), 1040, ["id", "model-value", "maxlength", "onInput", "onChange"]);
74
74
  }
75
- const Money = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-3f676031"]]);
75
+ const Money = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4afe98f3"]]);
76
76
  exports.default = Money;
@@ -24,5 +24,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
24
24
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
25
25
  ], 2);
26
26
  }
27
- const OptionsList = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-c8c0f83e"]]);
27
+ const OptionsList = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-b6878c99"]]);
28
28
  exports.default = OptionsList;
@@ -92,5 +92,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
92
92
  _ctx.badge ? (vue.openBlock(), vue.createElementBlock("sup", _hoisted_3)) : vue.createCommentVNode("", true)
93
93
  ], 42, _hoisted_1);
94
94
  }
95
- const OptionsListItem = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ace81497"]]);
95
+ const OptionsListItem = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-e3f033e2"]]);
96
96
  exports.default = OptionsListItem;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vue = require("vue");
4
3
  const floatFormatter = require("../../mixins/floatFormatter.js");
5
4
  const elementPlus = require("element-plus");
5
+ const vue = require("vue");
6
6
  ;/* empty css */
7
7
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
8
8
  const _sfc_main = vue.defineComponent({
@@ -73,5 +73,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
73
73
  } : void 0
74
74
  ]), 1040, ["id", "model-value", "maxlength", "onInput", "onChange"]);
75
75
  }
76
- const Percent = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-9d797852"]]);
76
+ const Percent = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-3ffa1372"]]);
77
77
  exports.default = Percent;
@@ -75,5 +75,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
75
75
  }), 128))
76
76
  ]);
77
77
  }
78
- const Skeleton = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-3fc0709e"]]);
78
+ const Skeleton = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-e17e8c84"]]);
79
79
  exports.default = Skeleton;
@@ -202,5 +202,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
202
202
  ])
203
203
  ], 6);
204
204
  }
205
- const Step = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-3c497fa9"]]);
205
+ const Step = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-903c296d"]]);
206
206
  exports.default = Step;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vue = require("vue");
4
3
  const elementPlus = require("element-plus");
4
+ const vue = require("vue");
5
5
  const _sfc_main = vue.defineComponent({
6
6
  name: "TpSteps",
7
7
  extends: elementPlus.ElSteps,
@@ -75,7 +75,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
75
75
  default: vue.withCtx(() => _cache[2] || (_cache[2] = [
76
76
  vue.createElementVNode("em", { class: "far fa-lightbulb-on" }, null, -1)
77
77
  ])),
78
- _: 1
78
+ _: 1,
79
+ __: [2]
79
80
  }),
80
81
  vue.createVNode(_component_el_col, {
81
82
  xs: 21,
@@ -108,7 +109,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
108
109
  default: vue.withCtx(() => _cache[3] || (_cache[3] = [
109
110
  vue.createElementVNode("em", { class: "far fa-lightbulb-on" }, null, -1)
110
111
  ])),
111
- _: 1
112
+ _: 1,
113
+ __: [3]
112
114
  })
113
115
  ]),
114
116
  _: 1
@@ -161,5 +163,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
161
163
  _: 1
162
164
  }, 8, ["id", "class"]));
163
165
  }
164
- const Tip = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-042c88f6"]]);
166
+ const Tip = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-0fd7bc4b"]]);
165
167
  exports.default = Tip;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vueI18n = require("vue-i18n");
4
3
  const vue = require("vue");
4
+ const vueI18n = require("vue-i18n");
5
5
  let i18n;
6
6
  const loadedLanguages = [];
7
7
  const i18nHelper = {
@@ -6,7 +6,6 @@ function setDefaults(app) {
6
6
  defaults = app.$i18n ? app.$i18n.t("locale.number") : ptBr.default.locale;
7
7
  }
8
8
  function formatMoney(input, toString = false, locale = defaults, customPrecision = false) {
9
- var _a, _b;
10
9
  let inputString = `${input}`;
11
10
  if (inputString.slice(-1).match(/[.,]/)) {
12
11
  inputString = inputString.substring(0, inputString.length - 1);
@@ -20,8 +19,8 @@ function formatMoney(input, toString = false, locale = defaults, customPrecision
20
19
  const currency = numbersToCurrency(numbers, precision);
21
20
  if (toString) {
22
21
  let num = negative === -1 ? `-${currency}` : `${currency}`;
23
- if ((_a = locale == null ? void 0 : locale.number) == null ? void 0 : _a.decimal) {
24
- const decimalChar = (_b = locale == null ? void 0 : locale.number) == null ? void 0 : _b.decimal;
22
+ if (locale?.number?.decimal) {
23
+ const decimalChar = locale?.number?.decimal;
25
24
  num = num.replaceAll(",", decimalChar).replaceAll(".", decimalChar);
26
25
  }
27
26
  return num;
@@ -29,9 +28,8 @@ function formatMoney(input, toString = false, locale = defaults, customPrecision
29
28
  return currency * negative;
30
29
  }
31
30
  function completeZeros(customPrecision, input, locale) {
32
- var _a, _b;
33
- const precision = customPrecision || ((_a = locale == null ? void 0 : locale.number) == null ? void 0 : _a.precision) || defaults.precision;
34
- const decimal = ((_b = locale == null ? void 0 : locale.number) == null ? void 0 : _b.decimal) || defaults.decimal;
31
+ const precision = customPrecision || locale?.number?.precision || defaults.precision;
32
+ const decimal = locale?.number?.decimal || defaults.decimal;
35
33
  let i = input.lastIndexOf(".");
36
34
  const j = input.lastIndexOf(",");
37
35
  i = i > j ? i : j;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const vue = require("vue");
4
3
  const lodashEs = require("lodash-es");
4
+ const vue = require("vue");
5
5
  const shared_esmBundler = require("../../node_modules/@vue/shared/dist/shared.esm-bundler.js");
6
6
  const epPropKey = "__epPropKey";
7
7
  const isEpProp = (val) => shared_esmBundler.isObject(val) && !!val[epPropKey];
@@ -16,9 +16,9 @@ const buildProp = (prop, key) => {
16
16
  if (shared_esmBundler.hasOwn(prop, "default")) {
17
17
  allowedValues.push(defaultValue);
18
18
  }
19
- valid || (valid = allowedValues.includes(val));
19
+ valid ||= allowedValues.includes(val);
20
20
  }
21
- if (validator) valid || (valid = validator(val));
21
+ if (validator) valid ||= validator(val);
22
22
  if (!valid && allowedValues.length > 0) {
23
23
  const allowValuesText = [...new Set(allowedValues)].map((value) => JSON.stringify(value)).join(", ");
24
24
  vue.warn(
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const vue = require("vue");
4
3
  const constants = require("./constants.js");
4
+ const vue = require("vue");
5
5
  const index = require("../../node_modules/element-plus/es/hooks/use-prop/index.js");
6
6
  const index$1 = require("../../node_modules/element-plus/es/hooks/use-size/index.js");
7
7
  const useFormSize = (fallback, ignore = {}) => {
@@ -11,14 +11,14 @@ const useFormSize = (fallback, ignore = {}) => {
11
11
  const form = ignore.form ? { size: void 0 } : vue.inject(constants.formContextKey, void 0);
12
12
  const formItem = ignore.formItem ? { size: void 0 } : vue.inject(constants.formItemContextKey, void 0);
13
13
  return vue.computed(
14
- () => size.value || vue.unref(fallback) || (formItem == null ? void 0 : formItem.size) || (form == null ? void 0 : form.size) || globalConfig.value || ""
14
+ () => size.value || vue.unref(fallback) || formItem?.size || form?.size || globalConfig.value || ""
15
15
  );
16
16
  };
17
17
  const useFormDisabled = (fallback) => {
18
18
  const disabled = index.useProp("disabled");
19
19
  const form = vue.inject(constants.formContextKey, void 0);
20
20
  return vue.computed(
21
- () => disabled.value || vue.unref(fallback) || (form == null ? void 0 : form.disabled) || false
21
+ () => disabled.value || vue.unref(fallback) || form?.disabled || false
22
22
  );
23
23
  };
24
24
  exports.useFormDisabled = useFormDisabled;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const vue = require("vue");
4
3
  const constants = require("./constants.js");
5
4
  const useId = require("./use-id.js");
5
+ const vue = require("vue");
6
6
  const useFormItem = () => {
7
7
  const form = vue.inject(constants.formContextKey, void 0);
8
8
  const formItem = vue.inject(constants.formItemContextKey, void 0);
@@ -25,8 +25,7 @@ const useFormItemInputId = (props, {
25
25
  const inputId = vue.ref();
26
26
  let idUnwatch;
27
27
  const isLabeledByFormItem = vue.computed(() => {
28
- var _a;
29
- return !!(!props.label && formItemContext && formItemContext.inputIds && ((_a = formItemContext.inputIds) == null ? void 0 : _a.length) <= 1);
28
+ return !!(!props.label && formItemContext && formItemContext.inputIds && formItemContext.inputIds?.length <= 1);
30
29
  });
31
30
  vue.onMounted(() => {
32
31
  idUnwatch = vue.watch(
@@ -34,9 +33,9 @@ const useFormItemInputId = (props, {
34
33
  ([id, disableIdGeneration2]) => {
35
34
  const newId = id ?? (!disableIdGeneration2 ? useId.useId().value : void 0);
36
35
  if (newId !== inputId.value) {
37
- if (formItemContext == null ? void 0 : formItemContext.removeInputId) {
36
+ if (formItemContext?.removeInputId) {
38
37
  inputId.value && formItemContext.removeInputId(inputId.value);
39
- if (!(disableIdManagement == null ? void 0 : disableIdManagement.value) && !disableIdGeneration2 && newId) {
38
+ if (!disableIdManagement?.value && !disableIdGeneration2 && newId) {
40
39
  formItemContext.addInputId(newId);
41
40
  }
42
41
  }
@@ -48,7 +47,7 @@ const useFormItemInputId = (props, {
48
47
  });
49
48
  vue.onUnmounted(() => {
50
49
  idUnwatch && idUnwatch();
51
- if (formItemContext == null ? void 0 : formItemContext.removeInputId) {
50
+ if (formItemContext?.removeInputId) {
52
51
  inputId.value && formItemContext.removeInputId(inputId.value);
53
52
  }
54
53
  });
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const vue = require("vue");
4
3
  const error = require("./error.js");
5
4
  const useDerivedNamespace = require("./use-derived-namespace.js");
5
+ const vue = require("vue");
6
6
  const index = require("../../node_modules/@vueuse/shared/index.js");
7
7
  const defaultIdInjection = {
8
8
  prefix: Math.floor(Math.random() * 1e4),
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const vue = require("vue");
4
- const shared_esmBundler = require("../../node_modules/@vue/shared/dist/shared.esm-bundler.js");
5
3
  const i18n = require("./i18n.js");
4
+ const shared_esmBundler = require("../../node_modules/@vue/shared/dist/shared.esm-bundler.js");
5
+ const vue = require("vue");
6
6
  function useInput(handleInput = (event) => {
7
7
  }) {
8
8
  const isComposing = vue.ref(false);