prlg-ui 1.8.362 → 1.8.363
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.
- package/dist/prlg-ui.css +1 -1
- package/dist/reka-ui/index.cjs.js +1 -1
- package/dist/reka-ui/index.es.js +39 -24
- package/dist/rekaUI.d.ts +6 -1
- package/package.json +1 -1
package/dist/reka-ui/index.es.js
CHANGED
|
@@ -18911,10 +18911,12 @@ const vq = /* @__PURE__ */ g({
|
|
|
18911
18911
|
iconOnly: { type: Boolean },
|
|
18912
18912
|
url: {},
|
|
18913
18913
|
strong: { type: Boolean },
|
|
18914
|
-
loading: { type: Boolean }
|
|
18914
|
+
loading: { type: Boolean },
|
|
18915
|
+
onClick: { type: Function }
|
|
18915
18916
|
},
|
|
18916
|
-
|
|
18917
|
-
|
|
18917
|
+
emits: ["click"],
|
|
18918
|
+
setup(e, { emit: a }) {
|
|
18919
|
+
const t = a, l = q(() => [
|
|
18918
18920
|
"button",
|
|
18919
18921
|
`button--${e.variant}`,
|
|
18920
18922
|
`button--${e.size}`,
|
|
@@ -18929,23 +18931,24 @@ const vq = /* @__PURE__ */ g({
|
|
|
18929
18931
|
"button--disabled": e.disabled
|
|
18930
18932
|
}
|
|
18931
18933
|
]);
|
|
18932
|
-
return (
|
|
18933
|
-
const
|
|
18934
|
+
return (o, n) => {
|
|
18935
|
+
const s = Nl("loading");
|
|
18934
18936
|
return Dt((p(), R("button", {
|
|
18935
|
-
class: De(
|
|
18936
|
-
disabled:
|
|
18937
|
+
class: De(l.value),
|
|
18938
|
+
disabled: o.disabled || o.loading,
|
|
18939
|
+
onClick: n[0] || (n[0] = (i) => o.onClick || (() => t("click", i)))
|
|
18937
18940
|
}, [
|
|
18938
|
-
|
|
18941
|
+
o.icon ? (p(), y(Ze(o.icon), {
|
|
18939
18942
|
key: 0,
|
|
18940
18943
|
class: "button__icon"
|
|
18941
18944
|
})) : z("", !0),
|
|
18942
|
-
|
|
18945
|
+
o.iconOnly ? z("", !0) : b(o.$slots, "default", { key: 1 }, void 0, !0)
|
|
18943
18946
|
], 10, fb)), [
|
|
18944
|
-
[
|
|
18947
|
+
[s, o.loading]
|
|
18945
18948
|
]);
|
|
18946
18949
|
};
|
|
18947
18950
|
}
|
|
18948
|
-
}), Ge = /* @__PURE__ */ N(vb, [["__scopeId", "data-v-
|
|
18951
|
+
}), Ge = /* @__PURE__ */ N(vb, [["__scopeId", "data-v-a0172e40"]]), qq = /* @__PURE__ */ g({
|
|
18949
18952
|
__name: "AlertDialogCancel",
|
|
18950
18953
|
props: {
|
|
18951
18954
|
asChild: { type: Boolean },
|
|
@@ -18961,7 +18964,8 @@ const vq = /* @__PURE__ */ g({
|
|
|
18961
18964
|
iconOnly: { type: Boolean },
|
|
18962
18965
|
url: {},
|
|
18963
18966
|
strong: { type: Boolean, default: !0 },
|
|
18964
|
-
loading: { type: Boolean }
|
|
18967
|
+
loading: { type: Boolean },
|
|
18968
|
+
onClick: {}
|
|
18965
18969
|
},
|
|
18966
18970
|
setup(e) {
|
|
18967
18971
|
const a = e;
|
|
@@ -18988,7 +18992,8 @@ const vq = /* @__PURE__ */ g({
|
|
|
18988
18992
|
iconOnly: { type: Boolean },
|
|
18989
18993
|
url: {},
|
|
18990
18994
|
strong: { type: Boolean, default: !0 },
|
|
18991
|
-
loading: { type: Boolean }
|
|
18995
|
+
loading: { type: Boolean },
|
|
18996
|
+
onClick: {}
|
|
18992
18997
|
},
|
|
18993
18998
|
setup(e) {
|
|
18994
18999
|
const a = e;
|
|
@@ -19015,7 +19020,8 @@ const vq = /* @__PURE__ */ g({
|
|
|
19015
19020
|
iconOnly: { type: Boolean },
|
|
19016
19021
|
url: {},
|
|
19017
19022
|
strong: { type: Boolean },
|
|
19018
|
-
loading: { type: Boolean }
|
|
19023
|
+
loading: { type: Boolean },
|
|
19024
|
+
onClick: { type: Function }
|
|
19019
19025
|
},
|
|
19020
19026
|
setup(e) {
|
|
19021
19027
|
const a = e;
|
|
@@ -19268,7 +19274,8 @@ const vq = /* @__PURE__ */ g({
|
|
|
19268
19274
|
iconOnly: { type: Boolean, default: !0 },
|
|
19269
19275
|
url: {},
|
|
19270
19276
|
strong: { type: Boolean },
|
|
19271
|
-
loading: { type: Boolean }
|
|
19277
|
+
loading: { type: Boolean },
|
|
19278
|
+
onClick: {}
|
|
19272
19279
|
},
|
|
19273
19280
|
setup(e) {
|
|
19274
19281
|
const t = L(e);
|
|
@@ -19292,7 +19299,8 @@ const vq = /* @__PURE__ */ g({
|
|
|
19292
19299
|
iconOnly: { type: Boolean, default: !0 },
|
|
19293
19300
|
url: {},
|
|
19294
19301
|
strong: { type: Boolean },
|
|
19295
|
-
loading: { type: Boolean }
|
|
19302
|
+
loading: { type: Boolean },
|
|
19303
|
+
onClick: {}
|
|
19296
19304
|
},
|
|
19297
19305
|
setup(e) {
|
|
19298
19306
|
const t = L(e);
|
|
@@ -20261,7 +20269,8 @@ const vq = /* @__PURE__ */ g({
|
|
|
20261
20269
|
iconOnly: { type: Boolean, default: !0 },
|
|
20262
20270
|
url: {},
|
|
20263
20271
|
strong: { type: Boolean },
|
|
20264
|
-
loading: { type: Boolean }
|
|
20272
|
+
loading: { type: Boolean },
|
|
20273
|
+
onClick: {}
|
|
20265
20274
|
},
|
|
20266
20275
|
setup(e) {
|
|
20267
20276
|
const t = L(e);
|
|
@@ -20285,7 +20294,8 @@ const vq = /* @__PURE__ */ g({
|
|
|
20285
20294
|
iconOnly: { type: Boolean, default: !0 },
|
|
20286
20295
|
url: {},
|
|
20287
20296
|
strong: { type: Boolean },
|
|
20288
|
-
loading: { type: Boolean }
|
|
20297
|
+
loading: { type: Boolean },
|
|
20298
|
+
onClick: {}
|
|
20289
20299
|
},
|
|
20290
20300
|
setup(e) {
|
|
20291
20301
|
const t = L(e);
|
|
@@ -20686,7 +20696,8 @@ const vq = /* @__PURE__ */ g({
|
|
|
20686
20696
|
iconOnly: { type: Boolean, default: !0 },
|
|
20687
20697
|
url: {},
|
|
20688
20698
|
strong: { type: Boolean },
|
|
20689
|
-
loading: { type: Boolean }
|
|
20699
|
+
loading: { type: Boolean },
|
|
20700
|
+
onClick: {}
|
|
20690
20701
|
},
|
|
20691
20702
|
setup(e) {
|
|
20692
20703
|
const t = L(e);
|
|
@@ -20710,7 +20721,8 @@ const vq = /* @__PURE__ */ g({
|
|
|
20710
20721
|
iconOnly: { type: Boolean, default: !0 },
|
|
20711
20722
|
url: {},
|
|
20712
20723
|
strong: { type: Boolean },
|
|
20713
|
-
loading: { type: Boolean }
|
|
20724
|
+
loading: { type: Boolean },
|
|
20725
|
+
onClick: {}
|
|
20714
20726
|
},
|
|
20715
20727
|
setup(e) {
|
|
20716
20728
|
const t = L(e);
|
|
@@ -21125,10 +21137,11 @@ const vq = /* @__PURE__ */ g({
|
|
|
21125
21137
|
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
|
|
21126
21138
|
setup(e, { emit: a }) {
|
|
21127
21139
|
at((i) => ({
|
|
21128
|
-
|
|
21140
|
+
82997448: n.value
|
|
21129
21141
|
}));
|
|
21130
21142
|
const t = e, o = Ce(t, a), n = q(() => `${t.width}px`), s = q(() => t.position === "left" || t.position === "right");
|
|
21131
21143
|
return (i, u) => (p(), y(r(ar), B(r(o), {
|
|
21144
|
+
"aria-describedby": "",
|
|
21132
21145
|
class: ["drawer-content", `drawer-content--${i.position}`]
|
|
21133
21146
|
}), {
|
|
21134
21147
|
default: m(() => [
|
|
@@ -21165,7 +21178,7 @@ const vq = /* @__PURE__ */ g({
|
|
|
21165
21178
|
_: 3
|
|
21166
21179
|
}, 16, ["class"]));
|
|
21167
21180
|
}
|
|
21168
|
-
}), O1 = /* @__PURE__ */ N(vw, [["__scopeId", "data-v-
|
|
21181
|
+
}), O1 = /* @__PURE__ */ N(vw, [["__scopeId", "data-v-489d479b"]]), I1 = /* @__PURE__ */ g({
|
|
21169
21182
|
__name: "DrawerOverlay",
|
|
21170
21183
|
setup(e) {
|
|
21171
21184
|
return (a, t) => (p(), y(r(lr), { class: "overlay drawer-overlay" }, {
|
|
@@ -21871,7 +21884,8 @@ const Iw = { class: "input__wrapper" }, Tw = ["id", "placeholder", "name", "disa
|
|
|
21871
21884
|
iconOnly: { type: Boolean, default: !0 },
|
|
21872
21885
|
url: {},
|
|
21873
21886
|
strong: { type: Boolean },
|
|
21874
|
-
loading: { type: Boolean }
|
|
21887
|
+
loading: { type: Boolean },
|
|
21888
|
+
onClick: {}
|
|
21875
21889
|
},
|
|
21876
21890
|
setup(e) {
|
|
21877
21891
|
const t = L(e);
|
|
@@ -21895,7 +21909,8 @@ const Iw = { class: "input__wrapper" }, Tw = ["id", "placeholder", "name", "disa
|
|
|
21895
21909
|
iconOnly: { type: Boolean, default: !0 },
|
|
21896
21910
|
url: {},
|
|
21897
21911
|
strong: { type: Boolean },
|
|
21898
|
-
loading: { type: Boolean }
|
|
21912
|
+
loading: { type: Boolean },
|
|
21913
|
+
onClick: {}
|
|
21899
21914
|
},
|
|
21900
21915
|
setup(e) {
|
|
21901
21916
|
const t = L(e);
|
package/dist/rekaUI.d.ts
CHANGED
|
@@ -238,7 +238,11 @@ contentRef: HTMLDivElement;
|
|
|
238
238
|
bodyRef: HTMLDivElement;
|
|
239
239
|
}, any>;
|
|
240
240
|
|
|
241
|
-
declare const __VLS_component_13: DefineComponent<IButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}
|
|
241
|
+
declare const __VLS_component_13: DefineComponent<IButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
242
|
+
click: (event: MouseEvent) => any;
|
|
243
|
+
}, string, PublicProps, Readonly<IButtonProps> & Readonly<{
|
|
244
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
245
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
242
246
|
|
|
243
247
|
declare const __VLS_component_14: DefineComponent<CalendarCellTriggerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CalendarCellTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
244
248
|
|
|
@@ -3451,6 +3455,7 @@ export declare interface IButtonProps {
|
|
|
3451
3455
|
url?: string | RouteLocationRaw;
|
|
3452
3456
|
strong?: boolean;
|
|
3453
3457
|
loading?: boolean;
|
|
3458
|
+
onClick?: (event: MouseEvent) => void;
|
|
3454
3459
|
}
|
|
3455
3460
|
|
|
3456
3461
|
declare interface ICalendarPrevProps extends Omit<CalendarNextProps, 'as' | 'asChild'>, IButtonProps {
|