@henriquepetrelli/hp-design-system 1.1.39 → 1.1.41

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.
@@ -805,27 +805,27 @@
805
805
  key: 7,
806
806
  class: "spinner-dot-4"
807
807
  };
808
- const _hoisted_9$3 = {
808
+ const _hoisted_9$4 = {
809
809
  key: 8,
810
810
  class: "spinner-dot-5"
811
811
  };
812
- const _hoisted_10$3 = {
812
+ const _hoisted_10$4 = {
813
813
  key: 9,
814
814
  class: "spinner-ring-1"
815
815
  };
816
- const _hoisted_11$1 = {
816
+ const _hoisted_11$2 = {
817
817
  key: 10,
818
818
  class: "spinner-ring-2"
819
819
  };
820
- const _hoisted_12$1 = {
820
+ const _hoisted_12$2 = {
821
821
  key: 11,
822
822
  class: "spinner-ring-3"
823
823
  };
824
- const _hoisted_13$1 = {
824
+ const _hoisted_13$2 = {
825
825
  key: 12,
826
826
  class: "spinner-clock"
827
827
  };
828
- const _hoisted_14$1 = {
828
+ const _hoisted_14$2 = {
829
829
  key: 13,
830
830
  class: "spinner-reload"
831
831
  };
@@ -902,14 +902,14 @@
902
902
  __props.type === "dot2" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$5)) : vue.createCommentVNode("", true),
903
903
  __props.type === "dot3" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$5)) : vue.createCommentVNode("", true),
904
904
  __props.type === "dot4" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$5)) : vue.createCommentVNode("", true),
905
- __props.type === "dot5" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$3)) : vue.createCommentVNode("", true),
906
- __props.type === "ring1" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$3)) : vue.createCommentVNode("", true),
907
- __props.type === "ring2" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11$1)) : vue.createCommentVNode("", true),
908
- __props.type === "ring3" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$1)) : vue.createCommentVNode("", true),
909
- __props.type === "clock" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13$1, [..._cache[0] || (_cache[0] = [
905
+ __props.type === "dot5" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$4)) : vue.createCommentVNode("", true),
906
+ __props.type === "ring1" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$4)) : vue.createCommentVNode("", true),
907
+ __props.type === "ring2" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11$2)) : vue.createCommentVNode("", true),
908
+ __props.type === "ring3" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$2)) : vue.createCommentVNode("", true),
909
+ __props.type === "clock" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13$2, [..._cache[0] || (_cache[0] = [
910
910
  vue.createElementVNode("div", { class: "clock-hand" }, null, -1)
911
911
  ])])) : vue.createCommentVNode("", true),
912
- __props.type === "reload" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14$1)) : vue.createCommentVNode("", true),
912
+ __props.type === "reload" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14$2)) : vue.createCommentVNode("", true),
913
913
  __props.type === "engine" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_15$1)) : vue.createCommentVNode("", true),
914
914
  __props.type === "search" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_16$1)) : vue.createCommentVNode("", true)
915
915
  ], 6);
@@ -1355,13 +1355,13 @@
1355
1355
  key: 0,
1356
1356
  label: __props.secondaryButtonLabel,
1357
1357
  color: __props.secondaryButtonColor,
1358
- onClick: handlePrimaryButtonClick
1358
+ onClick: handleSecondaryButtonClick
1359
1359
  }, null, 8, ["label", "color"])) : vue.createCommentVNode("", true),
1360
1360
  __props.hasPrimaryButton ? (vue.openBlock(), vue.createBlock(vue.unref(HpButtonPrimary), {
1361
1361
  key: 1,
1362
1362
  label: __props.primaryButtonLabel,
1363
1363
  backgroundColor: __props.primaryButtonColor,
1364
- onClick: handleSecondaryButtonClick
1364
+ onClick: handlePrimaryButtonClick
1365
1365
  }, null, 8, ["label", "backgroundColor"])) : vue.createCommentVNode("", true)
1366
1366
  ])) : vue.createCommentVNode("", true),
1367
1367
  !__props.hasPrimaryButton && !__props.hasSecondaryButton && _ctx.$slots.buttons ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$7, [
@@ -1376,7 +1376,7 @@
1376
1376
  }
1377
1377
  });
1378
1378
 
1379
- const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-cdf63c2b"]]);
1379
+ const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-0c7c720e"]]);
1380
1380
 
1381
1381
  const _hoisted_1$9 = ["id", "checked", "disabled", "aria-checked", "aria-labelledby"];
1382
1382
  const _hoisted_2$9 = ["for", "id", "tabindex", "onKeydown"];
@@ -1910,8 +1910,8 @@
1910
1910
  const _hoisted_6$3 = { class: "input__buttons-container" };
1911
1911
  const _hoisted_7$3 = ["disabled", "aria-label"];
