@quidgest/ui 0.16.54 → 0.16.56
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/json/api.json +14 -3
- package/dist/ui.css +62 -31
- package/dist/ui.esm.js +2825 -2796
- package/dist/ui.js +24 -24
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +667 -667
- package/dist/ui.scss +68 -32
- package/esm/components/QBadge/QBadge.d.ts +3 -2
- package/esm/components/QBadge/QBadge.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.vue.js +111 -65
- package/esm/components/QBadge/index.d.ts +2 -1
- package/esm/components/QBadge/index.d.ts.map +1 -1
- package/esm/components/QDialog/types.d.ts +1 -1
- package/esm/components/QOverlay/types.d.ts +1 -1
- package/esm/components/QPopover/QPopover.d.ts +1 -0
- package/esm/components/QPopover/QPopover.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.vue.js +36 -31
- package/esm/components/QPopover/index.d.ts +6 -0
- package/esm/components/QPopover/index.d.ts.map +1 -1
- package/esm/components/QPopover/types.d.ts +6 -0
- package/esm/components/QPopover/types.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioGroup.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioGroup.vue.js +21 -21
- package/esm/components/QSelect/QSelect.d.ts +4 -2
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/index.d.ts +2 -1
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/composables/uid.d.ts.map +1 -1
- package/esm/composables/uid.js +5 -6
- package/esm/composables/useDialog/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as g, mergeModels as q, useModel as b, watch as h, toRef as
|
|
1
|
+
import { defineComponent as g, mergeModels as q, useModel as b, watch as h, toRef as l, computed as r, createElementBlock as u, openBlock as t, normalizeClass as B, createBlock as _, createCommentVNode as n, createElementVNode as z, unref as s, mergeProps as k, renderSlot as c } from "vue";
|
|
2
2
|
import { QLabel as V } from "../QLabel/index.js";
|
|
3
3
|
import { provideDefaults as $ } from "../../composables/defaults.js";
|
|
4
4
|
import { useId as m } from "../../composables/uid.js";
|
|
@@ -28,54 +28,54 @@ const M = ["id"], Q = {
|
|
|
28
28
|
modelModifiers: {}
|
|
29
29
|
}),
|
|
30
30
|
emits: ["update:modelValue"],
|
|
31
|
-
setup(
|
|
32
|
-
const e =
|
|
31
|
+
setup(i) {
|
|
32
|
+
const e = i, d = b(i, "modelValue"), { active: p } = C({ active: d, required: !0 });
|
|
33
33
|
h(p, (o) => {
|
|
34
|
-
|
|
34
|
+
d.value = o;
|
|
35
35
|
});
|
|
36
|
-
const
|
|
36
|
+
const a = m(l(e, "id")), f = r(() => e.name ? m(l(e, "name")).value : a.value), v = r(() => [
|
|
37
37
|
"q-radio-group",
|
|
38
38
|
{
|
|
39
39
|
"q-radio-group--horizontal": e.orientation === "horizontal",
|
|
40
40
|
"q-radio-group--focus-style": e.hasFocusOutline
|
|
41
41
|
},
|
|
42
42
|
e.class
|
|
43
|
-
]), y =
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
]), y = r(
|
|
44
|
+
() => e.columns > 1 ? {
|
|
45
|
+
"--q-radio-group-columns": e.columns
|
|
46
|
+
} : {}
|
|
47
|
+
);
|
|
48
48
|
return $({
|
|
49
49
|
QRadioButton: {
|
|
50
|
-
size:
|
|
51
|
-
disabled:
|
|
52
|
-
readonly:
|
|
53
|
-
invalid:
|
|
50
|
+
size: l(e, "size"),
|
|
51
|
+
disabled: l(e, "disabled"),
|
|
52
|
+
readonly: l(e, "readonly"),
|
|
53
|
+
invalid: l(e, "invalid"),
|
|
54
54
|
name: f
|
|
55
55
|
}
|
|
56
|
-
}), (o, R) => (
|
|
56
|
+
}), (o, R) => (t(), u(
|
|
57
57
|
"div",
|
|
58
58
|
{
|
|
59
59
|
class: B(v.value)
|
|
60
60
|
},
|
|
61
61
|
[
|
|
62
|
-
e.label ? (
|
|
62
|
+
e.label ? (t(), _(s(V), {
|
|
63
63
|
key: 0,
|
|
64
|
-
for: a
|
|
64
|
+
for: s(a),
|
|
65
65
|
label: e.label,
|
|
66
66
|
required: e.required
|
|
67
|
-
}, null, 8, ["for", "label", "required"])) :
|
|
67
|
+
}, null, 8, ["for", "label", "required"])) : n("v-if", !0),
|
|
68
68
|
z("div", k({
|
|
69
|
-
id: a
|
|
69
|
+
id: s(a),
|
|
70
70
|
class: ["q-radio-group__group", { "q-radio-group--grid": e.columns > 1 }],
|
|
71
71
|
role: "radiogroup",
|
|
72
72
|
style: y.value
|
|
73
73
|
}, o.$attrs), [
|
|
74
74
|
c(o.$slots, "default")
|
|
75
75
|
], 16, M),
|
|
76
|
-
o.$slots.extras ? (
|
|
76
|
+
o.$slots.extras ? (t(), u("div", Q, [
|
|
77
77
|
c(o.$slots, "extras")
|
|
78
|
-
])) :
|
|
78
|
+
])) : n("v-if", !0)
|
|
79
79
|
],
|
|
80
80
|
2
|
|
81
81
|
/* CLASS */
|
|
@@ -118,7 +118,7 @@ declare function __VLS_template(): {
|
|
|
118
118
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
119
119
|
$host: Element | null;
|
|
120
120
|
$emit: (event: "click:remove") => void;
|
|
121
|
-
$el:
|
|
121
|
+
$el: any;
|
|
122
122
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QBadgeProps> & Readonly<{
|
|
123
123
|
"onClick:remove"?: (() => any) | undefined;
|
|
124
124
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -160,6 +160,7 @@ declare function __VLS_template(): {
|
|
|
160
160
|
}>, "size" | "color" | "variant" | "icons" | "texts"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
161
161
|
$slots: {
|
|
162
162
|
default?(_: {}): any;
|
|
163
|
+
default?(_: {}): any;
|
|
163
164
|
};
|
|
164
165
|
}) | null)[];
|
|
165
166
|
input: HTMLInputElement;
|
|
@@ -469,7 +470,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
469
470
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
470
471
|
$host: Element | null;
|
|
471
472
|
$emit: (event: "click:remove") => void;
|
|
472
|
-
$el:
|
|
473
|
+
$el: any;
|
|
473
474
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QBadgeProps> & Readonly<{
|
|
474
475
|
"onClick:remove"?: (() => any) | undefined;
|
|
475
476
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -511,6 +512,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
511
512
|
}>, "size" | "color" | "variant" | "icons" | "texts"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
512
513
|
$slots: {
|
|
513
514
|
default?(_: {}): any;
|
|
515
|
+
default?(_: {}): any;
|
|
514
516
|
};
|
|
515
517
|
}) | null)[];
|
|
516
518
|
input: HTMLInputElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AAoMA;AA+hBC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAe1D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C,OAAO,EAAY,QAAQ,EAAgD,MAAM,KAAK,CAAA;AAMtF,KAAK,WAAW,GAAG,YAAY,CAAC;AAwUjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;CAChB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cA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C,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -143,7 +143,7 @@ declare const QSelect: {
|
|
|
143
143
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
144
144
|
$host: Element | null;
|
|
145
145
|
$emit: (event: "click:remove") => void;
|
|
146
|
-
$el:
|
|
146
|
+
$el: any;
|
|
147
147
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QBadgeProps> & Readonly<{
|
|
148
148
|
"onClick:remove"?: (() => any) | undefined;
|
|
149
149
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -185,6 +185,7 @@ declare const QSelect: {
|
|
|
185
185
|
}>, "size" | "color" | "variant" | "icons" | "texts"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
186
186
|
$slots: {
|
|
187
187
|
default?(_: {}): any;
|
|
188
|
+
default?(_: {}): any;
|
|
188
189
|
};
|
|
189
190
|
}) | null)[];
|
|
190
191
|
input: HTMLInputElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAO8tzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAO8tzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAPxzzB,CAAA;AAGzC,OAAO,EAAE,OAAO,EAAE,CAAA;AAGlB,cAAc,SAAS,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uid.d.ts","sourceRoot":"","sources":["../../src/composables/uid.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"uid.d.ts","sourceRoot":"","sources":["../../src/composables/uid.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAKhD;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,WAAW,CAAC,EAAE,gBAAgB,CAAC,MAAM,GAAG,SAAS,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,CAGrF"}
|
package/esm/composables/uid.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { toValue as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
return t(o || `uid-${++u}`);
|
|
1
|
+
import { toValue as e, ref as t } from "vue";
|
|
2
|
+
function n(o) {
|
|
3
|
+
const r = e(o);
|
|
4
|
+
return t(r ?? `uid-${crypto.randomUUID()}`);
|
|
6
5
|
}
|
|
7
6
|
export {
|
|
8
|
-
|
|
7
|
+
n as useId
|
|
9
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/useDialog/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAA;AASrF;;;;GAIG;AACH,wBAAgB,SAAS;uBASE,YAAY,OAAO,MAAM,YAAY,cAAc;uBAgBnD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/useDialog/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAA;AASrF;;;;GAIG;AACH,wBAAgB,SAAS;uBASE,YAAY,OAAO,MAAM,YAAY,cAAc;uBAgBnD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAas4C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EADv6C"}
|