@henriquepetrelli/hp-design-system 1.1.28 → 1.1.29

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$i = ["xlink:href"];
27
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
26
+ const _hoisted_1$j = ["xlink:href"];
27
+ const _sfc_main$l = /* @__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$i)
61
+ }, null, 8, _hoisted_1$j)
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$k, [["__scopeId", "data-v-0b477588"]]);
75
+ const HpIcon = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-0b477588"]]);
76
76
 
77
- const _hoisted_1$h = ["aria-label", "aria-disabled", "disabled"];
78
- const _hoisted_2$g = {
77
+ const _hoisted_1$i = ["aria-label", "aria-disabled", "disabled"];
78
+ const _hoisted_2$h = {
79
79
  key: 0,
80
80
  class: "button-primary__icon--left"
81
81
  };
82
- const _hoisted_3$e = {
82
+ const _hoisted_3$f = {
83
83
  key: 1,
84
84
  class: "button-primary__icon--right"
85
85
  };
86
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
86
+ const _sfc_main$k = /* @__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$g, [
159
+ __props.icon && __props.iconPosition === vue.unref(IconPosition).LEFT ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$h, [
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$e, [
170
+ __props.icon && __props.iconPosition === vue.unref(IconPosition).RIGHT ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$f, [
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$h);
177
+ ], 14, _hoisted_1$i);
178
178
  };
179
179
  }
180
180
  });
181
181
 
182
- const HpButtonPrimary = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-5c29dcce"]]);
182
+ const HpButtonPrimary = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-5c29dcce"]]);
183
183
 
184
- const _hoisted_1$g = ["aria-label", "aria-disabled", "disabled"];
185
- const _hoisted_2$f = {
184
+ const _hoisted_1$h = ["aria-label", "aria-disabled", "disabled"];
185
+ const _hoisted_2$g = {
186
186
  key: 0,
187
187
  class: "button-secondary__icon--left"
188
188
  };
189
- const _hoisted_3$d = { class: "button-secondary__label" };
190
- const _hoisted_4$9 = {
189
+ const _hoisted_3$e = { class: "button-secondary__label" };
190
+ const _hoisted_4$a = {
191
191
  key: 1,
192
192
  class: "button-secondary__icon--right"
193
193
  };
194
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
194
+ const _sfc_main$j = /* @__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$f, [
252
+ __props.icon && __props.iconPosition === vue.unref(IconPosition).LEFT ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$g, [
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$d, vue.toDisplayString(__props.label), 1),
259
- __props.icon && __props.iconPosition === vue.unref(IconPosition).RIGHT ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$9, [
258
+ vue.createElementVNode("span", _hoisted_3$e, vue.toDisplayString(__props.label), 1),
259
+ __props.icon && __props.iconPosition === vue.unref(IconPosition).RIGHT ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$a, [
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$g);
265
+ ], 14, _hoisted_1$h);
266
266
  };
267
267
  }
268
268
  });
269
269
 
270
- const HpButtonSecondary = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-ce9350e4"]]);
270
+ const HpButtonSecondary = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-ce9350e4"]]);
271
271
 
272
- const _hoisted_1$f = ["aria-label", "aria-disabled", "disabled"];
273
- const _hoisted_2$e = {
272
+ const _hoisted_1$g = ["aria-label", "aria-disabled", "disabled"];
273
+ const _hoisted_2$f = {
274
274
  key: 0,
275
275
  class: "button-tertiary__icon--left"
276
276
  };
277
- const _hoisted_3$c = { class: "button-tertiary__label" };
278
- const _hoisted_4$8 = {
277
+ const _hoisted_3$d = { class: "button-tertiary__label" };
278
+ const _hoisted_4$9 = {
279
279
  key: 1,
280
280
  class: "button-tertiary__icon--right"
281
281
  };
282
- const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
282
+ const _sfc_main$i = /* @__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$e, [
340
+ __props.icon && __props.iconPosition === vue.unref(IconPosition).LEFT ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$f, [
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$c, vue.toDisplayString(__props.label), 1),
347
- __props.icon && __props.iconPosition === vue.unref(IconPosition).RIGHT ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$8, [
346
+ vue.createElementVNode("span", _hoisted_3$d, vue.toDisplayString(__props.label), 1),
347
+ __props.icon && __props.iconPosition === vue.unref(IconPosition).RIGHT ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$9, [
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$f);
353
+ ], 14, _hoisted_1$g);
354
354
  };
355
355
  }
356
356
  });
357
357
 
358
- const ButtonTertiary = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-0401b00e"]]);
358
+ const ButtonTertiary = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__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$e = ["aria-label", "tabindex", "aria-disabled", "disabled"];
386
- const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
385
+ const _hoisted_1$f = ["aria-label", "tabindex", "aria-disabled", "disabled"];
386
+ const _sfc_main$h = /* @__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$c), {
468
+ }, null, 8, ["name", "size", "color"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$d), {
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$e);
476
+ ], 14, _hoisted_1$f);
477
477
  };
478
478
  }
479
479
  });
480
480
 
481
- const HpButtonIcon = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-8cf8a123"]]);
481
+ const HpButtonIcon = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__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$d = ["aria-label", "aria-disabled", "disabled", "tabindex"];
491
- const _hoisted_2$d = { key: 0 };
492
- const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
490
+ const _hoisted_1$e = ["aria-label", "aria-disabled", "disabled", "tabindex"];
491
+ const _hoisted_2$e = { key: 0 };
492
+ const _sfc_main$g = /* @__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$d, vue.toDisplayString(__props.letter), 1)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
575
+ !__props.isLoading ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$e, vue.toDisplayString(__props.letter), 1)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$d), {
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$d);
583
+ ], 14, _hoisted_1$e);
584
584
  };
585
585
  }
586
586
  });
587
587
 
588
- const ButtonLetter = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-13b75270"]]);
588
+ const ButtonLetter = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__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$c = { class: "alert" };
599
- const _hoisted_2$c = { class: "alert__container__message" };
600
- const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
598
+ const _hoisted_1$d = { class: "alert" };
599
+ const _hoisted_2$d = { class: "alert__container__message" };
600
+ const _sfc_main$f = /* @__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$c, [
663
+ return vue.openBlock(), vue.createElementBlock("section", _hoisted_1$d, [
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$c, vue.toDisplayString(__props.message), 1),
671
+ vue.createElementVNode("p", _hoisted_2$d, 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$e, [["__scopeId", "data-v-10dcca72"]]);
687
+ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-10dcca72"]]);
688
688
 
689
- const _hoisted_1$b = {
689
+ const _hoisted_1$c = {
690
690
  key: 0,
691
691
  class: "card__header"
692
692
  };
693
- const _hoisted_2$b = { class: "card__body" };
694
- const _hoisted_3$b = {
693
+ const _hoisted_2$c = { class: "card__body" };
694
+ const _hoisted_3$c = {
695
695
  key: 1,
696
696
  class: "card__footer"
697
697
  };
698
- const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
698
+ const _sfc_main$e = /* @__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$b, [
720
+ _ctx.$slots.header ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$c, [
721
721
  vue.renderSlot(_ctx.$slots, "header", {}, void 0, true)
722
722
  ])) : vue.createCommentVNode("", true),
723
- vue.createElementVNode("div", _hoisted_2$b, [
723
+ vue.createElementVNode("div", _hoisted_2$c, [
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$b, [
736
+ _ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("footer", _hoisted_3$c, [
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$d, [["__scopeId", "data-v-2b489100"]]);
744
+ const Card = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-2b489100"]]);
745
745
 
746
746
  var SpinnerLoaderSize = /* @__PURE__ */ ((SpinnerLoaderSize2) => {
747
747
  SpinnerLoaderSize2["SMALL"] = "sm";
@@ -750,35 +750,35 @@
750
750
  return SpinnerLoaderSize2;
751
751
  })(SpinnerLoaderSize || {});
