@henriquepetrelli/hp-design-system 1.1.25 → 1.1.26

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.
@@ -23,8 +23,8 @@
23
23
  return ButtonSize2;
24
24
  })(ButtonSize || {});
25
25
 
26
- const _hoisted_1$h = ["xlink:href"];
27
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
26
+ const _hoisted_1$i = ["xlink:href"];
27
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
28
28
  __name: "Icon",
29
29
  props: {
30
30
  name: {
@@ -58,7 +58,7 @@
58
58
  }, [
59
59
  vue.createElementVNode("use", {
60
60
  "xlink:href": `#icon-${__props.name}`
61
- }, null, 8, _hoisted_1$h)
61
+ }, null, 8, _hoisted_1$i)
62
62
  ], 6);
63
63
  };
64
64
  }
@@ -72,18 +72,18 @@
72
72
  return target;
73
73
  };
74
74
 
75
- const HpIcon = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-0b477588"]]);
75
+ const HpIcon = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-0b477588"]]);
76
76
 
77
- const _hoisted_1$g = ["aria-label", "aria-disabled", "disabled"];
78
- const _hoisted_2$f = {
77
+ const _hoisted_1$h = ["aria-label", "aria-disabled", "disabled"];
78
+ const _hoisted_2$g = {
79
79
  key: 0,
80
80
  class: "button-primary__icon--left"
81
81
  };
82
- const _hoisted_3$d = {
82
+ const _hoisted_3$e = {
83
83
  key: 1,
84
84
  class: "button-primary__icon--right"
85
85
  };
86
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
86
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
87
87
  __name: "ButtonPrimary",
88
88
  props: {
89
89
  label: {
@@ -156,7 +156,7 @@
156
156
  disabled: __props.disabled,
157
157
  onClick: handleClick
158
158
  }, [
159
- __props.icon && __props.iconPosition === vue.unref(IconPosition).LEFT ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$f, [
159
+ __props.icon && __props.iconPosition === vue.unref(IconPosition).LEFT ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$g, [
160
160
  vue.createVNode(HpIcon, {
161
161
  name: __props.icon,
162
162
  size: "sm",
@@ -167,31 +167,31 @@
167
167
  class: "button-primary__label",
168
168
  style: vue.normalizeStyle({ color: computedColor.value })
169
169
  }, vue.toDisplayString(__props.label), 5),
170
- __props.icon && __props.iconPosition === vue.unref(IconPosition).RIGHT ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$d, [
170
+ __props.icon && __props.iconPosition === vue.unref(IconPosition).RIGHT ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$e, [
171
171
  vue.createVNode(HpIcon, {
172
172
  name: __props.icon,
173
173
  size: "sm",
174
174
  color: computedColor.value
175
175
  }, null, 8, ["name", "color"])
176
176
  ])) : vue.createCommentVNode("", true)
177
- ], 14, _hoisted_1$g);
177
+ ], 14, _hoisted_1$h);
178
178
  };
179
179
  }
180
180
  });
181
181
 
182
- const HpButtonPrimary = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-5c29dcce"]]);
182
+ const HpButtonPrimary = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-5c29dcce"]]);
183
183
 
184
- const _hoisted_1$f = ["aria-label", "aria-disabled", "disabled"];
185
- const _hoisted_2$e = {
184
+ const _hoisted_1$g = ["aria-label", "aria-disabled", "disabled"];
185
+ const _hoisted_2$f = {
186
186
  key: 0,
187
187
  class: "button-secondary__icon--left"
188
188
  };
189
- const _hoisted_3$c = { class: "button-secondary__label" };
190
- const _hoisted_4$8 = {
189
+ const _hoisted_3$d = { class: "button-secondary__label" };
190
+ const _hoisted_4$9 = {
191
191
  key: 1,
192
192
  class: "button-secondary__icon--right"
193
193
  };
194
- const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
194
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
195
195
  __name: "ButtonSecondary",
196
196
  props: {
197
197
  label: {
@@ -249,37 +249,37 @@
249
249
  disabled: __props.disabled,
250
250
  onClick: handleClick
251
251
  }, [
252
- __props.icon && __props.iconPosition === vue.unref(IconPosition).LEFT ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$e, [
252
+ __props.icon && __props.iconPosition === vue.unref(IconPosition).LEFT ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$f, [
253
253
  vue.createVNode(HpIcon, {
254
254
  name: __props.icon,
255
255
  size: "sm"
256
256
  }, null, 8, ["name"])
257
257
  ])) : vue.createCommentVNode("", true),
258
- vue.createElementVNode("span", _hoisted_3$c, vue.toDisplayString(__props.label), 1),
259
- __props.icon && __props.iconPosition === vue.unref(IconPosition).RIGHT ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$8, [
258
+ vue.createElementVNode("span", _hoisted_3$d, vue.toDisplayString(__props.label), 1),
259
+ __props.icon && __props.iconPosition === vue.unref(IconPosition).RIGHT ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$9, [
260
260
  vue.createVNode(HpIcon, {
261
261
  name: __props.icon,
262
262
  size: "sm"
263
263
  }, null, 8, ["name"])
264
264
  ])) : vue.createCommentVNode("", true)
265
- ], 14, _hoisted_1$f);
265
+ ], 14, _hoisted_1$g);
266
266
  };
267
267
  }
268
268
  });
269
269
 
270
- const HpButtonSecondary = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-ce9350e4"]]);
270
+ const HpButtonSecondary = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-ce9350e4"]]);
271
271
 