1912
1912
  const _hoisted_8$3 = ["disabled", "aria-label"];
1913
- const _hoisted_9$2 = { class: "input__footer" };
1914
- const _hoisted_10$2 = ["id"];
1913
+ const _hoisted_9$3 = { class: "input__footer" };
1914
+ const _hoisted_10$3 = ["id"];
1915
1915
 
1916
1916
 
1917
1917
  const _sfc_main$6 = {
@@ -2152,13 +2152,13 @@
2152
2152
  ])
2153
2153
  ])
2154
2154
  ]),
2155
- vue.createElementVNode("div", _hoisted_9$2, [
2155
+ vue.createElementVNode("div", _hoisted_9$3, [
2156
2156
  (__props.helperText)
2157
2157
  ? (vue.openBlock(), vue.createElementBlock("span", {
2158
2158
  key: 0,
2159
2159
  id: `${__props.id}-helper-text`,
2160
2160
  class: vue.normalizeClass(["input__helper-text", { [`input__helper-text--${__props.status}`]: __props.status !== 'default' }])
2161
- }, vue.toDisplayString(__props.helperText), 11, _hoisted_10$2))
2161
+ }, vue.toDisplayString(__props.helperText), 11, _hoisted_10$3))
2162
2162
  : vue.createCommentVNode("", true)
2163
2163
  ])
2164
2164
  ], 6))
@@ -2185,15 +2185,15 @@
2185
2185
  };
2186
2186
  const _hoisted_7$2 = ["id", "placeholder", "disabled", "readonly", "required", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-disabled", "aria-expanded", "aria-activedescendant"];
2187
2187
  const _hoisted_8$2 = ["aria-labelledby"];
2188
- const _hoisted_9$1 = ["id", "onMousedown", "aria-selected", "aria-disabled"];
2189
- const _hoisted_10$1 = ["aria-expanded", "aria-owns"];
2190
- const _hoisted_11 = ["id", "tabindex", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-disabled"];
2191
- const _hoisted_12 = {
2188
+ const _hoisted_9$2 = ["id", "onMousedown", "aria-selected", "aria-disabled"];
2189
+ const _hoisted_10$2 = ["aria-expanded", "aria-owns"];
2190
+ const _hoisted_11$1 = ["id", "tabindex", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-disabled"];
2191
+ const _hoisted_12$1 = {
2192
2192
  key: 0,
2193
2193
  class: "required-asterisk"
2194
2194
  };
2195
- const _hoisted_13 = ["id", "aria-activedescendant"];
2196
- const _hoisted_14 = ["id", "onMousedown", "aria-selected", "aria-disabled"];
2195
+ const _hoisted_13$1 = ["id", "aria-activedescendant"];
2196
+ const _hoisted_14$1 = ["id", "onMousedown", "aria-selected", "aria-disabled"];
2197
2197
  const _hoisted_15 = ["value", "disabled", "required"];
2198
2198
  const _hoisted_16 = ["selected"];
2199
2199
  const _hoisted_17 = ["value", "disabled"];
@@ -2565,7 +2565,7 @@
2565
2565
  role: "option",
2566
2566
  "aria-selected": option.value === __props.modelValue,
2567
2567
  "aria-disabled": option.disabled
2568
- }, vue.toDisplayString(option.label), 43, _hoisted_9$1))
2568
+ }, vue.toDisplayString(option.label), 43, _hoisted_9$2))
2569
2569
  }), 128))
2570
2570
  ], 12, _hoisted_8$2), [
2571
2571
  [vue.vShow, isOpen.value && filteredOptions.value.length > 0]
@@ -2607,7 +2607,7 @@
2607
2607
  vue.createElementVNode("span", null, [
2608
2608
  vue.createTextVNode(vue.toDisplayString(selectedLabel.value) + " ", 1),
2609
2609
  (__props.required && isShowingPlaceholder.value)
2610
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_12, "*"))
2610
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_12$1, "*"))
2611
2611
  : vue.createCommentVNode("", true)
2612
2612
  ]),
2613
2613
  vue.createVNode(vue.unref(HpIcon), {
@@ -2616,7 +2616,7 @@
2616
2616
  class: "custom-select__arrow",
2617
2617
  "aria-hidden": "true"
2618
2618
  })
2619
- ], 40, _hoisted_11),
2619
+ ], 40, _hoisted_11$1),
2620
2620
  vue.withDirectives(vue.createElementVNode("div", {
2621
2621
  id: `${__props.id}-listbox`,
2622
2622
  class: "custom-select__options",
@@ -2638,9 +2638,9 @@
2638
2638
  role: "option",
2639
2639
  "aria-selected": option.value === __props.modelValue,
2640
2640
  "aria-disabled": option.disabled
2641
- }, vue.toDisplayString(option.label), 43, _hoisted_14))
2641
+ }, vue.toDisplayString(option.label), 43, _hoisted_14$1))
2642
2642
  }), 128))
