@vuetify/v0 1.0.0-alpha.3 → 1.0.0-alpha.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 +3 -0
- package/dist/adapter-BSKx9WQ7.mjs +4 -0
- package/dist/{index-CT5SCLzW.d.mts → adapter-C6JmOyYo.d.mts} +6 -9
- package/dist/{adapter-gQ2SNKZq.mjs → adapter-C9cR4AcY.mjs} +248 -5
- package/dist/adapter-Chznb9Ju.mjs +4 -0
- package/dist/{adapter-DlX3FA3A.d.mts → adapter-Cr7Bl4la.d.mts} +3 -7
- package/dist/adapter-D8zizQVP.mjs +4 -0
- package/dist/adapter-DgBBe_BW.d.mts +17 -0
- package/dist/adapter-Dzyrlbz7.d.mts +98 -0
- package/dist/adapter-o8r-2vUn.d.mts +11 -0
- package/dist/adapters-B25KaYU4.mjs +2 -0
- package/dist/adapters-BcddLSNs.mjs +4 -0
- package/dist/adapters-D64TORDu.mjs +2 -0
- package/dist/adapters-Dv74Jk6A.mjs +5 -0
- package/dist/adapters-t6QC-zE8.mjs +3 -0
- package/dist/browser/index.js +1510 -388
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/{components-C4jI-78d.mjs → components-BWxMSWr7.mjs} +138 -90
- package/dist/composables/index.d.mts +19 -19
- package/dist/composables/index.mjs +31 -29
- package/dist/{consola-BdgyPEfx.d.mts → consola-Crr4qbeI.d.mts} +2 -2
- package/dist/{consola-Ceox8BWi.mjs → consola-DYvbPNbF.mjs} +3 -1
- package/dist/constants/index.d.mts +1 -1
- package/dist/constants/index.mjs +2 -2
- package/dist/{createDataTable-iODP6aKB.mjs → createDataTable-DDr2yY-A.mjs} +30 -29
- package/dist/{createGroup-CGk6hY_Y.mjs → createGroup-BSGtfBUE.mjs} +3 -3
- package/dist/{createRegistry-BXzdXAjq.mjs → createRegistry-Db_juawd.mjs} +78 -41
- package/dist/{createSelection-B3HJEPNg.mjs → createSelection-BeKZMxha.mjs} +3 -3
- package/dist/{createSingle-Dql8mRi-.mjs → createSingle-Dms2efxr.mjs} +1 -1
- package/dist/{createTokens-DgFYsOrv.mjs → createTokens-B1lwHZvO.mjs} +2 -2
- package/dist/data-table/adapters/client/index.d.mts +2 -2
- package/dist/data-table/adapters/client/index.mjs +2 -2
- package/dist/data-table/adapters/index.d.mts +5 -5
- package/dist/data-table/adapters/index.mjs +6 -6
- package/dist/data-table/adapters/server/index.d.mts +2 -2
- package/dist/data-table/adapters/server/index.mjs +2 -2
- package/dist/data-table/adapters/virtual/index.d.mts +2 -2
- package/dist/data-table/adapters/virtual/index.mjs +2 -2
- package/dist/data-table/index.d.mts +6 -6
- package/dist/data-table/index.mjs +6 -6
- package/dist/date/index.d.mts +3 -3
- package/dist/date/index.mjs +11 -4
- package/dist/features/adapters/flagsmith/index.d.mts +2 -2
- package/dist/features/adapters/flagsmith/index.mjs +2 -2
- package/dist/features/adapters/launchdarkly/index.d.mts +2 -2
- package/dist/features/adapters/launchdarkly/index.mjs +2 -2
- package/dist/features/adapters/posthog/index.d.mts +2 -2
- package/dist/features/adapters/posthog/index.mjs +2 -2
- package/dist/features/index.d.mts +3 -3
- package/dist/features/index.mjs +2 -1
- package/dist/{flagsmith-Dbh1h8WF.mjs → flagsmith-Cu93hUIF.mjs} +6 -4
- package/dist/{index-BzFHTW59.d.mts → flagsmith-ygKMImos.d.mts} +4 -4
- package/dist/{globals-zEjWBKCr.mjs → globals-BAe6tA_x.mjs} +1 -1
- package/dist/{index-GOpjKzaJ.d.mts → index-B3-FstpY.d.mts} +25 -2
- package/dist/{index-BJGcVy7e.d.mts → index-BA7YU2xY.d.mts} +5 -5
- package/dist/{index-B76iGRE3.d.mts → index-BfpLkDR_.d.mts} +949 -59
- package/dist/{index-DE3bWw11.d.mts → index-Cw04PFVO.d.mts} +92 -48
- package/dist/index-DewYtDsc.d.mts +4 -0
- package/dist/{index-DNDuacmH.d.mts → index-jQPkwo3G.d.mts} +15 -5
- package/dist/index.d.mts +23 -23
- package/dist/index.mjs +35 -33
- package/dist/json/attributes.json +1 -1
- package/dist/json/web-types.json +2 -2
- package/dist/launchdarkly-BJR4vbbV.d.mts +13 -0
- package/dist/{launchdarkly-BKtW-idu.mjs → launchdarkly-CLGtJCsI.mjs} +6 -4
- package/dist/locale/adapters/index.d.mts +3 -3
- package/dist/locale/adapters/index.mjs +4 -3
- package/dist/locale/adapters/v0/index.d.mts +2 -2
- package/dist/locale/adapters/v0/index.mjs +2 -2
- package/dist/locale/adapters/vue-i18n/index.d.mts +3 -3
- package/dist/locale/adapters/vue-i18n/index.mjs +4 -2
- package/dist/locale/index.d.mts +4 -4
- package/dist/locale/index.mjs +4 -3
- package/dist/logger/adapters/consola/index.d.mts +1 -1
- package/dist/logger/adapters/consola/index.mjs +1 -1
- package/dist/logger/adapters/index.d.mts +5 -5
- package/dist/logger/adapters/index.mjs +6 -5
- package/dist/logger/adapters/pino/index.d.mts +1 -1
- package/dist/logger/adapters/pino/index.mjs +1 -1
- package/dist/logger/adapters/v0/index.d.mts +2 -2
- package/dist/logger/adapters/v0/index.mjs +2 -2
- package/dist/logger/index.d.mts +6 -6
- package/dist/logger/index.mjs +6 -5
- package/dist/{memory-CeSQE-QV.d.mts → memory-B0w39kno.d.mts} +9 -9
- package/dist/{memory-oYBvtkgx.mjs → memory-BMpJcQjQ.mjs} +13 -3
- package/dist/notifications/index.d.mts +30 -4
- package/dist/notifications/index.mjs +187 -126
- package/dist/palettes/ant/index.d.mts +1 -1
- package/dist/palettes/index.d.mts +3 -3
- package/dist/palettes/leonardo/generate/index.mjs +3 -0
- 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 +2 -2
- package/dist/permissions/adapters/index.mjs +3 -3
- package/dist/permissions/adapters/v0/index.d.mts +2 -2
- package/dist/permissions/adapters/v0/index.mjs +2 -2
- package/dist/permissions/index.d.mts +2 -2
- package/dist/permissions/index.mjs +3 -3
- package/dist/{pino-9L79n6y6.mjs → pino-CIcYlW3u.mjs} +3 -1
- package/dist/{pino-DNfCEb0p.d.mts → pino-NmR7X0s4.d.mts} +2 -2
- package/dist/{posthog-DmuyycaR.mjs → posthog-B3go2aCh.mjs} +7 -5
- package/dist/posthog-CQntUXFO.d.mts +13 -0
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/{server-3ilWFwqe.d.mts → server-DQK305lc.d.mts} +5 -5
- package/dist/{server-y7zLSCSx.mjs → server-ZFXbgQoY.mjs} +4 -3
- package/dist/storage/adapters/index.d.mts +3 -3
- package/dist/storage/adapters/index.mjs +2 -2
- package/dist/storage/adapters/memory/index.d.mts +2 -2
- package/dist/storage/adapters/memory/index.mjs +2 -2
- package/dist/storage/index.d.mts +4 -4
- package/dist/storage/index.mjs +3 -3
- package/dist/theme/adapters/index.d.mts +2 -2
- package/dist/theme/adapters/index.mjs +4 -4
- 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 +3 -3
- package/dist/types/index.d.mts +1 -1
- package/dist/{unhead-B-I2OS6i.mjs → unhead-dPyVkgiJ.mjs} +2 -2
- package/dist/{useClickOutside-CY4U2J9W.mjs → useClickOutside-B8naChaQ.mjs} +1224 -228
- package/dist/{useFeatures-BPOke6iP.mjs → useFeatures-x2iKp0C8.mjs} +7 -10
- package/dist/{useLocale-BV8e3imF.mjs → useLocale-BUms59Bw.mjs} +6 -6
- package/dist/{useLogger-DvdRTrqC.mjs → useLogger-DPSSa-YR.mjs} +4 -4
- package/dist/{useNotifications-vSJE6z6t.mjs → useNotifications-BPTmZWQy.mjs} +4 -4
- package/dist/{usePermissions-D3zPwKQc.mjs → usePermissions-CTi-3pBk.mjs} +6 -6
- package/dist/{useRules-BT6cgoTj.mjs → useRules-DNhljkyO.mjs} +2 -2
- package/dist/{useTheme-cUZb2A9O.mjs → useTheme-3vW3kFNg.mjs} +5 -5
- package/dist/utilities/index.d.mts +2 -2
- package/dist/utilities/index.mjs +26 -2
- package/dist/{v0-DrOub-e1.d.mts → v0-CRGArJim.d.mts} +4 -4
- package/dist/{v0-C49OI_wc.mjs → v0-CotC1PiS.mjs} +5 -3
- package/dist/{v0-Dq3zhexO.mjs → v0-DAlKpCR8.mjs} +3 -4
- package/dist/{v0-D7Fm2C3Y.d.mts → v0-DDELiSI6.d.mts} +3 -3
- package/dist/v0-DYsCJPIu.d.mts +8 -0
- package/dist/{v0-gpExNexS.mjs → v0-DadOcxFI.mjs} +2 -2
- package/dist/{v0-Bmow1q_x.mjs → v0-Dvu8fMl3.mjs} +3 -3
- package/dist/{v0-CHZpnMeP.mjs → v0-YJQoTLsp.mjs} +6 -4
- package/dist/virtual-BqCRw0ly.d.mts +8 -0
- package/dist/{virtual-C0yHf1DC.mjs → virtual-Dnno49F8.mjs} +3 -4
- package/package.json +1 -1
- package/dist/adapter-58IvIfAZ.d.mts +0 -96
- package/dist/adapter-BvWEd9w-.d.mts +0 -17
- package/dist/adapter-Dhq68tz0.d.mts +0 -11
- package/dist/adapters-BSiqsTZN.mjs +0 -3
- package/dist/adapters-C3QXhf4I.mjs +0 -2
- package/dist/adapters-CMJGA1k7.mjs +0 -2
- package/dist/adapters-Dse4bPxk.mjs +0 -5
- package/dist/adapters-_ZqxCD8f.mjs +0 -4
- package/dist/createPagination-CHF7SmmK.mjs +0 -247
- package/dist/index-1XdASTjp.d.mts +0 -13
- package/dist/index-C6rdXZ7j.d.mts +0 -11
- package/dist/index-Dp1HjBxJ.d.mts +0 -13
- package/dist/v0-CdusXjY_.d.mts +0 -8
- package/dist/virtual-D4fckewC.d.mts +0 -8
- /package/dist/{adapter-Be9zUc-n.mjs → adapter-oM18AdUc.mjs} +0 -0
- /package/dist/{htmlElements-D4oMQZPJ.mjs → htmlElements-CHXZfsZu.mjs} +0 -0
- /package/dist/{index-CFhUdAHM.d.mts → index-CKKoxA9V.d.mts} +0 -0
- /package/dist/{index-DuddF-NR.d.mts → index-CLR1QMM3.d.mts} +0 -0
- /package/dist/{index-BgCkepP_.d.mts → index-DJQwYeyx.d.mts} +0 -0
- /package/dist/{index-CROz1VSV.d.mts → index-DWfPppPU.d.mts} +0 -0
- /package/dist/{index-DTvqw22G.d.mts → index-H_hl6-4b.d.mts} +0 -0
- /package/dist/{toArray-as9BWxBK.mjs → toArray-CD2-OxAz.mjs} +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { isObject } from "../../../utilities/index.mjs";
|
|
2
|
-
|
|
2
|
+
import { t as LocaleAdapter } from "../../../adapter-D8zizQVP.mjs";
|
|
3
|
+
//#region src/composables/useLocale/adapters/vue-i18n.ts
|
|
3
4
|
/**
|
|
4
5
|
* Locale adapter that delegates to a vue-i18n instance.
|
|
5
6
|
*
|
|
@@ -8,9 +9,10 @@ import { isObject } from "../../../utilities/index.mjs";
|
|
|
8
9
|
* preserving all vue-i18n features: pluralization, linked
|
|
9
10
|
* messages, datetime/number formatting, etc.
|
|
10
11
|
*/
|
|
11
|
-
var VueI18nLocaleAdapter = class {
|
|
12
|
+
var VueI18nLocaleAdapter = class extends LocaleAdapter {
|
|
12
13
|
composer;
|
|
13
14
|
constructor(i18n) {
|
|
15
|
+
super();
|
|
14
16
|
this.composer = i18n.global;
|
|
15
17
|
}
|
|
16
18
|
t(key, ...params) {
|
package/dist/locale/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as LocaleAdapterContext, t as LocaleAdapter } from "../adapter-
|
|
3
|
-
import { t as
|
|
4
|
-
export { LocaleAdapter, LocaleAdapterContext, LocaleContext, LocaleContextOptions, LocaleOptions, LocalePluginOptions, LocaleRecord, LocaleTicket, LocaleTicketInput,
|
|
1
|
+
import { _n as createLocale, bn as createLocalePlugin, dn as LocaleContextOptions, fn as LocaleOptions, gn as LocaleTicketInput, hn as LocaleTicket, mn as LocaleRecord, pn as LocalePluginOptions, un as LocaleContext, vn as createLocaleContext, xn as useLocale, yn as createLocaleFallback } from "../index-BfpLkDR_.mjs";
|
|
2
|
+
import { n as LocaleAdapterContext, t as LocaleAdapter } from "../adapter-DgBBe_BW.mjs";
|
|
3
|
+
import { t as V0LocaleAdapter } from "../v0-DDELiSI6.mjs";
|
|
4
|
+
export { LocaleAdapter, LocaleAdapterContext, LocaleContext, LocaleContextOptions, LocaleOptions, LocalePluginOptions, LocaleRecord, LocaleTicket, LocaleTicketInput, V0LocaleAdapter, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, useLocale };
|
package/dist/locale/index.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { t as LocaleAdapter } from "../adapter-D8zizQVP.mjs";
|
|
2
|
+
import { t as V0LocaleAdapter } from "../v0-CotC1PiS.mjs";
|
|
3
|
+
import { a as useLocale, i as createLocalePlugin, n as createLocaleContext, r as createLocaleFallback, t as createLocale } from "../useLocale-BUms59Bw.mjs";
|
|
4
|
+
export { LocaleAdapter, V0LocaleAdapter, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, useLocale };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ConsolaLoggerAdapter } from "../../../consola-
|
|
1
|
+
import { t as ConsolaLoggerAdapter } from "../../../consola-Crr4qbeI.mjs";
|
|
2
2
|
export { ConsolaLoggerAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ConsolaLoggerAdapter } from "../../../consola-
|
|
1
|
+
import { t as ConsolaLoggerAdapter } from "../../../consola-DYvbPNbF.mjs";
|
|
2
2
|
export { ConsolaLoggerAdapter };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as LoggerAdapter } from "../../adapter-
|
|
2
|
-
import { t as ConsolaLoggerAdapter } from "../../consola-
|
|
3
|
-
import { n as PinoLoggerAdapter } from "../../pino-
|
|
4
|
-
import { t as
|
|
5
|
-
export { ConsolaLoggerAdapter, LoggerAdapter, PinoLoggerAdapter,
|
|
1
|
+
import { t as LoggerAdapter } from "../../adapter-o8r-2vUn.mjs";
|
|
2
|
+
import { t as ConsolaLoggerAdapter } from "../../consola-Crr4qbeI.mjs";
|
|
3
|
+
import { n as PinoLoggerAdapter } from "../../pino-NmR7X0s4.mjs";
|
|
4
|
+
import { t as V0LoggerAdapter } from "../../v0-CRGArJim.mjs";
|
|
5
|
+
export { ConsolaLoggerAdapter, LoggerAdapter, PinoLoggerAdapter, V0LoggerAdapter };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import "../../
|
|
5
|
-
|
|
1
|
+
import { t as LoggerAdapter } from "../../adapter-Chznb9Ju.mjs";
|
|
2
|
+
import { t as ConsolaLoggerAdapter } from "../../consola-DYvbPNbF.mjs";
|
|
3
|
+
import { t as PinoLoggerAdapter } from "../../pino-CIcYlW3u.mjs";
|
|
4
|
+
import { t as V0LoggerAdapter } from "../../v0-YJQoTLsp.mjs";
|
|
5
|
+
import "../../adapters-t6QC-zE8.mjs";
|
|
6
|
+
export { ConsolaLoggerAdapter, LoggerAdapter, PinoLoggerAdapter, V0LoggerAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PinoLoggerAdapter, t as PinoInstance } from "../../../pino-
|
|
1
|
+
import { n as PinoLoggerAdapter, t as PinoInstance } from "../../../pino-NmR7X0s4.mjs";
|
|
2
2
|
export { PinoInstance, PinoLoggerAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as PinoLoggerAdapter } from "../../../pino-
|
|
1
|
+
import { t as PinoLoggerAdapter } from "../../../pino-CIcYlW3u.mjs";
|
|
2
2
|
export { PinoLoggerAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
export {
|
|
1
|
+
import { t as V0LoggerAdapter } from "../../../v0-CRGArJim.mjs";
|
|
2
|
+
export { V0LoggerAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
export {
|
|
1
|
+
import { t as V0LoggerAdapter } from "../../../v0-YJQoTLsp.mjs";
|
|
2
|
+
export { V0LoggerAdapter };
|
package/dist/logger/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { an as
|
|
2
|
-
import { t as LoggerAdapter } from "../adapter-
|
|
3
|
-
import { t as ConsolaLoggerAdapter } from "../consola-
|
|
4
|
-
import { n as PinoLoggerAdapter } from "../pino-
|
|
5
|
-
import { t as
|
|
6
|
-
export { ConsolaLoggerAdapter, LogLevel, LoggerAdapter, LoggerContext, LoggerContextOptions, LoggerOptions, LoggerPluginOptions, PinoLoggerAdapter,
|
|
1
|
+
import { an as createLogger, cn as useLogger, in as LoggerPluginOptions, ln as LogLevel, nn as LoggerContextOptions, on as createLoggerContext, rn as LoggerOptions, sn as createLoggerPlugin, tn as LoggerContext } from "../index-BfpLkDR_.mjs";
|
|
2
|
+
import { t as LoggerAdapter } from "../adapter-o8r-2vUn.mjs";
|
|
3
|
+
import { t as ConsolaLoggerAdapter } from "../consola-Crr4qbeI.mjs";
|
|
4
|
+
import { n as PinoLoggerAdapter } from "../pino-NmR7X0s4.mjs";
|
|
5
|
+
import { t as V0LoggerAdapter } from "../v0-CRGArJim.mjs";
|
|
6
|
+
export { ConsolaLoggerAdapter, LogLevel, LoggerAdapter, LoggerContext, LoggerContextOptions, LoggerOptions, LoggerPluginOptions, PinoLoggerAdapter, V0LoggerAdapter, createLogger, createLoggerContext, createLoggerPlugin, useLogger };
|
package/dist/logger/index.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { i as useLogger, n as createLoggerContext, r as createLoggerPlugin, t as createLogger } from "../useLogger-
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
|
|
1
|
+
import { i as useLogger, n as createLoggerContext, r as createLoggerPlugin, t as createLogger } from "../useLogger-DPSSa-YR.mjs";
|
|
2
|
+
import { t as LoggerAdapter } from "../adapter-Chznb9Ju.mjs";
|
|
3
|
+
import { t as ConsolaLoggerAdapter } from "../consola-DYvbPNbF.mjs";
|
|
4
|
+
import { t as PinoLoggerAdapter } from "../pino-CIcYlW3u.mjs";
|
|
5
|
+
import { t as V0LoggerAdapter } from "../v0-YJQoTLsp.mjs";
|
|
6
|
+
export { ConsolaLoggerAdapter, LoggerAdapter, PinoLoggerAdapter, V0LoggerAdapter, createLogger, createLoggerContext, createLoggerPlugin, useLogger };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
//#region src/composables/useStorage/adapters/adapter.d.ts
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
declare abstract class StorageAdapter {
|
|
3
|
+
get length(): number;
|
|
4
|
+
key(_index: number): string | null;
|
|
5
|
+
abstract getItem(key: string): string | null;
|
|
6
|
+
abstract setItem(key: string, value: string): void;
|
|
7
|
+
abstract removeItem(key: string): void;
|
|
8
8
|
}
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/composables/useStorage/adapters/memory.d.ts
|
|
11
11
|
/**
|
|
12
|
-
* In-memory storage adapter that
|
|
12
|
+
* In-memory storage adapter that extends the StorageAdapter abstract class.
|
|
13
13
|
* This adapter provides temporary storage that persists only for the current
|
|
14
14
|
* session and is useful for testing or when persistent storage is not available.
|
|
15
15
|
*/
|
|
16
|
-
declare class
|
|
16
|
+
declare class MemoryStorageAdapter extends StorageAdapter {
|
|
17
17
|
private store;
|
|
18
18
|
get length(): number;
|
|
19
19
|
getItem(key: string): string | null;
|
|
@@ -22,4 +22,4 @@ declare class MemoryAdapter implements StorageAdapter {
|
|
|
22
22
|
key(index: number): string;
|
|
23
23
|
}
|
|
24
24
|
//#endregion
|
|
25
|
-
export {
|
|
25
|
+
export { StorageAdapter as n, MemoryStorageAdapter as t };
|
|
@@ -1,10 +1,20 @@
|
|
|
1
|
+
//#region src/composables/useStorage/adapters/adapter.ts
|
|
2
|
+
var StorageAdapter = class {
|
|
3
|
+
get length() {
|
|
4
|
+
return 0;
|
|
5
|
+
}
|
|
6
|
+
key(_index) {
|
|
7
|
+
return null;
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
1
11
|
//#region src/composables/useStorage/adapters/memory.ts
|
|
2
12
|
/**
|
|
3
|
-
* In-memory storage adapter that
|
|
13
|
+
* In-memory storage adapter that extends the StorageAdapter abstract class.
|
|
4
14
|
* This adapter provides temporary storage that persists only for the current
|
|
5
15
|
* session and is useful for testing or when persistent storage is not available.
|
|
6
16
|
*/
|
|
7
|
-
var
|
|
17
|
+
var MemoryStorageAdapter = class extends StorageAdapter {
|
|
8
18
|
store = /* @__PURE__ */ new Map();
|
|
9
19
|
get length() {
|
|
10
20
|
return this.store.size;
|
|
@@ -23,4 +33,4 @@ var MemoryAdapter = class {
|
|
|
23
33
|
}
|
|
24
34
|
};
|
|
25
35
|
//#endregion
|
|
26
|
-
export {
|
|
36
|
+
export { StorageAdapter as n, MemoryStorageAdapter as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as createNotifications, Ft as NotificationTicket, Ht as createNotificationsPlugin, It as NotificationsAdapterContext, Lt as NotificationsContext, Nt as NotificationInput, Pt as NotificationSeverity, Rt as NotificationsOptions, Ut as useNotifications, Vt as createNotificationsContext, Wt as NotificationsAdapter, zt as NotificationsPluginOptions } from "../index-BfpLkDR_.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. */
|
|
@@ -27,7 +27,18 @@ interface KnockFeed {
|
|
|
27
27
|
teardown: () => void;
|
|
28
28
|
listenForUpdates: () => void;
|
|
29
29
|
}
|
|
30
|
-
declare
|
|
30
|
+
declare class KnockNotificationsAdapter extends NotificationsAdapter {
|
|
31
|
+
private feed;
|
|
32
|
+
private items;
|
|
33
|
+
private ctx;
|
|
34
|
+
private onReceived;
|
|
35
|
+
private onPage;
|
|
36
|
+
private onRead;
|
|
37
|
+
private onArchived;
|
|
38
|
+
constructor(feed: KnockFeed);
|
|
39
|
+
setup(_ctx: NotificationsAdapterContext): void;
|
|
40
|
+
dispose(): void;
|
|
41
|
+
}
|
|
31
42
|
//#endregion
|
|
32
43
|
//#region src/composables/useNotifications/adapters/novu.d.ts
|
|
33
44
|
/** Minimal Novu notification shape. Uses type-only imports to avoid bundling the SDK. */
|
|
@@ -73,6 +84,21 @@ interface NovuAdapterOptions {
|
|
|
73
84
|
/** Map a Novu severity string to a NotificationSeverity. Defaults to critical/high→error, medium→warning, low→info. */
|
|
74
85
|
severity?: (novuSeverity: string) => NotificationSeverity | undefined;
|
|
75
86
|
}
|
|
76
|
-
declare
|
|
87
|
+
declare class NovuNotificationsAdapter extends NotificationsAdapter {
|
|
88
|
+
private novu;
|
|
89
|
+
private resolveSeverity;
|
|
90
|
+
private ids;
|
|
91
|
+
private ctx;
|
|
92
|
+
private disposed;
|
|
93
|
+
private unsubscribers;
|
|
94
|
+
private onRead;
|
|
95
|
+
private onUnread;
|
|
96
|
+
private onSeen;
|
|
97
|
+
private onArchived;
|
|
98
|
+
private onUnarchived;
|
|
99
|
+
constructor(novu: NovuClient, options?: NovuAdapterOptions);
|
|
100
|
+
setup(_ctx: NotificationsAdapterContext): void;
|
|
101
|
+
dispose(): void;
|
|
102
|
+
}
|
|
77
103
|
//#endregion
|
|
78
|
-
export { KnockFeed, KnockFeedItem, NotificationInput, NotificationSeverity, NotificationTicket,
|
|
104
|
+
export { KnockFeed, KnockFeedItem, KnockNotificationsAdapter, NotificationInput, NotificationSeverity, NotificationTicket, NotificationsAdapter, NotificationsAdapterContext, NotificationsContext, NotificationsOptions, NotificationsPluginOptions, NovuAdapterOptions, NovuClient, NovuNotification, NovuNotificationsAdapter, createNotifications, createNotificationsContext, createNotificationsPlugin, useNotifications };
|
|
@@ -1,6 +1,34 @@
|
|
|
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-BAe6tA_x.mjs";
|
|
2
|
+
import { i as useNotifications, n as createNotificationsContext, r as createNotificationsPlugin, t as createNotifications } from "../useNotifications-BPTmZWQy.mjs";
|
|
3
|
+
//#region src/composables/useNotifications/adapters/adapter.ts
|
|
4
|
+
var NotificationsAdapter = class {};
|
|
5
|
+
//#endregion
|
|
3
6
|
//#region src/composables/useNotifications/adapters/knock.ts
|
|
7
|
+
/**
|
|
8
|
+
* @module KnockNotificationsAdapter
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* Knock adapter for useNotifications.
|
|
12
|
+
* Bridges a Knock feed instance with the notification system.
|
|
13
|
+
*
|
|
14
|
+
* Inbound: Maps real-time feed events to ctx.send()
|
|
15
|
+
* Outbound: Listens to notification:read and notification:archived
|
|
16
|
+
* events and calls feed.markAsRead/markAsArchived
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* import Knock from '@knocklabs/client'
|
|
21
|
+
* import { KnockNotificationsAdapter } from '#v0/composables/useNotifications/adapters/knock'
|
|
22
|
+
*
|
|
23
|
+
* const knock = new Knock(KNOCK_PUBLIC_API_KEY)
|
|
24
|
+
* knock.authenticate(userId)
|
|
25
|
+
* const feed = knock.feeds.initialize(KNOCK_FEED_CHANNEL_ID)
|
|
26
|
+
*
|
|
27
|
+
* app.use(createNotificationsPlugin({
|
|
28
|
+
* adapter: new KnockNotificationsAdapter(feed),
|
|
29
|
+
* }))
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
4
32
|
function noop$1() {}
|
|
5
33
|
function mapItem$1(item) {
|
|
6
34
|
const subject = item.blocks?.find((b) => b.name === "subject")?.rendered;
|
|
@@ -12,64 +40,93 @@ function mapItem$1(item) {
|
|
|
12
40
|
data: item.data
|
|
13
41
|
};
|
|
14
42
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
feed.on("items.received.page", onPage);
|
|
45
|
-
if (IN_BROWSER) {
|
|
46
|
-
feed.listenForUpdates();
|
|
47
|
-
feed.fetch().catch(noop$1);
|
|
43
|
+
var KnockNotificationsAdapter = class extends NotificationsAdapter {
|
|
44
|
+
items = /* @__PURE__ */ new Map();
|
|
45
|
+
ctx;
|
|
46
|
+
onReceived;
|
|
47
|
+
onPage;
|
|
48
|
+
onRead;
|
|
49
|
+
onArchived;
|
|
50
|
+
constructor(feed) {
|
|
51
|
+
super();
|
|
52
|
+
this.feed = feed;
|
|
53
|
+
}
|
|
54
|
+
setup(_ctx) {
|
|
55
|
+
this.ctx = _ctx;
|
|
56
|
+
this.onReceived = (data) => {
|
|
57
|
+
const payload = data;
|
|
58
|
+
if (!payload?.items) return;
|
|
59
|
+
for (const item of payload.items) {
|
|
60
|
+
if (this.items.has(item.id)) continue;
|
|
61
|
+
this.items.set(item.id, item);
|
|
62
|
+
this.ctx.send(mapItem$1(item));
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
this.onPage = (data) => {
|
|
66
|
+
const payload = data;
|
|
67
|
+
if (!payload?.items) return;
|
|
68
|
+
for (const item of payload.items) {
|
|
69
|
+
if (this.items.has(item.id)) continue;
|
|
70
|
+
this.items.set(item.id, item);
|
|
71
|
+
this.ctx.register(mapItem$1(item));
|
|
48
72
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
if (item) feed.markAsArchived(item).catch(noop$1);
|
|
56
|
-
};
|
|
57
|
-
ctx.on("notification:read", onRead);
|
|
58
|
-
ctx.on("notification:archived", onArchived);
|
|
59
|
-
},
|
|
60
|
-
dispose() {
|
|
61
|
-
if (!ctx) return;
|
|
62
|
-
feed.off("items.received.realtime", onReceived);
|
|
63
|
-
feed.off("items.received.page", onPage);
|
|
64
|
-
ctx.off("notification:read", onRead);
|
|
65
|
-
ctx.off("notification:archived", onArchived);
|
|
66
|
-
items.clear();
|
|
67
|
-
feed.teardown();
|
|
73
|
+
};
|
|
74
|
+
this.feed.on("items.received.realtime", this.onReceived);
|
|
75
|
+
this.feed.on("items.received.page", this.onPage);
|
|
76
|
+
if (IN_BROWSER) {
|
|
77
|
+
this.feed.listenForUpdates();
|
|
78
|
+
this.feed.fetch().catch(noop$1);
|
|
68
79
|
}
|
|
69
|
-
|
|
70
|
-
|
|
80
|
+
this.onRead = (data) => {
|
|
81
|
+
const item = this.items.get(String(data.id));
|
|
82
|
+
if (item) this.feed.markAsRead(item).catch(noop$1);
|
|
83
|
+
};
|
|
84
|
+
this.onArchived = (data) => {
|
|
85
|
+
const item = this.items.get(String(data.id));
|
|
86
|
+
if (item) this.feed.markAsArchived(item).catch(noop$1);
|
|
87
|
+
};
|
|
88
|
+
this.ctx.on("notification:read", this.onRead);
|
|
89
|
+
this.ctx.on("notification:archived", this.onArchived);
|
|
90
|
+
}
|
|
91
|
+
dispose() {
|
|
92
|
+
if (!this.ctx) return;
|
|
93
|
+
this.feed.off("items.received.realtime", this.onReceived);
|
|
94
|
+
this.feed.off("items.received.page", this.onPage);
|
|
95
|
+
this.ctx.off("notification:read", this.onRead);
|
|
96
|
+
this.ctx.off("notification:archived", this.onArchived);
|
|
97
|
+
this.items.clear();
|
|
98
|
+
this.feed.teardown();
|
|
99
|
+
}
|
|
100
|
+
};
|
|
71
101
|
//#endregion
|
|
72
102
|
//#region src/composables/useNotifications/adapters/novu.ts
|
|
103
|
+
/**
|
|
104
|
+
* @module NovuNotificationsAdapter
|
|
105
|
+
*
|
|
106
|
+
* @remarks
|
|
107
|
+
* Novu adapter for useNotifications.
|
|
108
|
+
* Bridges a Novu client instance with the notification system.
|
|
109
|
+
*
|
|
110
|
+
* Inbound: Seeds registry from novu.notifications.list() on setup,
|
|
111
|
+
* then listens to notifications.notification_received for real-time updates.
|
|
112
|
+
* Outbound: Listens to notification lifecycle events and calls the Novu API
|
|
113
|
+
* (read, unread, seen, archive, unarchive).
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* ```ts
|
|
117
|
+
* import { Novu } from '@novu/js'
|
|
118
|
+
* import { NovuNotificationsAdapter } from '@vuetify/v0/notifications'
|
|
119
|
+
*
|
|
120
|
+
* const novu = new Novu({
|
|
121
|
+
* subscriberId: userId,
|
|
122
|
+
* applicationIdentifier: import.meta.env.VITE_NOVU_APP_ID,
|
|
123
|
+
* })
|
|
124
|
+
*
|
|
125
|
+
* app.use(createNotificationsPlugin({
|
|
126
|
+
* adapter: new NovuNotificationsAdapter(novu),
|
|
127
|
+
* }))
|
|
128
|
+
* ```
|
|
129
|
+
*/
|
|
73
130
|
const DEFAULT_SEVERITY_MAP = {
|
|
74
131
|
critical: "error",
|
|
75
132
|
high: "error",
|
|
@@ -89,76 +146,80 @@ function mapItem(item, resolveSeverity) {
|
|
|
89
146
|
severity: item.severity ? resolveSeverity(item.severity) : void 0
|
|
90
147
|
};
|
|
91
148
|
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
if (ids.has(id)) novu.notifications.read({ notificationId: id }).catch(noop);
|
|
125
|
-
};
|
|
126
|
-
onUnread = (data) => {
|
|
127
|
-
const id = String(data);
|
|
128
|
-
if (ids.has(id)) novu.notifications.unread({ notificationId: id }).catch(noop);
|
|
129
|
-
};
|
|
130
|
-
onSeen = (data) => {
|
|
131
|
-
const id = String(data);
|
|
132
|
-
if (ids.has(id)) novu.notifications.seenAll({ notificationIds: [id] }).catch(noop);
|
|
133
|
-
};
|
|
134
|
-
onArchived = (data) => {
|
|
135
|
-
const id = String(data);
|
|
136
|
-
if (ids.has(id)) novu.notifications.archive({ notificationId: id }).catch(noop);
|
|
137
|
-
};
|
|
138
|
-
onUnarchived = (data) => {
|
|
139
|
-
const id = String(data);
|
|
140
|
-
if (ids.has(id)) novu.notifications.unarchive({ notificationId: id }).catch(noop);
|
|
141
|
-
};
|
|
142
|
-
ctx.on("notification:read", onRead);
|
|
143
|
-
ctx.on("notification:unread", onUnread);
|
|
144
|
-
ctx.on("notification:seen", onSeen);
|
|
145
|
-
ctx.on("notification:archived", onArchived);
|
|
146
|
-
ctx.on("notification:unarchived", onUnarchived);
|
|
147
|
-
},
|
|
148
|
-
dispose() {
|
|
149
|
-
disposed = true;
|
|
150
|
-
for (const unsub of unsubscribers) unsub();
|
|
151
|
-
unsubscribers.length = 0;
|
|
152
|
-
if (ctx) {
|
|
153
|
-
if (onRead) ctx.off("notification:read", onRead);
|
|
154
|
-
if (onUnread) ctx.off("notification:unread", onUnread);
|
|
155
|
-
if (onSeen) ctx.off("notification:seen", onSeen);
|
|
156
|
-
if (onArchived) ctx.off("notification:archived", onArchived);
|
|
157
|
-
if (onUnarchived) ctx.off("notification:unarchived", onUnarchived);
|
|
149
|
+
var NovuNotificationsAdapter = class extends NotificationsAdapter {
|
|
150
|
+
resolveSeverity;
|
|
151
|
+
ids = /* @__PURE__ */ new Set();
|
|
152
|
+
ctx;
|
|
153
|
+
disposed = false;
|
|
154
|
+
unsubscribers = [];
|
|
155
|
+
onRead;
|
|
156
|
+
onUnread;
|
|
157
|
+
onSeen;
|
|
158
|
+
onArchived;
|
|
159
|
+
onUnarchived;
|
|
160
|
+
constructor(novu, options = {}) {
|
|
161
|
+
super();
|
|
162
|
+
this.novu = novu;
|
|
163
|
+
this.resolveSeverity = options.severity ?? defaultSeverity;
|
|
164
|
+
}
|
|
165
|
+
setup(_ctx) {
|
|
166
|
+
this.ctx = _ctx;
|
|
167
|
+
this.disposed = false;
|
|
168
|
+
const unsub = this.novu.on("notifications.notification_received", (data) => {
|
|
169
|
+
const item = data;
|
|
170
|
+
if (this.disposed || !item?.id || this.ids.has(item.id)) return;
|
|
171
|
+
this.ids.add(item.id);
|
|
172
|
+
this.ctx.send(mapItem(item, this.resolveSeverity));
|
|
173
|
+
});
|
|
174
|
+
this.unsubscribers.push(unsub);
|
|
175
|
+
if (IN_BROWSER) this.novu.notifications.list({ limit: 30 }).then(({ data }) => {
|
|
176
|
+
if (this.disposed) return;
|
|
177
|
+
for (const item of data?.notifications ?? []) {
|
|
178
|
+
if (!item.id || this.ids.has(item.id)) continue;
|
|
179
|
+
this.ids.add(item.id);
|
|
180
|
+
this.ctx.register(mapItem(item, this.resolveSeverity));
|
|
158
181
|
}
|
|
159
|
-
|
|
182
|
+
}).catch(noop);
|
|
183
|
+
this.onRead = (data) => {
|
|
184
|
+
const id = String(data.id);
|
|
185
|
+
if (this.ids.has(id)) this.novu.notifications.read({ notificationId: id }).catch(noop);
|
|
186
|
+
};
|
|
187
|
+
this.onUnread = (data) => {
|
|
188
|
+
const id = String(data.id);
|
|
189
|
+
if (this.ids.has(id)) this.novu.notifications.unread({ notificationId: id }).catch(noop);
|
|
190
|
+
};
|
|
191
|
+
this.onSeen = (data) => {
|
|
192
|
+
const id = String(data.id);
|
|
193
|
+
if (this.ids.has(id)) this.novu.notifications.seenAll({ notificationIds: [id] }).catch(noop);
|
|
194
|
+
};
|
|
195
|
+
this.onArchived = (data) => {
|
|
196
|
+
const id = String(data.id);
|
|
197
|
+
if (this.ids.has(id)) this.novu.notifications.archive({ notificationId: id }).catch(noop);
|
|
198
|
+
};
|
|
199
|
+
this.onUnarchived = (data) => {
|
|
200
|
+
const id = String(data.id);
|
|
201
|
+
if (this.ids.has(id)) this.novu.notifications.unarchive({ notificationId: id }).catch(noop);
|
|
202
|
+
};
|
|
203
|
+
this.ctx.on("notification:read", this.onRead);
|
|
204
|
+
this.ctx.on("notification:unread", this.onUnread);
|
|
205
|
+
this.ctx.on("notification:seen", this.onSeen);
|
|
206
|
+
this.ctx.on("notification:archived", this.onArchived);
|
|
207
|
+
this.ctx.on("notification:unarchived", this.onUnarchived);
|
|
208
|
+
}
|
|
209
|
+
dispose() {
|
|
210
|
+
this.disposed = true;
|
|
211
|
+
for (const unsub of this.unsubscribers) unsub();
|
|
212
|
+
this.unsubscribers.length = 0;
|
|
213
|
+
if (this.ctx) {
|
|
214
|
+
/* v8 ignore next 5 -- handlers always assigned during setup; guards are defensive */
|
|
215
|
+
if (this.onRead) this.ctx.off("notification:read", this.onRead);
|
|
216
|
+
if (this.onUnread) this.ctx.off("notification:unread", this.onUnread);
|
|
217
|
+
if (this.onSeen) this.ctx.off("notification:seen", this.onSeen);
|
|
218
|
+
if (this.onArchived) this.ctx.off("notification:archived", this.onArchived);
|
|
219
|
+
if (this.onUnarchived) this.ctx.off("notification:unarchived", this.onUnarchived);
|
|
160
220
|
}
|
|
161
|
-
|
|
162
|
-
}
|
|
221
|
+
this.ids.clear();
|
|
222
|
+
}
|
|
223
|
+
};
|
|
163
224
|
//#endregion
|
|
164
|
-
export {
|
|
225
|
+
export { KnockNotificationsAdapter, NotificationsAdapter, NovuNotificationsAdapter, createNotifications, createNotificationsContext, createNotificationsPlugin, useNotifications };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as ID } from "../index-
|
|
2
|
-
import { r as TokenCollection } from "../index-
|
|
3
|
-
import { f as ThemeRecord } from "../index-
|
|
1
|
+
import { a as ID } from "../index-CLR1QMM3.mjs";
|
|
2
|
+
import { r as TokenCollection } from "../index-Cw04PFVO.mjs";
|
|
3
|
+
import { f as ThemeRecord } from "../index-BfpLkDR_.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/palettes/index.d.ts
|
|
6
6
|
interface PaletteDefinition {
|
|
@@ -31,6 +31,7 @@ function mapSemanticColors(colors, ratios) {
|
|
|
31
31
|
delta = d;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
+
/* v8 ignore next -- defensive fallbacks for when ratio table or colors map is empty */
|
|
34
35
|
return colors[closest] ?? Object.values(colors)[0] ?? "#000000";
|
|
35
36
|
}
|
|
36
37
|
const low1 = at(1.25);
|
|
@@ -100,6 +101,7 @@ function leonardo(seed, options = {}) {
|
|
|
100
101
|
"error-container": "#ffdad6",
|
|
101
102
|
"on-error-container": "#410002",
|
|
102
103
|
"background": "#ffffff",
|
|
104
|
+
/* v8 ignore next -- defensive fallback when lightSemantic lacks on-surface */
|
|
103
105
|
"on-background": lightSemantic["on-surface"] ?? "#000000"
|
|
104
106
|
}
|
|
105
107
|
},
|
|
@@ -112,6 +114,7 @@ function leonardo(seed, options = {}) {
|
|
|
112
114
|
"error-container": "#93000a",
|
|
113
115
|
"on-error-container": "#ffdad6",
|
|
114
116
|
"background": "#121212",
|
|
117
|
+
/* v8 ignore next -- defensive fallback when darkSemantic lacks on-surface */
|
|
115
118
|
"on-background": darkSemantic["on-surface"] ?? "#ffffff"
|
|
116
119
|
}
|
|
117
120
|
}
|