272
- const _hoisted_1$e = ["aria-label", "aria-disabled", "disabled"];
273
- const _hoisted_2$d = {
272
+ const _hoisted_1$f = ["aria-label", "aria-disabled", "disabled"];
273
+ const _hoisted_2$e = {
274
274
  key: 0,
275
275
  class: "button-tertiary__icon--left"
276
276
  };
277
- const _hoisted_3$b = { class: "button-tertiary__label" };
278
- const _hoisted_4$7 = {
277
+ const _hoisted_3$c = { class: "button-tertiary__label" };
278
+ const _hoisted_4$8 = {
279
279
  key: 1,
280
280
  class: "button-tertiary__icon--right"
281
281
  };
282
- const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
282
+ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
283
283
  __name: "ButtonTertiary",
284
284
  props: {
285
285
  label: {
@@ -337,25 +337,25 @@
337
337
  disabled: __props.disabled,
338
338
  onClick: handleClick
339
339
  }, [
340
- __props.icon && __props.iconPosition === vue.unref(IconPosition).LEFT ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$d, [
340
+ __props.icon && __props.iconPosition === vue.unref(IconPosition).LEFT ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$e, [
341
341
  vue.createVNode(HpIcon, {
342
342
  name: __props.icon,
343
343
  size: "sm"
344
344
  }, null, 8, ["name"])
345
345
  ])) : vue.createCommentVNode("", true),
346
- vue.createElementVNode("span", _hoisted_3$b, vue.toDisplayString(__props.label), 1),
347
- __props.icon && __props.iconPosition === vue.unref(IconPosition).RIGHT ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$7, [
346
+ vue.createElementVNode("span", _hoisted_3$c, vue.toDisplayString(__props.label), 1),
347
+ __props.icon && __props.iconPosition === vue.unref(IconPosition).RIGHT ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$8, [
348
348
  vue.createVNode(HpIcon, {
349
349
  name: __props.icon,
350
350
  size: "sm"
351
351
  }, null, 8, ["name"])
352
352
  ])) : vue.createCommentVNode("", true)
353
- ], 14, _hoisted_1$e);
353
+ ], 14, _hoisted_1$f);
354
354
  };
355
355
  }
356
356
  });
357
357
 
358
- const ButtonTertiary = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-0401b00e"]]);
358
+ const ButtonTertiary = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-0401b00e"]]);
359
359
 
360
360
  var ButtonIconSize = /* @__PURE__ */ ((ButtonIconSize2) => {
361
361
  ButtonIconSize2["SMALL"] = "sm";
@@ -382,8 +382,8 @@
382
382
  return "";
383
383
  };
384
384
 
385
- const _hoisted_1$d = ["aria-label", "tabindex", "aria-disabled", "disabled"];
386
- const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
385
+ const _hoisted_1$e = ["aria-label", "tabindex", "aria-disabled", "disabled"];
386
+ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
387
387
  __name: "ButtonIcon",
388
388
  props: {
389
389
  label: {
@@ -465,7 +465,7 @@
465
465
  name: __props.icon,
466
466
  size: __props.size,
467
467
  color: computedIconColor.value
468
- }, null, 8, ["name", "size", "color"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$b), {
468
+ }, null, 8, ["name", "size", "color"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
469
469
  key: 1,
470
470
  type: "circle1",
471
471
  color: computedIconColor.value || "#000",
@@ -473,12 +473,12 @@
473
473
  size: __props.size,
474
474
  speed: 0.8
475
475
  }, null, 8, ["color", "secondaryColor", "size"]))
476
- ], 14, _hoisted_1$d);
476
+ ], 14, _hoisted_1$e);
477
477
  };
478
478
  }
479
479
  });
480
480
 
481
- const HpButtonIcon = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-8cf8a123"]]);
481
+ const HpButtonIcon = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-8cf8a123"]]);
482
482
 
483
483
  var ButtonLetterSize = /* @__PURE__ */ ((ButtonLetterSize2) => {
484
484
  ButtonLetterSize2["SMALL"] = "sm";
@@ -487,9 +487,9 @@
487
487
  return ButtonLetterSize2;
488
488
  })(ButtonLetterSize || {});
489
489
 
490
- const _hoisted_1$c = ["aria-label", "aria-disabled", "disabled", "tabindex"];
491
- const _hoisted_2$c = { key: 0 };
492
- const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
490
+ const _hoisted_1$d = ["aria-label", "aria-disabled", "disabled", "tabindex"];
491
+ const _hoisted_2$d = { key: 0 };
492
+ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
493
493
  __name: "ButtonLetter",
494
494
  props: {
495
495
  label: {
@@ -572,7 +572,7 @@
572
572
  color: computedLetterColor.value
573
573
  })
574
574
  }, [
575
- !__props.isLoading ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$c, vue.toDisplayString(__props.letter), 1)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$b), {
575
+ !__props.isLoading ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$d, vue.toDisplayString(__props.letter), 1)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
576
576
  key: 1,
577
577
  type: "circle1",
578
578
  color: computedLetterColor.value || "var(--color-primary)",
@@ -580,12 +580,12 @@
580
580
  size: __props.size,
581
581
  speed: 0.8
582
582
  }, null, 8, ["color", "secondaryColor", "size"]))
583
- ], 14, _hoisted_1$c);
583
+ ], 14, _hoisted_1$d);
584
584
  };
585
585
  }
586
586
  });
587
587
 
588
- const ButtonLetter = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-13b75270"]]);
588
+ const ButtonLetter = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-13b75270"]]);
589
589
 
590
590
  var AlertType = /* @__PURE__ */ ((AlertType2) => {
591
591
  AlertType2["WARNING"] = "warning";
@@ -595,9 +595,9 @@
595
595
  return AlertType2;
596
596
  })(AlertType || {});
597
597
 
598
- const _hoisted_1$b = { class: "alert" };
599
- const _hoisted_2$b = { class: "alert__container__message" };
600
- const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
598
+ const _hoisted_1$c = { class: "alert" };
599
+ const _hoisted_2$c = { class: "alert__container__message" };
600
+ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
601
601
  __name: "Alert",
602
602
  props: {
603
603
  message: {
@@ -660,7 +660,7 @@
660
660
  return props.type;
661
661
  });
