@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.
|
@@ -801,27 +801,27 @@ const _hoisted_8$5 = {
|
|
|
801
801
|
key: 7,
|
|
802
802
|
class: "spinner-dot-4"
|
|
803
803
|
};
|
|
804
|
-
const _hoisted_9$
|
|
804
|
+
const _hoisted_9$4 = {
|
|
805
805
|
key: 8,
|
|
806
806
|
class: "spinner-dot-5"
|
|
807
807
|
};
|
|
808
|
-
const _hoisted_10$
|
|
808
|
+
const _hoisted_10$4 = {
|
|
809
809
|
key: 9,
|
|
810
810
|
class: "spinner-ring-1"
|
|
811
811
|
};
|
|
812
|
-
const _hoisted_11$
|
|
812
|
+
const _hoisted_11$2 = {
|
|
813
813
|
key: 10,
|
|
814
814
|
class: "spinner-ring-2"
|
|
815
815
|
};
|
|
816
|
-
const _hoisted_12$
|
|
816
|
+
const _hoisted_12$2 = {
|
|
817
817
|
key: 11,
|
|
818
818
|
class: "spinner-ring-3"
|
|
819
819
|
};
|
|
820
|
-
const _hoisted_13$
|
|
820
|
+
const _hoisted_13$2 = {
|
|
821
821
|
key: 12,
|
|
822
822
|
class: "spinner-clock"
|
|
823
823
|
};
|
|
824
|
-
const _hoisted_14$
|
|
824
|
+
const _hoisted_14$2 = {
|
|
825
825
|
key: 13,
|
|
826
826
|
class: "spinner-reload"
|
|
827
827
|
};
|
|
@@ -898,14 +898,14 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
898
898
|
__props.type === "dot2" ? (openBlock(), createElementBlock("div", _hoisted_6$5)) : createCommentVNode("", true),
|
|
899
899
|
__props.type === "dot3" ? (openBlock(), createElementBlock("div", _hoisted_7$5)) : createCommentVNode("", true),
|
|
900
900
|
__props.type === "dot4" ? (openBlock(), createElementBlock("div", _hoisted_8$5)) : createCommentVNode("", true),
|
|
901
|
-
__props.type === "dot5" ? (openBlock(), createElementBlock("div", _hoisted_9$
|
|
902
|
-
__props.type === "ring1" ? (openBlock(), createElementBlock("div", _hoisted_10$
|
|
903
|
-
__props.type === "ring2" ? (openBlock(), createElementBlock("div", _hoisted_11$
|
|
904
|
-
__props.type === "ring3" ? (openBlock(), createElementBlock("div", _hoisted_12$
|
|
905
|
-
__props.type === "clock" ? (openBlock(), createElementBlock("div", _hoisted_13$
|
|
901
|
+
__props.type === "dot5" ? (openBlock(), createElementBlock("div", _hoisted_9$4)) : createCommentVNode("", true),
|
|
902
|
+
__props.type === "ring1" ? (openBlock(), createElementBlock("div", _hoisted_10$4)) : createCommentVNode("", true),
|
|
903
|
+
__props.type === "ring2" ? (openBlock(), createElementBlock("div", _hoisted_11$2)) : createCommentVNode("", true),
|
|
904
|
+
__props.type === "ring3" ? (openBlock(), createElementBlock("div", _hoisted_12$2)) : createCommentVNode("", true),
|
|
905
|
+
__props.type === "clock" ? (openBlock(), createElementBlock("div", _hoisted_13$2, [..._cache[0] || (_cache[0] = [
|
|
906
906
|
createElementVNode("div", { class: "clock-hand" }, null, -1)
|
|
907
907
|
])])) : createCommentVNode("", true),
|
|
908
|
-
__props.type === "reload" ? (openBlock(), createElementBlock("div", _hoisted_14$
|
|
908
|
+
__props.type === "reload" ? (openBlock(), createElementBlock("div", _hoisted_14$2)) : createCommentVNode("", true),
|
|
909
909
|
__props.type === "engine" ? (openBlock(), createElementBlock("div", _hoisted_15$1)) : createCommentVNode("", true),
|
|
910
910
|
__props.type === "search" ? (openBlock(), createElementBlock("div", _hoisted_16$1)) : createCommentVNode("", true)
|
|
911
911
|
], 6);
|
|
@@ -1351,13 +1351,13 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
1351
1351
|
key: 0,
|
|
1352
1352
|
label: __props.secondaryButtonLabel,
|
|
1353
1353
|
color: __props.secondaryButtonColor,
|
|
1354
|
-
onClick:
|
|
1354
|
+
onClick: handleSecondaryButtonClick
|
|
1355
1355
|
}, null, 8, ["label", "color"])) : createCommentVNode("", true),
|
|
1356
1356
|
__props.hasPrimaryButton ? (openBlock(), createBlock(unref(HpButtonPrimary), {
|
|
1357
1357
|
key: 1,
|
|
1358
1358
|
label: __props.primaryButtonLabel,
|
|
1359
1359
|
backgroundColor: __props.primaryButtonColor,
|
|
1360
|
-
onClick:
|
|
1360
|
+
onClick: handlePrimaryButtonClick
|
|
1361
1361
|
}, null, 8, ["label", "backgroundColor"])) : createCommentVNode("", true)
|
|
1362
1362
|
])) : createCommentVNode("", true),
|
|
1363
1363
|
!__props.hasPrimaryButton && !__props.hasSecondaryButton && _ctx.$slots.buttons ? (openBlock(), createElementBlock("div", _hoisted_5$7, [
|
|
@@ -1372,7 +1372,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
1372
1372
|
}
|
|
1373
1373
|
});
|
|
1374
1374
|
|
|
1375
|
-
const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-
|
|
1375
|
+
const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-0c7c720e"]]);
|
|
1376
1376
|
|
|
1377
1377
|
const _hoisted_1$9 = ["id", "checked", "disabled", "aria-checked", "aria-labelledby"];
|
|
1378
1378
|
const _hoisted_2$9 = ["for", "id", "tabindex", "onKeydown"];
|
|
@@ -1906,8 +1906,8 @@ const _hoisted_5$4 = ["id", "value", "readonly", "aria-readonly", "disabled", "p
|
|
|
1906
1906
|
const _hoisted_6$3 = { class: "input__buttons-container" };
|
|
1907
1907
|
const _hoisted_7$3 = ["disabled", "aria-label"];
|
|
1908
1908
|
const _hoisted_8$3 = ["disabled", "aria-label"];
|
|
1909
|
-
const _hoisted_9$
|
|
1910
|
-
const _hoisted_10$
|
|
1909
|
+
const _hoisted_9$3 = { class: "input__footer" };
|
|
1910
|
+
const _hoisted_10$3 = ["id"];
|
|
1911
1911
|
|
|
1912
1912
|
|
|
1913
1913
|
const _sfc_main$6 = {
|
|
@@ -2148,13 +2148,13 @@ return (_ctx, _cache) => {
|
|
|
2148
2148
|
])
|
|
2149
2149
|
])
|
|
2150
2150
|
]),
|
|
2151
|
-
createElementVNode("div", _hoisted_9$
|
|
2151
|
+
createElementVNode("div", _hoisted_9$3, [
|
|
2152
2152
|
(__props.helperText)
|
|
2153
2153
|
? (openBlock(), createElementBlock("span", {
|
|
2154
2154
|
key: 0,
|
|
2155
2155
|
id: `${__props.id}-helper-text`,
|
|
2156
2156
|
class: normalizeClass(["input__helper-text", { [`input__helper-text--${__props.status}`]: __props.status !== 'default' }])
|
|
2157
|
-
}, toDisplayString(__props.helperText), 11, _hoisted_10$
|
|
2157
|
+
}, toDisplayString(__props.helperText), 11, _hoisted_10$3))
|
|
2158
2158
|
: createCommentVNode("", true)
|
|
2159
2159
|
])
|
|
2160
2160
|
], 6))
|
|
@@ -2181,15 +2181,15 @@ const _hoisted_6$2 = {
|
|
|
2181
2181
|
};
|
|
2182
2182
|
const _hoisted_7$2 = ["id", "placeholder", "disabled", "readonly", "required", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-disabled", "aria-expanded", "aria-activedescendant"];
|
|
2183
2183
|
const _hoisted_8$2 = ["aria-labelledby"];
|
|
2184
|
-
const _hoisted_9$
|
|
2185
|
-
const _hoisted_10$
|
|
2186
|
-
const _hoisted_11 = ["id", "tabindex", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-disabled"];
|
|
2187
|
-
const _hoisted_12 = {
|
|
2184
|
+
const _hoisted_9$2 = ["id", "onMousedown", "aria-selected", "aria-disabled"];
|
|
2185
|
+
const _hoisted_10$2 = ["aria-expanded", "aria-owns"];
|
|
2186
|
+
const _hoisted_11$1 = ["id", "tabindex", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-disabled"];
|
|
2187
|
+
const _hoisted_12$1 = {
|
|
2188
2188
|
key: 0,
|
|
2189
2189
|
class: "required-asterisk"
|
|
2190
2190
|
};
|
|
2191
|
-
const _hoisted_13 = ["id", "aria-activedescendant"];
|
|
2192
|
-
const _hoisted_14 = ["id", "onMousedown", "aria-selected", "aria-disabled"];
|
|
2191
|
+
const _hoisted_13$1 = ["id", "aria-activedescendant"];
|
|
2192
|
+
const _hoisted_14$1 = ["id", "onMousedown", "aria-selected", "aria-disabled"];
|
|
2193
2193
|
const _hoisted_15 = ["value", "disabled", "required"];
|
|
2194
2194
|
const _hoisted_16 = ["selected"];
|
|
2195
2195
|
const _hoisted_17 = ["value", "disabled"];
|
|
@@ -2561,7 +2561,7 @@ return (_ctx, _cache) => {
|
|
|
2561
2561
|
role: "option",
|
|
2562
2562
|
"aria-selected": option.value === __props.modelValue,
|
|
2563
2563
|
"aria-disabled": option.disabled
|
|
2564
|
-
}, toDisplayString(option.label), 43, _hoisted_9$
|
|
2564
|
+
}, toDisplayString(option.label), 43, _hoisted_9$2))
|
|
2565
2565
|
}), 128))
|
|
2566
2566
|
], 12, _hoisted_8$2), [
|
|
2567
2567
|
[vShow, isOpen.value && filteredOptions.value.length > 0]
|
|
@@ -2603,7 +2603,7 @@ return (_ctx, _cache) => {
|
|
|
2603
2603
|
createElementVNode("span", null, [
|
|
2604
2604
|
createTextVNode(toDisplayString(selectedLabel.value) + " ", 1),
|
|
2605
2605
|
(__props.required && isShowingPlaceholder.value)
|
|
2606
|
-
? (openBlock(), createElementBlock("span", _hoisted_12, "*"))
|
|
2606
|
+
? (openBlock(), createElementBlock("span", _hoisted_12$1, "*"))
|
|
2607
2607
|
: createCommentVNode("", true)
|
|
2608
2608
|
]),
|
|
2609
2609
|
createVNode(unref(HpIcon), {
|
|
@@ -2612,7 +2612,7 @@ return (_ctx, _cache) => {
|
|
|
2612
2612
|
class: "custom-select__arrow",
|
|
2613
2613
|
"aria-hidden": "true"
|
|
2614
2614
|
})
|
|
2615
|
-
], 40, _hoisted_11),
|
|
2615
|
+
], 40, _hoisted_11$1),
|
|
2616
2616
|
withDirectives(createElementVNode("div", {
|
|
2617
2617
|
id: `${__props.id}-listbox`,
|
|
2618
2618
|
class: "custom-select__options",
|
|
@@ -2634,9 +2634,9 @@ return (_ctx, _cache) => {
|
|
|
2634
2634
|
role: "option",
|
|
2635
2635
|
"aria-selected": option.value === __props.modelValue,
|
|
2636
2636
|
"aria-disabled": option.disabled
|
|
2637
|
-
}, toDisplayString(option.label), 43, _hoisted_14))
|
|
2637
|
+
}, toDisplayString(option.label), 43, _hoisted_14$1))
|
|
2638
2638
|
}), 128))
|
|
2639
|
-
], 12, _hoisted_13), [
|
|
2639
|
+
], 12, _hoisted_13$1), [
|
|
2640
2640
|
[vShow, isOpen.value]
|
|
2641
2641
|
]),
|
|
2642
2642
|
withDirectives(createElementVNode("select", {
|
|
@@ -2663,7 +2663,7 @@ return (_ctx, _cache) => {
|
|
|
2663
2663
|
], 40, _hoisted_15), [
|
|
2664
2664
|
[vShow, false]
|
|
2665
2665
|
])
|
|
2666
|
-
], 10, _hoisted_10$
|
|
2666
|
+
], 10, _hoisted_10$2))
|
|
2667
2667
|
])
|
|
2668
2668
|
]),
|
|
2669
2669
|
createElementVNode("div", _hoisted_18, [
|
|
@@ -2708,11 +2708,11 @@ const _hoisted_8$1 = {
|
|
|
2708
2708
|
key: 0,
|
|
2709
2709
|
class: "input-range__unit"
|
|
2710
2710
|
};
|
|
2711
|
-
const _hoisted_9 = {
|
|
2711
|
+
const _hoisted_9$1 = {
|
|
2712
2712
|
key: 0,
|
|
2713
2713
|
class: "input-range__footer"
|
|
2714
2714
|
};
|
|
2715
|
-
const _hoisted_10 = ["id"];
|
|
2715
|
+
const _hoisted_10$1 = ["id"];
|
|
2716
2716
|
|
|
2717
2717
|
|
|
2718
2718
|
const _sfc_main$4 = {
|
|
@@ -2836,11 +2836,11 @@ return (_ctx, _cache) => {
|
|
|
2836
2836
|
])
|
|
2837
2837
|
]),
|
|
2838
2838
|
(__props.helperText)
|
|
2839
|
-
? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
2839
|
+
? (openBlock(), createElementBlock("div", _hoisted_9$1, [
|
|
2840
2840
|
createElementVNode("span", {
|
|
2841
2841
|
id: `${__props.id}-helper`,
|
|
2842
2842
|
class: "input-range__helper-text"
|
|
2843
|
-
}, toDisplayString(__props.helperText), 9, _hoisted_10)
|
|
2843
|
+
}, toDisplayString(__props.helperText), 9, _hoisted_10$1)
|
|
2844
2844
|
]))
|
|
2845
2845
|
: createCommentVNode("", true)
|
|
2846
2846
|
], 2))
|
|
@@ -2936,6 +2936,12 @@ const _hoisted_8 = {
|
|
|
2936
2936
|
key: 0,
|
|
2937
2937
|
class: "data-table__cell data-table__cell--actions"
|
|
2938
2938
|
};
|
|
2939
|
+
const _hoisted_9 = { key: 0 };
|
|
2940
|
+
const _hoisted_10 = ["colspan"];
|
|
2941
|
+
const _hoisted_11 = { class: "data-table__footer-content" };
|
|
2942
|
+
const _hoisted_12 = { class: "data-table__footer-left" };
|
|
2943
|
+
const _hoisted_13 = { class: "data-table__footer-center" };
|
|
2944
|
+
const _hoisted_14 = { class: "data-table__footer-right" };
|
|
2939
2945
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
2940
2946
|
__name: "DataTable",
|
|
2941
2947
|
props: {
|
|
@@ -2971,6 +2977,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
2971
2977
|
}]),
|
|
2972
2978
|
role: "region"
|
|
2973
2979
|
}, [
|
|
2980
|
+
renderSlot(_ctx.$slots, "filters", {}, void 0, true),
|
|
2974
2981
|
__props.searchable ? (openBlock(), createBlock(unref(HpInputText), {
|
|
2975
2982
|
key: 0,
|
|
2976
2983
|
class: "data-table__search",
|
|
@@ -3064,7 +3071,27 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
3064
3071
|
])) : createCommentVNode("", true)
|
|
3065
3072
|
]);
|
|
3066
3073
|
}), 128))
|
|
3067
|
-
])
|
|
3074
|
+
]),
|
|
3075
|
+
_ctx.$slots["footer-left"] || _ctx.$slots["footer-center"] || _ctx.$slots["footer-right"] ? (openBlock(), createElementBlock("tfoot", _hoisted_9, [
|
|
3076
|
+
createElementVNode("tr", null, [
|
|
3077
|
+
createElementVNode("td", {
|
|
3078
|
+
class: "data-table__footer-cell",
|
|
3079
|
+
colspan: __props.columns.length + (_ctx.$slots.actions ? 1 : 0)
|
|
3080
|
+
}, [
|
|
3081
|
+
createElementVNode("div", _hoisted_11, [
|
|
3082
|
+
createElementVNode("div", _hoisted_12, [
|
|
3083
|
+
renderSlot(_ctx.$slots, "footer-left", {}, void 0, true)
|
|
3084
|
+
]),
|
|
3085
|
+
createElementVNode("div", _hoisted_13, [
|
|
3086
|
+
renderSlot(_ctx.$slots, "footer-center", {}, void 0, true)
|
|
3087
|
+
]),
|
|
3088
|
+
createElementVNode("div", _hoisted_14, [
|
|
3089
|
+
renderSlot(_ctx.$slots, "footer-right", {}, void 0, true)
|
|
3090
|
+
])
|
|
3091
|
+
])
|
|
3092
|
+
], 8, _hoisted_10)
|
|
3093
|
+
])
|
|
3094
|
+
])) : createCommentVNode("", true)
|
|
3068
3095
|
])
|
|
3069
3096
|
])
|
|
3070
3097
|
], 2);
|
|
@@ -3072,7 +3099,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
3072
3099
|
}
|
|
3073
3100
|
});
|
|
3074
3101
|
|
|
3075
|
-
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
3102
|
+
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-6e4022e9"]]);
|
|
3076
3103
|
|
|
3077
3104
|
const _sfc_main$1 = { };
|
|
3078
3105
|
|