2643
- ], 12, _hoisted_13), [
2643
+ ], 12, _hoisted_13$1), [
2644
2644
  [vue.vShow, isOpen.value]
2645
2645
  ]),
2646
2646
  vue.withDirectives(vue.createElementVNode("select", {
@@ -2667,7 +2667,7 @@
2667
2667
  ], 40, _hoisted_15), [
2668
2668
  [vue.vShow, false]
2669
2669
  ])
2670
- ], 10, _hoisted_10$1))
2670
+ ], 10, _hoisted_10$2))
2671
2671
  ])
2672
2672
  ]),
2673
2673
  vue.createElementVNode("div", _hoisted_18, [
@@ -2712,11 +2712,11 @@
2712
2712
  key: 0,
2713
2713
  class: "input-range__unit"
2714
2714
  };
2715
- const _hoisted_9 = {
2715
+ const _hoisted_9$1 = {
2716
2716
  key: 0,
2717
2717
  class: "input-range__footer"
2718
2718
  };
2719
- const _hoisted_10 = ["id"];
2719
+ const _hoisted_10$1 = ["id"];
2720
2720
 
2721
2721
 
2722
2722
  const _sfc_main$4 = {
@@ -2840,11 +2840,11 @@
2840
2840
  ])
2841
2841
  ]),
2842
2842
  (__props.helperText)
2843
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9, [
2843
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$1, [
2844
2844
  vue.createElementVNode("span", {
2845
2845
  id: `${__props.id}-helper`,
2846
2846
  class: "input-range__helper-text"
2847
- }, vue.toDisplayString(__props.helperText), 9, _hoisted_10)
2847
+ }, vue.toDisplayString(__props.helperText), 9, _hoisted_10$1)
2848
2848
  ]))
2849
2849
  : vue.createCommentVNode("", true)
2850
2850
  ], 2))
@@ -2940,6 +2940,12 @@
2940
2940
  key: 0,
2941
2941
  class: "data-table__cell data-table__cell--actions"
2942
2942
  };
2943
+ const _hoisted_9 = { key: 0 };
2944
+ const _hoisted_10 = ["colspan"];
2945
+ const _hoisted_11 = { class: "data-table__footer-content" };
2946
+ const _hoisted_12 = { class: "data-table__footer-left" };
2947
+ const _hoisted_13 = { class: "data-table__footer-center" };
2948
+ const _hoisted_14 = { class: "data-table__footer-right" };
2943
2949
  const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
2944
2950
  __name: "DataTable",
2945
2951
  props: {
@@ -2975,6 +2981,7 @@
2975
2981
  }]),
2976
2982
  role: "region"
2977
2983
  }, [
2984
+ vue.renderSlot(_ctx.$slots, "filters", {}, void 0, true),
2978
2985
  __props.searchable ? (vue.openBlock(), vue.createBlock(vue.unref(HpInputText), {
2979
2986
  key: 0,
2980
2987
  class: "data-table__search",
@@ -3068,7 +3075,27 @@
3068
3075
  ])) : vue.createCommentVNode("", true)
3069
3076
  ]);
3070
3077
  }), 128))
3071
- ])
3078
+ ]),
3079
+ _ctx.$slots["footer-left"] || _ctx.$slots["footer-center"] || _ctx.$slots["footer-right"] ? (vue.openBlock(), vue.createElementBlock("tfoot", _hoisted_9, [
3080
+ vue.createElementVNode("tr", null, [
3081
+ vue.createElementVNode("td", {
3082
+ class: "data-table__footer-cell",
3083
+ colspan: __props.columns.length + (_ctx.$slots.actions ? 1 : 0)
3084
+ }, [
3085
+ vue.createElementVNode("div", _hoisted_11, [
3086
+ vue.createElementVNode("div", _hoisted_12, [
3087
+ vue.renderSlot(_ctx.$slots, "footer-left", {}, void 0, true)
3088
+ ]),
3089
+ vue.createElementVNode("div", _hoisted_13, [
3090
+ vue.renderSlot(_ctx.$slots, "footer-center", {}, void 0, true)
3091
+ ]),
3092
+ vue.createElementVNode("div", _hoisted_14, [
3093
+ vue.renderSlot(_ctx.$slots, "footer-right", {}, void 0, true)
3094
+ ])
3095
+ ])
3096
+ ], 8, _hoisted_10)
3097
+ ])
3098
+ ])) : vue.createCommentVNode("", true)
3072
3099
  ])
3073
3100
  ])
3074
3101
  ], 2);
@@ -3076,7 +3103,7 @@
3076
3103
  }
3077
3104
  });
3078
3105
 
3079
- const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-d14910bd"]]);
3106
+ const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-6e4022e9"]]);
3080
3107
 
3081
3108
  const _sfc_main$1 = { };
3082
3109