@poveste/controls 0.19.0 → 0.20.0
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/{useKbd-DQM4Oqri.es.js → FieldRoot-BvWZYJBo.es.js} +13 -3
- package/dist/{HstColor-DHgxKTkm.es.js → HstColor-SVvuA8Gz.es.js} +54 -54
- package/dist/{HstDate-Ct5Jp_ZD.es.js → HstDate-ChfBXuBy.es.js} +1401 -1235
- package/dist/{HstJson-D83KEa9o.es.js → HstJson-D-kWKp2N.es.js} +2302 -2293
- package/dist/{HstWrapper-Bm5H3_to.es.js → HstWrapper-Cmp1NHo2.es.js} +475 -470
- package/dist/{PopoverTrigger-BVAfE9fE.es.js → PopoverTrigger-jwwWaiEH.es.js} +158 -144
- package/dist/THIRD_PARTY_NOTICES.md +3 -3
- package/dist/{VisuallyHiddenInput-0it-_FH2.es.js → VisuallyHiddenInput-je9d-WO7.es.js} +11 -11
- package/dist/components/HstCopyIcon.vue.d.ts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.es.js +681 -593
- package/dist/style-standalone.css +0 -62
- package/dist/{useLocale-Dr4PRYn1.es.js → useLocale-CxBCWkuJ.es.js} +3 -3
- package/package.json +15 -15
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { d as e, s as t } from "./HstWrapper-
|
|
2
|
-
import { o as n } from "./PopoverTrigger-
|
|
1
|
+
import { d as e, s as t } from "./HstWrapper-Cmp1NHo2.es.js";
|
|
2
|
+
import { o as n } from "./PopoverTrigger-jwwWaiEH.es.js";
|
|
3
3
|
import { Fragment as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, defineComponent as c, h as l, inject as u, markRaw as d, mergeProps as f, openBlock as p, provide as m, ref as h, renderList as g, toValue as _, watch as v, watchEffect as y } from "@poveste/vendors/vue";
|
|
4
4
|
import { unrefElement as b } from "@poveste/vendors/vue-use";
|
|
5
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.
|
|
5
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.11.0_vue@3.5.44_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useFormControl.js
|
|
6
6
|
function x(e) {
|
|
7
7
|
return i(() => !_(e) || !!b(e)?.closest("form"));
|
|
8
8
|
}
|
|
9
9
|
//#endregion
|
|
10
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.
|
|
10
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.11.0_vue@3.5.44_typescript@6.0.3_/node_modules/reka-ui/dist/Collection/Collection.js
|
|
11
11
|
var S = "data-reka-collection-item";
|
|
12
12
|
function C(t = {}) {
|
|
13
13
|
let { key: r = "", isProvider: a = !1 } = t, o = `${r}CollectionProvider`, s;
|
|
@@ -70,7 +70,7 @@ function C(t = {}) {
|
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
//#endregion
|
|
73
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.
|
|
73
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.11.0_vue@3.5.44_typescript@6.0.3_/node_modules/reka-ui/dist/VisuallyHidden/VisuallyHiddenInputBubble.js
|
|
74
74
|
var w = /* @__PURE__ */ c({
|
|
75
75
|
inheritAttrs: !1,
|
|
76
76
|
__name: "VisuallyHiddenInputBubble",
|
|
@@ -164,18 +164,18 @@ var w = /* @__PURE__ */ c({
|
|
|
164
164
|
name: `${t.name}[${e}]`,
|
|
165
165
|
value: n
|
|
166
166
|
})) : []);
|
|
167
|
-
return (
|
|
167
|
+
return (i, l) => (p(), s(r, null, [o(" We render single input if it's required "), n.value ? (p(), a(w, f({ key: e.name }, {
|
|
168
168
|
...t,
|
|
169
|
-
...
|
|
169
|
+
...i.$attrs
|
|
170
170
|
}, {
|
|
171
171
|
name: e.name,
|
|
172
172
|
value: e.value
|
|
173
|
-
}), null, 16, ["name", "value"])) : (p(!0), s(r, { key: 1 }, g(c.value, (
|
|
173
|
+
}), null, 16, ["name", "value"])) : (p(!0), s(r, { key: 1 }, g(c.value, (e) => (p(), a(w, f({ key: e.name }, { ref_for: !0 }, {
|
|
174
174
|
...t,
|
|
175
|
-
...
|
|
175
|
+
...i.$attrs
|
|
176
176
|
}, {
|
|
177
|
-
name:
|
|
178
|
-
value:
|
|
177
|
+
name: e.name,
|
|
178
|
+
value: e.value
|
|
179
179
|
}), null, 16, ["name", "value"]))), 128))], 2112));
|
|
180
180
|
}
|
|
181
181
|
});
|
|
@@ -3,6 +3,10 @@ declare const _default: typeof __VLS_export;
|
|
|
3
3
|
export default _default;
|
|
4
4
|
declare const __VLS_export: import("vue").DefineComponent<{
|
|
5
5
|
content: string | undefined | (() => Awaitable<string | undefined>);
|
|
6
|
+
/** The content is on its way, so an empty one is not yet "nothing" (#1314). */
|
|
7
|
+
loading?: boolean;
|
|
6
8
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
7
9
|
content: string | undefined | (() => Awaitable<string | undefined>);
|
|
10
|
+
/** The content is on its way, so an empty one is not yet "nothing" (#1314). */
|
|
11
|
+
loading?: boolean;
|
|
8
12
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
package/dist/index.d.ts
CHANGED
|
@@ -403,8 +403,10 @@ export declare const HstTokenGrid: {
|
|
|
403
403
|
});
|
|
404
404
|
export declare const HstCopyIcon: import("vue").DefineComponent<{
|
|
405
405
|
content: string | undefined | (() => import("@poveste/shared").Awaitable<string | undefined>);
|
|
406
|
+
loading?: boolean;
|
|
406
407
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
407
408
|
content: string | undefined | (() => import("@poveste/shared").Awaitable<string | undefined>);
|
|
409
|
+
loading?: boolean;
|
|
408
410
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
409
411
|
/**
|
|
410
412
|
* Public because `@poveste/app` uses it too: one wrapper for the whole chrome
|
|
@@ -1286,8 +1288,10 @@ export declare const components: {
|
|
|
1286
1288
|
});
|
|
1287
1289
|
HstCopyIcon: import("vue").DefineComponent<{
|
|
1288
1290
|
content: string | undefined | (() => import("@poveste/shared").Awaitable<string | undefined>);
|
|
1291
|
+
loading?: boolean;
|
|
1289
1292
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
1290
1293
|
content: string | undefined | (() => import("@poveste/shared").Awaitable<string | undefined>);
|
|
1294
|
+
loading?: boolean;
|
|
1291
1295
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1292
1296
|
HstColorSelect: {
|
|
1293
1297
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|