752
752
 
753
- const _hoisted_1$a = {
753
+ const _hoisted_1$b = {
754
754
  key: 0,
755
755
  class: "spinner-circle-1"
756
756
  };
757
- const _hoisted_2$a = {
757
+ const _hoisted_2$b = {
758
758
  key: 1,
759
759
  class: "spinner-circle-2"
760
760
  };
761
- const _hoisted_3$a = {
761
+ const _hoisted_3$b = {
762
762
  key: 2,
763
763
  class: "spinner-circle-3"
764
764
  };
765
- const _hoisted_4$7 = {
765
+ const _hoisted_4$8 = {
766
766
  key: 3,
767
767
  class: "spinner-circle-4"
768
768
  };
769
- const _hoisted_5$7 = {
769
+ const _hoisted_5$8 = {
770
770
  key: 4,
771
771
  class: "spinner-dot-1"
772
772
  };
773
- const _hoisted_6$4 = {
773
+ const _hoisted_6$5 = {
774
774
  key: 5,
775
775
  class: "spinner-dot-2"
776
776
  };
777
- const _hoisted_7$4 = {
777
+ const _hoisted_7$5 = {
778
778
  key: 6,
779
779
  class: "spinner-dot-3"
780
780
  };
781
- const _hoisted_8$4 = {
781
+ const _hoisted_8$5 = {
782
782
  key: 7,
783
783
  class: "spinner-dot-4"
784
784
  };
@@ -814,7 +814,7 @@
814
814
  key: 15,
815
815
  class: "spinner-search"
816
816
  };
817
- const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
817
+ const _sfc_main$d = /* @__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$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, [
867
+ __props.type === "circle1" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$b)) : vue.createCommentVNode("", true),
868
+ __props.type === "circle2" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$b)) : vue.createCommentVNode("", true),
869
+ __props.type === "circle3" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$b)) : vue.createCommentVNode("", true),
870
+ __props.type === "circle4" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$8)) : vue.createCommentVNode("", true),
871
+ __props.type === "dot1" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$8, [
872
872
  (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(3, (i) => {
873
873
  return vue.createElementVNode("div", {
874
874
  key: `dot1-${i}`,
@@ -876,9 +876,9 @@
876
876
  });
877
877
  }), 64))
878
878
  ])) : vue.createCommentVNode("", true),
879
- __props.type === "dot2" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$4)) : vue.createCommentVNode("", true),
880
- __props.type === "dot3" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$4)) : vue.createCommentVNode("", true),
881
- __props.type === "dot4" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$4)) : vue.createCommentVNode("", true),
879
+ __props.type === "dot2" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$5)) : vue.createCommentVNode("", true),
880
+ __props.type === "dot3" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$5)) : vue.createCommentVNode("", true),
881
+ __props.type === "dot4" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$5)) : vue.createCommentVNode("", true),
882
882
  __props.type === "dot5" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$3)) : vue.createCommentVNode("", true),
883
883
  __props.type === "ring1" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$3)) : vue.createCommentVNode("", true),
884
884
  __props.type === "ring2" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11$1)) : vue.createCommentVNode("", true),
@@ -894,13 +894,13 @@
894
894
  }
895
895
  });
896
896
 
897
- const _hoisted_1$9 = ["for"];
898
- const _hoisted_2$9 = ["id", "checked", "disabled"];
899
- const _hoisted_3$9 = {
897
+ const _hoisted_1$a = ["for"];
898
+ const _hoisted_2$a = ["id", "checked", "disabled"];
899
+ const _hoisted_3$a = {
900
900
  key: 0,
901
901
  class: "checkbox__label"
902
902
  };
903
- const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
903
+ const _sfc_main$c = /* @__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$9),
989
+ }, null, 40, _hoisted_2$a),
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$9, [
1007
+ _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$a, [
1008
1008
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
1009
1009
  ])) : vue.createCommentVNode("", true)
1010
- ], 14, _hoisted_1$9);
1010
+ ], 14, _hoisted_1$a);
1011
1011
  };
1012
1012
  }
1013
1013
  });
1014
1014
 
1015
- const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-29384d40"]]);
1015
+ const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-29384d40"]]);
1016
1016
 
1017
- const _hoisted_1$8 = ["for"];
1018
- const _hoisted_2$8 = ["id", "checked", "disabled", "value"];
1019
- const _hoisted_3$8 = {
1017
+ const _hoisted_1$9 = ["for"];
1018
+ const _hoisted_2$9 = ["id", "checked", "disabled", "value"];
1019
+ const _hoisted_3$9 = {
1020
1020
  key: 0,
1021
1021
  class: "radio__label"
1022
1022
  };
1023
- const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
1023
+ const _sfc_main$b = /* @__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$8),
1105
+ }, null, 40, _hoisted_2$9),
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$8, [
1114
+ _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$9, [
1115
1115
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
1116
1116
  ])) : vue.createCommentVNode("", true)
1117
- ], 14, _hoisted_1$8);
1117
+ ], 14, _hoisted_1$9);
1118
1118
  };
1119
1119
  }
1120
1120
  });
1121
1121
 
1122
- const RadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-50110fea"]]);
1122
+ const RadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__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$9 = /* @__PURE__ */ vue.defineComponent({
1143
+ const _sfc_main$a = /* @__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$9, [["__scopeId", "data-v-e52f8226"]]);
1174
+ const HpText = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-e52f8226"]]);
1175
1175
 
1176
- const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
1176
+ const _sfc_main$9 = /* @__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$8, [["__scopeId", "data-v-35210bc7"]]);
1214
+ const Heading = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-35210bc7"]]);
1215
1215
 
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 = {
1216
+ const _hoisted_1$8 = { class: "modal__header" };
1217
+ const _hoisted_2$8 = { class: "modal__title" };
1218
+ const _hoisted_3$8 = { class: "modal__content" };
1219
+ const _hoisted_4$7 = {
1220
1220
  key: 0,
1221
1221
  class: "modal__footer"
1222
1222
  };
1223
- const _hoisted_5$6 = {
1223
+ const _hoisted_5$7 = {
1224
1224
  key: 1,
1225
1225
  class: "modal__footer"
1226
1226
  };
1227
- const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
1227
+ const _sfc_main$8 = /* @__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$7, [
1306
+ vue.createElementVNode("div", _hoisted_1$8, [
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$7, vue.toDisplayString(__props.title), 1),
1315
+ vue.createElementVNode("h2", _hoisted_2$8, 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$7, [
1325
+ vue.createElementVNode("div", _hoisted_3$8, [
1326
1326
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
1327
1327
  ]),
1328
- __props.hasPrimaryButton || __props.hasSecondaryButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$6, [
1328
+ __props.hasPrimaryButton || __props.hasSecondaryButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$7, [
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$6, [
1342
+ !__props.hasPrimaryButton && !__props.hasSecondaryButton && _ctx.$slots.buttons ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$7, [
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$7, [["__scopeId", "data-v-cdf63c2b"]]);
1354
+ const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-cdf63c2b"]]);
1355
1355
 
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 = {
1356
+ const _hoisted_1$7 = ["id", "checked", "disabled", "aria-checked", "aria-labelledby"];
1357
+ const _hoisted_2$7 = ["for", "id", "tabindex", "onKeydown"];
1358
+ const _hoisted_3$7 = {
1359
1359
  key: 0,
1360
1360
  class: "toggle-switch__text"
1361
1361
  };
1362
- const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
1362
+ const _sfc_main$7 = /* @__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$6),
1427
+ }, null, 40, _hoisted_1$7),
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$6, [
1448
+ _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$7, [
1449
1449
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
1450
1450
  ])) : vue.createCommentVNode("", true)
1451
- ], 44, _hoisted_2$6)
1451
+ ], 44, _hoisted_2$7)
1452
1452
  ], 2);
1453
1453
  };
1454
1454
  }
1455
1455
  });
1456
1456
 
1457
- const ToggleSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-14c54b46"]]);
1457
+ const ToggleSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-14c54b46"]]);
1458
1458
 
1459
- const _hoisted_1$5 = { key: 0 };
1460
- const _hoisted_2$5 = ["aria-checked", "onKeydown"];
1461
- const _hoisted_3$5 = {
1459
+ const _hoisted_1$6 = { key: 0 };
1460
+ const _hoisted_2$6 = ["aria-checked", "onKeydown"];
1461
+ const _hoisted_3$6 = {
1462
1462
  key: 1,
1463
1463
  class: "theme-switcher-animation"
1464
1464
  };
1465
- const _hoisted_4$5 = ["id", "aria-checked"];
1466
- const _hoisted_5$5 = ["for", "onKeydown"];
1465
+ const _hoisted_4$6 = ["id", "aria-checked"];
1466
+ const _hoisted_5$6 = ["for", "onKeydown"];
1467
1467
 
1468
1468
 
1469
- const _sfc_main$5 = {
1469
+ const _sfc_main$6 = {
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$5, [
1581
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [
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$5)
1604
+ ], 44, _hoisted_2$6)
1605
1605
  ]))
1606
- : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$5, [
1606
+ : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$6, [
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$5), [
1617
+ }, null, 40, _hoisted_4$6), [
1618
1618
  [vue.vModelCheckbox, isDarkMode.value]
1619
1619
  ]),
1620
1620
  vue.createElementVNode("label", {
@@ -1633,31 +1633,31 @@
1633
1633
  ]
1634
1634
  }, [...(_cache[1] || (_cache[1] = [
1635
1635
  vue.createElementVNode("span", { class: "toggle--label-background" }, null, -1)
1636
- ]))], 44, _hoisted_5$5)
1636
+ ]))], 44, _hoisted_5$6)
1637
1637
  ]))
1638
1638
  }
1639
1639
  }
1640
1640
 
1641
1641
  };
1642
- const ThemeSwitcher = /*#__PURE__*/_export_sfc(_sfc_main$5, [['__scopeId',"data-v-7efca676"]]);
1642
+ const ThemeSwitcher = /*#__PURE__*/_export_sfc(_sfc_main$6, [['__scopeId',"data-v-7efca676"]]);
1643
1643
 
1644
- const _hoisted_1$4 = { class: "input__fieldset" };
1645
- const _hoisted_2$4 = {
1644
+ const _hoisted_1$5 = { class: "input__fieldset" };
1645
+ const _hoisted_2$5 = {
1646
1646
  style: {"display":"none"},
1647
1647
  "aria-hidden": true
1648
1648
  };
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
- const _hoisted_6$3 = { class: "input__footer" };
1653
- const _hoisted_7$3 = ["id"];
1654
- const _hoisted_8$3 = {
1649
+ const _hoisted_3$5 = ["for"];
1650
+ const _hoisted_4$5 = { class: "input__wrapper" };
1651
+ const _hoisted_5$5 = ["id", "value", "readonly", "aria-readonly", "disabled", "placeholder", "required", "maxlength", "aria-labelledby", "aria-describedby", "aria-invalid"];
1652
+ const _hoisted_6$4 = { class: "input__footer" };
1653
+ const _hoisted_7$4 = ["id"];
1654
+ const _hoisted_8$4 = {
1655
1655
  key: 1,
1656
1656
  class: "input__counter"
1657
1657
  };
1658
1658
 
1659
1659
 
1660
- const _sfc_main$4 = {
1660
+ const _sfc_main$5 = {
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$4, [
1788
- vue.createElementVNode("legend", _hoisted_2$4, vue.toDisplayString(__props.label), 1),
1787
+ vue.createElementVNode("fieldset", _hoisted_1$5, [
1788
+ vue.createElementVNode("legend", _hoisted_2$5, 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$4))
1794
+ }, vue.toDisplayString(__props.label), 11, _hoisted_3$5))
1795
1795
  : vue.createCommentVNode("", true),
1796
- vue.createElementVNode("div", _hoisted_4$4, [
1796
+ vue.createElementVNode("div", _hoisted_4$5, [
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$4),
1825
+ }, null, 40, _hoisted_5$5),
1826
1826
  (__props.iconHasAction && __props.trailingIcon)
1827
1827
  ? (vue.openBlock(), vue.createBlock(vue.unref(HpButtonIcon), {
1828
1828
  key: 1,
@@ -1846,16 +1846,16 @@
1846
1846
  : vue.createCommentVNode("", true)
1847
1847
  ])
1848
1848
  ]),
1849
- vue.createElementVNode("div", _hoisted_6$3, [
1849
+ vue.createElementVNode("div", _hoisted_6$4, [
1850
1850
  (__props.helperText)
1851
1851
  ? (vue.openBlock(), vue.createElementBlock("span", {
1852
1852
  key: 0,
1853
1853
  id: `${__props.id}-helper-text`,
1854
1854
  class: vue.normalizeClass(["input__helper-text", { [`input__helper-text--${__props.status}`]: __props.status !== 'default' }])
1855
- }, vue.toDisplayString(__props.helperText), 11, _hoisted_7$3))
1855
+ }, vue.toDisplayString(__props.helperText), 11, _hoisted_7$4))
1856
1856
  : vue.createCommentVNode("", true),
1857
1857
  (__props.hasLengthCount)
1858
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8$3, vue.toDisplayString(__props.modelValue?.length || 0) + "/" + vue.toDisplayString(__props.maxLength), 1))
1858
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8$4, vue.toDisplayString(__props.modelValue?.length || 0) + "/" + vue.toDisplayString(__props.maxLength), 1))
1859
1859
  : vue.createCommentVNode("", true)
1860
1860
  ])
1861
1861
  ], 6))
@@ -1863,24 +1863,24 @@
1863
1863
  }
1864
1864
 
1865
1865
  };
1866
- const InputText = /*#__PURE__*/_export_sfc(_sfc_main$4, [['__scopeId',"data-v-6450d99a"]]);
1866
+ const HpInputText = /*#__PURE__*/_export_sfc(_sfc_main$5, [['__scopeId',"data-v-6450d99a"]]);
1867
1867
 
1868
- const _hoisted_1$3 = { class: "input__fieldset" };
1869
- const _hoisted_2$3 = {
1868
+ const _hoisted_1$4 = { class: "input__fieldset" };
1869
+ const _hoisted_2$4 = {
1870
1870
  style: {"display":"none"},
1871
1871
  "aria-hidden": true
1872
1872
  };
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
- const _hoisted_6$2 = { class: "input__buttons-container" };
1877
- const _hoisted_7$2 = ["disabled", "aria-label"];
1878
- const _hoisted_8$2 = ["disabled", "aria-label"];
1873
+ const _hoisted_3$4 = ["for"];
1874
+ const _hoisted_4$4 = { class: "input__wrapper" };
1875
+ const _hoisted_5$4 = ["id", "value", "readonly", "aria-readonly", "disabled", "placeholder", "required", "min", "max", "aria-labelledby", "aria-describedby", "aria-invalid"];
1876
+ const _hoisted_6$3 = { class: "input__buttons-container" };
1877
+ const _hoisted_7$3 = ["disabled", "aria-label"];
1878
+ const _hoisted_8$3 = ["disabled", "aria-label"];
1879
1879
  const _hoisted_9$2 = { class: "input__footer" };
1880
1880
  const _hoisted_10$2 = ["id"];
1881
1881
 
1882
1882
 
1883
- const _sfc_main$3 = {
1883
+ const _sfc_main$4 = {
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$3, [
2050
- vue.createElementVNode("legend", _hoisted_2$3, vue.toDisplayString(__props.label), 1),
2049
+ vue.createElementVNode("fieldset", _hoisted_1$4, [
2050
+ vue.createElementVNode("legend", _hoisted_2$4, 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$3))
2056
+ }, vue.toDisplayString(__props.label), 11, _hoisted_3$4))
2057
2057
  : vue.createCommentVNode("", true),
2058
- vue.createElementVNode("div", _hoisted_4$3, [
2058
+ vue.createElementVNode("div", _hoisted_4$4, [
2059
2059
  (__props.leadingIcon)
2060
2060
  ? (vue.openBlock(), vue.createBlock(vue.unref(HpIcon), {
2061
2061
  key: 0,
@@ -2086,8 +2086,8 @@
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$3),
2090
- vue.createElementVNode("div", _hoisted_6$2, [
2089
+ }, null, 40, _hoisted_5$4),
2090
+ vue.createElementVNode("div", _hoisted_6$3, [
2091
2091
  vue.createElementVNode("button", {
2092
2092
  type: "button",
2093
2093
  disabled: __props.disabled || __props.readonly || isMinValue.value,
@@ -2100,7 +2100,7 @@
2100
2100
  size: "sm",
2101
2101
  color: "#666666"
2102
2102
  })
2103
- ], 8, _hoisted_7$2),
2103
+ ], 8, _hoisted_7$3),
2104
2104
  _cache[0] || (_cache[0] = vue.createElementVNode("div", { class: "input__buttons-container--divider" }, null, -1)),
2105
2105
  vue.createElementVNode("button", {
2106
2106
  type: "button",
@@ -2114,7 +2114,7 @@
2114
2114
  size: "sm",
2115
2115
  color: "#666666"
2116
2116
  })
2117
- ], 8, _hoisted_8$2)
2117
+ ], 8, _hoisted_8$3)
2118
2118
  ])
2119
2119
  ])
