@vuetify/v0 1.0.0-beta.2 → 1.0.0-beta.4
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/README.md +1 -1
- package/dist/{adapter-D2ABPTpo.d.mts → adapter-BI-oyZCe.d.mts} +3 -2
- package/dist/{adapter-CQoi3rdC.d.mts → adapter-Butx_2UU.d.mts} +1 -1
- package/dist/{adapter-Cj7vxEdB.mjs → adapter-CJY6aQIS.mjs} +5 -1
- package/dist/browser/index.d.ts +25318 -0
- package/dist/browser/index.js +285 -170
- package/dist/components/index.d.mts +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/{components-DcOwIGXt.mjs → components-CQ570531.mjs} +119 -72
- package/dist/composables/index.d.mts +7 -7
- package/dist/composables/index.mjs +22 -22
- package/dist/{composables-DxKmYiTj.mjs → composables-Dp_S74ft.mjs} +11 -11
- package/dist/constants/index.mjs +1 -1
- package/dist/{createDataTable-CBfnCUKU.mjs → createDataTable-xLtNGdr7.mjs} +3 -3
- package/dist/{createGroup-BTG6xcyp.mjs → createGroup-CBsJPLpN.mjs} +1 -1
- package/dist/{createRegistry-Cb6ftNMU.mjs → createRegistry-CRsG7t_g.mjs} +2 -2
- package/dist/{createSelection-BMvXj84C.mjs → createSelection-DuaoHPSc.mjs} +8 -3
- package/dist/{createSingle-BCUJuV4D.mjs → createSingle-CiKU87Hj.mjs} +1 -1
- package/dist/{createTokens-BSSQAfNX.mjs → createTokens-4BZfgv9F.mjs} +6 -6
- package/dist/data-table/index.d.mts +1 -1
- package/dist/data-table/index.mjs +1 -1
- package/dist/date/index.mjs +1 -1
- package/dist/features/adapters/flagsmith/index.d.mts +1 -1
- package/dist/features/adapters/launchdarkly/index.d.mts +1 -1
- package/dist/features/adapters/posthog/index.d.mts +1 -1
- package/dist/features/adapters/posthog/index.mjs +1 -1
- package/dist/features/index.d.mts +2 -2
- package/dist/features/index.mjs +1 -1
- package/dist/{flagsmith-CXzNBqm3.d.mts → flagsmith-DA2GCyGv.d.mts} +1 -1
- package/dist/{globals-C1X-9O7K.mjs → globals-B0pQgO4u.mjs} +1 -1
- package/dist/{index-LMiCHwZl.d.mts → index-BBJnOUyA.d.mts} +2 -1
- package/dist/{index-DLBPM47A.d.mts → index-BkTaCktP.d.mts} +106 -104
- package/dist/{index-CKyDkh8J.d.mts → index-CV7bOS7B.d.mts} +82 -12
- package/dist/{index-Bmz8PZMY.d.mts → index-CfHm03dg.d.mts} +1 -1
- package/dist/{index-B9YmdGZ3.d.mts → index-CyNk9FpR.d.mts} +3 -0
- package/dist/{index-DRrHHgE7.d.mts → index-DgPFPx_7.d.mts} +2 -2
- package/dist/{index-rJ_lhMYJ.d.mts → index-pM8UX1XI.d.mts} +2 -2
- package/dist/index.d.mts +10 -10
- package/dist/index.mjs +24 -24
- package/dist/json/attributes.json +8 -4
- package/dist/json/tags.json +2 -1
- package/dist/json/web-types.json +16 -6
- package/dist/{launchdarkly-DvhloBts.d.mts → launchdarkly-Bp8p9PMD.d.mts} +1 -1
- package/dist/locale/adapters/index.d.mts +2 -2
- package/dist/locale/adapters/index.mjs +1 -1
- package/dist/locale/adapters/v0/index.d.mts +1 -1
- package/dist/locale/adapters/v0/index.mjs +1 -1
- package/dist/locale/adapters/vue-i18n/index.d.mts +2 -1
- package/dist/locale/adapters/vue-i18n/index.mjs +3 -0
- package/dist/locale/index.d.mts +3 -3
- package/dist/locale/index.mjs +2 -2
- package/dist/locale/messages/en/index.d.mts +70 -0
- package/dist/locale/messages/en/index.mjs +56 -0
- package/dist/logger/adapters/index.mjs +1 -1
- package/dist/logger/adapters/v0/index.mjs +1 -1
- package/dist/logger/index.d.mts +1 -1
- package/dist/logger/index.mjs +2 -2
- package/dist/notifications/index.d.mts +1 -1
- package/dist/notifications/index.mjs +2 -2
- package/dist/palettes/ant/index.d.mts +1 -1
- package/dist/palettes/index.d.mts +3 -3
- package/dist/palettes/material/index.d.mts +1 -1
- package/dist/palettes/md1/index.d.mts +1 -1
- package/dist/palettes/md2/index.d.mts +1 -1
- package/dist/palettes/radix/index.d.mts +1 -1
- package/dist/palettes/tailwind/index.d.mts +1 -1
- package/dist/permissions/adapters/index.d.mts +1 -1
- package/dist/permissions/adapters/v0/index.d.mts +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/permissions/index.mjs +1 -1
- package/dist/{posthog-BOT5W7Ds.d.mts → posthog-sFqk0bGy.d.mts} +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/storage/index.d.mts +1 -1
- package/dist/storage/index.mjs +1 -1
- package/dist/theme/adapters/index.d.mts +1 -1
- package/dist/theme/adapters/index.mjs +3 -3
- package/dist/theme/adapters/unhead/index.d.mts +1 -1
- package/dist/theme/adapters/unhead/index.mjs +1 -1
- package/dist/theme/adapters/v0/index.d.mts +1 -1
- package/dist/theme/adapters/v0/index.mjs +1 -1
- package/dist/theme/index.d.mts +1 -1
- package/dist/theme/index.mjs +4 -4
- package/dist/types/index.d.mts +1 -1
- package/dist/{unhead-i8ji788n.mjs → unhead-Bn7eatWe.mjs} +10 -5
- package/dist/{useEventListener-BK_uaXZv.mjs → useEventListener-D1ETqQMm.mjs} +1 -1
- package/dist/{useFeatures-BKAK56af.mjs → useFeatures-D3DFBsYY.mjs} +3 -3
- package/dist/{useLocale-CTwn8uZk.mjs → useLocale-B44zLhFE.mjs} +9 -4
- package/dist/{useLogger-D7_hm4e8.mjs → useLogger-D7Fqcp_l.mjs} +11 -8
- package/dist/{useNotifications-B2YeotHN.mjs → useNotifications-DMHmr9C1.mjs} +4 -4
- package/dist/{usePermissions-CWYXR7ji.mjs → usePermissions-S0As54sf.mjs} +2 -2
- package/dist/{useRovingFocus-BdnSUVrD.mjs → useRovingFocus-u7uhPx2H.mjs} +111 -85
- package/dist/{useRules-CB2_tvd0.mjs → useRules-ByuxbMsA.mjs} +2 -2
- package/dist/{useStorage-BORz1d1g.mjs → useStorage-Fy5tWYkG.mjs} +3 -3
- package/dist/{useTheme-ClUmdmvT.mjs → useTheme-DrR7HoLL.mjs} +4 -4
- package/dist/utilities/index.d.mts +1 -1
- package/dist/utilities/index.mjs +4 -3
- package/dist/{v0-DL9JtgCO.mjs → v0-BDdBMbzN.mjs} +1 -1
- package/dist/{v0-BU39ZO4s.mjs → v0-BXjZknUK.mjs} +18 -5
- package/dist/{v0-D7NA38Vu.d.mts → v0-Cf5DZ4lw.d.mts} +3 -1
- package/dist/{v0-SwedwC_b.mjs → v0-DwKPTLJv.mjs} +16 -10
- package/package.json +4 -4
package/dist/json/tags.json
CHANGED
package/dist/json/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@vuetify/v0",
|
|
5
|
-
"version": "1.0.0-beta.
|
|
5
|
+
"version": "1.0.0-beta.4",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"contributions": {
|
|
8
8
|
"html": {
|
|
@@ -6096,9 +6096,9 @@
|
|
|
6096
6096
|
"name": "to",
|
|
6097
6097
|
"value": {
|
|
6098
6098
|
"kind": "expression",
|
|
6099
|
-
"type": "
|
|
6099
|
+
"type": "Extensible<\"top-layer\"> | HTMLElement | undefined"
|
|
6100
6100
|
},
|
|
6101
|
-
"description": "Teleport target.",
|
|
6101
|
+
"description": "Teleport target. `'top-layer'` mounts into the topmost open modal.",
|
|
6102
6102
|
"default": "\"body\"",
|
|
6103
6103
|
"required": false
|
|
6104
6104
|
},
|
|
@@ -6121,6 +6121,16 @@
|
|
|
6121
6121
|
"description": "Block scrim close.",
|
|
6122
6122
|
"default": "false",
|
|
6123
6123
|
"required": false
|
|
6124
|
+
},
|
|
6125
|
+
{
|
|
6126
|
+
"name": "scrim",
|
|
6127
|
+
"value": {
|
|
6128
|
+
"kind": "expression",
|
|
6129
|
+
"type": "boolean | undefined"
|
|
6130
|
+
},
|
|
6131
|
+
"description": "Whether a scrim/backdrop should back this portal.",
|
|
6132
|
+
"default": "true",
|
|
6133
|
+
"required": false
|
|
6124
6134
|
}
|
|
6125
6135
|
],
|
|
6126
6136
|
"slots": [
|
|
@@ -8179,10 +8189,10 @@
|
|
|
8179
8189
|
"name": "teleport",
|
|
8180
8190
|
"value": {
|
|
8181
8191
|
"kind": "expression",
|
|
8182
|
-
"type": "string |
|
|
8192
|
+
"type": "false | (string & {}) | \"top-layer\" | undefined"
|
|
8183
8193
|
},
|
|
8184
|
-
"description": "Teleport target. `false` renders inline.",
|
|
8185
|
-
"default": "\"
|
|
8194
|
+
"description": "Teleport target. `'top-layer'` mounts into the topmost open modal; `false` renders inline.",
|
|
8195
|
+
"default": "\"top-layer\"",
|
|
8186
8196
|
"required": false
|
|
8187
8197
|
},
|
|
8188
8198
|
{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as FeaturesAdapterFlags, t as FeaturesAdapter } from "./adapter-
|
|
1
|
+
import { n as FeaturesAdapterFlags, t as FeaturesAdapter } from "./adapter-Butx_2UU.mjs";
|
|
2
2
|
import { LDClient } from "launchdarkly-js-client-sdk";
|
|
3
3
|
|
|
4
4
|
//#region src/composables/useFeatures/adapters/launchdarkly.d.ts
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as LocaleAdapterContext, t as LocaleAdapter } from "../../adapter-
|
|
2
|
-
import { t as V0LocaleAdapter } from "../../v0-
|
|
1
|
+
import { n as LocaleAdapterContext, t as LocaleAdapter } from "../../adapter-BI-oyZCe.mjs";
|
|
2
|
+
import { t as V0LocaleAdapter } from "../../v0-Cf5DZ4lw.mjs";
|
|
3
3
|
export { LocaleAdapter, LocaleAdapterContext, V0LocaleAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as V0LocaleAdapter } from "../../../v0-
|
|
1
|
+
import { t as V0LocaleAdapter } from "../../../v0-Cf5DZ4lw.mjs";
|
|
2
2
|
export { V0LocaleAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as V0LocaleAdapter } from "../../../v0-
|
|
1
|
+
import { t as V0LocaleAdapter } from "../../../v0-DwKPTLJv.mjs";
|
|
2
2
|
export { V0LocaleAdapter };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as LocaleAdapter } from "../../../adapter-
|
|
1
|
+
import { t as LocaleAdapter } from "../../../adapter-BI-oyZCe.mjs";
|
|
2
2
|
import { Composer } from "vue-i18n";
|
|
3
3
|
|
|
4
4
|
//#region src/composables/useLocale/adapters/vue-i18n.d.ts
|
|
@@ -16,6 +16,7 @@ declare class VueI18nLocaleAdapter extends LocaleAdapter {
|
|
|
16
16
|
global: Composer;
|
|
17
17
|
});
|
|
18
18
|
t(key: string, ...params: unknown[]): string;
|
|
19
|
+
ti(key: string, ...params: unknown[]): string | undefined;
|
|
19
20
|
n(value: number): string;
|
|
20
21
|
}
|
|
21
22
|
//#endregion
|
|
@@ -19,6 +19,9 @@ var VueI18nLocaleAdapter = class extends LocaleAdapter {
|
|
|
19
19
|
if (params.length > 0 && /* @__PURE__ */ isObject(params[0])) return this.composer.t(key, params[0]);
|
|
20
20
|
return params.length > 0 ? this.composer.t(key, params) : this.composer.t(key);
|
|
21
21
|
}
|
|
22
|
+
ti(key, ...params) {
|
|
23
|
+
return this.composer.te(key) ? this.t(key, ...params) : void 0;
|
|
24
|
+
}
|
|
22
25
|
n(value) {
|
|
23
26
|
return this.composer.n(value);
|
|
24
27
|
}
|
package/dist/locale/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bn as createLocaleFallback, Fn as LocaleRecord, Hn as useLocale, In as LocaleTicket, Ln as LocaleTicketInput, Mn as LocaleContextOptions, Nn as LocaleOptions, Pn as LocalePluginOptions, Rn as createLocale, Vn as createLocalePlugin, jn as LocaleContext, zn as createLocaleContext } from "../index-
|
|
2
|
-
import { n as LocaleAdapterContext, t as LocaleAdapter } from "../adapter-
|
|
3
|
-
import { t as V0LocaleAdapter } from "../v0-
|
|
1
|
+
import { Bn as createLocaleFallback, Fn as LocaleRecord, Hn as useLocale, In as LocaleTicket, Ln as LocaleTicketInput, Mn as LocaleContextOptions, Nn as LocaleOptions, Pn as LocalePluginOptions, Rn as createLocale, Vn as createLocalePlugin, jn as LocaleContext, zn as createLocaleContext } from "../index-CV7bOS7B.mjs";
|
|
2
|
+
import { n as LocaleAdapterContext, t as LocaleAdapter } from "../adapter-BI-oyZCe.mjs";
|
|
3
|
+
import { t as V0LocaleAdapter } from "../v0-Cf5DZ4lw.mjs";
|
|
4
4
|
export { LocaleAdapter, LocaleAdapterContext, LocaleContext, LocaleContextOptions, LocaleOptions, LocalePluginOptions, LocaleRecord, LocaleTicket, LocaleTicketInput, V0LocaleAdapter, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, useLocale };
|
package/dist/locale/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as LocaleAdapter } from "../adapter-bwZo7b5p.mjs";
|
|
2
|
-
import { t as V0LocaleAdapter } from "../v0-
|
|
3
|
-
import { a as useLocale, i as createLocalePlugin, n as createLocaleContext, r as createLocaleFallback, t as createLocale } from "../useLocale-
|
|
2
|
+
import { t as V0LocaleAdapter } from "../v0-DwKPTLJv.mjs";
|
|
3
|
+
import { a as useLocale, i as createLocalePlugin, n as createLocaleContext, r as createLocaleFallback, t as createLocale } from "../useLocale-B44zLhFE.mjs";
|
|
4
4
|
export { LocaleAdapter, V0LocaleAdapter, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, useLocale };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
//#region src/locale/messages/en/index.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* @module locale/messages/en
|
|
4
|
+
*
|
|
5
|
+
* @see https://0.vuetifyjs.com/composables/plugins/use-locale
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* Built-in English aria strings for @vuetify/v0 components. These are the
|
|
9
|
+
* same keys that components pass to `locale.t()`. Importing this module and
|
|
10
|
+
* passing it to `createLocalePlugin` satisfies WCAG 4.1.2 Name, Role, Value
|
|
11
|
+
* without writing custom translations.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* import en from '@vuetify/v0/locale/messages/en'
|
|
16
|
+
* import { createLocalePlugin } from '@vuetify/v0/locale'
|
|
17
|
+
*
|
|
18
|
+
* app.use(createLocalePlugin({ messages: { en }, default: 'en' }))
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
declare const _default: {
|
|
22
|
+
readonly AlertDialog: {
|
|
23
|
+
readonly close: "Close";
|
|
24
|
+
};
|
|
25
|
+
readonly Avatar: {
|
|
26
|
+
readonly indicatorLabel: "+{count} more";
|
|
27
|
+
};
|
|
28
|
+
readonly Breadcrumbs: {
|
|
29
|
+
readonly label: "Breadcrumbs";
|
|
30
|
+
};
|
|
31
|
+
readonly Button: {
|
|
32
|
+
readonly label: "Button";
|
|
33
|
+
};
|
|
34
|
+
readonly Carousel: {
|
|
35
|
+
readonly indicator: "Go to slide {current} of {size}";
|
|
36
|
+
readonly indicators: "Carousel indicators";
|
|
37
|
+
readonly label: "Carousel";
|
|
38
|
+
readonly liveRegion: "Slide {current} of {size}";
|
|
39
|
+
readonly next: "Next slide";
|
|
40
|
+
readonly prev: "Previous slide";
|
|
41
|
+
readonly progress: "{percent}% complete";
|
|
42
|
+
readonly progressLabel: "Carousel progress";
|
|
43
|
+
readonly slide: "Slide {current} of {size}";
|
|
44
|
+
};
|
|
45
|
+
readonly Dialog: {
|
|
46
|
+
readonly close: "Close";
|
|
47
|
+
};
|
|
48
|
+
readonly NumberField: {
|
|
49
|
+
readonly decrement: "Decrement";
|
|
50
|
+
readonly increment: "Increment";
|
|
51
|
+
};
|
|
52
|
+
readonly Pagination: {
|
|
53
|
+
readonly currentPage: "Page {page}, current";
|
|
54
|
+
readonly first: "First page";
|
|
55
|
+
readonly goToPage: "Go to page {page}";
|
|
56
|
+
readonly label: "Pagination";
|
|
57
|
+
readonly last: "Last page";
|
|
58
|
+
readonly next: "Next page";
|
|
59
|
+
readonly prev: "Previous page";
|
|
60
|
+
readonly status: "Page {page} of {pages}";
|
|
61
|
+
};
|
|
62
|
+
readonly Rating: {
|
|
63
|
+
readonly valueText: "{value} of {size} stars";
|
|
64
|
+
};
|
|
65
|
+
readonly Snackbar: {
|
|
66
|
+
readonly close: "Dismiss";
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
//#endregion
|
|
70
|
+
export { _default as default };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
//#region src/locale/messages/en/index.ts
|
|
2
|
+
/**
|
|
3
|
+
* @module locale/messages/en
|
|
4
|
+
*
|
|
5
|
+
* @see https://0.vuetifyjs.com/composables/plugins/use-locale
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* Built-in English aria strings for @vuetify/v0 components. These are the
|
|
9
|
+
* same keys that components pass to `locale.t()`. Importing this module and
|
|
10
|
+
* passing it to `createLocalePlugin` satisfies WCAG 4.1.2 Name, Role, Value
|
|
11
|
+
* without writing custom translations.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* import en from '@vuetify/v0/locale/messages/en'
|
|
16
|
+
* import { createLocalePlugin } from '@vuetify/v0/locale'
|
|
17
|
+
*
|
|
18
|
+
* app.use(createLocalePlugin({ messages: { en }, default: 'en' }))
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
var en_default = {
|
|
22
|
+
AlertDialog: { close: "Close" },
|
|
23
|
+
Avatar: { indicatorLabel: "+{count} more" },
|
|
24
|
+
Breadcrumbs: { label: "Breadcrumbs" },
|
|
25
|
+
Button: { label: "Button" },
|
|
26
|
+
Carousel: {
|
|
27
|
+
indicator: "Go to slide {current} of {size}",
|
|
28
|
+
indicators: "Carousel indicators",
|
|
29
|
+
label: "Carousel",
|
|
30
|
+
liveRegion: "Slide {current} of {size}",
|
|
31
|
+
next: "Next slide",
|
|
32
|
+
prev: "Previous slide",
|
|
33
|
+
progress: "{percent}% complete",
|
|
34
|
+
progressLabel: "Carousel progress",
|
|
35
|
+
slide: "Slide {current} of {size}"
|
|
36
|
+
},
|
|
37
|
+
Dialog: { close: "Close" },
|
|
38
|
+
NumberField: {
|
|
39
|
+
decrement: "Decrement",
|
|
40
|
+
increment: "Increment"
|
|
41
|
+
},
|
|
42
|
+
Pagination: {
|
|
43
|
+
currentPage: "Page {page}, current",
|
|
44
|
+
first: "First page",
|
|
45
|
+
goToPage: "Go to page {page}",
|
|
46
|
+
label: "Pagination",
|
|
47
|
+
last: "Last page",
|
|
48
|
+
next: "Next page",
|
|
49
|
+
prev: "Previous page",
|
|
50
|
+
status: "Page {page} of {pages}"
|
|
51
|
+
},
|
|
52
|
+
Rating: { valueText: "{value} of {size} stars" },
|
|
53
|
+
Snackbar: { close: "Dismiss" }
|
|
54
|
+
};
|
|
55
|
+
//#endregion
|
|
56
|
+
export { en_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as LoggerAdapter } from "../../adapter-Chznb9Ju.mjs";
|
|
2
2
|
import { t as ConsolaLoggerAdapter } from "../../consola-cad-VEV2.mjs";
|
|
3
3
|
import { t as PinoLoggerAdapter } from "../../pino-BscMO3RR.mjs";
|
|
4
|
-
import { t as V0LoggerAdapter } from "../../v0-
|
|
4
|
+
import { t as V0LoggerAdapter } from "../../v0-BDdBMbzN.mjs";
|
|
5
5
|
export { ConsolaLoggerAdapter, LoggerAdapter, PinoLoggerAdapter, V0LoggerAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as V0LoggerAdapter } from "../../../v0-
|
|
1
|
+
import { t as V0LoggerAdapter } from "../../../v0-BDdBMbzN.mjs";
|
|
2
2
|
export { V0LoggerAdapter };
|
package/dist/logger/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { An as LogLevel, Cn as LoggerContextOptions, Dn as createLoggerContext, En as createLogger, On as createLoggerPlugin, Sn as LoggerContext, Tn as LoggerPluginOptions, kn as useLogger, wn as LoggerOptions } from "../index-
|
|
1
|
+
import { An as LogLevel, Cn as LoggerContextOptions, Dn as createLoggerContext, En as createLogger, On as createLoggerPlugin, Sn as LoggerContext, Tn as LoggerPluginOptions, kn as useLogger, wn as LoggerOptions } from "../index-CV7bOS7B.mjs";
|
|
2
2
|
import { t as LoggerAdapter } from "../adapter-BYzU4Ey5.mjs";
|
|
3
3
|
import { t as ConsolaLoggerAdapter } from "../consola-BPGkJp_q.mjs";
|
|
4
4
|
import { n as PinoLoggerAdapter } from "../pino-B6BI1AOK.mjs";
|
package/dist/logger/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as useLogger, n as createLoggerContext, r as createLoggerPlugin, t as createLogger } from "../useLogger-
|
|
1
|
+
import { i as useLogger, n as createLoggerContext, r as createLoggerPlugin, t as createLogger } from "../useLogger-D7Fqcp_l.mjs";
|
|
2
2
|
import { t as LoggerAdapter } from "../adapter-Chznb9Ju.mjs";
|
|
3
3
|
import { t as ConsolaLoggerAdapter } from "../consola-cad-VEV2.mjs";
|
|
4
4
|
import { t as PinoLoggerAdapter } from "../pino-BscMO3RR.mjs";
|
|
5
|
-
import { t as V0LoggerAdapter } from "../v0-
|
|
5
|
+
import { t as V0LoggerAdapter } from "../v0-BDdBMbzN.mjs";
|
|
6
6
|
export { ConsolaLoggerAdapter, LoggerAdapter, PinoLoggerAdapter, V0LoggerAdapter, createLogger, createLoggerContext, createLoggerPlugin, useLogger };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as NotificationInput, an as NotificationsOptions, cn as createNotificationsContext, dn as NotificationsAdapter, en as NotificationSeverity, in as NotificationsContext, ln as createNotificationsPlugin, nn as NotificationTicketInput, on as NotificationsPluginOptions, rn as NotificationsAdapterContext, sn as createNotifications, tn as NotificationTicket, un as useNotifications } from "../index-
|
|
1
|
+
import { $t as NotificationInput, an as NotificationsOptions, cn as createNotificationsContext, dn as NotificationsAdapter, en as NotificationSeverity, in as NotificationsContext, ln as createNotificationsPlugin, nn as NotificationTicketInput, on as NotificationsPluginOptions, rn as NotificationsAdapterContext, sn as createNotifications, tn as NotificationTicket, un as useNotifications } from "../index-CV7bOS7B.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/composables/useNotifications/adapters/knock.d.ts
|
|
4
4
|
/** Minimal Knock feed item shape. Uses type-only imports to avoid bundling the SDK. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as IN_BROWSER } from "../globals-
|
|
2
|
-
import { i as useNotifications, n as createNotificationsContext, r as createNotificationsPlugin, t as createNotifications } from "../useNotifications-
|
|
1
|
+
import { t as IN_BROWSER } from "../globals-B0pQgO4u.mjs";
|
|
2
|
+
import { i as useNotifications, n as createNotificationsContext, r as createNotificationsPlugin, t as createNotifications } from "../useNotifications-DMHmr9C1.mjs";
|
|
3
3
|
//#region src/composables/useNotifications/adapters/adapter.ts
|
|
4
4
|
var NotificationsAdapter = class {};
|
|
5
5
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as ID } from "../index-
|
|
2
|
-
import { b as ThemeRecord } from "../index-
|
|
3
|
-
import { r as TokenCollection } from "../index-
|
|
1
|
+
import { a as ID } from "../index-CyNk9FpR.mjs";
|
|
2
|
+
import { b as ThemeRecord } from "../index-CV7bOS7B.mjs";
|
|
3
|
+
import { r as TokenCollection } from "../index-CfHm03dg.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/palettes/index.d.ts
|
|
6
6
|
interface PaletteDefinition {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Qt as PermissionsAdapter, Zt as V0PermissionsAdapter } from "../../index-
|
|
1
|
+
import { Qt as PermissionsAdapter, Zt as V0PermissionsAdapter } from "../../index-CV7bOS7B.mjs";
|
|
2
2
|
export { PermissionsAdapter, V0PermissionsAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Zt as V0PermissionsAdapter } from "../../../index-
|
|
1
|
+
import { Zt as V0PermissionsAdapter } from "../../../index-CV7bOS7B.mjs";
|
|
2
2
|
export { V0PermissionsAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Gt as PermissionPluginOptions, Ht as PermissionContext, Jt as createPermissionsContext, Kt as PermissionTicket, Qt as PermissionsAdapter, Ut as PermissionContextOptions, Wt as PermissionOptions, Xt as usePermissions, Yt as createPermissionsPlugin, qt as createPermissions } from "../index-
|
|
1
|
+
import { Gt as PermissionPluginOptions, Ht as PermissionContext, Jt as createPermissionsContext, Kt as PermissionTicket, Qt as PermissionsAdapter, Ut as PermissionContextOptions, Wt as PermissionOptions, Xt as usePermissions, Yt as createPermissionsPlugin, qt as createPermissions } from "../index-CV7bOS7B.mjs";
|
|
2
2
|
export { PermissionContext, PermissionContextOptions, PermissionOptions, PermissionPluginOptions, PermissionTicket, PermissionsAdapter, createPermissions, createPermissionsContext, createPermissionsPlugin, usePermissions };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as PermissionsAdapter } from "../v0-UNyykD27.mjs";
|
|
2
|
-
import { i as usePermissions, n as createPermissionsContext, r as createPermissionsPlugin, t as createPermissions } from "../usePermissions-
|
|
2
|
+
import { i as usePermissions, n as createPermissionsContext, r as createPermissionsPlugin, t as createPermissions } from "../usePermissions-S0As54sf.mjs";
|
|
3
3
|
export { PermissionsAdapter, createPermissions, createPermissionsContext, createPermissionsPlugin, usePermissions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as FeaturesAdapterFlags, t as FeaturesAdapter } from "./adapter-
|
|
1
|
+
import { n as FeaturesAdapterFlags, t as FeaturesAdapter } from "./adapter-Butx_2UU.mjs";
|
|
2
2
|
import { PostHog } from "posthog-js";
|
|
3
3
|
|
|
4
4
|
//#region src/composables/useFeatures/adapters/posthog.d.ts
|
package/dist/rules/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ao as RulesOptions, Do as RuleInput, Eo as RuleAliases, Fo as useRules, Io as StandardSchemaV1, Lo as isStandardSchema, Mo as createRulesContext, No as createRulesFallback, Oo as RulesContext, Po as createRulesPlugin, To as RuleAlias, jo as createRules, ko as RulesContextOptions } from "../index-
|
|
1
|
+
import { Ao as RulesOptions, Do as RuleInput, Eo as RuleAliases, Fo as useRules, Io as StandardSchemaV1, Lo as isStandardSchema, Mo as createRulesContext, No as createRulesFallback, Oo as RulesContext, Po as createRulesPlugin, To as RuleAlias, jo as createRules, ko as RulesContextOptions } from "../index-CV7bOS7B.mjs";
|
|
2
2
|
export { RuleAlias, RuleAliases, RuleInput, RulesContext, RulesContextOptions, RulesOptions, StandardSchemaV1, createRules, createRulesContext, createRulesFallback, createRulesPlugin, isStandardSchema, useRules };
|
package/dist/rules/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as useRules, i as createRulesPlugin, n as createRulesContext, o as isStandardSchema, r as createRulesFallback, t as createRules } from "../useRules-
|
|
1
|
+
import { a as useRules, i as createRulesPlugin, n as createRulesContext, o as isStandardSchema, r as createRulesFallback, t as createRules } from "../useRules-ByuxbMsA.mjs";
|
|
2
2
|
export { createRules, createRulesContext, createRulesFallback, createRulesPlugin, isStandardSchema, useRules };
|
package/dist/storage/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as StoragePluginOptions, I as createStorage, L as createStorageContext, M as StorageContext, N as StorageContextOptions, P as StorageOptions, R as createStoragePlugin, z as useStorage } from "../index-
|
|
1
|
+
import { F as StoragePluginOptions, I as createStorage, L as createStorageContext, M as StorageContext, N as StorageContextOptions, P as StorageOptions, R as createStoragePlugin, z as useStorage } from "../index-CV7bOS7B.mjs";
|
|
2
2
|
import { n as StorageAdapter, t as MemoryStorageAdapter } from "../memory-DbyZeNjg.mjs";
|
|
3
3
|
import { t as StorageType } from "../index-DidZKN6S.mjs";
|
|
4
4
|
export { MemoryStorageAdapter, StorageAdapter, StorageContext, StorageContextOptions, StorageOptions, StoragePluginOptions, StorageType, createStorage, createStorageContext, createStoragePlugin, useStorage };
|
package/dist/storage/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as StorageAdapter, t as MemoryStorageAdapter } from "../memory-BJjkQzxs.mjs";
|
|
2
|
-
import { i as useStorage, n as createStorageContext, r as createStoragePlugin, t as createStorage } from "../useStorage-
|
|
2
|
+
import { i as useStorage, n as createStorageContext, r as createStoragePlugin, t as createStorage } from "../useStorage-Fy5tWYkG.mjs";
|
|
3
3
|
export { MemoryStorageAdapter, StorageAdapter, createStorage, createStorageContext, createStoragePlugin, useStorage };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { D as V0UnheadThemeAdapter, j as ThemeAdapter, k as V0StyleSheetThemeAdapter } from "../../index-
|
|
1
|
+
import { D as V0UnheadThemeAdapter, j as ThemeAdapter, k as V0StyleSheetThemeAdapter } from "../../index-CV7bOS7B.mjs";
|
|
2
2
|
export { ThemeAdapter, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ThemeAdapter } from "../../adapter-
|
|
2
|
-
import { t as V0StyleSheetThemeAdapter } from "../../v0-
|
|
3
|
-
import { t as V0UnheadThemeAdapter } from "../../unhead-
|
|
1
|
+
import { t as ThemeAdapter } from "../../adapter-CJY6aQIS.mjs";
|
|
2
|
+
import { t as V0StyleSheetThemeAdapter } from "../../v0-BXjZknUK.mjs";
|
|
3
|
+
import { t as V0UnheadThemeAdapter } from "../../unhead-Bn7eatWe.mjs";
|
|
4
4
|
export { ThemeAdapter, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { D as V0UnheadThemeAdapter, O as V0UnheadThemeOptions } from "../../../index-
|
|
1
|
+
import { D as V0UnheadThemeAdapter, O as V0UnheadThemeOptions } from "../../../index-CV7bOS7B.mjs";
|
|
2
2
|
export { V0UnheadThemeAdapter, V0UnheadThemeOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as V0UnheadThemeAdapter } from "../../../unhead-
|
|
1
|
+
import { t as V0UnheadThemeAdapter } from "../../../unhead-Bn7eatWe.mjs";
|
|
2
2
|
export { V0UnheadThemeAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as Vuetify0ThemeOptions, k as V0StyleSheetThemeAdapter } from "../../../index-
|
|
1
|
+
import { A as Vuetify0ThemeOptions, k as V0StyleSheetThemeAdapter } from "../../../index-CV7bOS7B.mjs";
|
|
2
2
|
export { V0StyleSheetThemeAdapter, Vuetify0ThemeOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as V0StyleSheetThemeAdapter } from "../../../v0-
|
|
1
|
+
import { t as V0StyleSheetThemeAdapter } from "../../../v0-BXjZknUK.mjs";
|
|
2
2
|
export { V0StyleSheetThemeAdapter };
|
package/dist/theme/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as createTheme, D as V0UnheadThemeAdapter, E as useTheme, S as ThemeTicketInput, T as createThemePlugin, _ as ThemeContextOptions, b as ThemeRecord, g as ThemeContext, h as ThemeColors, j as ThemeAdapter, k as V0StyleSheetThemeAdapter, m as Colors, v as ThemeOptions, w as createThemeContext, x as ThemeTicket, y as ThemePluginOptions } from "../index-
|
|
1
|
+
import { C as createTheme, D as V0UnheadThemeAdapter, E as useTheme, S as ThemeTicketInput, T as createThemePlugin, _ as ThemeContextOptions, b as ThemeRecord, g as ThemeContext, h as ThemeColors, j as ThemeAdapter, k as V0StyleSheetThemeAdapter, m as Colors, v as ThemeOptions, w as createThemeContext, x as ThemeTicket, y as ThemePluginOptions } from "../index-CV7bOS7B.mjs";
|
|
2
2
|
export { Colors, ThemeAdapter, ThemeColors, ThemeContext, ThemeContextOptions, ThemeOptions, ThemePluginOptions, ThemeRecord, ThemeTicket, ThemeTicketInput, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter, createTheme, createThemeContext, createThemePlugin, useTheme };
|
package/dist/theme/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ThemeAdapter } from "../adapter-
|
|
2
|
-
import { t as V0StyleSheetThemeAdapter } from "../v0-
|
|
3
|
-
import { t as V0UnheadThemeAdapter } from "../unhead-
|
|
4
|
-
import { i as useTheme, n as createThemeContext, r as createThemePlugin, t as createTheme } from "../useTheme-
|
|
1
|
+
import { t as ThemeAdapter } from "../adapter-CJY6aQIS.mjs";
|
|
2
|
+
import { t as V0StyleSheetThemeAdapter } from "../v0-BXjZknUK.mjs";
|
|
3
|
+
import { t as V0UnheadThemeAdapter } from "../unhead-Bn7eatWe.mjs";
|
|
4
|
+
import { i as useTheme, n as createThemeContext, r as createThemePlugin, t as createTheme } from "../useTheme-DrR7HoLL.mjs";
|
|
5
5
|
export { ThemeAdapter, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter, createTheme, createThemeContext, createThemePlugin, useTheme };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ID, c as V0ErrorCode, i as Extensible, l as V0ErrorDetails, n as DOMElement, o as MaybeArray, r as DeepPartial, s as UnknownObject, t as Activation } from "../index-
|
|
1
|
+
import { a as ID, c as V0ErrorCode, i as Extensible, l as V0ErrorDetails, n as DOMElement, o as MaybeArray, r as DeepPartial, s as UnknownObject, t as Activation } from "../index-CyNk9FpR.mjs";
|
|
2
2
|
export { Activation, DOMElement, DeepPartial, Extensible, ID, MaybeArray, UnknownObject, V0ErrorCode, V0ErrorDetails };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as IN_BROWSER } from "./globals-
|
|
1
|
+
import { t as IN_BROWSER } from "./globals-B0pQgO4u.mjs";
|
|
2
2
|
import { isNull, isString } from "./utilities/index.mjs";
|
|
3
|
-
import { t as ThemeAdapter } from "./adapter-
|
|
3
|
+
import { t as ThemeAdapter } from "./adapter-CJY6aQIS.mjs";
|
|
4
4
|
import { watch } from "vue";
|
|
5
5
|
//#region src/composables/useTheme/adapters/unhead.ts
|
|
6
6
|
/**
|
|
@@ -15,8 +15,10 @@ import { watch } from "vue";
|
|
|
15
15
|
*/
|
|
16
16
|
var V0UnheadThemeAdapter = class extends ThemeAdapter {
|
|
17
17
|
entry;
|
|
18
|
+
cspNonce;
|
|
18
19
|
constructor(options = {}) {
|
|
19
20
|
super(options.prefix ?? "v0");
|
|
21
|
+
this.cspNonce = options.cspNonce;
|
|
20
22
|
this.stylesheetId = options.stylesheetId ?? this.stylesheetId;
|
|
21
23
|
}
|
|
22
24
|
setup(app, context, target) {
|
|
@@ -27,7 +29,8 @@ var V0UnheadThemeAdapter = class extends ThemeAdapter {
|
|
|
27
29
|
htmlAttrs: { "data-theme": id ? String(id) : "" },
|
|
28
30
|
style: [{
|
|
29
31
|
innerHTML: this.generate(context.colors.value, context.isDark.value),
|
|
30
|
-
id: this.stylesheetId
|
|
32
|
+
id: this.stylesheetId,
|
|
33
|
+
...this.cspNonce ? { nonce: this.cspNonce } : {}
|
|
31
34
|
}]
|
|
32
35
|
});
|
|
33
36
|
}
|
|
@@ -46,7 +49,8 @@ var V0UnheadThemeAdapter = class extends ThemeAdapter {
|
|
|
46
49
|
htmlAttrs: { "data-theme": themeStr },
|
|
47
50
|
style: [{
|
|
48
51
|
innerHTML: this.generate(colors, isDark),
|
|
49
|
-
id: this.stylesheetId
|
|
52
|
+
id: this.stylesheetId,
|
|
53
|
+
...this.cspNonce ? { nonce: this.cspNonce } : {}
|
|
50
54
|
}]
|
|
51
55
|
});
|
|
52
56
|
});
|
|
@@ -60,7 +64,8 @@ var V0UnheadThemeAdapter = class extends ThemeAdapter {
|
|
|
60
64
|
if (!this.entry) return;
|
|
61
65
|
this.entry.patch?.({ style: [{
|
|
62
66
|
innerHTML: this.generate(colors, isDark),
|
|
63
|
-
id: this.stylesheetId
|
|
67
|
+
id: this.stylesheetId,
|
|
68
|
+
...this.cspNonce ? { nonce: this.cspNonce } : {}
|
|
64
69
|
}] });
|
|
65
70
|
}
|
|
66
71
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as IN_BROWSER } from "./globals-
|
|
1
|
+
import { t as IN_BROWSER } from "./globals-B0pQgO4u.mjs";
|
|
2
2
|
import { t as toArray } from "./toArray-C89ZaEuF.mjs";
|
|
3
3
|
import { onScopeDispose, toValue, unref, watch } from "vue";
|
|
4
4
|
//#region src/composables/useEventListener/index.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isArray, isBoolean, isFunction, isObject } from "./utilities/index.mjs";
|
|
2
|
-
import { o as createPluginContext } from "./useLogger-
|
|
3
|
-
import { t as createTokens } from "./createTokens-
|
|
4
|
-
import { t as createGroup } from "./createGroup-
|
|
2
|
+
import { o as createPluginContext } from "./useLogger-D7Fqcp_l.mjs";
|
|
3
|
+
import { t as createTokens } from "./createTokens-4BZfgv9F.mjs";
|
|
4
|
+
import { t as createGroup } from "./createGroup-CBsJPLpN.mjs";
|
|
5
5
|
//#region src/composables/useFeatures/index.ts
|
|
6
6
|
/**
|
|
7
7
|
* @module useFeatures
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { o as createPluginContext } from "./useLogger-
|
|
2
|
-
import { t as createSingle } from "./createSingle-
|
|
3
|
-
import { r as flatten, t as createTokens } from "./createTokens-
|
|
4
|
-
import { t as V0LocaleAdapter } from "./v0-
|
|
1
|
+
import { o as createPluginContext } from "./useLogger-D7Fqcp_l.mjs";
|
|
2
|
+
import { t as createSingle } from "./createSingle-CiKU87Hj.mjs";
|
|
3
|
+
import { r as flatten, t as createTokens } from "./createTokens-4BZfgv9F.mjs";
|
|
4
|
+
import { t as V0LocaleAdapter } from "./v0-DwKPTLJv.mjs";
|
|
5
5
|
//#region src/composables/useLocale/index.ts
|
|
6
6
|
/**
|
|
7
7
|
* @module useLocale
|
|
@@ -57,6 +57,9 @@ function createLocale(_options = {}) {
|
|
|
57
57
|
function t(key, ...params) {
|
|
58
58
|
return adapter.t(key, ...params);
|
|
59
59
|
}
|
|
60
|
+
function ti(key, ...params) {
|
|
61
|
+
return adapter.ti(key, ...params);
|
|
62
|
+
}
|
|
60
63
|
function n(value) {
|
|
61
64
|
return adapter.n(value);
|
|
62
65
|
}
|
|
@@ -68,6 +71,7 @@ function createLocale(_options = {}) {
|
|
|
68
71
|
return {
|
|
69
72
|
...registry,
|
|
70
73
|
t,
|
|
74
|
+
ti,
|
|
71
75
|
n,
|
|
72
76
|
register,
|
|
73
77
|
get size() {
|
|
@@ -79,6 +83,7 @@ function createLocaleFallback() {
|
|
|
79
83
|
return {
|
|
80
84
|
size: 0,
|
|
81
85
|
t: (key) => key,
|
|
86
|
+
ti: () => void 0,
|
|
82
87
|
n: String
|
|
83
88
|
};
|
|
84
89
|
}
|