@vuetify/v0 0.1.3 → 0.1.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/dist/adapter-BN-h5JbD.d.mts +344 -0
- package/dist/adapter-CJIj5ySf.d.mts +11 -0
- package/dist/adapter-D_0ptsPm.mjs +229 -0
- package/dist/adapters-BQ-Lr3PW.mjs +1 -0
- package/dist/adapters-DEXpW9If.mjs +1 -0
- package/dist/adapters-Q9WaOsJp.mjs +1 -0
- package/dist/adapters-SSDVth5e.mjs +1 -0
- package/dist/browser/index.js +359 -933
- package/dist/components/index.d.mts +19 -6
- package/dist/components/index.mjs +37 -5
- package/dist/{components-C0zEvP7w.mjs → components-CMuzTJdK.mjs} +11 -4
- package/dist/composables/index.d.mts +17 -4
- package/dist/composables/index.mjs +36 -4
- package/dist/consola-DiUk9j3y.d.mts +15 -0
- package/dist/consola-GBy8XRuL.mjs +31 -0
- package/dist/constants/index.d.mts +1 -1
- package/dist/constants/index.mjs +3 -3
- package/dist/constants-B8pMSkcW.mjs +1 -0
- package/dist/createDataTable-BJnmvxfb.mjs +387 -0
- package/dist/createGroup-CPhp6FUh.mjs +363 -0
- package/dist/createPagination-cyOWlpfH.mjs +234 -0
- package/dist/createSelection-uqEbFgha.mjs +261 -0
- package/dist/createSingle-B59ya3aa.mjs +179 -0
- package/dist/createTokens-BlhLdHXE.mjs +682 -0
- package/dist/createTrinity-EeHQSsb6.mjs +149 -0
- package/dist/data-table/adapters/client/index.d.mts +3 -0
- package/dist/data-table/adapters/client/index.mjs +9 -0
- package/dist/data-table/adapters/index.d.mts +5 -0
- package/dist/data-table/adapters/index.mjs +12 -0
- package/dist/data-table/adapters/server/index.d.mts +3 -0
- package/dist/data-table/adapters/server/index.mjs +7 -0
- package/dist/data-table/adapters/virtual/index.d.mts +3 -0
- package/dist/data-table/adapters/virtual/index.mjs +9 -0
- package/dist/data-table/index.d.mts +7 -0
- package/dist/data-table/index.mjs +25 -0
- package/dist/date/index.d.mts +1 -1
- package/dist/date/index.mjs +2 -2
- package/dist/features/adapters/flagsmith/index.d.mts +16 -0
- package/dist/features/adapters/flagsmith/index.mjs +3 -0
- package/dist/features/adapters/launchdarkly/index.d.mts +15 -0
- package/dist/features/adapters/launchdarkly/index.mjs +3 -0
- package/dist/features/adapters/posthog/index.d.mts +15 -0
- package/dist/features/adapters/posthog/index.mjs +4 -0
- package/dist/features/index.d.mts +17 -0
- package/dist/features/index.mjs +18 -0
- package/dist/flagsmith-CHmpPGR7.mjs +40 -0
- package/dist/{globals-BwYsH-rt.mjs → globals-B_GVfG06.mjs} +2 -2
- package/dist/index-7mWYFHA6.d.mts +251 -0
- package/dist/index-BDTbJClL.d.mts +11 -0
- package/dist/index-BuOz3Rgm.d.mts +32 -0
- package/dist/{index-Bmem4l8m.d.mts → index-Bv1VN_j5.d.mts} +1 -1
- package/dist/{index-DFM5iBqh.d.mts → index-CQrDeqsK.d.mts} +280 -279
- package/dist/{index-2wh69fk5.d.mts → index-Dd0m0LIJ.d.mts} +135 -1407
- package/dist/{index-DBZTizq2.d.mts → index-UNwEBkQT.d.mts} +16 -2
- package/dist/index.d.mts +20 -7
- package/dist/index.mjs +39 -7
- package/dist/json/web-types.json +1 -1
- package/dist/launchdarkly-W8t8ZANX.mjs +28 -0
- package/dist/locale/adapters/index.d.mts +3 -0
- package/dist/locale/adapters/index.mjs +6 -0
- package/dist/locale/adapters/v0/index.d.mts +3 -0
- package/dist/locale/adapters/v0/index.mjs +5 -0
- package/dist/locale/index.d.mts +17 -0
- package/dist/locale/index.mjs +17 -0
- package/dist/logger/adapters/consola/index.d.mts +3 -0
- package/dist/logger/adapters/consola/index.mjs +3 -0
- package/dist/logger/adapters/index.d.mts +5 -0
- package/dist/logger/adapters/index.mjs +8 -0
- package/dist/logger/adapters/pino/index.d.mts +3 -0
- package/dist/logger/adapters/pino/index.mjs +5 -0
- package/dist/logger/adapters/v0/index.d.mts +3 -0
- package/dist/logger/adapters/v0/index.mjs +5 -0
- package/dist/logger/index.d.mts +17 -0
- package/dist/logger/index.mjs +10 -0
- package/dist/memory-BsZGbGnG.mjs +27 -0
- package/dist/memory-DVjquu_v.d.mts +25 -0
- package/dist/permissions/adapters/index.d.mts +18 -0
- package/dist/permissions/adapters/index.mjs +6 -0
- package/dist/permissions/adapters/v0/index.d.mts +18 -0
- package/dist/permissions/adapters/v0/index.mjs +5 -0
- package/dist/permissions/index.d.mts +17 -0
- package/dist/permissions/index.mjs +15 -0
- package/dist/pino-01x_NmWp.mjs +49 -0
- package/dist/pino-p-jDkNQd.d.mts +24 -0
- package/dist/posthog-BrGBPPir.mjs +50 -0
- package/dist/server-6cs14bj1.d.mts +20 -0
- package/dist/server-ClCwiLMA.mjs +45 -0
- package/dist/storage/adapters/index.d.mts +3 -0
- package/dist/storage/adapters/index.mjs +3 -0
- package/dist/storage/adapters/memory/index.d.mts +2 -0
- package/dist/storage/adapters/memory/index.mjs +3 -0
- package/dist/storage/index.d.mts +17 -0
- package/dist/storage/index.mjs +37 -0
- package/dist/theme/adapters/index.d.mts +17 -0
- package/dist/theme/adapters/index.mjs +6 -0
- package/dist/theme/adapters/v0/index.d.mts +17 -0
- package/dist/theme/adapters/v0/index.mjs +5 -0
- package/dist/theme/index.d.mts +17 -0
- package/dist/theme/index.mjs +16 -0
- package/dist/toArray-DIeXVX1C.mjs +38 -0
- package/dist/types/index.d.mts +1 -1
- package/dist/useClickOutside-p8HP07At.mjs +4680 -0
- package/dist/useFeatures-C4JF3Hgr.mjs +122 -0
- package/dist/useLocale-DlbShzF-.mjs +85 -0
- package/dist/useLogger-CO9JwbSJ.mjs +283 -0
- package/dist/usePermissions-DQVT_4nD.mjs +128 -0
- package/dist/useTheme-Bcw1Ebyt.mjs +135 -0
- package/dist/utilities/index.d.mts +3 -3
- package/dist/utilities/index.mjs +3 -3
- package/dist/{utilities-BbKjbXTx.mjs → utilities-BqS1sC1W.mjs} +20 -3
- package/dist/v0-B40YkIQ-.mjs +21 -0
- package/dist/v0-BOxb3nD1.d.mts +33 -0
- package/dist/v0-BogbIzpM.mjs +41 -0
- package/dist/v0-BtQCSBOG.mjs +37 -0
- package/dist/v0-C-9dv_1S.d.mts +10 -0
- package/dist/v0-CtjuUUPl.mjs +73 -0
- package/dist/v0-DHMoZ7dS.d.mts +22 -0
- package/dist/v0-ONBWyQYQ.mjs +83 -0
- package/dist/v0-RepwEY1F.d.mts +9 -0
- package/dist/virtual-B3IPkHC0.d.mts +9 -0
- package/dist/virtual-BP9WXRzN.mjs +44 -0
- package/package.json +34 -2
- package/dist/useClickOutside-DrkNYxDe.mjs +0 -8871
- /package/dist/{adapter-D95FHAtt.d.mts → adapter-DcwxFryd.d.mts} +0 -0
- /package/dist/{constants-DHKqjdjH.mjs → adapters-BGJKsBrw.mjs} +0 -0
- /package/dist/{htmlElements-DO9n35bD.mjs → htmlElements-d8iBCGpO.mjs} +0 -0
- /package/dist/{index-BLK67J_-.d.mts → index-BFBN5Zl3.d.mts} +0 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { d as isObject } from "./utilities-BqS1sC1W.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/composables/useLogger/adapters/pino.ts
|
|
4
|
+
/**
|
|
5
|
+
* Pino logger adapter implementation
|
|
6
|
+
*
|
|
7
|
+
* This adapter integrates with the Pino logging library,
|
|
8
|
+
* providing high-performance structured logging optimized
|
|
9
|
+
* for Node.js applications with minimal overhead.
|
|
10
|
+
*/
|
|
11
|
+
var PinoLoggerAdapter = class {
|
|
12
|
+
pino;
|
|
13
|
+
constructor(pinoInstance) {
|
|
14
|
+
if (!pinoInstance) throw new Error("Pino instance is required for PinoLoggerAdapter");
|
|
15
|
+
this.pino = pinoInstance;
|
|
16
|
+
}
|
|
17
|
+
debug(message, ...args) {
|
|
18
|
+
this.pino.debug(this.format(message, ...args));
|
|
19
|
+
}
|
|
20
|
+
info(message, ...args) {
|
|
21
|
+
this.pino.info(this.format(message, ...args));
|
|
22
|
+
}
|
|
23
|
+
warn(message, ...args) {
|
|
24
|
+
this.pino.warn(this.format(message, ...args));
|
|
25
|
+
}
|
|
26
|
+
error(message, ...args) {
|
|
27
|
+
this.pino.error(this.format(message, ...args));
|
|
28
|
+
}
|
|
29
|
+
trace(message, ...args) {
|
|
30
|
+
this.pino.trace(this.format(message, ...args));
|
|
31
|
+
}
|
|
32
|
+
fatal(message, ...args) {
|
|
33
|
+
this.pino.fatal(this.format(message, ...args));
|
|
34
|
+
}
|
|
35
|
+
format(message, ...args) {
|
|
36
|
+
if (args.length === 0) return { msg: message };
|
|
37
|
+
if (args.length === 1 && /* @__PURE__ */ isObject(args[0])) return {
|
|
38
|
+
...args[0],
|
|
39
|
+
msg: message
|
|
40
|
+
};
|
|
41
|
+
return {
|
|
42
|
+
msg: message,
|
|
43
|
+
args
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
//#endregion
|
|
49
|
+
export { PinoLoggerAdapter as t };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { t as LoggerAdapter } from "./adapter-CJIj5ySf.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/composables/useLogger/adapters/pino.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Pino logger adapter implementation
|
|
7
|
+
*
|
|
8
|
+
* This adapter integrates with the Pino logging library,
|
|
9
|
+
* providing high-performance structured logging optimized
|
|
10
|
+
* for Node.js applications with minimal overhead.
|
|
11
|
+
*/
|
|
12
|
+
declare class PinoLoggerAdapter implements LoggerAdapter {
|
|
13
|
+
private pino;
|
|
14
|
+
constructor(pinoInstance: any);
|
|
15
|
+
debug(message: string, ...args: unknown[]): void;
|
|
16
|
+
info(message: string, ...args: unknown[]): void;
|
|
17
|
+
warn(message: string, ...args: unknown[]): void;
|
|
18
|
+
error(message: string, ...args: unknown[]): void;
|
|
19
|
+
trace(message: string, ...args: unknown[]): void;
|
|
20
|
+
fatal(message: string, ...args: unknown[]): void;
|
|
21
|
+
private format;
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
export { PinoLoggerAdapter as t };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { t as IN_BROWSER } from "./globals-B_GVfG06.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/composables/useFeatures/adapters/posthog/index.ts
|
|
4
|
+
/**
|
|
5
|
+
* @module PostHogFeatureAdapter
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* PostHog adapter for feature flags.
|
|
9
|
+
*/
|
|
10
|
+
var PostHogFeatureAdapter = class {
|
|
11
|
+
constructor(client) {
|
|
12
|
+
this.client = client;
|
|
13
|
+
}
|
|
14
|
+
setup(onUpdate) {
|
|
15
|
+
if (!IN_BROWSER) return {};
|
|
16
|
+
const updateFlags = () => {
|
|
17
|
+
const flags = {};
|
|
18
|
+
const activeFlags = this.client.featureFlags.getFlags();
|
|
19
|
+
if (activeFlags) {
|
|
20
|
+
for (const key of activeFlags) {
|
|
21
|
+
const isEnabled = this.client.isFeatureEnabled(key) ?? false;
|
|
22
|
+
const payload = this.client.getFeatureFlagPayload(key);
|
|
23
|
+
if (payload !== void 0 && payload !== null) flags[key] = {
|
|
24
|
+
$value: isEnabled,
|
|
25
|
+
$variation: payload
|
|
26
|
+
};
|
|
27
|
+
else {
|
|
28
|
+
const variant = this.client.getFeatureFlag(key);
|
|
29
|
+
flags[key] = variant !== true && variant !== false && variant !== void 0 && variant !== null ? {
|
|
30
|
+
$value: true,
|
|
31
|
+
$variation: variant
|
|
32
|
+
} : isEnabled;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
onUpdate(flags);
|
|
36
|
+
return flags;
|
|
37
|
+
}
|
|
38
|
+
return {};
|
|
39
|
+
};
|
|
40
|
+
this.disposeFn = this.client.onFeatureFlags(updateFlags);
|
|
41
|
+
return updateFlags();
|
|
42
|
+
}
|
|
43
|
+
dispose() {
|
|
44
|
+
this.disposeFn();
|
|
45
|
+
}
|
|
46
|
+
disposeFn = () => {};
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
//#endregion
|
|
50
|
+
export { PostHogFeatureAdapter as t };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { i as DataTableAdapterResult, n as DataTableAdapterContext, r as DataTableAdapterInterface } from "./adapter-BN-h5JbD.mjs";
|
|
2
|
+
import { MaybeRefOrGetter } from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/composables/createDataTable/adapters/server.d.ts
|
|
5
|
+
|
|
6
|
+
interface ServerAdapterOptions {
|
|
7
|
+
/** Total number of items on the server (for pagination calculation) */
|
|
8
|
+
total: MaybeRefOrGetter<number>;
|
|
9
|
+
/** Loading state (e.g., from useFetch) */
|
|
10
|
+
loading?: MaybeRefOrGetter<boolean>;
|
|
11
|
+
/** Error state from API */
|
|
12
|
+
error?: MaybeRefOrGetter<Error | null>;
|
|
13
|
+
}
|
|
14
|
+
declare class ServerAdapter<T extends Record<string, unknown>> implements DataTableAdapterInterface<T> {
|
|
15
|
+
private options;
|
|
16
|
+
constructor(options: ServerAdapterOptions);
|
|
17
|
+
setup(context: DataTableAdapterContext<T>): DataTableAdapterResult<T>;
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { ServerAdapterOptions as n, ServerAdapter as t };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { t as createPagination } from "./createPagination-cyOWlpfH.mjs";
|
|
2
|
+
import { toRef, toValue, watch } from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/composables/createDataTable/adapters/server.ts
|
|
5
|
+
/**
|
|
6
|
+
* @module createDataTable/adapters/server
|
|
7
|
+
*
|
|
8
|
+
* @remarks
|
|
9
|
+
* Server-side data table adapter. Assumes all filtering, sorting, and
|
|
10
|
+
* slicing is performed externally (e.g., by an API). The adapter provides
|
|
11
|
+
* pagination controls driven by a server-provided total item count.
|
|
12
|
+
*
|
|
13
|
+
* The consumer is responsible for watching `search`, `sortBy`, and
|
|
14
|
+
* `pagination.page` to trigger API calls and update the `items` ref.
|
|
15
|
+
*/
|
|
16
|
+
var ServerAdapter = class {
|
|
17
|
+
options;
|
|
18
|
+
constructor(options) {
|
|
19
|
+
this.options = options;
|
|
20
|
+
}
|
|
21
|
+
setup(context) {
|
|
22
|
+
const { items: _items, search, sortBy, paginationOptions } = context;
|
|
23
|
+
const allItems = toRef(() => toValue(_items));
|
|
24
|
+
const pagination = createPagination({
|
|
25
|
+
...paginationOptions,
|
|
26
|
+
size: toRef(() => toValue(this.options.total))
|
|
27
|
+
});
|
|
28
|
+
watch([search, sortBy], () => {
|
|
29
|
+
pagination.first();
|
|
30
|
+
});
|
|
31
|
+
return {
|
|
32
|
+
allItems,
|
|
33
|
+
filteredItems: allItems,
|
|
34
|
+
sortedItems: allItems,
|
|
35
|
+
items: allItems,
|
|
36
|
+
pagination,
|
|
37
|
+
total: toRef(() => toValue(this.options.total)),
|
|
38
|
+
loading: toRef(() => toValue(this.options.loading) ?? false),
|
|
39
|
+
error: toRef(() => toValue(this.options.error) ?? null)
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
//#endregion
|
|
45
|
+
export { ServerAdapter as t };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import "../index-BFBN5Zl3.mjs";
|
|
2
|
+
import "../adapter-BN-h5JbD.mjs";
|
|
3
|
+
import { B as StorageOptions, G as useStorage, H as createStorage, R as StorageContext, U as createStorageContext, V as StoragePluginOptions, W as createStoragePlugin, z as StorageContextOptions } from "../index-Dd0m0LIJ.mjs";
|
|
4
|
+
import "../server-6cs14bj1.mjs";
|
|
5
|
+
import "../v0-RepwEY1F.mjs";
|
|
6
|
+
import "../virtual-B3IPkHC0.mjs";
|
|
7
|
+
import "../index-7mWYFHA6.mjs";
|
|
8
|
+
import "../adapter-DcwxFryd.mjs";
|
|
9
|
+
import "../index-BuOz3Rgm.mjs";
|
|
10
|
+
import "../v0-DHMoZ7dS.mjs";
|
|
11
|
+
import "../adapter-CJIj5ySf.mjs";
|
|
12
|
+
import "../consola-DiUk9j3y.mjs";
|
|
13
|
+
import "../pino-p-jDkNQd.mjs";
|
|
14
|
+
import "../v0-BOxb3nD1.mjs";
|
|
15
|
+
import { t as MemoryAdapter } from "../memory-DVjquu_v.mjs";
|
|
16
|
+
import { n as StorageType, t as StorageAdapter } from "../index-BDTbJClL.mjs";
|
|
17
|
+
export { MemoryAdapter, StorageAdapter, StorageContext, StorageContextOptions, StorageOptions, StoragePluginOptions, StorageType, createStorage, createStorageContext, createStoragePlugin, useStorage };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import "../globals-B_GVfG06.mjs";
|
|
2
|
+
import "../utilities-BqS1sC1W.mjs";
|
|
3
|
+
import "../createTrinity-EeHQSsb6.mjs";
|
|
4
|
+
import "../useLogger-CO9JwbSJ.mjs";
|
|
5
|
+
import "../consola-GBy8XRuL.mjs";
|
|
6
|
+
import "../pino-01x_NmWp.mjs";
|
|
7
|
+
import "../v0-CtjuUUPl.mjs";
|
|
8
|
+
import "../adapters-DEXpW9If.mjs";
|
|
9
|
+
import "../createTokens-BlhLdHXE.mjs";
|
|
10
|
+
import "../createSelection-uqEbFgha.mjs";
|
|
11
|
+
import "../createSingle-B59ya3aa.mjs";
|
|
12
|
+
import { f as createStorage, h as useStorage, m as createStoragePlugin, p as createStorageContext } from "../useClickOutside-p8HP07At.mjs";
|
|
13
|
+
import "../createGroup-CPhp6FUh.mjs";
|
|
14
|
+
import "../toArray-DIeXVX1C.mjs";
|
|
15
|
+
import "../v0-BtQCSBOG.mjs";
|
|
16
|
+
import "../adapters-Q9WaOsJp.mjs";
|
|
17
|
+
import "../useLocale-DlbShzF-.mjs";
|
|
18
|
+
import "../createPagination-cyOWlpfH.mjs";
|
|
19
|
+
import "../adapter-D_0ptsPm.mjs";
|
|
20
|
+
import "../v0-BogbIzpM.mjs";
|
|
21
|
+
import "../server-ClCwiLMA.mjs";
|
|
22
|
+
import "../virtual-BP9WXRzN.mjs";
|
|
23
|
+
import "../adapters-SSDVth5e.mjs";
|
|
24
|
+
import "../createDataTable-BJnmvxfb.mjs";
|
|
25
|
+
import "../useFeatures-C4JF3Hgr.mjs";
|
|
26
|
+
import "../flagsmith-CHmpPGR7.mjs";
|
|
27
|
+
import "../launchdarkly-W8t8ZANX.mjs";
|
|
28
|
+
import "../posthog-BrGBPPir.mjs";
|
|
29
|
+
import "../v0-B40YkIQ-.mjs";
|
|
30
|
+
import "../adapters-BQ-Lr3PW.mjs";
|
|
31
|
+
import "../usePermissions-DQVT_4nD.mjs";
|
|
32
|
+
import { t as MemoryAdapter } from "../memory-BsZGbGnG.mjs";
|
|
33
|
+
import "../v0-ONBWyQYQ.mjs";
|
|
34
|
+
import "../adapters-BGJKsBrw.mjs";
|
|
35
|
+
import "../useTheme-Bcw1Ebyt.mjs";
|
|
36
|
+
|
|
37
|
+
export { MemoryAdapter, createStorage, createStorageContext, createStoragePlugin, useStorage };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import "../../index-BFBN5Zl3.mjs";
|
|
2
|
+
import "../../adapter-BN-h5JbD.mjs";
|
|
3
|
+
import { I as ThemeAdapter, L as ThemeAdapterInterface, P as Vuetify0ThemeAdapter } from "../../index-Dd0m0LIJ.mjs";
|
|
4
|
+
import "../../server-6cs14bj1.mjs";
|
|
5
|
+
import "../../v0-RepwEY1F.mjs";
|
|
6
|
+
import "../../virtual-B3IPkHC0.mjs";
|
|
7
|
+
import "../../index-7mWYFHA6.mjs";
|
|
8
|
+
import "../../adapter-DcwxFryd.mjs";
|
|
9
|
+
import "../../index-BuOz3Rgm.mjs";
|
|
10
|
+
import "../../v0-DHMoZ7dS.mjs";
|
|
11
|
+
import "../../adapter-CJIj5ySf.mjs";
|
|
12
|
+
import "../../consola-DiUk9j3y.mjs";
|
|
13
|
+
import "../../pino-p-jDkNQd.mjs";
|
|
14
|
+
import "../../v0-BOxb3nD1.mjs";
|
|
15
|
+
import "../../memory-DVjquu_v.mjs";
|
|
16
|
+
import "../../index-BDTbJClL.mjs";
|
|
17
|
+
export { ThemeAdapter, ThemeAdapterInterface, Vuetify0ThemeAdapter };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import "../../../index-BFBN5Zl3.mjs";
|
|
2
|
+
import "../../../adapter-BN-h5JbD.mjs";
|
|
3
|
+
import { F as Vuetify0ThemeOptions, P as Vuetify0ThemeAdapter } from "../../../index-Dd0m0LIJ.mjs";
|
|
4
|
+
import "../../../server-6cs14bj1.mjs";
|
|
5
|
+
import "../../../v0-RepwEY1F.mjs";
|
|
6
|
+
import "../../../virtual-B3IPkHC0.mjs";
|
|
7
|
+
import "../../../index-7mWYFHA6.mjs";
|
|
8
|
+
import "../../../adapter-DcwxFryd.mjs";
|
|
9
|
+
import "../../../index-BuOz3Rgm.mjs";
|
|
10
|
+
import "../../../v0-DHMoZ7dS.mjs";
|
|
11
|
+
import "../../../adapter-CJIj5ySf.mjs";
|
|
12
|
+
import "../../../consola-DiUk9j3y.mjs";
|
|
13
|
+
import "../../../pino-p-jDkNQd.mjs";
|
|
14
|
+
import "../../../v0-BOxb3nD1.mjs";
|
|
15
|
+
import "../../../memory-DVjquu_v.mjs";
|
|
16
|
+
import "../../../index-BDTbJClL.mjs";
|
|
17
|
+
export { Vuetify0ThemeAdapter, Vuetify0ThemeOptions };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import "../index-BFBN5Zl3.mjs";
|
|
2
|
+
import "../adapter-BN-h5JbD.mjs";
|
|
3
|
+
import { A as createTheme, C as ThemeContext, D as ThemeRecord, E as ThemePluginOptions, I as ThemeAdapter, M as createThemePlugin, N as useTheme, O as ThemeTicket, P as Vuetify0ThemeAdapter, S as ThemeColors, T as ThemeOptions, j as createThemeContext, k as ThemeTicketInput, w as ThemeContextOptions, x as Colors } from "../index-Dd0m0LIJ.mjs";
|
|
4
|
+
import "../server-6cs14bj1.mjs";
|
|
5
|
+
import "../v0-RepwEY1F.mjs";
|
|
6
|
+
import "../virtual-B3IPkHC0.mjs";
|
|
7
|
+
import "../index-7mWYFHA6.mjs";
|
|
8
|
+
import "../adapter-DcwxFryd.mjs";
|
|
9
|
+
import "../index-BuOz3Rgm.mjs";
|
|
10
|
+
import "../v0-DHMoZ7dS.mjs";
|
|
11
|
+
import "../adapter-CJIj5ySf.mjs";
|
|
12
|
+
import "../consola-DiUk9j3y.mjs";
|
|
13
|
+
import "../pino-p-jDkNQd.mjs";
|
|
14
|
+
import "../v0-BOxb3nD1.mjs";
|
|
15
|
+
import "../memory-DVjquu_v.mjs";
|
|
16
|
+
import "../index-BDTbJClL.mjs";
|
|
17
|
+
export { Colors, ThemeAdapter, ThemeColors, ThemeContext, ThemeContextOptions, ThemeOptions, ThemePluginOptions, ThemeRecord, ThemeTicket, ThemeTicketInput, Vuetify0ThemeAdapter, createTheme, createThemeContext, createThemePlugin, useTheme };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import "../globals-B_GVfG06.mjs";
|
|
2
|
+
import "../utilities-BqS1sC1W.mjs";
|
|
3
|
+
import "../createTrinity-EeHQSsb6.mjs";
|
|
4
|
+
import "../useLogger-CO9JwbSJ.mjs";
|
|
5
|
+
import "../consola-GBy8XRuL.mjs";
|
|
6
|
+
import "../pino-01x_NmWp.mjs";
|
|
7
|
+
import "../v0-CtjuUUPl.mjs";
|
|
8
|
+
import "../adapters-DEXpW9If.mjs";
|
|
9
|
+
import "../createTokens-BlhLdHXE.mjs";
|
|
10
|
+
import "../createSelection-uqEbFgha.mjs";
|
|
11
|
+
import "../createSingle-B59ya3aa.mjs";
|
|
12
|
+
import { t as Vuetify0ThemeAdapter } from "../v0-ONBWyQYQ.mjs";
|
|
13
|
+
import "../adapters-BGJKsBrw.mjs";
|
|
14
|
+
import { i as useTheme, n as createThemeContext, r as createThemePlugin, t as createTheme } from "../useTheme-Bcw1Ebyt.mjs";
|
|
15
|
+
|
|
16
|
+
export { Vuetify0ThemeAdapter, createTheme, createThemeContext, createThemePlugin, useTheme };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { l as isNullOrUndefined, r as isArray } from "./utilities-BqS1sC1W.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/composables/toArray/index.ts
|
|
4
|
+
/**
|
|
5
|
+
* @module toArray
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* Utility function to normalize single values and arrays into arrays.
|
|
9
|
+
*
|
|
10
|
+
* Converts single values into single-element arrays, passes arrays through unchanged,
|
|
11
|
+
* and handles null/undefined by returning empty arrays. Perfect for functions that
|
|
12
|
+
* accept both single values and arrays as input (e.g., ID | ID[]).
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Converts a value to an array.
|
|
16
|
+
*
|
|
17
|
+
* @param value The value to convert.
|
|
18
|
+
* @template Z The type of the value.
|
|
19
|
+
* @returns The converted array.
|
|
20
|
+
*
|
|
21
|
+
* @see https://0.vuetifyjs.com/composables/transformers/to-array
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* import { toArray } from '@vuetify/v0'
|
|
26
|
+
*
|
|
27
|
+
* const value = 'Example Value'
|
|
28
|
+
* const valueAsArray = toArray(value)
|
|
29
|
+
*
|
|
30
|
+
* console.log(valueAsArray) // ['Example Value']
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
function toArray(value) {
|
|
34
|
+
return /* @__PURE__ */ isNullOrUndefined(value) ? [] : /* @__PURE__ */ isArray(value) ? value : [value];
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
//#endregion
|
|
38
|
+
export { toArray as t };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as GenericObject, c as UnknownObject, i as Extensible, n as DOMElement, o as ID, r as DeepPartial, s as MaybeArray, t as Activation } from "../index-
|
|
1
|
+
import { a as GenericObject, c as UnknownObject, i as Extensible, n as DOMElement, o as ID, r as DeepPartial, s as MaybeArray, t as Activation } from "../index-BFBN5Zl3.mjs";
|
|
2
2
|
export { Activation, DOMElement, DeepPartial, Extensible, GenericObject, ID, MaybeArray, UnknownObject };
|