2120
2120
  ]),
@@ -2132,25 +2132,25 @@
2132
2132
  }
2133
2133
 
2134
2134
  };
2135
- const InputNumber = /*#__PURE__*/_export_sfc(_sfc_main$3, [['__scopeId',"data-v-7f20743b"]]);
2135
+ const InputNumber = /*#__PURE__*/_export_sfc(_sfc_main$4, [['__scopeId',"data-v-7f20743b"]]);
2136
2136
 
2137
- const _hoisted_1$2 = { class: "input__fieldset" };
2138
- const _hoisted_2$2 = {
2137
+ const _hoisted_1$3 = { class: "input__fieldset" };
2138
+ const _hoisted_2$3 = {
2139
2139
  style: {"display":"none"},
2140
2140
  "aria-hidden": true
2141
2141
  };
2142
- const _hoisted_3$2 = ["for", "id"];
2143
- const _hoisted_4$2 = {
2142
+ const _hoisted_3$3 = ["for", "id"];
2143
+ const _hoisted_4$3 = {
2144
2144
  key: 0,
2145
2145
  class: "required-asterisk"
2146
2146
  };
2147
- const _hoisted_5$2 = { class: "input__wrapper" };
2148
- const _hoisted_6$1 = {
2147
+ const _hoisted_5$3 = { class: "input__wrapper" };
2148
+ const _hoisted_6$2 = {
2149
2149
  key: 0,
2150
2150
  class: "autocomplete-wrapper"
2151
2151
  };
2152
- const _hoisted_7$1 = ["id", "placeholder", "disabled", "readonly", "required", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-disabled", "aria-expanded", "aria-activedescendant"];
2153
- const _hoisted_8$1 = ["aria-labelledby"];
2152
+ const _hoisted_7$2 = ["id", "placeholder", "disabled", "readonly", "required", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-disabled", "aria-expanded", "aria-activedescendant"];
2153
+ const _hoisted_8$2 = ["aria-labelledby"];
2154
2154
  const _hoisted_9$1 = ["id", "onMousedown", "aria-selected", "aria-disabled"];
2155
2155
  const _hoisted_10$1 = ["aria-expanded", "aria-owns"];
2156
2156
  const _hoisted_11 = ["id", "tabindex", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-disabled"];
@@ -2172,7 +2172,7 @@
2172
2172
  };
2173
2173
 
2174
2174
 
2175
- const _sfc_main$2 = {
2175
+ const _sfc_main$3 = {
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$2, [
2460
- vue.createElementVNode("legend", _hoisted_2$2, vue.toDisplayString(__props.label), 1),
2459
+ vue.createElementVNode("fieldset", _hoisted_1$3, [
2460
+ vue.createElementVNode("legend", _hoisted_2$3, vue.toDisplayString(__props.label), 1),
2461
2461
  (__props.modelValue !== null || __props.placeholder !== '')
2462
2462
  ? (vue.openBlock(), vue.createElementBlock("label", {
2463
2463
  key: 0,
@@ -2467,13 +2467,13 @@
2467
2467
  }, [
2468
2468
  vue.createTextVNode(vue.toDisplayString(__props.label) + " ", 1),
2469
2469
  (__props.required)
2470
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$2, "*"))
2470
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$3, "*"))
2471
2471
  : vue.createCommentVNode("", true)
2472
- ], 10, _hoisted_3$2))
2472
+ ], 10, _hoisted_3$3))
2473
2473
  : vue.createCommentVNode("", true),
2474
- vue.createElementVNode("div", _hoisted_5$2, [
2474
+ vue.createElementVNode("div", _hoisted_5$3, [
2475
2475
  (__props.autocomplete)
2476
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$1, [
2476
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$2, [
2477
2477
  vue.withDirectives(vue.createElementVNode("input", {
2478
2478
  id: __props.id,
2479
2479
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((searchText).value = $event)),
@@ -2503,7 +2503,7 @@
2503
2503
  ,
2504
2504
  role: "combobox",
2505
2505
  "aria-autocomplete": "list"
2506
- }, null, 40, _hoisted_7$1), [
2506
+ }, null, 40, _hoisted_7$2), [
2507
2507
  [vue.vModelText, searchText.value]
2508
2508
  ]),
2509
2509
  vue.createVNode(vue.unref(HpIcon), {
@@ -2533,7 +2533,7 @@
2533
2533
  "aria-disabled": option.disabled
2534
2534
  }, vue.toDisplayString(option.label), 43, _hoisted_9$1))
2535
2535
  }), 128))
2536
- ], 12, _hoisted_8$1), [
2536
+ ], 12, _hoisted_8$2), [
2537
2537
  [vue.vShow, isOpen.value && filteredOptions.value.length > 0]
2538
2538
  ])