662
662
  return (_ctx, _cache) => {
663
- return vue.openBlock(), vue.createElementBlock("section", _hoisted_1$b, [
663
+ return vue.openBlock(), vue.createElementBlock("section", _hoisted_1$c, [
664
664
  vue.createElementVNode("div", {
665
665
  class: "alert__container",
666
666
  style: vue.normalizeStyle({
@@ -668,7 +668,7 @@
668
668
  "--color": computedColorType.value
669
669
  })
670
670
  }, [
671
- vue.createElementVNode("p", _hoisted_2$b, vue.toDisplayString(__props.message), 1),
671
+ vue.createElementVNode("p", _hoisted_2$c, vue.toDisplayString(__props.message), 1),
672
672
  vue.createVNode(vue.unref(HpButtonIcon), {
673
673
  class: "alert__container__icon",
674
674
  label: "Fechar modal",
@@ -684,18 +684,18 @@
684
684
  }
685
685
  });
686
686
 
687
- const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-10dcca72"]]);
687
+ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-10dcca72"]]);
688
688
 
689
- const _hoisted_1$a = {
689
+ const _hoisted_1$b = {
690
690
  key: 0,
691
691
  class: "card__header"
692
692
  };
693
- const _hoisted_2$a = { class: "card__body" };
694
- const _hoisted_3$a = {
693
+ const _hoisted_2$b = { class: "card__body" };
694
+ const _hoisted_3$b = {
695
695
  key: 1,
696
696
  class: "card__footer"
697
697
  };
698
- const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
698
+ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
699
699
  __name: "Card",
700
700
  props: {
701
701
  title: { type: String, default: "" },
@@ -717,10 +717,10 @@
717
717
  "aria-labelledby": titleId,
718
718
  "aria-describedby": descriptionId
719
719
  }, [
720
- _ctx.$slots.header ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$a, [
720
+ _ctx.$slots.header ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$b, [
721
721
  vue.renderSlot(_ctx.$slots, "header", {}, void 0, true)
722
722
  ])) : vue.createCommentVNode("", true),
723
- vue.createElementVNode("div", _hoisted_2$a, [
723
+ vue.createElementVNode("div", _hoisted_2$b, [
724
724
  __props.title ? (vue.openBlock(), vue.createElementBlock("h3", {
725
725
  key: 0,
726
726
  id: titleId,
@@ -733,7 +733,7 @@
733
733
  }, vue.toDisplayString(__props.description), 1)) : vue.createCommentVNode("", true),
734
734
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
735
735
  ]),
736
- _ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("footer", _hoisted_3$a, [
736
+ _ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("footer", _hoisted_3$b, [
737
737
  vue.renderSlot(_ctx.$slots, "footer", {}, void 0, true)
738
738
  ])) : vue.createCommentVNode("", true)
739
739
  ], 2);
@@ -741,7 +741,7 @@
741
741
  }
742
742
  });
743
743
 
744
- const Card = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-2b489100"]]);
744
+ const Card = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-2b489100"]]);
745
745
 
746
746
  var SpinnerLoaderSize = /* @__PURE__ */ ((SpinnerLoaderSize2) => {
747
747
  SpinnerLoaderSize2["SMALL"] = "sm";
@@ -750,23 +750,23 @@
750
750
  return SpinnerLoaderSize2;
751
751
  })(SpinnerLoaderSize || {});
752
752
 
753
- const _hoisted_1$9 = {
753
+ const _hoisted_1$a = {
754
754
  key: 0,
755
755
  class: "spinner-circle-1"
756
756
  };
757
- const _hoisted_2$9 = {
757
+ const _hoisted_2$a = {
758
758
  key: 1,
759
759
  class: "spinner-circle-2"
760
760
  };
761
- const _hoisted_3$9 = {
761
+ const _hoisted_3$a = {
762
762
  key: 2,
763
763
  class: "spinner-circle-3"
764
764
  };
765
- const _hoisted_4$6 = {
765
+ const _hoisted_4$7 = {
766
766
  key: 3,
767
767
  class: "spinner-circle-4"
768
768
  };
769
- const _hoisted_5$6 = {
769
+ const _hoisted_5$7 = {
770
770
  key: 4,
771
771
  class: "spinner-dot-1"
772
772
  };
@@ -814,7 +814,7 @@
814
814
  key: 15,
815
815
  class: "spinner-search"
816
816
  };
817
- const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
817
+ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
818
818
  __name: "SpinnerLoader",
819
819
  props: {
820
820
  type: {
@@ -864,11 +864,11 @@
864
864
  class: vue.normalizeClass(["spinner-loader", `spinner-${__props.type}`]),
865
865
  style: vue.normalizeStyle(spinnerStyles.value)
866
866
  }, [
867
- __props.type === "circle1" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9)) : vue.createCommentVNode("", true),
868
- __props.type === "circle2" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$9)) : vue.createCommentVNode("", true),
869
- __props.type === "circle3" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$9)) : vue.createCommentVNode("", true),
870
- __props.type === "circle4" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$6)) : vue.createCommentVNode("", true),
871
- __props.type === "dot1" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$6, [
867
+ __props.type === "circle1" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a)) : vue.createCommentVNode("", true),
868
+ __props.type === "circle2" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$a)) : vue.createCommentVNode("", true),
869
+ __props.type === "circle3" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$a)) : vue.createCommentVNode("", true),
870
+ __props.type === "circle4" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$7)) : vue.createCommentVNode("", true),
871
+ __props.type === "dot1" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$7, [
872
872
  (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(3, (i) => {
873
873
  return vue.createElementVNode("div", {
874
874
  key: `dot1-${i}`,
@@ -894,13 +894,13 @@
894
894
  }
895
895
  });
896
896
 
897
- const _hoisted_1$8 = ["for"];
898
- const _hoisted_2$8 = ["id", "checked", "disabled"];
899
- const _hoisted_3$8 = {
897
+ const _hoisted_1$9 = ["for"];
898
+ const _hoisted_2$9 = ["id", "checked", "disabled"];
899
+ const _hoisted_3$9 = {
900
900
  key: 0,
901
901
  class: "checkbox__label"
902
902
  };
903
- const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
903
+ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
904
904
  __name: "Checkbox",
905
905
  props: {
906
906
  modelValue: {
@@ -986,7 +986,7 @@
986
986
  checked: isChecked.value,
987
987
  disabled: __props.disabled,
988
988
  onChange: handleChange
989
- }, null, 40, _hoisted_2$8),
989
+ }, null, 40, _hoisted_2$9),
990
990
  vue.createElementVNode("span", {
991
991
  class: vue.normalizeClass(["checkbox__container", { "checkbox__container--rounded": __props.rounded }]),
992
992
  style: vue.normalizeStyle({ "--background-color": computedBackgroundColor.value })
@@ -1004,23 +1004,23 @@
1004
1004
  vue.createElementVNode("polyline", { points: "1 5 4 8 11 1" }, null, -1)
1005
1005
  ]), 6)) : vue.createCommentVNode("", true)
1006
1006
  ], 6),
1007
- _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$8, [
1007
+ _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$9, [
1008
1008
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
1009
1009
  ])) : vue.createCommentVNode("", true)
