@vuetify/v0 0.1.8 → 0.1.9
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/SKILL.md +95 -0
- package/dist/adapter-CWp5eQ6R.d.mts +17 -0
- package/dist/{adapter-DIx4Rntl.d.mts → adapter-hDuQ9aNN.d.mts} +4 -4
- package/dist/browser/index.js +1352 -360
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.mjs +23 -23
- package/dist/{components-BbxKYAXs.mjs → components-mSy9az8x.mjs} +456 -231
- package/dist/composables/index.d.mts +16 -15
- package/dist/composables/index.mjs +22 -22
- package/dist/{consola-BVzYzeLH.d.mts → consola-C1OjyZVf.d.mts} +1 -1
- package/dist/constants/index.d.mts +1 -1
- package/dist/constants/index.mjs +1 -1
- package/dist/{createDataTable-DZouEhvH.mjs → createDataTable-DIl09siC.mjs} +5 -5
- package/dist/{createGroup-BpJFi41X.mjs → createGroup-PvzsLu9E.mjs} +1 -1
- package/dist/{createPagination-Bu8vE0JW.mjs → createPagination-DZSJ8aO5.mjs} +5 -5
- package/dist/{createSelection-8MX0OHXR.mjs → createSelection-DbWP6c7H.mjs} +1 -1
- package/dist/{createSingle-CbuOBb-E.mjs → createSingle-CeAJpbXs.mjs} +6 -6
- package/dist/{createTokens-CXlT0Vc6.mjs → createTokens-C1gIuKCK.mjs} +25 -4
- package/dist/data-table/adapters/client/index.d.mts +1 -1
- package/dist/data-table/adapters/client/index.mjs +3 -3
- package/dist/data-table/adapters/index.d.mts +4 -4
- package/dist/data-table/adapters/index.mjs +5 -5
- package/dist/data-table/adapters/server/index.d.mts +1 -1
- package/dist/data-table/adapters/server/index.mjs +3 -3
- package/dist/data-table/adapters/virtual/index.d.mts +1 -1
- package/dist/data-table/adapters/virtual/index.mjs +3 -3
- package/dist/data-table/index.d.mts +5 -5
- package/dist/data-table/index.mjs +14 -14
- package/dist/date/index.mjs +1 -1
- package/dist/features/adapters/posthog/index.mjs +2 -2
- package/dist/features/index.d.mts +1 -1
- package/dist/features/index.mjs +8 -8
- package/dist/{globals-ClSU6mqC.mjs → globals-3i9umzyz.mjs} +1 -1
- package/dist/{index-CxW4itj1.d.mts → index-BoK8Ln2f.d.mts} +1 -1
- package/dist/{index-B5NU2uB7.d.mts → index-C5XZRWlO.d.mts} +506 -166
- package/dist/{index-CmCMrlt3.d.mts → index-CLDBngUs.d.mts} +1 -1
- package/dist/{index-63-0oJS8.d.mts → index-D0qnkRbl.d.mts} +389 -183
- package/dist/index.d.mts +19 -18
- package/dist/index.mjs +23 -23
- package/dist/json/attributes.json +60 -0
- package/dist/json/importMap.json +24 -0
- package/dist/json/tags.json +40 -0
- package/dist/json/web-types.json +221 -1
- package/dist/locale/adapters/index.d.mts +3 -2
- package/dist/locale/adapters/index.mjs +2 -2
- package/dist/locale/adapters/v0/index.d.mts +1 -1
- package/dist/locale/adapters/v0/index.mjs +2 -2
- package/dist/locale/adapters/vue-i18n/index.d.mts +22 -0
- package/dist/locale/adapters/vue-i18n/index.mjs +26 -0
- package/dist/locale/index.d.mts +4 -3
- package/dist/locale/index.mjs +8 -9
- package/dist/logger/adapters/consola/index.d.mts +1 -1
- package/dist/logger/adapters/index.d.mts +4 -4
- package/dist/logger/adapters/index.mjs +2 -2
- 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 +1 -1
- package/dist/logger/adapters/v0/index.mjs +2 -2
- package/dist/logger/index.d.mts +5 -5
- package/dist/logger/index.mjs +3 -3
- package/dist/notifications/index.d.mts +78 -0
- package/dist/notifications/index.mjs +215 -0
- package/dist/palettes/ant/index.d.mts +1 -1
- package/dist/palettes/index.d.mts +2 -2
- 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 +1 -1
- package/dist/permissions/adapters/v0/index.d.mts +1 -1
- package/dist/permissions/adapters/v0/index.mjs +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/permissions/index.mjs +5 -5
- package/dist/{pino-Bzighnkd.d.mts → pino-CM1iLXmi.d.mts} +1 -1
- package/dist/{posthog-BE7-t7cV.mjs → posthog-CCQFQ5XD.mjs} +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +9 -10
- package/dist/{server-Ch9J86tb.d.mts → server-Ct-h4-OA.d.mts} +1 -1
- package/dist/{server-CZ6ahbEH.mjs → server-DHET3KNW.mjs} +1 -1
- package/dist/storage/adapters/index.d.mts +2 -2
- package/dist/storage/adapters/memory/index.d.mts +1 -1
- package/dist/storage/index.d.mts +3 -3
- package/dist/storage/index.mjs +21 -21
- package/dist/theme/adapters/index.d.mts +1 -1
- package/dist/theme/adapters/index.mjs +2 -2
- package/dist/theme/adapters/v0/index.d.mts +1 -1
- package/dist/theme/adapters/v0/index.mjs +2 -2
- package/dist/theme/index.d.mts +1 -1
- package/dist/theme/index.mjs +8 -8
- package/dist/{useClickOutside-W0Sur1rC.mjs → useClickOutside-hOhNk4eS.mjs} +860 -126
- package/dist/{useFeatures-CUicSI-E.mjs → useFeatures-CXRQvucQ.mjs} +3 -3
- package/dist/useLocale-BaufqE5Z.mjs +69 -0
- package/dist/{useLogger-DY1Hbcy1.mjs → useLogger-cGK00Ywd.mjs} +2 -2
- package/dist/{usePermissions-BSW59R4q.mjs → usePermissions-CR0HkjsF.mjs} +2 -2
- package/dist/{useRules-BbA6_gvs.mjs → useRules-LD-_-Hxt.mjs} +2 -2
- package/dist/{useTheme-Bdx2Lj5c.mjs → useTheme-Cs79AFNR.mjs} +5 -5
- package/dist/utilities/index.d.mts +1 -1
- package/dist/utilities/index.mjs +2 -1
- package/dist/{v0-BFseIsBi.mjs → v0-BJYwZgtp.mjs} +1 -1
- package/dist/v0-BdD1F6JK.d.mts +19 -0
- package/dist/{v0-YAqbXudL.mjs → v0-BoWQ8RK0.mjs} +1 -1
- package/dist/{v0-CdUL2eOn.d.mts → v0-CMeh39LQ.d.mts} +1 -1
- package/dist/v0-CehUknHv.mjs +62 -0
- package/dist/{v0-BZINNGoC.d.mts → v0-DFAgNbvC.d.mts} +1 -1
- package/dist/{v0-1xxC39wf.d.mts → v0-JPf99NKg.d.mts} +1 -1
- package/dist/{v0-2G2476h-.mjs → v0-Zu7neOYg.mjs} +1 -1
- package/dist/{virtual-DwBiFA25.d.mts → virtual-B1lRbO7Q.d.mts} +1 -1
- package/dist/{virtual-eDNVH1fz.mjs → virtual-D0_D5gkh.mjs} +1 -1
- package/package.json +11 -4
- package/dist/useLocale-cQlPxbpV.mjs +0 -87
- package/dist/v0-CAKa6tzG.d.mts +0 -22
- package/dist/v0-CHBrvw49.mjs +0 -35
- /package/dist/{adapter-JTFG3Jn8.d.mts → adapter-CJQav2JB.d.mts} +0 -0
- /package/dist/{index-MHkcqY_y.d.mts → index-BL4uTXWQ.d.mts} +0 -0
- /package/dist/{index-B5ZDDkXv.d.mts → index-BvTD7kU8.d.mts} +0 -0
- /package/dist/{index-NsE5nARK.d.mts → index-DSao7i57.d.mts} +0 -0
- /package/dist/{memory-BTtRdnNn.d.mts → memory-DyBabFV1.d.mts} +0 -0
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": "0.1.
|
|
5
|
+
"version": "0.1.9",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"contributions": {
|
|
8
8
|
"html": {
|
|
@@ -4124,6 +4124,216 @@
|
|
|
4124
4124
|
}
|
|
4125
4125
|
]
|
|
4126
4126
|
},
|
|
4127
|
+
{
|
|
4128
|
+
"name": "snackbar-close",
|
|
4129
|
+
"description": "Vuetify 0 SnackbarClose component",
|
|
4130
|
+
"attributes": [
|
|
4131
|
+
{
|
|
4132
|
+
"name": "namespace",
|
|
4133
|
+
"value": {
|
|
4134
|
+
"kind": "expression",
|
|
4135
|
+
"type": "string | undefined"
|
|
4136
|
+
},
|
|
4137
|
+
"description": "Namespace for dependency injection.",
|
|
4138
|
+
"default": "\"v0:notifications\"",
|
|
4139
|
+
"required": false
|
|
4140
|
+
},
|
|
4141
|
+
{
|
|
4142
|
+
"name": "as",
|
|
4143
|
+
"value": {
|
|
4144
|
+
"kind": "expression",
|
|
4145
|
+
"type": "string | Component<unknown, any, any, ComputedOptions, MethodOptions, {}, any> | null | undefined"
|
|
4146
|
+
},
|
|
4147
|
+
"description": "The HTML element to render as, or null for renderless mode",
|
|
4148
|
+
"default": "\"button\"",
|
|
4149
|
+
"required": false
|
|
4150
|
+
},
|
|
4151
|
+
{
|
|
4152
|
+
"name": "renderless",
|
|
4153
|
+
"value": {
|
|
4154
|
+
"kind": "expression",
|
|
4155
|
+
"type": "boolean | undefined"
|
|
4156
|
+
},
|
|
4157
|
+
"description": "When true, renders slot content directly without a wrapper element",
|
|
4158
|
+
"required": false
|
|
4159
|
+
}
|
|
4160
|
+
],
|
|
4161
|
+
"slots": [
|
|
4162
|
+
{
|
|
4163
|
+
"name": "default",
|
|
4164
|
+
"type": "import('@vuetify/v0').SnackbarCloseSlotProps",
|
|
4165
|
+
"description": ""
|
|
4166
|
+
}
|
|
4167
|
+
]
|
|
4168
|
+
},
|
|
4169
|
+
{
|
|
4170
|
+
"name": "snackbar-content",
|
|
4171
|
+
"description": "Vuetify 0 SnackbarContent component",
|
|
4172
|
+
"attributes": [
|
|
4173
|
+
{
|
|
4174
|
+
"name": "as",
|
|
4175
|
+
"value": {
|
|
4176
|
+
"kind": "expression",
|
|
4177
|
+
"type": "string | Component<unknown, any, any, ComputedOptions, MethodOptions, {}, any> | null | undefined"
|
|
4178
|
+
},
|
|
4179
|
+
"description": "The HTML element to render as, or null for renderless mode",
|
|
4180
|
+
"default": "\"div\"",
|
|
4181
|
+
"required": false
|
|
4182
|
+
},
|
|
4183
|
+
{
|
|
4184
|
+
"name": "renderless",
|
|
4185
|
+
"value": {
|
|
4186
|
+
"kind": "expression",
|
|
4187
|
+
"type": "boolean | undefined"
|
|
4188
|
+
},
|
|
4189
|
+
"description": "When true, renders slot content directly without a wrapper element",
|
|
4190
|
+
"required": false
|
|
4191
|
+
}
|
|
4192
|
+
],
|
|
4193
|
+
"slots": [
|
|
4194
|
+
{
|
|
4195
|
+
"name": "default",
|
|
4196
|
+
"type": "any",
|
|
4197
|
+
"description": ""
|
|
4198
|
+
}
|
|
4199
|
+
]
|
|
4200
|
+
},
|
|
4201
|
+
{
|
|
4202
|
+
"name": "snackbar-portal",
|
|
4203
|
+
"description": "Vuetify 0 SnackbarPortal component",
|
|
4204
|
+
"attributes": [
|
|
4205
|
+
{
|
|
4206
|
+
"name": "teleport",
|
|
4207
|
+
"value": {
|
|
4208
|
+
"kind": "expression",
|
|
4209
|
+
"type": "string | false | undefined"
|
|
4210
|
+
},
|
|
4211
|
+
"description": "Teleport target. `false` renders inline.",
|
|
4212
|
+
"default": "\"body\"",
|
|
4213
|
+
"required": false
|
|
4214
|
+
},
|
|
4215
|
+
{
|
|
4216
|
+
"name": "as",
|
|
4217
|
+
"value": {
|
|
4218
|
+
"kind": "expression",
|
|
4219
|
+
"type": "string | Component<unknown, any, any, ComputedOptions, MethodOptions, {}, any> | null | undefined"
|
|
4220
|
+
},
|
|
4221
|
+
"description": "The HTML element to render as, or null for renderless mode",
|
|
4222
|
+
"default": "\"div\"",
|
|
4223
|
+
"required": false
|
|
4224
|
+
},
|
|
4225
|
+
{
|
|
4226
|
+
"name": "renderless",
|
|
4227
|
+
"value": {
|
|
4228
|
+
"kind": "expression",
|
|
4229
|
+
"type": "boolean | undefined"
|
|
4230
|
+
},
|
|
4231
|
+
"description": "When true, renders slot content directly without a wrapper element",
|
|
4232
|
+
"required": false
|
|
4233
|
+
}
|
|
4234
|
+
],
|
|
4235
|
+
"slots": [
|
|
4236
|
+
{
|
|
4237
|
+
"name": "default",
|
|
4238
|
+
"type": "import('@vuetify/v0').SnackbarPortalSlotProps",
|
|
4239
|
+
"description": ""
|
|
4240
|
+
}
|
|
4241
|
+
]
|
|
4242
|
+
},
|
|
4243
|
+
{
|
|
4244
|
+
"name": "snackbar-queue",
|
|
4245
|
+
"description": "Vuetify 0 SnackbarQueue component",
|
|
4246
|
+
"attributes": [
|
|
4247
|
+
{
|
|
4248
|
+
"name": "namespace",
|
|
4249
|
+
"value": {
|
|
4250
|
+
"kind": "expression",
|
|
4251
|
+
"type": "string | undefined"
|
|
4252
|
+
},
|
|
4253
|
+
"description": "Which notifications instance to connect to.",
|
|
4254
|
+
"default": "\"v0:notifications\"",
|
|
4255
|
+
"required": false
|
|
4256
|
+
},
|
|
4257
|
+
{
|
|
4258
|
+
"name": "as",
|
|
4259
|
+
"value": {
|
|
4260
|
+
"kind": "expression",
|
|
4261
|
+
"type": "string | Component<unknown, any, any, ComputedOptions, MethodOptions, {}, any> | null | undefined"
|
|
4262
|
+
},
|
|
4263
|
+
"description": "The HTML element to render as, or null for renderless mode",
|
|
4264
|
+
"default": "\"div\"",
|
|
4265
|
+
"required": false
|
|
4266
|
+
},
|
|
4267
|
+
{
|
|
4268
|
+
"name": "renderless",
|
|
4269
|
+
"value": {
|
|
4270
|
+
"kind": "expression",
|
|
4271
|
+
"type": "boolean | undefined"
|
|
4272
|
+
},
|
|
4273
|
+
"description": "When true, renders slot content directly without a wrapper element",
|
|
4274
|
+
"required": false
|
|
4275
|
+
}
|
|
4276
|
+
],
|
|
4277
|
+
"slots": [
|
|
4278
|
+
{
|
|
4279
|
+
"name": "default",
|
|
4280
|
+
"type": "import('@vuetify/v0').SnackbarQueueSlotProps",
|
|
4281
|
+
"description": ""
|
|
4282
|
+
}
|
|
4283
|
+
]
|
|
4284
|
+
},
|
|
4285
|
+
{
|
|
4286
|
+
"name": "snackbar-root",
|
|
4287
|
+
"description": "Vuetify 0 SnackbarRoot component",
|
|
4288
|
+
"attributes": [
|
|
4289
|
+
{
|
|
4290
|
+
"name": "namespace",
|
|
4291
|
+
"value": {
|
|
4292
|
+
"kind": "expression",
|
|
4293
|
+
"type": "string | undefined"
|
|
4294
|
+
},
|
|
4295
|
+
"description": "Namespace for dependency injection.",
|
|
4296
|
+
"default": "\"v0:notifications\"",
|
|
4297
|
+
"required": false
|
|
4298
|
+
},
|
|
4299
|
+
{
|
|
4300
|
+
"name": "id",
|
|
4301
|
+
"value": {
|
|
4302
|
+
"kind": "expression",
|
|
4303
|
+
"type": "ID | undefined"
|
|
4304
|
+
},
|
|
4305
|
+
"description": "Unique identifier. Auto-generated if not provided.",
|
|
4306
|
+
"default": "useId()",
|
|
4307
|
+
"required": false
|
|
4308
|
+
},
|
|
4309
|
+
{
|
|
4310
|
+
"name": "as",
|
|
4311
|
+
"value": {
|
|
4312
|
+
"kind": "expression",
|
|
4313
|
+
"type": "string | Component<unknown, any, any, ComputedOptions, MethodOptions, {}, any> | null | undefined"
|
|
4314
|
+
},
|
|
4315
|
+
"description": "The HTML element to render as, or null for renderless mode",
|
|
4316
|
+
"default": "\"div\"",
|
|
4317
|
+
"required": false
|
|
4318
|
+
},
|
|
4319
|
+
{
|
|
4320
|
+
"name": "renderless",
|
|
4321
|
+
"value": {
|
|
4322
|
+
"kind": "expression",
|
|
4323
|
+
"type": "boolean | undefined"
|
|
4324
|
+
},
|
|
4325
|
+
"description": "When true, renders slot content directly without a wrapper element",
|
|
4326
|
+
"required": false
|
|
4327
|
+
}
|
|
4328
|
+
],
|
|
4329
|
+
"slots": [
|
|
4330
|
+
{
|
|
4331
|
+
"name": "default",
|
|
4332
|
+
"type": "import('@vuetify/v0').SnackbarRootSlotProps",
|
|
4333
|
+
"description": ""
|
|
4334
|
+
}
|
|
4335
|
+
]
|
|
4336
|
+
},
|
|
4127
4337
|
{
|
|
4128
4338
|
"name": "splitter-handle",
|
|
4129
4339
|
"description": "Vuetify 0 SplitterHandle component",
|
|
@@ -5317,6 +5527,16 @@
|
|
|
5317
5527
|
],
|
|
5318
5528
|
"description": ""
|
|
5319
5529
|
},
|
|
5530
|
+
{
|
|
5531
|
+
"name": "dismiss",
|
|
5532
|
+
"arguments": [
|
|
5533
|
+
{
|
|
5534
|
+
"name": "$event",
|
|
5535
|
+
"type": "ID"
|
|
5536
|
+
}
|
|
5537
|
+
],
|
|
5538
|
+
"description": ""
|
|
5539
|
+
},
|
|
5320
5540
|
{
|
|
5321
5541
|
"name": "resize",
|
|
5322
5542
|
"arguments": [
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
|
|
1
|
+
import { n as LocaleAdapterContext, t as LocaleAdapter } from "../../adapter-CWp5eQ6R.mjs";
|
|
2
|
+
import { t as Vuetify0LocaleAdapter } from "../../v0-BdD1F6JK.mjs";
|
|
3
|
+
export { LocaleAdapter, LocaleAdapterContext, Vuetify0LocaleAdapter };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../globals-
|
|
2
|
-
import { t as Vuetify0LocaleAdapter } from "../../v0-
|
|
1
|
+
import "../../globals-3i9umzyz.mjs";
|
|
2
|
+
import { t as Vuetify0LocaleAdapter } from "../../v0-CehUknHv.mjs";
|
|
3
3
|
import "../../adapters-BjeDmKc6.mjs";
|
|
4
4
|
export { Vuetify0LocaleAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Vuetify0LocaleAdapter } from "../../../v0-
|
|
1
|
+
import { t as Vuetify0LocaleAdapter } from "../../../v0-BdD1F6JK.mjs";
|
|
2
2
|
export { Vuetify0LocaleAdapter };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../../../globals-
|
|
2
|
-
import { t as Vuetify0LocaleAdapter } from "../../../v0-
|
|
1
|
+
import "../../../globals-3i9umzyz.mjs";
|
|
2
|
+
import { t as Vuetify0LocaleAdapter } from "../../../v0-CehUknHv.mjs";
|
|
3
3
|
export { Vuetify0LocaleAdapter };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { t as LocaleAdapter } from "../../../adapter-CWp5eQ6R.mjs";
|
|
2
|
+
import { Composer } from "vue-i18n";
|
|
3
|
+
|
|
4
|
+
//#region src/composables/useLocale/adapters/vue-i18n/index.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Locale adapter that delegates to a vue-i18n instance.
|
|
7
|
+
*
|
|
8
|
+
* Composition API mode only (vue-i18n v10+ default).
|
|
9
|
+
* The adapter delegates `t()` and `n()` to `i18n.global`,
|
|
10
|
+
* preserving all vue-i18n features: pluralization, linked
|
|
11
|
+
* messages, datetime/number formatting, etc.
|
|
12
|
+
*/
|
|
13
|
+
declare class VueI18nLocaleAdapter implements LocaleAdapter {
|
|
14
|
+
private composer;
|
|
15
|
+
constructor(i18n: {
|
|
16
|
+
global: Composer;
|
|
17
|
+
});
|
|
18
|
+
t(key: string, ...params: unknown[]): string;
|
|
19
|
+
n(value: number): string;
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
export { VueI18nLocaleAdapter };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import "../../../globals-3i9umzyz.mjs";
|
|
2
|
+
import { isObject } from "../../../utilities/index.mjs";
|
|
3
|
+
//#region src/composables/useLocale/adapters/vue-i18n/index.ts
|
|
4
|
+
/**
|
|
5
|
+
* Locale adapter that delegates to a vue-i18n instance.
|
|
6
|
+
*
|
|
7
|
+
* Composition API mode only (vue-i18n v10+ default).
|
|
8
|
+
* The adapter delegates `t()` and `n()` to `i18n.global`,
|
|
9
|
+
* preserving all vue-i18n features: pluralization, linked
|
|
10
|
+
* messages, datetime/number formatting, etc.
|
|
11
|
+
*/
|
|
12
|
+
var VueI18nLocaleAdapter = class {
|
|
13
|
+
composer;
|
|
14
|
+
constructor(i18n) {
|
|
15
|
+
this.composer = i18n.global;
|
|
16
|
+
}
|
|
17
|
+
t(key, ...params) {
|
|
18
|
+
if (params.length > 0 && /* @__PURE__ */ isObject(params[0])) return this.composer.t(key, params[0]);
|
|
19
|
+
return params.length > 0 ? this.composer.t(key, params) : this.composer.t(key);
|
|
20
|
+
}
|
|
21
|
+
n(value) {
|
|
22
|
+
return this.composer.n(value);
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
//#endregion
|
|
26
|
+
export { VueI18nLocaleAdapter };
|
package/dist/locale/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as
|
|
3
|
-
|
|
1
|
+
import { Cr as useLocale, Sr as createLocalePlugin, _r as LocaleTicket, br as createLocaleContext, fr as LocaleContext, gr as LocaleRecord, hr as LocalePluginOptions, mr as LocaleOptions, pr as LocaleContextOptions, vr as LocaleTicketInput, xr as createLocaleFallback, yr as createLocale } from "../index-D0qnkRbl.mjs";
|
|
2
|
+
import { n as LocaleAdapterContext, t as LocaleAdapter } from "../adapter-CWp5eQ6R.mjs";
|
|
3
|
+
import { t as Vuetify0LocaleAdapter } from "../v0-BdD1F6JK.mjs";
|
|
4
|
+
export { LocaleAdapter, LocaleAdapterContext, LocaleContext, LocaleContextOptions, LocaleOptions, LocalePluginOptions, LocaleRecord, LocaleTicket, LocaleTicketInput, Vuetify0LocaleAdapter, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, useLocale };
|
package/dist/locale/index.mjs
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import "../globals-
|
|
1
|
+
import "../globals-3i9umzyz.mjs";
|
|
2
2
|
import "../createTrinity-C_c8eedz.mjs";
|
|
3
|
-
import "../useLogger-
|
|
3
|
+
import "../useLogger-cGK00Ywd.mjs";
|
|
4
4
|
import "../pino-B7tJ3m18.mjs";
|
|
5
|
-
import "../v0-
|
|
5
|
+
import "../v0-BJYwZgtp.mjs";
|
|
6
6
|
import "../adapters-Bv5aRv3l.mjs";
|
|
7
|
-
import "../createTokens-
|
|
8
|
-
import "../createSelection-
|
|
9
|
-
import "../createSingle-
|
|
10
|
-
import "../
|
|
11
|
-
import { t as Vuetify0LocaleAdapter } from "../v0-CHBrvw49.mjs";
|
|
7
|
+
import "../createTokens-C1gIuKCK.mjs";
|
|
8
|
+
import "../createSelection-DbWP6c7H.mjs";
|
|
9
|
+
import "../createSingle-CeAJpbXs.mjs";
|
|
10
|
+
import { t as Vuetify0LocaleAdapter } from "../v0-CehUknHv.mjs";
|
|
12
11
|
import "../adapters-BjeDmKc6.mjs";
|
|
13
|
-
import { a as useLocale, i as createLocalePlugin, n as createLocaleContext, r as createLocaleFallback, t as createLocale } from "../useLocale-
|
|
12
|
+
import { a as useLocale, i as createLocalePlugin, n as createLocaleContext, r as createLocaleFallback, t as createLocale } from "../useLocale-BaufqE5Z.mjs";
|
|
14
13
|
export { Vuetify0LocaleAdapter, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, useLocale };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ConsolaLoggerAdapter } from "../../../consola-
|
|
1
|
+
import { t as ConsolaLoggerAdapter } from "../../../consola-C1OjyZVf.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 { t as PinoLoggerAdapter } from "../../pino-
|
|
4
|
-
import { t as Vuetify0LoggerAdapter } from "../../v0-
|
|
1
|
+
import { t as LoggerAdapter } from "../../adapter-CJQav2JB.mjs";
|
|
2
|
+
import { t as ConsolaLoggerAdapter } from "../../consola-C1OjyZVf.mjs";
|
|
3
|
+
import { t as PinoLoggerAdapter } from "../../pino-CM1iLXmi.mjs";
|
|
4
|
+
import { t as Vuetify0LoggerAdapter } from "../../v0-JPf99NKg.mjs";
|
|
5
5
|
export { ConsolaLoggerAdapter, LoggerAdapter, PinoLoggerAdapter, Vuetify0LoggerAdapter };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../globals-
|
|
1
|
+
import "../../globals-3i9umzyz.mjs";
|
|
2
2
|
import { t as ConsolaLoggerAdapter } from "../../consola-Ceox8BWi.mjs";
|
|
3
3
|
import { t as PinoLoggerAdapter } from "../../pino-B7tJ3m18.mjs";
|
|
4
|
-
import { t as Vuetify0LoggerAdapter } from "../../v0-
|
|
4
|
+
import { t as Vuetify0LoggerAdapter } from "../../v0-BJYwZgtp.mjs";
|
|
5
5
|
import "../../adapters-Bv5aRv3l.mjs";
|
|
6
6
|
export { ConsolaLoggerAdapter, PinoLoggerAdapter, Vuetify0LoggerAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as PinoLoggerAdapter } from "../../../pino-
|
|
1
|
+
import { t as PinoLoggerAdapter } from "../../../pino-CM1iLXmi.mjs";
|
|
2
2
|
export { PinoLoggerAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Vuetify0LoggerAdapter } from "../../../v0-
|
|
1
|
+
import { t as Vuetify0LoggerAdapter } from "../../../v0-JPf99NKg.mjs";
|
|
2
2
|
export { Vuetify0LoggerAdapter };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../../../globals-
|
|
2
|
-
import { t as Vuetify0LoggerAdapter } from "../../../v0-
|
|
1
|
+
import "../../../globals-3i9umzyz.mjs";
|
|
2
|
+
import { t as Vuetify0LoggerAdapter } from "../../../v0-BJYwZgtp.mjs";
|
|
3
3
|
export { Vuetify0LoggerAdapter };
|
package/dist/logger/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as LoggerAdapter } from "../adapter-
|
|
3
|
-
import { t as ConsolaLoggerAdapter } from "../consola-
|
|
4
|
-
import { t as PinoLoggerAdapter } from "../pino-
|
|
5
|
-
import { t as Vuetify0LoggerAdapter } from "../v0-
|
|
1
|
+
import { ar as LoggerOptions, cr as createLoggerContext, dr as LogLevel, ir as LoggerContextOptions, lr as createLoggerPlugin, or as LoggerPluginOptions, rr as LoggerContext, sr as createLogger, ur as useLogger } from "../index-D0qnkRbl.mjs";
|
|
2
|
+
import { t as LoggerAdapter } from "../adapter-CJQav2JB.mjs";
|
|
3
|
+
import { t as ConsolaLoggerAdapter } from "../consola-C1OjyZVf.mjs";
|
|
4
|
+
import { t as PinoLoggerAdapter } from "../pino-CM1iLXmi.mjs";
|
|
5
|
+
import { t as Vuetify0LoggerAdapter } from "../v0-JPf99NKg.mjs";
|
|
6
6
|
export { ConsolaLoggerAdapter, LogLevel, LoggerAdapter, LoggerContext, LoggerContextOptions, LoggerOptions, LoggerPluginOptions, PinoLoggerAdapter, Vuetify0LoggerAdapter, createLogger, createLoggerContext, createLoggerPlugin, useLogger };
|
package/dist/logger/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../globals-
|
|
1
|
+
import "../globals-3i9umzyz.mjs";
|
|
2
2
|
import "../createTrinity-C_c8eedz.mjs";
|
|
3
|
-
import { i as useLogger, n as createLoggerContext, r as createLoggerPlugin, t as createLogger } from "../useLogger-
|
|
3
|
+
import { i as useLogger, n as createLoggerContext, r as createLoggerPlugin, t as createLogger } from "../useLogger-cGK00Ywd.mjs";
|
|
4
4
|
import { t as ConsolaLoggerAdapter } from "../consola-Ceox8BWi.mjs";
|
|
5
5
|
import { t as PinoLoggerAdapter } from "../pino-B7tJ3m18.mjs";
|
|
6
|
-
import { t as Vuetify0LoggerAdapter } from "../v0-
|
|
6
|
+
import { t as Vuetify0LoggerAdapter } from "../v0-BJYwZgtp.mjs";
|
|
7
7
|
import "../adapters-Bv5aRv3l.mjs";
|
|
8
8
|
export { ConsolaLoggerAdapter, PinoLoggerAdapter, Vuetify0LoggerAdapter, createLogger, createLoggerContext, createLoggerPlugin, useLogger };
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { fn as NotificationSeverity, hn as NotificationsAdapterInterface } from "../index-D0qnkRbl.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/composables/useNotifications/adapters/knock.d.ts
|
|
4
|
+
/** Minimal Knock feed item shape. Uses type-only imports to avoid bundling the SDK. */
|
|
5
|
+
interface KnockFeedItem {
|
|
6
|
+
[key: string]: unknown;
|
|
7
|
+
id: string;
|
|
8
|
+
data?: Record<string, unknown>;
|
|
9
|
+
blocks?: Array<{
|
|
10
|
+
type: string;
|
|
11
|
+
name: string;
|
|
12
|
+
content: string;
|
|
13
|
+
rendered: string;
|
|
14
|
+
}>;
|
|
15
|
+
inserted_at?: string;
|
|
16
|
+
read_at?: string | null;
|
|
17
|
+
seen_at?: string | null;
|
|
18
|
+
archived_at?: string | null;
|
|
19
|
+
}
|
|
20
|
+
/** Minimal Knock feed instance interface. */
|
|
21
|
+
interface KnockFeed {
|
|
22
|
+
on: (event: string, handler: (data: unknown) => void) => void;
|
|
23
|
+
off: (event: string, handler: (data: unknown) => void) => void;
|
|
24
|
+
markAsRead: (item: KnockFeedItem) => Promise<unknown>;
|
|
25
|
+
markAsArchived: (item: KnockFeedItem) => Promise<unknown>;
|
|
26
|
+
fetch: (options?: Record<string, unknown>) => Promise<unknown>;
|
|
27
|
+
teardown: () => void;
|
|
28
|
+
listenForUpdates: () => void;
|
|
29
|
+
}
|
|
30
|
+
declare function createKnockAdapter(feed: KnockFeed): NotificationsAdapterInterface;
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region src/composables/useNotifications/adapters/novu.d.ts
|
|
33
|
+
/** Minimal Novu notification shape. Uses type-only imports to avoid bundling the SDK. */
|
|
34
|
+
interface NovuNotification {
|
|
35
|
+
[key: string]: unknown;
|
|
36
|
+
id?: string;
|
|
37
|
+
subject?: string;
|
|
38
|
+
body?: string;
|
|
39
|
+
data?: Record<string, unknown>;
|
|
40
|
+
severity?: string;
|
|
41
|
+
isRead?: boolean;
|
|
42
|
+
isSeen?: boolean;
|
|
43
|
+
isArchived?: boolean;
|
|
44
|
+
createdAt?: string;
|
|
45
|
+
}
|
|
46
|
+
/** Minimal Novu client interface. */
|
|
47
|
+
interface NovuClient {
|
|
48
|
+
notifications: {
|
|
49
|
+
list: (opts?: Record<string, unknown>) => Promise<{
|
|
50
|
+
data?: {
|
|
51
|
+
notifications?: NovuNotification[];
|
|
52
|
+
} | null;
|
|
53
|
+
}>;
|
|
54
|
+
read: (opts: {
|
|
55
|
+
notificationId: string;
|
|
56
|
+
}) => Promise<unknown>;
|
|
57
|
+
unread: (opts: {
|
|
58
|
+
notificationId: string;
|
|
59
|
+
}) => Promise<unknown>;
|
|
60
|
+
archive: (opts: {
|
|
61
|
+
notificationId: string;
|
|
62
|
+
}) => Promise<unknown>;
|
|
63
|
+
unarchive: (opts: {
|
|
64
|
+
notificationId: string;
|
|
65
|
+
}) => Promise<unknown>;
|
|
66
|
+
seenAll: (opts: {
|
|
67
|
+
notificationIds: string[];
|
|
68
|
+
}) => Promise<unknown>;
|
|
69
|
+
};
|
|
70
|
+
on: (event: string, handler: (data: unknown) => void) => () => void;
|
|
71
|
+
}
|
|
72
|
+
interface NovuAdapterOptions {
|
|
73
|
+
/** Map a Novu severity string to a NotificationSeverity. Defaults to critical/high→error, medium→warning, low→info. */
|
|
74
|
+
severity?: (novuSeverity: string) => NotificationSeverity | undefined;
|
|
75
|
+
}
|
|
76
|
+
declare function createNovuAdapter(novu: NovuClient, options?: NovuAdapterOptions): NotificationsAdapterInterface;
|
|
77
|
+
//#endregion
|
|
78
|
+
export { KnockFeed, KnockFeedItem, NovuAdapterOptions, NovuClient, NovuNotification, createKnockAdapter, createNovuAdapter };
|