@vuetify/v0 1.0.4 → 1.1.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/{adapter-lS_VpRow.mjs → adapter-q1sRACUc.mjs} +3 -1
- package/dist/browser/index.d.ts +59 -9
- package/dist/browser/index.js +221 -62
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/{components-BEULKf1l.mjs → components-B2BZ1B3K.mjs} +186 -55
- package/dist/composables/index.d.mts +1 -1
- package/dist/composables/index.mjs +22 -22
- package/dist/{composables-UDLJSkis.mjs → composables-DONBl_c9.mjs} +24 -14
- package/dist/constants/index.mjs +1 -1
- package/dist/{createDataTable-odNvR9Tl.mjs → createDataTable-DgyHBfAr.mjs} +3 -3
- package/dist/{createGroup-DK5KxHjn.mjs → createGroup-BXKKcb9-.mjs} +1 -1
- package/dist/{createRegistry-DCWma-GG.mjs → createRegistry-B9cOWny2.mjs} +1 -1
- package/dist/{createSelection-B3L-4fLH.mjs → createSelection-CWE554_g.mjs} +1 -1
- package/dist/{createSingle-DBWZc1_G.mjs → createSingle-Dz-1Iv7u.mjs} +1 -1
- package/dist/{createTokens-C4ZmZFHA.mjs → createTokens-C4qcW2Kv.mjs} +2 -2
- package/dist/data-table/index.mjs +1 -1
- package/dist/date/index.mjs +1 -1
- package/dist/features/adapters/posthog/index.mjs +1 -1
- package/dist/features/index.d.mts +1 -1
- package/dist/features/index.mjs +1 -1
- package/dist/{globals-BUTW4MHG.mjs → globals-CtaXlEOI.mjs} +1 -1
- package/dist/{index-CRi_o77U.d.mts → index-CTl0cGH6.d.mts} +111 -91
- package/dist/{index-CrAgM2EJ.d.mts → index-Dc7lKT6q.d.mts} +32 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +24 -24
- package/dist/json/web-types.json +1 -1
- package/dist/locale/adapters/index.mjs +1 -1
- package/dist/locale/adapters/v0/index.mjs +1 -1
- package/dist/locale/index.d.mts +1 -1
- package/dist/locale/index.mjs +2 -2
- package/dist/locale/messages/en/index.d.mts +2 -0
- package/dist/locale/messages/en/index.mjs +5 -1
- 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/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/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/{unhead-DHgoHwNp.mjs → unhead-BAWCwNOF.mjs} +2 -2
- package/dist/{useEventListener-DH8rxkg9.mjs → useEventListener-DSOeDtC-.mjs} +1 -1
- package/dist/{useFeatures-C69UhG6j.mjs → useFeatures-YJmONiU7.mjs} +3 -3
- package/dist/{useLocale-x-_byBGJ.mjs → useLocale-D-V0DENN.mjs} +4 -4
- package/dist/{useLogger-YmzhmbpJ.mjs → useLogger-CbvzXCWb.mjs} +2 -2
- package/dist/{useNotifications-HplEE-rp.mjs → useNotifications-Cqg3uDz0.mjs} +3 -3
- package/dist/{usePermissions-DOEFSPvv.mjs → usePermissions-BTdUVyQe.mjs} +2 -2
- package/dist/{useRovingFocus-B_21NzGP.mjs → useRovingFocus-g6ifibLg.mjs} +37 -21
- package/dist/{useRules-D3t_9FXV.mjs → useRules-DEiHd_eY.mjs} +2 -2
- package/dist/{useStorage-Dk0vBk5G.mjs → useStorage-BSfQfDbg.mjs} +3 -3
- package/dist/{useTheme-BgZhqWsW.mjs → useTheme-C0_i__N6.mjs} +4 -4
- package/dist/utilities/index.mjs +1 -1
- package/dist/{v0-BOwub0NK.mjs → v0-CCWHeKJM.mjs} +1 -1
- package/dist/{v0-sv4EvUA-.mjs → v0-CZBkpQjr.mjs} +1 -1
- package/dist/{v0-_kEIVNjG.mjs → v0-CveVV6On.mjs} +2 -2
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { i as SUPPORTS_MUTATION_OBSERVER, r as SUPPORTS_MATCH_MEDIA, t as IN_BROWSER } from "./globals-
|
|
1
|
+
import { i as SUPPORTS_MUTATION_OBSERVER, r as SUPPORTS_MATCH_MEDIA, t as IN_BROWSER } from "./globals-CtaXlEOI.mjs";
|
|
2
2
|
import { V0Error, clamp, instanceExists, isArray, isBoolean, isElement, isFunction, isNaN, isNull, isNullOrUndefined, isNumber, isString, isThenable, isUndefined, mergeDeep, useId as useId$1 } from "./utilities/index.mjs";
|
|
3
3
|
import { i as useContext, n as createContext, t as createTrinity } from "./createTrinity-z-3q9QWR.mjs";
|
|
4
|
-
import { a as createPlugin, i as useLogger, o as createPluginContext } from "./useLogger-
|
|
5
|
-
import { t as createRegistry } from "./createRegistry-
|
|
6
|
-
import { i as createModel } from "./createSelection-
|
|
7
|
-
import { a as useLocale } from "./useLocale-
|
|
4
|
+
import { a as createPlugin, i as useLogger, o as createPluginContext } from "./useLogger-CbvzXCWb.mjs";
|
|
5
|
+
import { t as createRegistry } from "./createRegistry-B9cOWny2.mjs";
|
|
6
|
+
import { i as createModel } from "./createSelection-CWE554_g.mjs";
|
|
7
|
+
import { a as useLocale } from "./useLocale-D-V0DENN.mjs";
|
|
8
8
|
import { t as toArray } from "./toArray-C89ZaEuF.mjs";
|
|
9
|
-
import { n as useEventListener, r as useWindowEventListener } from "./useEventListener-
|
|
10
|
-
import { J as useResizeObserver, M as ComboboxAdapter, Y as createObserver, b as createInput, et as useHydration, tt as useToggleScope } from "./useRovingFocus-
|
|
11
|
-
import { i as useProxyRegistry, t as createGroup } from "./createGroup-
|
|
12
|
-
import { a as extractLeaves, t as createDataTable } from "./createDataTable-
|
|
9
|
+
import { n as useEventListener, r as useWindowEventListener } from "./useEventListener-DSOeDtC-.mjs";
|
|
10
|
+
import { J as useResizeObserver, M as ComboboxAdapter, Y as createObserver, b as createInput, et as useHydration, tt as useToggleScope } from "./useRovingFocus-g6ifibLg.mjs";
|
|
11
|
+
import { i as useProxyRegistry, t as createGroup } from "./createGroup-BXKKcb9-.mjs";
|
|
12
|
+
import { a as extractLeaves, t as createDataTable } from "./createDataTable-DgyHBfAr.mjs";
|
|
13
13
|
import { n as deriveWeekInfo } from "./adapter-BCtceV3b.mjs";
|
|
14
14
|
import { computed, effectScope, isRef, onScopeDispose, onWatcherCleanup, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, toRef, toValue, unref, watch, watchEffect } from "vue";
|
|
15
15
|
//#region src/composables/createCombobox/adapters/server.ts
|
|
@@ -1035,6 +1035,19 @@ function createKanban(_options = {}) {
|
|
|
1035
1035
|
return _columns.size;
|
|
1036
1036
|
}
|
|
1037
1037
|
};
|
|
1038
|
+
function onColumnUnregister(column) {
|
|
1039
|
+
column.items.dispose();
|
|
1040
|
+
for (const t of lookup.values()) if (t.value === column.id) t.unregister();
|
|
1041
|
+
}
|
|
1042
|
+
function dispose() {
|
|
1043
|
+
for (const column of _columns.values()) column.items.dispose();
|
|
1044
|
+
lookup.dispose();
|
|
1045
|
+
bus.dispose();
|
|
1046
|
+
_columns.dispose();
|
|
1047
|
+
columns.on("unregister:ticket", onColumnUnregister);
|
|
1048
|
+
}
|
|
1049
|
+
columns.dispose = dispose;
|
|
1050
|
+
columns.on("unregister:ticket", onColumnUnregister);
|
|
1038
1051
|
function isAccepted(accept, ticket, from, toIndex) {
|
|
1039
1052
|
if (/* @__PURE__ */ isUndefined(accept)) return true;
|
|
1040
1053
|
try {
|
|
@@ -1049,10 +1062,6 @@ function createKanban(_options = {}) {
|
|
|
1049
1062
|
return false;
|
|
1050
1063
|
}
|
|
1051
1064
|
}
|
|
1052
|
-
columns.on("unregister:ticket", (column) => {
|
|
1053
|
-
column.items.dispose();
|
|
1054
|
-
for (const t of lookup.values()) if (t.value === column.id) t.unregister();
|
|
1055
|
-
});
|
|
1056
1065
|
function transfer(id, toColumnId, toIndex) {
|
|
1057
1066
|
const fromColumnId = lookup.get(id)?.value;
|
|
1058
1067
|
if (/* @__PURE__ */ isUndefined(fromColumnId)) {
|
|
@@ -1107,7 +1116,8 @@ function createKanban(_options = {}) {
|
|
|
1107
1116
|
columns,
|
|
1108
1117
|
transfer,
|
|
1109
1118
|
on,
|
|
1110
|
-
off
|
|
1119
|
+
off,
|
|
1120
|
+
dispose
|
|
1111
1121
|
};
|
|
1112
1122
|
}
|
|
1113
1123
|
//#endregion
|
package/dist/constants/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as isSelfClosingTag, t as SELF_CLOSING_TAGS } from "../htmlElements-CHXZfsZu.mjs";
|
|
2
|
-
import { a as SUPPORTS_OBSERVER, c as version, i as SUPPORTS_MUTATION_OBSERVER, n as SUPPORTS_INTERSECTION_OBSERVER, o as SUPPORTS_TOUCH, r as SUPPORTS_MATCH_MEDIA, s as __LOGGER_ENABLED__, t as IN_BROWSER } from "../globals-
|
|
2
|
+
import { a as SUPPORTS_OBSERVER, c as version, i as SUPPORTS_MUTATION_OBSERVER, n as SUPPORTS_INTERSECTION_OBSERVER, o as SUPPORTS_TOUCH, r as SUPPORTS_MATCH_MEDIA, s as __LOGGER_ENABLED__, t as IN_BROWSER } from "../globals-CtaXlEOI.mjs";
|
|
3
3
|
export { IN_BROWSER, SELF_CLOSING_TAGS, SUPPORTS_INTERSECTION_OBSERVER, SUPPORTS_MATCH_MEDIA, SUPPORTS_MUTATION_OBSERVER, SUPPORTS_OBSERVER, SUPPORTS_TOUCH, __LOGGER_ENABLED__, isSelfClosingTag, version };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { isNullOrUndefined } from "./utilities/index.mjs";
|
|
2
2
|
import { i as useContext, t as createTrinity } from "./createTrinity-z-3q9QWR.mjs";
|
|
3
|
-
import { t as createRegistry } from "./createRegistry-
|
|
4
|
-
import { a as useLocale } from "./useLocale-
|
|
5
|
-
import { i as useProxyRegistry, t as createGroup } from "./createGroup-
|
|
3
|
+
import { t as createRegistry } from "./createRegistry-B9cOWny2.mjs";
|
|
4
|
+
import { a as useLocale } from "./useLocale-D-V0DENN.mjs";
|
|
5
|
+
import { i as useProxyRegistry, t as createGroup } from "./createGroup-BXKKcb9-.mjs";
|
|
6
6
|
import { t as ClientDataTableAdapter } from "./v0-A4GLojAr.mjs";
|
|
7
7
|
import { computed, shallowReactive, shallowReadonly, shallowRef, toRef, watch } from "vue";
|
|
8
8
|
//#region src/composables/createDataTable/columns.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { resolveIds, resolveIndexes, useId as useId$1 } from "./utilities/index.mjs";
|
|
2
2
|
import { i as useContext, t as createTrinity } from "./createTrinity-z-3q9QWR.mjs";
|
|
3
|
-
import { t as createSelection } from "./createSelection-
|
|
3
|
+
import { t as createSelection } from "./createSelection-CWE554_g.mjs";
|
|
4
4
|
import { t as toArray } from "./toArray-C89ZaEuF.mjs";
|
|
5
5
|
import { computed, onScopeDispose, reactive, shallowReactive, shallowRef, toRef, toValue } from "vue";
|
|
6
6
|
//#region src/composables/useProxyRegistry/index.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { clamp, isNullOrUndefined, isUndefined, useId as useId$1 } from "./utilities/index.mjs";
|
|
2
2
|
import { i as useContext, t as createTrinity } from "./createTrinity-z-3q9QWR.mjs";
|
|
3
|
-
import { i as useLogger } from "./useLogger-
|
|
3
|
+
import { i as useLogger } from "./useLogger-CbvzXCWb.mjs";
|
|
4
4
|
import { shallowReactive, shallowRef } from "vue";
|
|
5
5
|
//#region src/composables/createRegistry/index.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isUndefined, resolveIds, useId as useId$1 } from "./utilities/index.mjs";
|
|
2
2
|
import { i as useContext, t as createTrinity } from "./createTrinity-z-3q9QWR.mjs";
|
|
3
|
-
import { t as createRegistry } from "./createRegistry-
|
|
3
|
+
import { t as createRegistry } from "./createRegistry-B9cOWny2.mjs";
|
|
4
4
|
import { computed, isRef, shallowReactive, toRaw, toRef, toValue } from "vue";
|
|
5
5
|
//#region src/composables/createModel/index.ts
|
|
6
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as useContext, t as createTrinity } from "./createTrinity-z-3q9QWR.mjs";
|
|
2
|
-
import { t as createSelection } from "./createSelection-
|
|
2
|
+
import { t as createSelection } from "./createSelection-CWE554_g.mjs";
|
|
3
3
|
import { toRef } from "vue";
|
|
4
4
|
//#region src/composables/createSingle/index.ts
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UNSAFE_KEYS, isObject, isString, isUndefined } from "./utilities/index.mjs";
|
|
2
2
|
import { i as useContext, t as createTrinity } from "./createTrinity-z-3q9QWR.mjs";
|
|
3
|
-
import { i as useLogger } from "./useLogger-
|
|
4
|
-
import { t as createRegistry } from "./createRegistry-
|
|
3
|
+
import { i as useLogger } from "./useLogger-CbvzXCWb.mjs";
|
|
4
|
+
import { t as createRegistry } from "./createRegistry-B9cOWny2.mjs";
|
|
5
5
|
//#region src/composables/createTokens/index.ts
|
|
6
6
|
/**
|
|
7
7
|
* @module createTokens
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as DataTableAdapter } from "../adapter-CVoWg0sw.mjs";
|
|
2
2
|
import { t as ClientDataTableAdapter } from "../v0-A4GLojAr.mjs";
|
|
3
|
-
import { a as extractLeaves, i as computeDepth, n as createDataTableContext, o as resolveHeaders, r as useDataTable, t as createDataTable } from "../createDataTable-
|
|
3
|
+
import { a as extractLeaves, i as computeDepth, n as createDataTableContext, o as resolveHeaders, r as useDataTable, t as createDataTable } from "../createDataTable-DgyHBfAr.mjs";
|
|
4
4
|
import { t as ServerDataTableAdapter } from "../server-D5BJBjB0.mjs";
|
|
5
5
|
import { t as VirtualDataTableAdapter } from "../virtual-DFvOoeG6.mjs";
|
|
6
6
|
export { ClientDataTableAdapter, DataTableAdapter, ServerDataTableAdapter, VirtualDataTableAdapter, computeDepth, createDataTable, createDataTableContext, extractLeaves, resolveHeaders, useDataTable };
|
package/dist/date/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as IN_BROWSER } from "../globals-
|
|
1
|
+
import { t as IN_BROWSER } from "../globals-CtaXlEOI.mjs";
|
|
2
2
|
import { isNull, isNullOrUndefined, isNumber, isString } from "../utilities/index.mjs";
|
|
3
3
|
import { n as deriveWeekInfo, t as DateAdapter } from "../adapter-BCtceV3b.mjs";
|
|
4
4
|
import { Temporal } from "@js-temporal/polyfill";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as IN_BROWSER } from "../../../globals-
|
|
1
|
+
import { t as IN_BROWSER } from "../../../globals-CtaXlEOI.mjs";
|
|
2
2
|
import { UNSAFE_KEYS, isBoolean, isNullOrUndefined } from "../../../utilities/index.mjs";
|
|
3
3
|
import { t as FeaturesAdapter } from "../../../adapter-CTsckKAR.mjs";
|
|
4
4
|
//#region src/composables/useFeatures/adapters/posthog.ts
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _r as createFeatures, br as useFeatures, dr as FeatureContext, fr as FeatureContextOptions, gr as FeatureTicketInput, hr as FeatureTicket, mr as FeaturePluginOptions, pr as FeatureOptions, vr as createFeaturesContext, yr as createFeaturesPlugin } from "../index-
|
|
1
|
+
import { _r as createFeatures, br as useFeatures, dr as FeatureContext, fr as FeatureContextOptions, gr as FeatureTicketInput, hr as FeatureTicket, mr as FeaturePluginOptions, pr as FeatureOptions, vr as createFeaturesContext, yr as createFeaturesPlugin } from "../index-Dc7lKT6q.mjs";
|
|
2
2
|
import { n as FeaturesAdapterFlags, r as FeaturesAdapterValue, t as FeaturesAdapter } from "../adapter-Butx_2UU.mjs";
|
|
3
3
|
export { FeatureContext, FeatureContextOptions, FeatureOptions, FeaturePluginOptions, FeatureTicket, FeatureTicketInput, FeaturesAdapter, FeaturesAdapterFlags, FeaturesAdapterValue, createFeatures, createFeaturesContext, createFeaturesPlugin, useFeatures };
|
package/dist/features/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as FeaturesAdapter } from "../adapter-CTsckKAR.mjs";
|
|
2
|
-
import { i as useFeatures, n as createFeaturesContext, r as createFeaturesPlugin, t as createFeatures } from "../useFeatures-
|
|
2
|
+
import { i as useFeatures, n as createFeaturesContext, r as createFeaturesPlugin, t as createFeatures } from "../useFeatures-YJmONiU7.mjs";
|
|
3
3
|
export { FeaturesAdapter, createFeatures, createFeaturesContext, createFeaturesPlugin, useFeatures };
|
|
@@ -5,7 +5,7 @@ const SUPPORTS_MATCH_MEDIA = IN_BROWSER && "matchMedia" in window && typeof wind
|
|
|
5
5
|
const SUPPORTS_OBSERVER = IN_BROWSER && "ResizeObserver" in window;
|
|
6
6
|
const SUPPORTS_INTERSECTION_OBSERVER = IN_BROWSER && "IntersectionObserver" in window;
|
|
7
7
|
const SUPPORTS_MUTATION_OBSERVER = IN_BROWSER && "MutationObserver" in window;
|
|
8
|
-
const version = "1.0
|
|
8
|
+
const version = "1.1.0";
|
|
9
9
|
/* v8 ignore next -- build-time constant, __DEV__ short-circuits in tests */
|
|
10
10
|
const __LOGGER_ENABLED__ = typeof (process.env.NODE_ENV !== "production") !== "undefined" && process.env.NODE_ENV !== "production" || typeof process.env.VITE_LOGGER_ENABLED !== "undefined" && process.env.VITE_LOGGER_ENABLED === "true";
|
|
11
11
|
//#endregion
|