1010
- ], 14, _hoisted_1$8);
1010
+ ], 14, _hoisted_1$9);
1011
1011
  };
1012
1012
  }
1013
1013
  });
1014
1014
 
1015
- const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-29384d40"]]);
1015
+ const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-29384d40"]]);
1016
1016
 
1017
- const _hoisted_1$7 = ["for"];
1018
- const _hoisted_2$7 = ["id", "checked", "disabled", "value"];
1019
- const _hoisted_3$7 = {
1017
+ const _hoisted_1$8 = ["for"];
1018
+ const _hoisted_2$8 = ["id", "checked", "disabled", "value"];
1019
+ const _hoisted_3$8 = {
1020
1020
  key: 0,
1021
1021
  class: "radio__label"
1022
1022
  };
1023
- const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
1023
+ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
1024
1024
  __name: "RadioButton",
1025
1025
  props: {
1026
1026
  modelValue: {
@@ -1102,7 +1102,7 @@
1102
1102
  disabled: __props.disabled,
1103
1103
  value: __props.value,
1104
1104
  onChange: handleChange
1105
- }, null, 40, _hoisted_2$7),
1105
+ }, null, 40, _hoisted_2$8),
1106
1106
  vue.createElementVNode("span", {
1107
1107
  class: vue.normalizeClass(["radio__container", { "radio__container--rounded": __props.rounded }])
1108
1108
  }, [
@@ -1111,15 +1111,15 @@
1111
1111
  class: vue.normalizeClass(["radio__dot", { "radio__dot--animated": __props.hasAnimation }])
1112
1112
  }, null, 2)) : vue.createCommentVNode("", true)
1113
1113
  ], 2),
1114
- _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$7, [
1114
+ _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$8, [
1115
1115
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
1116
1116
  ])) : vue.createCommentVNode("", true)
1117
- ], 14, _hoisted_1$7);
1117
+ ], 14, _hoisted_1$8);
1118
1118
  };
1119
1119
  }
1120
1120
  });
1121
1121
 
1122
- const RadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-50110fea"]]);
1122
+ const RadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-50110fea"]]);
1123
1123
 
1124
1124
  var TextSize = /* @__PURE__ */ ((TextSize2) => {
1125
1125
  TextSize2["EXTRA_SMALL"] = "xs";
@@ -1140,7 +1140,7 @@
1140
1140
  return HeadingLevel2;
1141
1141
  })(HeadingLevel || {});
1142
1142
 
1143
- const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
1143
+ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
1144
1144
  __name: "Text",
1145
1145
  props: {
1146
1146
  size: {
@@ -1171,9 +1171,9 @@
1171
1171
  }
1172
1172
  });
1173
1173
 
1174
- const Text = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-e52f8226"]]);
1174
+ const Text = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-e52f8226"]]);
1175
1175
 
1176
- const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
1176
+ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
1177
1177
  __name: "Heading",
1178
1178
  props: {
1179
1179
  level: {
@@ -1211,20 +1211,20 @@
1211
1211
  }
1212
1212
  });
1213
1213
 
1214
- const Heading = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-35210bc7"]]);
1214
+ const Heading = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-35210bc7"]]);
1215
1215
 
1216
- const _hoisted_1$6 = { class: "modal__header" };
1217
- const _hoisted_2$6 = { class: "modal__title" };
1218
- const _hoisted_3$6 = { class: "modal__content" };
1219
- const _hoisted_4$5 = {
1216
+ const _hoisted_1$7 = { class: "modal__header" };
1217
+ const _hoisted_2$7 = { class: "modal__title" };
1218
+ const _hoisted_3$7 = { class: "modal__content" };
1219
+ const _hoisted_4$6 = {
1220
1220
  key: 0,
1221
1221
  class: "modal__footer"
1222
1222
  };
1223
- const _hoisted_5$5 = {
1223
+ const _hoisted_5$6 = {
1224
1224
  key: 1,
1225
1225
  class: "modal__footer"
1226
1226
  };
1227
- const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
1227
+ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
1228
1228
  __name: "Modal",
1229
1229
  props: {
1230
1230
  title: {
@@ -1303,7 +1303,7 @@
1303
1303
  vue.createElementVNode("div", {
1304
1304
  class: vue.normalizeClass(["modal__container", [`modal__container--${__props.size}`]])
1305
1305
  }, [
1306
- vue.createElementVNode("div", _hoisted_1$6, [
1306
+ vue.createElementVNode("div", _hoisted_1$7, [
1307
1307
  __props.showBackButton ? (vue.openBlock(), vue.createBlock(vue.unref(HpButtonIcon), {
1308
1308
  key: 0,
1309
1309
  class: "modal__back-button",
@@ -1312,7 +1312,7 @@
1312
1312
  label: "Botão de voltar",
1313
1313
  onClick: handleBackClick
1314
1314
  })) : vue.createCommentVNode("", true),
1315
- vue.createElementVNode("h2", _hoisted_2$6, vue.toDisplayString(__props.title), 1),
1315
+ vue.createElementVNode("h2", _hoisted_2$7, vue.toDisplayString(__props.title), 1),
1316
1316
  __props.showCloseButton ? (vue.openBlock(), vue.createBlock(vue.unref(HpButtonIcon), {
1317
1317
  key: 1,
1318
1318
  class: "modal__close-button",
@@ -1322,10 +1322,10 @@
1322
1322
  onClick: handleCloseModal
1323
1323
  })) : vue.createCommentVNode("", true)
1324
1324
  ]),
1325
- vue.createElementVNode("div", _hoisted_3$6, [
1325
+ vue.createElementVNode("div", _hoisted_3$7, [
1326
1326
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
1327
1327
  ]),
1328
- __props.hasPrimaryButton || __props.hasSecondaryButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$5, [
1328
+ __props.hasPrimaryButton || __props.hasSecondaryButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$6, [
1329
1329
  __props.hasSecondaryButton ? (vue.openBlock(), vue.createBlock(vue.unref(HpButtonSecondary), {
1330
1330
  key: 0,
1331
1331
  label: __props.secondaryButtonLabel,
@@ -1339,7 +1339,7 @@
1339
1339
  onClick: handleSecondaryButtonClick
1340
1340
  }, null, 8, ["label", "backgroundColor"])) : vue.createCommentVNode("", true)
1341
1341
  ])) : vue.createCommentVNode("", true),
1342
- !__props.hasPrimaryButton && !__props.hasSecondaryButton && _ctx.$slots.buttons ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$5, [
1342
+ !__props.hasPrimaryButton && !__props.hasSecondaryButton && _ctx.$slots.buttons ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$6, [
1343
1343
  vue.renderSlot(_ctx.$slots, "buttons", {}, void 0, true)
1344
1344
  ])) : vue.createCommentVNode("", true)
1345
1345
  ], 2)
@@ -1351,15 +1351,15 @@
1351
1351
  }
1352
1352
  });
1353
1353
 
1354
- const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-cdf63c2b"]]);
1354
+ const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-cdf63c2b"]]);
1355
1355
 
1356
- const _hoisted_1$5 = ["id", "checked", "disabled", "aria-checked", "aria-labelledby"];
1357
- const _hoisted_2$5 = ["for", "id", "tabindex", "onKeydown"];
1358
- const _hoisted_3$5 = {
1356
+ const _hoisted_1$6 = ["id", "checked", "disabled", "aria-checked", "aria-labelledby"];
1357
+ const _hoisted_2$6 = ["for", "id", "tabindex", "onKeydown"];
1358
+ const _hoisted_3$6 = {
1359
1359
  key: 0,
1360
1360
  class: "toggle-switch__text"
1361
1361
  };
1362
- const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
1362
+ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
1363
1363
  __name: "ToggleSwitch",
1364
1364
  props: {
1365
1365
  modelValue: {
@@ -1424,7 +1424,7 @@
1424
1424
  "aria-checked": __props.modelValue,
1425
1425
  "aria-labelledby": `${__props.id}-label`,
1426
1426
  tabindex: "-1"
1427
- }, null, 40, _hoisted_1$5),
1427
+ }, null, 40, _hoisted_1$6),
1428
1428
  vue.createElementVNode("label", {
1429
1429
  for: __props.id,
1430
1430
  class: "toggle-switch__label",
@@ -1445,28 +1445,28 @@
1445
1445
  style: vue.normalizeStyle({ "--thumb-color": computedThumbColor.value })
1446
1446
  }, null, 4)
1447
1447
  ], 4),