2539
2539
  ]))
@@ -2659,22 +2659,22 @@
2659
2659
  }
2660
2660
 
2661
2661
  };
2662
- const InputSelect = /*#__PURE__*/_export_sfc(_sfc_main$2, [['__scopeId',"data-v-00cdf827"]]);
2662
+ const InputSelect = /*#__PURE__*/_export_sfc(_sfc_main$3, [['__scopeId',"data-v-00cdf827"]]);
2663
2663
 
2664
- const _hoisted_1$1 = { class: "input-range__fieldset" };
2665
- const _hoisted_2$1 = {
2664
+ const _hoisted_1$2 = { class: "input-range__fieldset" };
2665
+ const _hoisted_2$2 = {
2666
2666
  key: 0,
2667
2667
  class: "input-range__legend"
2668
2668
  };
2669
- const _hoisted_3$1 = {
2669
+ const _hoisted_3$2 = {
2670
2670
  key: 0,
2671
2671
  class: "input-range__required"
2672
2672
  };
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
- const _hoisted_6 = { class: "input-range__value-display" };
2676
- const _hoisted_7 = { class: "input-range__value" };
2677
- const _hoisted_8 = {
2673
+ const _hoisted_4$2 = { class: "input-range__wrapper" };
2674
+ const _hoisted_5$2 = ["id", "min", "max", "step", "value", "disabled", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-labelledby", "aria-describedby"];
2675
+ const _hoisted_6$1 = { class: "input-range__value-display" };
2676
+ const _hoisted_7$1 = { class: "input-range__value" };
2677
+ const _hoisted_8$1 = {
2678
2678
  key: 0,
2679
2679
  class: "input-range__unit"
2680
2680
  };
@@ -2685,7 +2685,7 @@
2685
2685
  const _hoisted_10 = ["id"];
2686
2686
 
2687
2687
 
2688
- const _sfc_main$1 = {
2688
+ const _sfc_main$2 = {
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$1, [
2771
+ vue.createElementVNode("fieldset", _hoisted_1$2, [
2772
2772
  (__props.label)
2773
- ? (vue.openBlock(), vue.createElementBlock("legend", _hoisted_2$1, [
2773
+ ? (vue.openBlock(), vue.createElementBlock("legend", _hoisted_2$2, [
2774
2774
  vue.createTextVNode(vue.toDisplayString(__props.label) + " ", 1),
2775
2775
  (__props.required)
2776
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$1, "*"))
2776
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$2, "*"))
2777
2777
  : vue.createCommentVNode("", true)
2778
2778
  ]))
2779
2779
  : vue.createCommentVNode("", true),
2780
- vue.createElementVNode("div", _hoisted_4$1, [
2780
+ vue.createElementVNode("div", _hoisted_4$2, [
2781
2781
  vue.createElementVNode("input", {
2782
2782
  id: __props.id,
2783
2783
  ref_key: "input",
@@ -2796,11 +2796,11 @@
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$1),
2800
- vue.createElementVNode("div", _hoisted_6, [
2801
- vue.createElementVNode("span", _hoisted_7, vue.toDisplayString(__props.modelValue), 1),
2799
+ }, null, 40, _hoisted_5$2),
2800
+ vue.createElementVNode("div", _hoisted_6$1, [
2801
+ vue.createElementVNode("span", _hoisted_7$1, vue.toDisplayString(__props.modelValue), 1),
2802
2802
  (__props.unit)
2803
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8, vue.toDisplayString(__props.unit), 1))
2803
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8$1, vue.toDisplayString(__props.unit), 1))
2804
2804
  : vue.createCommentVNode("", true)
2805
2805
  ])
2806
2806
  ])
@@ -2818,17 +2818,17 @@
2818
2818
  }
2819
2819
 
2820
2820
  };
2821
- const InputRange = /*#__PURE__*/_export_sfc(_sfc_main$1, [['__scopeId',"data-v-32e54a28"]]);
2821
+ const InputRange = /*#__PURE__*/_export_sfc(_sfc_main$2, [['__scopeId',"data-v-32e54a28"]]);
2822
2822
 
2823
- const _hoisted_1 = { class: "progress-bar" };
2824
- const _hoisted_2 = {
2823
+ const _hoisted_1$1 = { class: "progress-bar" };
2824
+ const _hoisted_2$1 = {
2825
2825
  key: 0,
2826
2826
  class: "progress-bar__header"
2827
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({
2828
+ const _hoisted_3$1 = { class: "progress-bar__value" };
2829
+ const _hoisted_4$1 = { class: "progress-bar__wrapper" };
2830
+ const _hoisted_5$1 = ["value", "max", "aria-labelledby"];
2831
+ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
2832
2832
  __name: "ProgressBar",
2833
2833
  props: {
2834
2834
  label: {
@@ -2868,29 +2868,172 @@
2868
2868
  "--bar-color": props.barColor || "var(--color-danger, #b91c1c)"
2869
2869
  }));
2870
2870
  return (_ctx, _cache) => {
2871
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
2872
- __props.hasLabel ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
2871
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [
2872
+ __props.hasLabel ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$1, [
2873
2873
  vue.createElementVNode("span", {
2874
2874
  class: "progress-bar__label",
2875
2875
  id: labelId
2876
2876
  }, vue.toDisplayString(__props.label), 1),
2877
- vue.createElementVNode("span", _hoisted_3, vue.toDisplayString(normalizedValue.value) + "% ", 1)
2877
+ vue.createElementVNode("span", _hoisted_3$1, vue.toDisplayString(normalizedValue.value) + "% ", 1)
2878
2878
  ])) : vue.createCommentVNode("", true),
2879
- vue.createElementVNode("div", _hoisted_4, [
2879
+ vue.createElementVNode("div", _hoisted_4$1, [
2880
2880
  vue.createElementVNode("progress", {
2881
2881
  class: "progress-bar__track",
2882
2882
  value: __props.value,
2883
2883
  max: __props.max,
2884
2884
  "aria-labelledby": __props.label ? labelId : void 0,
2885
2885
  style: vue.normalizeStyle(trackStyle.value)
2886
- }, null, 12, _hoisted_5)
2886
+ }, null, 12, _hoisted_5$1)
2887
2887
  ])
2888
2888
  ]);
2889
2889
  };
2890
2890
  }
2891
2891
  });
2892
2892
 
2893
- const ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-80b0b9cd"]]);
2893
+ const ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-80b0b9cd"]]);
2894
+
2895
+ const _hoisted_1 = { class: "data-table__table" };
2896
+ const _hoisted_2 = { class: "data-table__row" };
2897
+ const _hoisted_3 = {
2898
+ key: 0,
2899
+ class: "data-table__header-cell data-table__header-cell--right"
2900
+ };
2901
+ const _hoisted_4 = { class: "data-table__body" };
2902
+ const _hoisted_5 = {
2903
+ key: 0,
2904
+ class: "data-table__row"
2905
+ };
2906
+ const _hoisted_6 = ["colspan"];
2907
+ const _hoisted_7 = ["data-label"];
2908
+ const _hoisted_8 = {
2909
+ key: 0,
2910
+ class: "data-table__cell data-table__cell--actions"
2911
+ };
2912
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
2913
+ __name: "DataTable",
2914
+ props: {
2915
+ searchable: {
2916
+ type: Boolean,
2917
+ default: true
2918
+ },
2919
+ placeholderSearch: {
2920
+ type: String,
2921
+ default: "Digite para buscar..."
2922
+ },
2923
+ hasRowLine: {
2924
+ type: Boolean,
2925
+ default: false
2926
+ },
2927
+ items: {
2928
+ type: Array,
2929
+ required: true
2930
+ },
2931
+ columns: {
2932
+ type: Array,
2933
+ required: true
2934
+ }
2935
+ },
2936
+ setup(__props) {
2937
+ const props = __props;
2938
+ const search = vue.ref("");
2939
+ const filteredItems = vue.computed(() => {
2940
+ if (!search.value) return props.items;
2941
+ return props.items.filter(
2942
+ (item) => JSON.stringify(item).toLowerCase().includes(search.value.toLowerCase())
2943
+ );
2944
+ });
2945
+ return (_ctx, _cache) => {
2946
+ return vue.openBlock(), vue.createElementBlock("section", {
2947
+ class: vue.normalizeClass(["data-table", { "data-table--has-row-line": __props.hasRowLine }]),
2948
+ role: "region"
2949
+ }, [
2950
+ __props.searchable ? (vue.openBlock(), vue.createBlock(vue.unref(HpInputText), {
2951
+ key: 0,
2952
+ class: "data-table__search",
2953
+ leadingIcon: "BE0090",
2954
+ placeholder: __props.placeholderSearch,
2955
+ "model-value": search.value,
2956
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => search.value = $event),
2957
+ "aria-label": __props.placeholderSearch
2958
+ }, null, 8, ["placeholder", "model-value", "aria-label"])) : vue.createCommentVNode("", true),
2959
+ vue.createElementVNode("table", _hoisted_1, [
2960
+ vue.createElementVNode("thead", null, [
2961
+ vue.createElementVNode("tr", _hoisted_2, [
2962
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.columns, (column, index) => {
2963
+ return vue.openBlock(), vue.createElementBlock("th", {
2964
+ key: index,
2965
+ class: vue.normalizeClass(["data-table__header-cell", {
2966
+ "data-table__header-cell--right": column.align === "right"
2967
+ }]),
2968
+ style: vue.normalizeStyle({ width: column.width })
2969
+ }, [
2970
+ vue.createVNode(vue.unref(HpText), null, {
2971
+ default: vue.withCtx(() => [
2972
+ vue.createTextVNode(vue.toDisplayString(column.label), 1)
2973
+ ]),
2974
+ _: 2
2975
+ }, 1024)
2976
+ ], 6);
2977
+ }), 128)),
2978
+ _ctx.$slots.actions ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_3, [
2979
+ vue.createVNode(vue.unref(HpText), null, {
2980
+ default: vue.withCtx(() => [..._cache[1] || (_cache[1] = [
2981
+ vue.createTextVNode("Ações", -1)
2982
+ ])]),
2983
+ _: 1
2984
+ })
2985
+ ])) : vue.createCommentVNode("", true)
2986
+ ])
2987
+ ]),
2988
+ vue.createElementVNode("tbody", _hoisted_4, [
2989
+ filteredItems.value.length === 0 ? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_5, [
2990
+ vue.createElementVNode("td", {
2991
+ class: "data-table__cell",
2992
+ colspan: __props.columns.length + (_ctx.$slots.actions ? 1 : 0),
2993
+ role: "status",
2994
+ "aria-live": "polite"
2995
+ }, [
2996
+ vue.createVNode(vue.unref(HpText), null, {
2997
+ default: vue.withCtx(() => [..._cache[2] || (_cache[2] = [
2998
+ vue.createTextVNode("Nenhum resultado encontrado.", -1)
2999
+ ])]),
3000
+ _: 1
3001
+ })
3002
+ ], 8, _hoisted_6)
3003
+ ])) : (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(filteredItems.value, (item, rowIndex) => {
3004
+ return vue.openBlock(), vue.createElementBlock("tr", {
3005
+ key: rowIndex,
3006
+ class: "data-table__row"
3007
+ }, [
3008
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.columns, (column) => {
3009
+ return vue.openBlock(), vue.createElementBlock("td", {
3010
+ key: column.key,
3011
+ class: vue.normalizeClass(["data-table__cell", {
3012
+ "data-table__cell--right": column.align === "right"
3013
+ }]),
3014
+ "data-label": column.label
3015
+ }, [
3016
+ vue.createVNode(vue.unref(HpText), null, {
3017
+ default: vue.withCtx(() => [
3018
+ vue.createTextVNode(vue.toDisplayString(item[column.key]), 1)
3019
+ ]),
3020
+ _: 2
3021
+ }, 1024)
3022
+ ], 10, _hoisted_7);
3023
+ }), 128)),
3024
+ _ctx.$slots.actions ? (vue.openBlock(), vue.createElementBlock("td", _hoisted_8, [
3025
+ vue.renderSlot(_ctx.$slots, "actions", { item }, void 0, true)
3026
+ ])) : vue.createCommentVNode("", true)
3027
+ ]);
3028
+ }), 128))
3029
+ ])
3030
+ ])
3031
+ ], 2);
3032
+ };
3033
+ }
3034
+ });
3035
+
3036
+ const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5012aa82"]]);
2894
3037
 