1448
- _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$5, [
1448
+ _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$6, [
1449
1449
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
1450
1450
  ])) : vue.createCommentVNode("", true)
1451
- ], 44, _hoisted_2$5)
1451
+ ], 44, _hoisted_2$6)
1452
1452
  ], 2);
1453
1453
  };
1454
1454
  }
1455
1455
  });
1456
1456
 
1457
- const ToggleSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-14c54b46"]]);
1457
+ const ToggleSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-14c54b46"]]);
1458
1458
 
1459
- const _hoisted_1$4 = { key: 0 };
1460
- const _hoisted_2$4 = ["aria-checked", "onKeydown"];
1461
- const _hoisted_3$4 = {
1459
+ const _hoisted_1$5 = { key: 0 };
1460
+ const _hoisted_2$5 = ["aria-checked", "onKeydown"];
1461
+ const _hoisted_3$5 = {
1462
1462
  key: 1,
1463
1463
  class: "theme-switcher-animation"
1464
1464
  };
1465
- const _hoisted_4$4 = ["id", "aria-checked"];
1466
- const _hoisted_5$4 = ["for", "onKeydown"];
1465
+ const _hoisted_4$5 = ["id", "aria-checked"];
1466
+ const _hoisted_5$5 = ["for", "onKeydown"];
1467
1467
 
1468
1468
 
1469
- const _sfc_main$4 = {
1469
+ const _sfc_main$5 = {
1470
1470
  __name: 'ThemeSwitcher',
1471
1471
  props: {
1472
1472
  modelValue: {
@@ -1578,7 +1578,7 @@
1578
1578
 
1579
1579
  return (_ctx, _cache) => {
1580
1580
  return (!__props.hasAnimation)
1581
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, [
1581
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, [
1582
1582
  vue.createElementVNode("button", {
1583
1583
  class: "theme-switcher",
1584
1584
  type: "button",
@@ -1601,9 +1601,9 @@
1601
1601
  size: "sm",
1602
1602
  color: computedButtonIconColor.value
1603
1603
  }, null, 8, ["name", "color"])
1604
- ], 44, _hoisted_2$4)
1604
+ ], 44, _hoisted_2$5)
1605
1605
  ]))
1606
- : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$4, [
1606
+ : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$5, [
1607
1607
  vue.withDirectives(vue.createElementVNode("input", {
1608
1608
  type: "checkbox",
1609
1609
  id: __props.id,
@@ -1614,7 +1614,7 @@
1614
1614
  "aria-checked": isDarkMode.value,
1615
1615
  "aria-label": "Alternar entre tema claro e escuro",
1616
1616
  tabindex: "-1"
1617
- }, null, 40, _hoisted_4$4), [
1617
+ }, null, 40, _hoisted_4$5), [
1618
1618
  [vue.vModelCheckbox, isDarkMode.value]
1619
1619
  ]),
1620
1620
  vue.createElementVNode("label", {
@@ -1633,22 +1633,22 @@
1633
1633
  ]
1634
1634
  }, _cache[1] || (_cache[1] = [
1635
1635
  vue.createElementVNode("span", { class: "toggle--label-background" }, null, -1)
1636
- ]), 44, _hoisted_5$4)
1636
+ ]), 44, _hoisted_5$5)
1637
1637
  ]))
1638
1638
  }
1639
1639
  }
1640
1640
 
1641
1641
  };
1642
- const ThemeSwitcher = /*#__PURE__*/_export_sfc(_sfc_main$4, [['__scopeId',"data-v-7efca676"]]);
1642
+ const ThemeSwitcher = /*#__PURE__*/_export_sfc(_sfc_main$5, [['__scopeId',"data-v-7efca676"]]);
1643
1643
 
1644
- const _hoisted_1$3 = { class: "input__fieldset" };
1645
- const _hoisted_2$3 = {
1644
+ const _hoisted_1$4 = { class: "input__fieldset" };
1645
+ const _hoisted_2$4 = {
1646
1646
  style: {"display":"none"},
1647
1647
  "aria-hidden": true
1648
1648
  };
1649
- const _hoisted_3$3 = ["for"];
1650
- const _hoisted_4$3 = { class: "input__wrapper" };
1651
- const _hoisted_5$3 = ["id", "value", "readonly", "aria-readonly", "disabled", "placeholder", "required", "maxlength", "aria-labelledby", "aria-describedby", "aria-invalid"];
1649
+ const _hoisted_3$4 = ["for"];
1650
+ const _hoisted_4$4 = { class: "input__wrapper" };
1651
+ const _hoisted_5$4 = ["id", "value", "readonly", "aria-readonly", "disabled", "placeholder", "required", "maxlength", "aria-labelledby", "aria-describedby", "aria-invalid"];
1652
1652
  const _hoisted_6$3 = { class: "input__footer" };
1653
1653
  const _hoisted_7$3 = ["id"];
1654
1654
  const _hoisted_8$3 = {
@@ -1657,7 +1657,7 @@
1657
1657
  };
1658
1658
 
1659
1659
 
1660
- const _sfc_main$3 = {
1660
+ const _sfc_main$4 = {
1661
1661
  __name: 'InputText',
1662
1662
  props: {
1663
1663
  modelValue: {
@@ -1784,16 +1784,16 @@
1784
1784
  '--icon-padding-right': __props.trailingIcon ? '32px' : '0px'
1785
1785
  })
1786
1786
  }, [
1787
- vue.createElementVNode("fieldset", _hoisted_1$3, [
1788
- vue.createElementVNode("legend", _hoisted_2$3, vue.toDisplayString(__props.label), 1),
1787
+ vue.createElementVNode("fieldset", _hoisted_1$4, [
1788
+ vue.createElementVNode("legend", _hoisted_2$4, vue.toDisplayString(__props.label), 1),
1789
1789
  (isFocused.value || __props.modelValue !== '' || __props.placeholder !== '')
1790
1790
  ? (vue.openBlock(), vue.createElementBlock("label", {
1791
1791
  key: 0,
1792
1792
  for: __props.id,
1793
1793
  class: vue.normalizeClass(["input__label", { 'input__label--required': __props.required }])
1794
- }, vue.toDisplayString(__props.label), 11, _hoisted_3$3))
1794
+ }, vue.toDisplayString(__props.label), 11, _hoisted_3$4))
1795
1795
  : vue.createCommentVNode("", true),
1796
- vue.createElementVNode("div", _hoisted_4$3, [
1796
+ vue.createElementVNode("div", _hoisted_4$4, [
1797
1797
  (__props.leadingIcon)
1798
1798
  ? (vue.openBlock(), vue.createBlock(vue.unref(HpIcon), {
1799
1799
  key: 0,
@@ -1822,7 +1822,7 @@
1822
1822
  "aria-labelledby": `${__props.id}-label`,
1823
1823
  "aria-describedby": __props.helperText ? `${__props.id}-helper-text` : undefined,
1824
1824
  "aria-invalid": __props.status === 'error'
1825
- }, null, 40, _hoisted_5$3),
1825
+ }, null, 40, _hoisted_5$4),
1826
1826
  (__props.iconHasAction && __props.trailingIcon)
1827
1827
  ? (vue.openBlock(), vue.createBlock(vue.unref(HpButtonIcon), {
1828
1828
  key: 1,
@@ -1863,16 +1863,16 @@
1863
1863
  }
1864
1864
 
1865
1865
  };
1866
- const InputText = /*#__PURE__*/_export_sfc(_sfc_main$3, [['__scopeId',"data-v-6450d99a"]]);
1866
+ const InputText = /*#__PURE__*/_export_sfc(_sfc_main$4, [['__scopeId',"data-v-6450d99a"]]);
1867
1867
 
1868
- const _hoisted_1$2 = { class: "input__fieldset" };
1869
- const _hoisted_2$2 = {
1868
+ const _hoisted_1$3 = { class: "input__fieldset" };
1869
+ const _hoisted_2$3 = {
1870
1870
  style: {"display":"none"},
1871
1871
  "aria-hidden": true
1872
1872
  };
1873
- const _hoisted_3$2 = ["for"];
1874
- const _hoisted_4$2 = { class: "input__wrapper" };
1875
- const _hoisted_5$2 = ["id", "value", "readonly", "aria-readonly", "disabled", "placeholder", "required", "min", "max", "aria-labelledby", "aria-describedby", "aria-invalid"];
1873
+ const _hoisted_3$3 = ["for"];
1874
+ const _hoisted_4$3 = { class: "input__wrapper" };
1875
+ const _hoisted_5$3 = ["id", "value", "readonly", "aria-readonly", "disabled", "placeholder", "required", "min", "max", "aria-labelledby", "aria-describedby", "aria-invalid"];
1876
1876
  const _hoisted_6$2 = { class: "input__buttons-container" };
1877
1877
  const _hoisted_7$2 = ["disabled", "aria-label"];
1878
1878
  const _hoisted_8$2 = ["disabled", "aria-label"];
@@ -1880,7 +1880,7 @@
1880
1880
  const _hoisted_10$2 = ["id"];
1881
1881
 
1882
1882
 
1883
- const _sfc_main$2 = {
1883
+ const _sfc_main$3 = {
1884
1884
  __name: 'InputNumber',
1885
1885
  props: {
1886
1886
  modelValue: {
@@ -2046,16 +2046,16 @@
2046
2046
  '--icon-padding-left': __props.leadingIcon ? '24px' : '0px'
2047
2047
  })
2048
2048
  }, [
2049
- vue.createElementVNode("fieldset", _hoisted_1$2, [
2050
- vue.createElementVNode("legend", _hoisted_2$2, vue.toDisplayString(__props.label), 1),
2049
+ vue.createElementVNode("fieldset", _hoisted_1$3, [
2050
+ vue.createElementVNode("legend", _hoisted_2$3, vue.toDisplayString(__props.label), 1),
2051
2051
  (isFocused.value || modelValueFormatted.value !== null || __props.placeholder !== '')
2052
2052
  ? (vue.openBlock(), vue.createElementBlock("label", {
2053
2053
  key: 0,
2054
2054
  for: __props.id,
2055
2055
  class: vue.normalizeClass(["input__label", { 'input__label--required': __props.required }])
2056
- }, vue.toDisplayString(__props.label), 11, _hoisted_3$2))
2056
+ }, vue.toDisplayString(__props.label), 11, _hoisted_3$3))
2057
2057
  : vue.createCommentVNode("", true),
2058
- vue.createElementVNode("div", _hoisted_4$2, [
2058
+ vue.createElementVNode("div", _hoisted_4$3, [
2059
2059
  (__props.leadingIcon)
2060
2060
  ? (vue.openBlock(), vue.createBlock(vue.unref(HpIcon), {
2061
2061
  key: 0,
@@ -2086,7 +2086,7 @@
2086
2086
  "aria-labelledby": `${__props.id}-label`,
2087
2087
  "aria-describedby": __props.helperText ? `${__props.id}-helper-text` : undefined,
2088
2088
  "aria-invalid": __props.status === 'error'
2089
- }, null, 40, _hoisted_5$2),
2089
+ }, null, 40, _hoisted_5$3),
2090
2090
  vue.createElementVNode("div", _hoisted_6$2, [
2091
2091
  vue.createElementVNode("button", {
2092
2092
  type: "button",
@@ -2132,19 +2132,19 @@
2132
2132
  }
2133
2133
 
2134
2134
  };
2135
- const InputNumber = /*#__PURE__*/_export_sfc(_sfc_main$2, [['__scopeId',"data-v-7f20743b"]]);
2135
+ const InputNumber = /*#__PURE__*/_export_sfc(_sfc_main$3, [['__scopeId',"data-v-7f20743b"]]);
2136
2136
 
2137
- const _hoisted_1$1 = { class: "input__fieldset" };
2138
- const _hoisted_2$1 = {
2137
+ const _hoisted_1$2 = { class: "input__fieldset" };
2138
+ const _hoisted_2$2 = {
2139
2139
  style: {"display":"none"},
2140
2140
  "aria-hidden": true
2141
2141
  };
2142
- const _hoisted_3$1 = ["for", "id"];
2143
- const _hoisted_4$1 = {
2142
+ const _hoisted_3$2 = ["for", "id"];
2143
+ const _hoisted_4$2 = {
2144
2144
  key: 0,
2145
2145
  class: "required-asterisk"
2146
2146
  };
2147
- const _hoisted_5$1 = { class: "input__wrapper" };
2147
+ const _hoisted_5$2 = { class: "input__wrapper" };
2148
2148
  const _hoisted_6$1 = {
2149
2149
  key: 0,
2150
2150
  class: "autocomplete-wrapper"
@@ -2172,7 +2172,7 @@
2172
2172
  };
2173
2173
 
2174
2174
 
2175
- const _sfc_main$1 = {
2175
+ const _sfc_main$2 = {
2176
2176
  __name: 'InputSelect',
2177
2177
  props: {
2178
2178
  modelValue: {
@@ -2456,8 +2456,8 @@
2456
2456
  ref_key: "select",
2457
2457
  ref: select
2458
2458
  }, [
2459
- vue.createElementVNode("fieldset", _hoisted_1$1, [
2460
- vue.createElementVNode("legend", _hoisted_2$1, vue.toDisplayString(__props.label), 1),
2459
+ vue.createElementVNode("fieldset", _hoisted_1$2, [
2460
+ vue.createElementVNode("legend", _hoisted_2$2, vue.toDisplayString(__props.label), 1),
2461
2461
  (__props.modelValue !== null || __props.placeholder !== '')
2462
2462
  ? (vue.openBlock(), vue.createElementBlock("label", {
2463
2463
  key: 0,
@@ -2467,11 +2467,11 @@
2467
2467
  }, [
2468
2468
  vue.createTextVNode(vue.toDisplayString(__props.label) + " ", 1),
2469
2469
  (__props.required)
2470
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$1, "*"))
2470
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$2, "*"))
2471
2471
  : vue.createCommentVNode("", true)
2472
- ], 10, _hoisted_3$1))
2472
+ ], 10, _hoisted_3$2))
2473
2473
  : vue.createCommentVNode("", true),
2474
- vue.createElementVNode("div", _hoisted_5$1, [
2474
+ vue.createElementVNode("div", _hoisted_5$2, [
2475
2475
  (__props.autocomplete)
2476
2476
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$1, [
2477
2477
  vue.withDirectives(vue.createElementVNode("input", {
@@ -2659,19 +2659,19 @@
2659
2659
  }
2660
2660
 
2661
2661
  };
2662
- const InputSelect = /*#__PURE__*/_export_sfc(_sfc_main$1, [['__scopeId',"data-v-00cdf827"]]);
2662
+ const InputSelect = /*#__PURE__*/_export_sfc(_sfc_main$2, [['__scopeId',"data-v-00cdf827"]]);
2663
2663
 
2664
- const _hoisted_1 = { class: "input-range__fieldset" };
2665
- const _hoisted_2 = {
2664
+ const _hoisted_1$1 = { class: "input-range__fieldset" };
2665
+ const _hoisted_2$1 = {
2666
2666
  key: 0,
2667
2667
  class: "input-range__legend"
2668
2668
  };
2669
- const _hoisted_3 = {
2669
+ const _hoisted_3$1 = {
2670
2670
  key: 0,
2671
2671
  class: "input-range__required"
2672
2672
  };
2673
- const _hoisted_4 = { class: "input-range__wrapper" };
2674
- const _hoisted_5 = ["id", "min", "max", "step", "value", "disabled", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-labelledby", "aria-describedby"];
2673
+ const _hoisted_4$1 = { class: "input-range__wrapper" };
2674
+ const _hoisted_5$1 = ["id", "min", "max", "step", "value", "disabled", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-labelledby", "aria-describedby"];
2675
2675
  const _hoisted_6 = { class: "input-range__value-display" };
2676
2676
  const _hoisted_7 = { class: "input-range__value" };
2677
2677
  const _hoisted_8 = {
@@ -2685,7 +2685,7 @@
2685
2685
  const _hoisted_10 = ["id"];
2686
2686
 
2687
2687
 
2688
- const _sfc_main = {
2688
+ const _sfc_main$1 = {
2689
2689
  __name: 'InputRange',
2690
2690
  props: {
2691
2691
  modelValue: {
@@ -2768,16 +2768,16 @@
2768
2768
  [`input-range--${__props.status}`]: __props.status !== 'default'
2769
2769
  }])
2770
2770
  }, [
2771
- vue.createElementVNode("fieldset", _hoisted_1, [
2771
+ vue.createElementVNode("fieldset", _hoisted_1$1, [
2772
2772
  (__props.label)
2773
- ? (vue.openBlock(), vue.createElementBlock("legend", _hoisted_2, [
2773
+ ? (vue.openBlock(), vue.createElementBlock("legend", _hoisted_2$1, [
2774
2774
  vue.createTextVNode(vue.toDisplayString(__props.label) + " ", 1),
2775
2775
  (__props.required)
2776
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3, "*"))
2776
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$1, "*"))
2777
2777
  : vue.createCommentVNode("", true)
2778
2778
  ]))
2779
2779
  : vue.createCommentVNode("", true),
2780
- vue.createElementVNode("div", _hoisted_4, [
2780
+ vue.createElementVNode("div", _hoisted_4$1, [
2781
2781
  vue.createElementVNode("input", {
2782
2782
  id: __props.id,
2783
2783
  ref_key: "input",
@@ -2796,7 +2796,7 @@
2796
2796
  "aria-valuenow": __props.modelValue,
2797
2797
  "aria-labelledby": `${__props.id}-label`,
2798
2798
  "aria-describedby": __props.helperText ? `${__props.id}-helper` : undefined
2799
- }, null, 40, _hoisted_5),
2799
+ }, null, 40, _hoisted_5$1),
2800
2800
  vue.createElementVNode("div", _hoisted_6, [
2801
2801
  vue.createElementVNode("span", _hoisted_7, vue.toDisplayString(__props.modelValue), 1),
2802
2802
  (__props.unit)
@@ -2818,7 +2818,82 @@
2818
2818
  }
2819
2819
 
2820
2820
  };
2821
- const InputRange = /*#__PURE__*/_export_sfc(_sfc_main, [['__scopeId',"data-v-32e54a28"]]);
2821
+ const InputRange = /*#__PURE__*/_export_sfc(_sfc_main$1, [['__scopeId',"data-v-32e54a28"]]);
2822
+
2823
+ const _hoisted_1 = { class: "progress-bar" };
2824
+ const _hoisted_2 = {
2825
+ key: 0,
2826
+ class: "progress-bar__header"
2827
+ };
2828
+ const _hoisted_3 = { class: "progress-bar__value" };
2829
+ const _hoisted_4 = { class: "progress-bar__wrapper" };
2830
+ const _hoisted_5 = ["value", "max", "aria-labelledby"];
2831
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
2832
+ ...{
2833
+ name: "ProgressBar"
2834
+ },
2835
+ __name: "ProgressBar",
2836
+ props: {
2837
+ label: {
2838
+ type: String,
2839
+ default: ""
2840
+ },
2841
+ value: {
2842
+ type: Number,
2843
+ required: true
2844
+ },
2845
+ max: {
2846
+ type: Number,
2847
+ default: 100
2848
+ },
2849
+ hasLabel: {
2850
+ type: Boolean,
2851
+ default: false
2852
+ },
2853
+ backgroundColor: {
2854
+ type: String,
2855
+ default: ""
2856
+ },
2857
+ barColor: {
2858
+ type: String,
2859
+ default: ""
2860
+ }
2861
+ },
2862
+ setup(__props) {
2863
+ const props = __props;
2864
+ const labelId = `progress-bar-label-${Math.random().toString(36).slice(2)}`;
2865
+ const normalizedValue = vue.computed(() => {
2866
+ const percent = props.value / props.max * 100;
2867
+ return Math.min(100, Math.max(0, Math.round(percent)));
2868
+ });
2869
+ const trackStyle = vue.computed(() => ({
2870
+ "--track-color": props.backgroundColor || "var(--color-border, #e5e7eb)",
2871
+ "--bar-color": props.barColor || "var(--color-danger, #b91c1c)"
2872
+ }));
2873
+ return (_ctx, _cache) => {
2874
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
2875
+ __props.hasLabel ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
2876
+ vue.createElementVNode("span", {
2877
+ class: "progress-bar__label",
2878
+ id: labelId
2879
+ }, vue.toDisplayString(__props.label), 1),
2880
+ vue.createElementVNode("span", _hoisted_3, vue.toDisplayString(normalizedValue.value) + "% ", 1)
2881
+ ])) : vue.createCommentVNode("", true),
2882
+ vue.createElementVNode("div", _hoisted_4, [
2883
+ vue.createElementVNode("progress", {
2884
+ class: "progress-bar__track",
2885
+ value: __props.value,
2886
+ max: __props.max,
2887
+ "aria-labelledby": __props.label ? labelId : void 0,
2888
+ style: vue.normalizeStyle(trackStyle.value)
2889
+ }, null, 12, _hoisted_5)
2890
+ ])
2891
+ ]);
2892
+ };
2893
+ }
2894
+ });
2895
+
2896
+ const ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a3ba3e49"]]);
2822
2897
 
2823
2898
  const components = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
2824
2899
  __proto__: null,
@@ -2837,8 +2912,9 @@
2837
2912
  HpInputSelect: InputSelect,
2838
2913
  HpInputText: InputText,
2839
2914
  HpModal: Modal,
2915
+ HpProgressBar: ProgressBar,
2840
2916
  HpRadioButton: RadioButton,
2841
- HpSpinnerLoader: _sfc_main$b,
2917
+ HpSpinnerLoader: _sfc_main$c,
2842
2918
  HpText: Text,
2843
2919
  HpThemeSwitcher: ThemeSwitcher,
2844
2920
  HpToggleSwitch: ToggleSwitch
@@ -2894,8 +2970,9 @@
2894
2970
  exports.HpInputSelect = InputSelect;
2895
2971
  exports.HpInputText = InputText;
2896
2972
  exports.HpModal = Modal;
2973
+ exports.HpProgressBar = ProgressBar;
2897
2974
  exports.HpRadioButton = RadioButton;
2898
- exports.HpSpinnerLoader = _sfc_main$b;
2975
+ exports.HpSpinnerLoader = _sfc_main$c;
2899
2976
  exports.HpText = Text;
2900
2977
  exports.HpThemeSwitcher = ThemeSwitcher;
2901
2978
  exports.HpToggleSwitch = ToggleSwitch;