2895
3038
  const components = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
2896
3039
  __proto__: null,
@@ -2902,17 +3045,18 @@
2902
3045
  HpButtonTertiary: ButtonTertiary,
2903
3046
  HpCard: Card,
2904
3047
  HpCheckbox: Checkbox,
3048
+ HpDataTable: DataTable,
2905
3049
  HpHeading: Heading,
2906
3050
  HpIcon,
2907
3051
  HpInputNumber: InputNumber,
2908
3052
  HpInputRange: InputRange,
2909
3053
  HpInputSelect: InputSelect,
2910
- HpInputText: InputText,
3054
+ HpInputText,
2911
3055
  HpModal: Modal,
2912
3056
  HpProgressBar: ProgressBar,
2913
3057
  HpRadioButton: RadioButton,
2914
- HpSpinnerLoader: _sfc_main$c,
2915
- HpText: Text,
3058
+ HpSpinnerLoader: _sfc_main$d,
3059
+ HpText,
2916
3060
  HpThemeSwitcher: ThemeSwitcher,
2917
3061
  HpToggleSwitch: ToggleSwitch
2918
3062
  }, Symbol.toStringTag, { value: 'Module' }));
@@ -2960,17 +3104,18 @@
2960
3104
  exports.HpButtonTertiary = ButtonTertiary;
2961
3105
  exports.HpCard = Card;
2962
3106
  exports.HpCheckbox = Checkbox;
3107
+ exports.HpDataTable = DataTable;
2963
3108
  exports.HpHeading = Heading;
2964
3109
  exports.HpIcon = HpIcon;
2965
3110
  exports.HpInputNumber = InputNumber;
2966
3111
  exports.HpInputRange = InputRange;
2967
3112
  exports.HpInputSelect = InputSelect;
2968
- exports.HpInputText = InputText;
3113
+ exports.HpInputText = HpInputText;
2969
3114
  exports.HpModal = Modal;
2970
3115
  exports.HpProgressBar = ProgressBar;
2971
3116
  exports.HpRadioButton = RadioButton;
2972
- exports.HpSpinnerLoader = _sfc_main$c;
2973
- exports.HpText = Text;
3117
+ exports.HpSpinnerLoader = _sfc_main$d;
3118
+ exports.HpText = HpText;
2974
3119
  exports.HpThemeSwitcher = ThemeSwitcher;
2975
3120
  exports.HpToggleSwitch = ToggleSwitch;
2976
3121
  exports.default = index;