@vuetify/v0 0.0.24 → 0.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/README.md +2 -2
- package/dist/browser/index.js +266 -50
- package/dist/components/index.d.mts +4 -4
- package/dist/components/index.mjs +3 -3
- package/dist/{components-D_yAxHwn.mjs → components-V4KaMfn-.mjs} +11 -6
- package/dist/composables/index.d.mts +4 -4
- package/dist/composables/index.mjs +3 -3
- package/dist/constants/index.mjs +1 -1
- package/dist/date/index.mjs +1 -1
- package/dist/{globals-BhNI7no7.mjs → globals-CgcVstn0.mjs} +1 -1
- package/dist/{index-OghXharF.d.mts → index-CSjKBMhp.d.mts} +266 -239
- package/dist/{index-kvJsAOSg.d.mts → index-CoO8LW8o.d.mts} +1 -1
- package/dist/{index-ZW2YLa57.d.mts → index-DlxrzbvZ.d.mts} +15 -14
- package/dist/{index-isYKpbs6.d.mts → index-DsiFkTD8.d.mts} +269 -73
- package/dist/{index-DknfL2GU.d.mts → index-t-t6sAn3.d.mts} +222 -41
- package/dist/index.d.mts +6 -6
- package/dist/index.mjs +4 -4
- package/dist/json/attributes.json +5 -1
- package/dist/json/tags.json +1 -0
- package/dist/json/web-types.json +12 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/{useClickOutside-w-Y2QxHh.mjs → useClickOutside-Cj8CguMD.mjs} +257 -46
- package/dist/utilities/index.d.mts +2 -2
- package/package.json +19 -2
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@ This is a **pnpm monorepo** containing:
|
|
|
46
46
|
|
|
47
47
|
- **Node.js** >= 22
|
|
48
48
|
- **pnpm** >= 10.6
|
|
49
|
-
- **Vue** >= 3.
|
|
49
|
+
- **Vue** >= 3.5.0
|
|
50
50
|
|
|
51
51
|
## Installation
|
|
52
52
|
|
|
@@ -170,7 +170,7 @@ Plugin-capable composables following the trinity pattern:
|
|
|
170
170
|
- **Slot-Driven**: Maximum flexibility through comprehensive slot APIs
|
|
171
171
|
- **CSS Variables**: All styling configurable via `--v0-*` custom properties
|
|
172
172
|
- **TypeScript Native**: Full type safety with generics for extensibility
|
|
173
|
-
- **Minimal Dependencies**: Only Vue 3.
|
|
173
|
+
- **Minimal Dependencies**: Only Vue 3.5+ required (markdown libraries optional)
|
|
174
174
|
- **Composable Architecture**: Reusable logic through Vue 3 composables
|
|
175
175
|
|
|
176
176
|
## Documentation
|
package/dist/browser/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as Vue from "vue";
|
|
2
2
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createPropsRestProxy, createTextVNode, createVNode, defineComponent, effectScope, guardReactiveProps, inject, isRef, mergeModels, mergeProps, nextTick, normalizeProps, onBeforeUnmount, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, readonly, ref, renderSlot, resolveDynamicComponent, shallowReactive, shallowReadonly, shallowRef, toDisplayString, toRef, toValue, unref, useAttrs, useId as useId$1, useModel, useTemplateRef, vShow, watch, watchEffect, withCtx, withDirectives } from "vue";
|
|
3
|
+
import flagsmith from "flagsmith";
|
|
3
4
|
|
|
4
5
|
//#region src/constants/htmlElements.ts
|
|
5
6
|
const selfClosingTags = [
|
|
@@ -685,7 +686,7 @@ const SUPPORTS_MATCH_MEDIA = IN_BROWSER && "matchMedia" in window && typeof wind
|
|
|
685
686
|
const SUPPORTS_OBSERVER = IN_BROWSER && "ResizeObserver" in window;
|
|
686
687
|
const SUPPORTS_INTERSECTION_OBSERVER = IN_BROWSER && "IntersectionObserver" in window;
|
|
687
688
|
const SUPPORTS_MUTATION_OBSERVER = IN_BROWSER && "MutationObserver" in window;
|
|
688
|
-
const version = "0.0
|
|
689
|
+
const version = "0.1.0";
|
|
689
690
|
/* v8 ignore next -- build-time constant, __DEV__ short-circuits in tests */
|
|
690
691
|
const __LOGGER_ENABLED__ = false;
|
|
691
692
|
|
|
@@ -1142,12 +1143,13 @@ function useLogger(namespace = "v0:logger") {
|
|
|
1142
1143
|
*/
|
|
1143
1144
|
function createRegistry(options) {
|
|
1144
1145
|
const logger$1 = useLogger();
|
|
1145
|
-
const
|
|
1146
|
+
const events = options?.events ?? false;
|
|
1147
|
+
const reactive$1 = options?.reactive ?? false;
|
|
1148
|
+
const collection = reactive$1 ? shallowReactive(/* @__PURE__ */ new Map()) : /* @__PURE__ */ new Map();
|
|
1146
1149
|
const catalog = /* @__PURE__ */ new Map();
|
|
1147
1150
|
const directory = /* @__PURE__ */ new Map();
|
|
1148
1151
|
const cache = /* @__PURE__ */ new Map();
|
|
1149
1152
|
const listeners = /* @__PURE__ */ new Map();
|
|
1150
|
-
const events = options?.events ?? false;
|
|
1151
1153
|
let indexDependentCount = 0;
|
|
1152
1154
|
let needsReindex = false;
|
|
1153
1155
|
let minDirtyIndex = Infinity;
|
|
@@ -1337,13 +1339,14 @@ function createRegistry(options) {
|
|
|
1337
1339
|
const value = valueIsUndefined ? index : registration.value;
|
|
1338
1340
|
const valueIsIndex = valueIsUndefined;
|
|
1339
1341
|
if (valueIsIndex) indexDependentCount++;
|
|
1340
|
-
const
|
|
1342
|
+
const rawTicket = {
|
|
1341
1343
|
...registration,
|
|
1342
1344
|
id,
|
|
1343
1345
|
index,
|
|
1344
1346
|
value,
|
|
1345
1347
|
valueIsIndex
|
|
1346
1348
|
};
|
|
1349
|
+
const ticket = reactive$1 ? shallowReactive(rawTicket) : rawTicket;
|
|
1347
1350
|
collection.set(ticket.id, ticket);
|
|
1348
1351
|
directory.set(ticket.index, ticket.id);
|
|
1349
1352
|
assign(ticket.value, ticket.id);
|
|
@@ -1496,8 +1499,9 @@ function createRegistryContext(_options = {}) {
|
|
|
1496
1499
|
* Supports disabled items, mandatory selection enforcement, and auto-enrollment.
|
|
1497
1500
|
*
|
|
1498
1501
|
* @param options The options for the selection instance.
|
|
1499
|
-
* @template Z The type
|
|
1500
|
-
* @template E The type
|
|
1502
|
+
* @template Z The input ticket type - what users provide to register(). Extend SelectionTicketInput to add custom properties.
|
|
1503
|
+
* @template E The output ticket type - what users receive from get(). Automatically includes selection methods.
|
|
1504
|
+
* @template R The context type. Defaults to SelectionContext<Z, E>.
|
|
1501
1505
|
* @returns A new selection instance with selection management methods.
|
|
1502
1506
|
*
|
|
1503
1507
|
* @remarks
|
|
@@ -1520,6 +1524,7 @@ function createRegistryContext(_options = {}) {
|
|
|
1520
1524
|
* ```ts
|
|
1521
1525
|
* import { createSelection } from '@vuetify/v0'
|
|
1522
1526
|
*
|
|
1527
|
+
* // Basic usage
|
|
1523
1528
|
* const selection = createSelection({ mandatory: true })
|
|
1524
1529
|
*
|
|
1525
1530
|
* selection.onboard([
|
|
@@ -1534,6 +1539,23 @@ function createRegistryContext(_options = {}) {
|
|
|
1534
1539
|
* console.log(selection.selectedIds) // Set { 'item-1', 'item-3' }
|
|
1535
1540
|
* console.log(Array.from(selection.selectedValues.value)) // ['Item 1', 'Item 3']
|
|
1536
1541
|
* ```
|
|
1542
|
+
*
|
|
1543
|
+
* @example
|
|
1544
|
+
* ```ts
|
|
1545
|
+
* // With custom ticket type
|
|
1546
|
+
* interface MyTicket extends SelectionTicketInput {
|
|
1547
|
+
* label: string
|
|
1548
|
+
* icon?: string
|
|
1549
|
+
* }
|
|
1550
|
+
*
|
|
1551
|
+
* const tabs = createSelection<MyTicket>()
|
|
1552
|
+
*
|
|
1553
|
+
* tabs.register({ label: 'Home', icon: 'mdi-home' })
|
|
1554
|
+
* tabs.register({ label: 'Settings' })
|
|
1555
|
+
*
|
|
1556
|
+
* const ticket = tabs.get('...')
|
|
1557
|
+
* // ticket has: label, icon, isSelected, select(), unselect(), toggle()
|
|
1558
|
+
* ```
|
|
1537
1559
|
*/
|
|
1538
1560
|
function createSelection(_options = {}) {
|
|
1539
1561
|
const { disabled = false, enroll = false, mandatory = false, multiple = false, ...options } = _options;
|
|
@@ -1631,8 +1653,9 @@ function createSelection(_options = {}) {
|
|
|
1631
1653
|
* Creates a new selection context.
|
|
1632
1654
|
*
|
|
1633
1655
|
* @param options The options for the selection context.
|
|
1634
|
-
* @template Z The type
|
|
1635
|
-
* @template E The type
|
|
1656
|
+
* @template Z The input ticket type - what users provide to register().
|
|
1657
|
+
* @template E The output ticket type - what users receive from get().
|
|
1658
|
+
* @template R The context type. Defaults to SelectionContext<Z, E>.
|
|
1636
1659
|
* @returns A new selection context.
|
|
1637
1660
|
*
|
|
1638
1661
|
* @see https://0.vuetifyjs.com/composables/selection/use-selection
|
|
@@ -1654,6 +1677,17 @@ function createSelection(_options = {}) {
|
|
|
1654
1677
|
* const checkboxes = useCheckboxes()
|
|
1655
1678
|
* checkboxes.select('checkbox-1')
|
|
1656
1679
|
* ```
|
|
1680
|
+
*
|
|
1681
|
+
* @example
|
|
1682
|
+
* ```ts
|
|
1683
|
+
* // With custom ticket type
|
|
1684
|
+
* interface TabTicket extends SelectionTicketInput {
|
|
1685
|
+
* label: string
|
|
1686
|
+
* icon?: string
|
|
1687
|
+
* }
|
|
1688
|
+
*
|
|
1689
|
+
* export const [useTabs, provideTabs, tabs] = createSelectionContext<TabTicket>()
|
|
1690
|
+
* ```
|
|
1657
1691
|
*/
|
|
1658
1692
|
function createSelectionContext(_options = {}) {
|
|
1659
1693
|
const { namespace = "v0:selection", ...options } = _options;
|
|
@@ -1668,6 +1702,9 @@ function createSelectionContext(_options = {}) {
|
|
|
1668
1702
|
* Returns the current selection instance.
|
|
1669
1703
|
*
|
|
1670
1704
|
* @param namespace The namespace for the selection context. Defaults to `'v0:selection'`.
|
|
1705
|
+
* @template Z The input ticket type.
|
|
1706
|
+
* @template E The output ticket type.
|
|
1707
|
+
* @template R The context type.
|
|
1671
1708
|
* @returns The current selection instance.
|
|
1672
1709
|
*
|
|
1673
1710
|
* @see https://0.vuetifyjs.com/composables/selection/use-selection
|
|
@@ -2153,8 +2190,9 @@ function createGroup(_options = {}) {
|
|
|
2153
2190
|
* Creates a new group context.
|
|
2154
2191
|
*
|
|
2155
2192
|
* @param options The options for the group context.
|
|
2156
|
-
* @template Z The
|
|
2157
|
-
* @template E The
|
|
2193
|
+
* @template Z The input ticket type.
|
|
2194
|
+
* @template E The output ticket type.
|
|
2195
|
+
* @template R The context type.
|
|
2158
2196
|
* @returns A new group context.
|
|
2159
2197
|
*
|
|
2160
2198
|
* @see https://0.vuetifyjs.com/composables/selection/use-group
|
|
@@ -2189,6 +2227,9 @@ function createGroupContext(_options = {}) {
|
|
|
2189
2227
|
* Returns the current group instance.
|
|
2190
2228
|
*
|
|
2191
2229
|
* @param namespace The namespace for the group context. Defaults to `'v0:group'`.
|
|
2230
|
+
* @template Z The input ticket type.
|
|
2231
|
+
* @template E The output ticket type.
|
|
2232
|
+
* @template R The context type.
|
|
2192
2233
|
* @returns The current group instance.
|
|
2193
2234
|
*
|
|
2194
2235
|
* @see https://0.vuetifyjs.com/composables/selection/use-group
|
|
@@ -3425,8 +3466,9 @@ function useBreakpoints(namespace = "v0:breakpoints") {
|
|
|
3425
3466
|
* Adds computed singular properties: `selectedId`, `selectedItem`, `selectedIndex`, `selectedValue`.
|
|
3426
3467
|
*
|
|
3427
3468
|
* @param options The options for the single selection instance.
|
|
3428
|
-
* @template Z The type
|
|
3429
|
-
* @template E The type
|
|
3469
|
+
* @template Z The input ticket type - what users provide to register().
|
|
3470
|
+
* @template E The output ticket type - what users receive from get().
|
|
3471
|
+
* @template R The context type.
|
|
3430
3472
|
* @returns A new single selection instance with single-selection enforcement.
|
|
3431
3473
|
*
|
|
3432
3474
|
* @remarks
|
|
@@ -3467,6 +3509,18 @@ function useBreakpoints(namespace = "v0:breakpoints") {
|
|
|
3467
3509
|
* console.log(tabs.selectedId.value) // 'about'
|
|
3468
3510
|
* console.log(tabs.selectedIds.size) // 1 (always enforces single selection)
|
|
3469
3511
|
* ```
|
|
3512
|
+
*
|
|
3513
|
+
* @example
|
|
3514
|
+
* ```ts
|
|
3515
|
+
* // With custom ticket type
|
|
3516
|
+
* interface TabTicket extends SingleTicketInput {
|
|
3517
|
+
* label: string
|
|
3518
|
+
* icon?: string
|
|
3519
|
+
* }
|
|
3520
|
+
*
|
|
3521
|
+
* const tabs = createSingle<TabTicket>()
|
|
3522
|
+
* tabs.register({ label: 'Home', icon: 'mdi-home' })
|
|
3523
|
+
* ```
|
|
3470
3524
|
*/
|
|
3471
3525
|
function createSingle(_options = {}) {
|
|
3472
3526
|
const { mandatory = false, multiple = false, ...options } = _options;
|
|
@@ -3504,8 +3558,9 @@ function createSingle(_options = {}) {
|
|
|
3504
3558
|
* Creates a new single selection context.
|
|
3505
3559
|
*
|
|
3506
3560
|
* @param options The options for the single selection context.
|
|
3507
|
-
* @template Z The
|
|
3508
|
-
* @template E The
|
|
3561
|
+
* @template Z The input ticket type.
|
|
3562
|
+
* @template E The output ticket type.
|
|
3563
|
+
* @template R The context type.
|
|
3509
3564
|
* @returns A new single selection context.
|
|
3510
3565
|
*
|
|
3511
3566
|
* @see https://0.vuetifyjs.com/composables/selection/use-single
|
|
@@ -3538,6 +3593,9 @@ function createSingleContext(_options = {}) {
|
|
|
3538
3593
|
* Returns the current single selection instance.
|
|
3539
3594
|
*
|
|
3540
3595
|
* @param namespace The namespace for the single selection context. Defaults to `'v0:single'`.
|
|
3596
|
+
* @template Z The input ticket type.
|
|
3597
|
+
* @template E The output ticket type.
|
|
3598
|
+
* @template R The context type.
|
|
3541
3599
|
* @returns The current single selection instance.
|
|
3542
3600
|
*
|
|
3543
3601
|
* @see https://0.vuetifyjs.com/composables/selection/use-single
|
|
@@ -4217,6 +4275,122 @@ function useDate(namespace = "v0:date") {
|
|
|
4217
4275
|
return useContext(namespace);
|
|
4218
4276
|
}
|
|
4219
4277
|
|
|
4278
|
+
//#endregion
|
|
4279
|
+
//#region src/composables/useFeatures/adapters/generic/index.ts
|
|
4280
|
+
var FeaturesAdapter = class {};
|
|
4281
|
+
|
|
4282
|
+
//#endregion
|
|
4283
|
+
//#region src/composables/useFeatures/adapters/flagsmith/index.ts
|
|
4284
|
+
/**
|
|
4285
|
+
* @module FlagsmithFeatureAdapter
|
|
4286
|
+
*
|
|
4287
|
+
* @remarks
|
|
4288
|
+
* Flagsmith adapter for feature flags.
|
|
4289
|
+
*/
|
|
4290
|
+
var FlagsmithFeatureAdapter = class {
|
|
4291
|
+
client;
|
|
4292
|
+
options;
|
|
4293
|
+
constructor(client = flagsmith, options) {
|
|
4294
|
+
this.client = client;
|
|
4295
|
+
this.options = options;
|
|
4296
|
+
}
|
|
4297
|
+
setup(onUpdate) {
|
|
4298
|
+
const updateFlags = () => {
|
|
4299
|
+
const flags = this.client.getAllFlags();
|
|
4300
|
+
const adapterFlags = {};
|
|
4301
|
+
if (flags) for (const [key, flag] of Object.entries(flags)) {
|
|
4302
|
+
const isEnabled = flag.enabled;
|
|
4303
|
+
const variation = flag.value;
|
|
4304
|
+
adapterFlags[key] = variation !== null && variation !== void 0 ? {
|
|
4305
|
+
$value: isEnabled,
|
|
4306
|
+
$variation: variation
|
|
4307
|
+
} : isEnabled;
|
|
4308
|
+
}
|
|
4309
|
+
return adapterFlags;
|
|
4310
|
+
};
|
|
4311
|
+
this.client.init({
|
|
4312
|
+
...this.options,
|
|
4313
|
+
onChange: (oldFlags, params, loadingState) => {
|
|
4314
|
+
onUpdate(updateFlags());
|
|
4315
|
+
this.options.onChange?.(oldFlags, params, loadingState);
|
|
4316
|
+
}
|
|
4317
|
+
});
|
|
4318
|
+
this.disposeFn = () => this.client.stopListening();
|
|
4319
|
+
return updateFlags();
|
|
4320
|
+
}
|
|
4321
|
+
dispose() {
|
|
4322
|
+
this.disposeFn();
|
|
4323
|
+
}
|
|
4324
|
+
disposeFn = () => {};
|
|
4325
|
+
};
|
|
4326
|
+
|
|
4327
|
+
//#endregion
|
|
4328
|
+
//#region src/composables/useFeatures/adapters/launchdarkly/index.ts
|
|
4329
|
+
var LaunchDarklyFeatureAdapter = class {
|
|
4330
|
+
constructor(client) {
|
|
4331
|
+
this.client = client;
|
|
4332
|
+
}
|
|
4333
|
+
setup(onUpdate) {
|
|
4334
|
+
const updateFlags = () => {
|
|
4335
|
+
const allFlags = this.client.allFlags();
|
|
4336
|
+
const flags = {};
|
|
4337
|
+
for (const [key, value] of Object.entries(allFlags)) flags[key] = typeof value === "boolean" ? value : {
|
|
4338
|
+
$value: true,
|
|
4339
|
+
$variation: value
|
|
4340
|
+
};
|
|
4341
|
+
onUpdate(flags);
|
|
4342
|
+
return flags;
|
|
4343
|
+
};
|
|
4344
|
+
this.client.on("change", updateFlags);
|
|
4345
|
+
this.disposeFn = () => this.client.off("change", updateFlags);
|
|
4346
|
+
return updateFlags();
|
|
4347
|
+
}
|
|
4348
|
+
dispose() {
|
|
4349
|
+
this.disposeFn();
|
|
4350
|
+
}
|
|
4351
|
+
disposeFn = () => {};
|
|
4352
|
+
};
|
|
4353
|
+
|
|
4354
|
+
//#endregion
|
|
4355
|
+
//#region src/composables/useFeatures/adapters/posthog/index.ts
|
|
4356
|
+
var PostHogFeatureAdapter = class {
|
|
4357
|
+
constructor(client) {
|
|
4358
|
+
this.client = client;
|
|
4359
|
+
}
|
|
4360
|
+
setup(onUpdate) {
|
|
4361
|
+
const updateFlags = () => {
|
|
4362
|
+
const flags = {};
|
|
4363
|
+
const activeFlags = this.client.featureFlags.getFlags();
|
|
4364
|
+
if (activeFlags) {
|
|
4365
|
+
for (const key of activeFlags) {
|
|
4366
|
+
const isEnabled = this.client.isFeatureEnabled(key) ?? false;
|
|
4367
|
+
const payload = this.client.getFeatureFlagPayload(key);
|
|
4368
|
+
if (payload !== void 0 && payload !== null) flags[key] = {
|
|
4369
|
+
$value: isEnabled,
|
|
4370
|
+
$variation: payload
|
|
4371
|
+
};
|
|
4372
|
+
else {
|
|
4373
|
+
const variant = this.client.getFeatureFlag(key);
|
|
4374
|
+
flags[key] = variant !== true && variant !== false && variant !== void 0 && variant !== null ? {
|
|
4375
|
+
$value: true,
|
|
4376
|
+
$variation: variant
|
|
4377
|
+
} : isEnabled;
|
|
4378
|
+
}
|
|
4379
|
+
}
|
|
4380
|
+
onUpdate(flags);
|
|
4381
|
+
return flags;
|
|
4382
|
+
}
|
|
4383
|
+
return {};
|
|
4384
|
+
};
|
|
4385
|
+
this.disposeFn = this.client.onFeatureFlags(updateFlags);
|
|
4386
|
+
return updateFlags();
|
|
4387
|
+
}
|
|
4388
|
+
dispose() {
|
|
4389
|
+
this.disposeFn();
|
|
4390
|
+
}
|
|
4391
|
+
disposeFn = () => {};
|
|
4392
|
+
};
|
|
4393
|
+
|
|
4220
4394
|
//#endregion
|
|
4221
4395
|
//#region src/composables/useFeatures/index.ts
|
|
4222
4396
|
/**
|
|
@@ -4233,6 +4407,7 @@ function useDate(namespace = "v0:date") {
|
|
|
4233
4407
|
* - Auto-selection of enabled features
|
|
4234
4408
|
* - Multi-select support for feature combinations
|
|
4235
4409
|
* - Perfect for A/B testing, progressive rollout, feature toggles
|
|
4410
|
+
* - Adapter pattern for external feature flag services
|
|
4236
4411
|
*
|
|
4237
4412
|
* Inheritance chain: useRegistry → createSelection → createGroup → createFeatures
|
|
4238
4413
|
* Integrates with useTokens for token-based features.
|
|
@@ -4263,7 +4438,10 @@ function useDate(namespace = "v0:date") {
|
|
|
4263
4438
|
function createFeatures(_options = {}) {
|
|
4264
4439
|
const { features, ...options } = _options;
|
|
4265
4440
|
const tokens = createTokens(features, { flat: true });
|
|
4266
|
-
const registry = createGroup(
|
|
4441
|
+
const registry = createGroup({
|
|
4442
|
+
...options,
|
|
4443
|
+
reactive: true
|
|
4444
|
+
});
|
|
4267
4445
|
for (const [id, { value }] of tokens.entries()) register({
|
|
4268
4446
|
id,
|
|
4269
4447
|
value
|
|
@@ -4282,10 +4460,22 @@ function createFeatures(_options = {}) {
|
|
|
4282
4460
|
if (/* @__PURE__ */ isBoolean(ticket.value) && ticket.value === true || /* @__PURE__ */ isObject(ticket.value) && /* @__PURE__ */ isBoolean(ticket.value.$value) && ticket.value.$value === true) registry.select(ticket.id);
|
|
4283
4461
|
return ticket;
|
|
4284
4462
|
}
|
|
4463
|
+
function sync(flags) {
|
|
4464
|
+
for (const [id, value] of Object.entries(flags)) if (registry.get(id)) {
|
|
4465
|
+
const shouldSelect = /* @__PURE__ */ isBoolean(value) ? value === true : /* @__PURE__ */ isObject(value) && /* @__PURE__ */ isBoolean(value.$value) && value.$value === true;
|
|
4466
|
+
registry.upsert(id, { value });
|
|
4467
|
+
if (shouldSelect) registry.select(id);
|
|
4468
|
+
else registry.unselect(id);
|
|
4469
|
+
} else register({
|
|
4470
|
+
id,
|
|
4471
|
+
value
|
|
4472
|
+
});
|
|
4473
|
+
}
|
|
4285
4474
|
return {
|
|
4286
4475
|
...registry,
|
|
4287
4476
|
variation,
|
|
4288
4477
|
register,
|
|
4478
|
+
sync,
|
|
4289
4479
|
get size() {
|
|
4290
4480
|
return registry.size;
|
|
4291
4481
|
}
|
|
@@ -4354,7 +4544,7 @@ function createFeaturesContext(_options = {}) {
|
|
|
4354
4544
|
* ```
|
|
4355
4545
|
*/
|
|
4356
4546
|
function createFeaturesPlugin(_options = {}) {
|
|
4357
|
-
const { namespace = "v0:features", ...options } = _options;
|
|
4547
|
+
const { namespace = "v0:features", adapter, ...options } = _options;
|
|
4358
4548
|
const [, provideFeaturesContext, context] = createFeaturesContext({
|
|
4359
4549
|
...options,
|
|
4360
4550
|
namespace
|
|
@@ -4363,6 +4553,17 @@ function createFeaturesPlugin(_options = {}) {
|
|
|
4363
4553
|
namespace,
|
|
4364
4554
|
provide: (app) => {
|
|
4365
4555
|
provideFeaturesContext(context, app);
|
|
4556
|
+
},
|
|
4557
|
+
setup: (app) => {
|
|
4558
|
+
if (!adapter) return;
|
|
4559
|
+
const adapters = /* @__PURE__ */ isArray(adapter) ? adapter : [adapter];
|
|
4560
|
+
for (const adapter$1 of adapters) {
|
|
4561
|
+
const initialFlags = adapter$1.setup((flags) => {
|
|
4562
|
+
context.sync(flags);
|
|
4563
|
+
});
|
|
4564
|
+
context.sync(initialFlags);
|
|
4565
|
+
if (/* @__PURE__ */ isFunction(adapter$1.dispose)) app.onUnmount(() => adapter$1.dispose());
|
|
4566
|
+
}
|
|
4366
4567
|
}
|
|
4367
4568
|
});
|
|
4368
4569
|
}
|
|
@@ -5253,17 +5454,17 @@ function useIntersectionObserver(target, callback, options = {}) {
|
|
|
5253
5454
|
}]);
|
|
5254
5455
|
}
|
|
5255
5456
|
watch(() => targetRef.value, (el, oldEl) => {
|
|
5256
|
-
if (oldEl) cleanup();
|
|
5457
|
+
if (oldEl || observer.value) cleanup();
|
|
5257
5458
|
if (isHydrated.value && el) setup();
|
|
5258
5459
|
}, { immediate: true });
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
}
|
|
5266
|
-
}
|
|
5460
|
+
let stopHydrationWatch;
|
|
5461
|
+
if (!isHydrated.value) stopHydrationWatch = watch(() => isHydrated.value, (hydrated) => {
|
|
5462
|
+
if (hydrated && targetRef.value && !observer.value) {
|
|
5463
|
+
setup();
|
|
5464
|
+
stopHydrationWatch?.();
|
|
5465
|
+
stopHydrationWatch = void 0;
|
|
5466
|
+
}
|
|
5467
|
+
});
|
|
5267
5468
|
function cleanup() {
|
|
5268
5469
|
if (observer.value) {
|
|
5269
5470
|
observer.value.disconnect();
|
|
@@ -5280,6 +5481,8 @@ function useIntersectionObserver(target, callback, options = {}) {
|
|
|
5280
5481
|
setup();
|
|
5281
5482
|
}
|
|
5282
5483
|
function stop() {
|
|
5484
|
+
stopHydrationWatch?.();
|
|
5485
|
+
stopHydrationWatch = void 0;
|
|
5283
5486
|
cleanup();
|
|
5284
5487
|
observer.value = null;
|
|
5285
5488
|
}
|
|
@@ -5668,17 +5871,17 @@ function useMutationObserver(target, callback, options = {}) {
|
|
|
5668
5871
|
}
|
|
5669
5872
|
}
|
|
5670
5873
|
watch(() => targetRef.value, (el, oldEl) => {
|
|
5671
|
-
if (oldEl) cleanup();
|
|
5874
|
+
if (oldEl || observer.value) cleanup();
|
|
5672
5875
|
if (isHydrated.value && el) setup();
|
|
5673
5876
|
}, { immediate: true });
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
}
|
|
5681
|
-
}
|
|
5877
|
+
let stopHydrationWatch;
|
|
5878
|
+
if (!isHydrated.value) stopHydrationWatch = watch(() => isHydrated.value, (hydrated) => {
|
|
5879
|
+
if (hydrated && targetRef.value && !observer.value) {
|
|
5880
|
+
setup();
|
|
5881
|
+
stopHydrationWatch?.();
|
|
5882
|
+
stopHydrationWatch = void 0;
|
|
5883
|
+
}
|
|
5884
|
+
});
|
|
5682
5885
|
function cleanup() {
|
|
5683
5886
|
if (observer.value) {
|
|
5684
5887
|
observer.value.disconnect();
|
|
@@ -5694,6 +5897,8 @@ function useMutationObserver(target, callback, options = {}) {
|
|
|
5694
5897
|
setup();
|
|
5695
5898
|
}
|
|
5696
5899
|
function stop() {
|
|
5900
|
+
stopHydrationWatch?.();
|
|
5901
|
+
stopHydrationWatch = void 0;
|
|
5697
5902
|
cleanup();
|
|
5698
5903
|
observer.value = null;
|
|
5699
5904
|
}
|
|
@@ -6305,17 +6510,17 @@ function useResizeObserver(target, callback, options = {}) {
|
|
|
6305
6510
|
}
|
|
6306
6511
|
}
|
|
6307
6512
|
watch(() => targetRef.value, (el, oldEl) => {
|
|
6308
|
-
if (oldEl) cleanup();
|
|
6513
|
+
if (oldEl || observer.value) cleanup();
|
|
6309
6514
|
if (isHydrated.value && el) setup();
|
|
6310
6515
|
}, { immediate: true });
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
|
|
6315
|
-
|
|
6316
|
-
|
|
6317
|
-
}
|
|
6318
|
-
}
|
|
6516
|
+
let stopHydrationWatch;
|
|
6517
|
+
if (!isHydrated.value) stopHydrationWatch = watch(() => isHydrated.value, (hydrated) => {
|
|
6518
|
+
if (hydrated && targetRef.value && !observer.value) {
|
|
6519
|
+
setup();
|
|
6520
|
+
stopHydrationWatch?.();
|
|
6521
|
+
stopHydrationWatch = void 0;
|
|
6522
|
+
}
|
|
6523
|
+
});
|
|
6319
6524
|
function cleanup() {
|
|
6320
6525
|
if (observer.value) {
|
|
6321
6526
|
observer.value.disconnect();
|
|
@@ -6331,6 +6536,8 @@ function useResizeObserver(target, callback, options = {}) {
|
|
|
6331
6536
|
setup();
|
|
6332
6537
|
}
|
|
6333
6538
|
function stop() {
|
|
6539
|
+
stopHydrationWatch?.();
|
|
6540
|
+
stopHydrationWatch = void 0;
|
|
6334
6541
|
cleanup();
|
|
6335
6542
|
observer.value = null;
|
|
6336
6543
|
}
|
|
@@ -7324,8 +7531,9 @@ function createStep(_options = {}) {
|
|
|
7324
7531
|
* Creates a new step context.
|
|
7325
7532
|
*
|
|
7326
7533
|
* @param options The options for the step context.
|
|
7327
|
-
* @template Z The
|
|
7328
|
-
* @template E The
|
|
7534
|
+
* @template Z The input ticket type.
|
|
7535
|
+
* @template E The output ticket type.
|
|
7536
|
+
* @template R The context type.
|
|
7329
7537
|
* @returns A new step context.
|
|
7330
7538
|
*
|
|
7331
7539
|
* @see https://0.vuetifyjs.com/composables/selection/use-step
|
|
@@ -7358,6 +7566,9 @@ function createStepContext(_options = {}) {
|
|
|
7358
7566
|
* Returns the current step instance.
|
|
7359
7567
|
*
|
|
7360
7568
|
* @param namespace The namespace for the step context. Defaults to `'v0:step'`.
|
|
7569
|
+
* @template Z The input ticket type.
|
|
7570
|
+
* @template E The output ticket type.
|
|
7571
|
+
* @template R The context type.
|
|
7361
7572
|
* @returns The current step instance.
|
|
7362
7573
|
*
|
|
7363
7574
|
* @see https://0.vuetifyjs.com/composables/selection/use-step
|
|
@@ -9968,11 +10179,13 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
9968
10179
|
});
|
|
9969
10180
|
watch(context.isSelected, (isOpen) => {
|
|
9970
10181
|
const element = ref$1.value?.element;
|
|
9971
|
-
if (!element
|
|
10182
|
+
if (!element?.isConnected) return;
|
|
10183
|
+
if (isOpen === element.matches?.(":popover-open")) return;
|
|
9972
10184
|
if (isOpen) element.showPopover?.();
|
|
9973
10185
|
else element.hidePopover?.();
|
|
9974
10186
|
});
|
|
9975
10187
|
function onToggle(e) {
|
|
10188
|
+
if (!ref$1.value?.element?.isConnected) return;
|
|
9976
10189
|
context.isSelected.value = e.newState === "open";
|
|
9977
10190
|
}
|
|
9978
10191
|
/* v8 ignore stop */
|
|
@@ -10037,6 +10250,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
10037
10250
|
ariaDescribedby: {},
|
|
10038
10251
|
ariaRequired: { type: Boolean },
|
|
10039
10252
|
name: {},
|
|
10253
|
+
activation: { default: "automatic" },
|
|
10040
10254
|
as: { default: "div" },
|
|
10041
10255
|
renderless: { type: Boolean }
|
|
10042
10256
|
}, {
|
|
@@ -10054,11 +10268,13 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
10054
10268
|
useProxyModel(single, model, { multiple: false });
|
|
10055
10269
|
provideRadioGroup(__props.namespace, {
|
|
10056
10270
|
...single,
|
|
10057
|
-
name: __props.name
|
|
10271
|
+
name: __props.name,
|
|
10272
|
+
activation: toRef(() => __props.activation)
|
|
10058
10273
|
});
|
|
10059
10274
|
const slotProps = toRef(() => ({
|
|
10060
10275
|
isDisabled: toValue(single.disabled),
|
|
10061
10276
|
isNoneSelected: single.selectedIds.size === 0,
|
|
10277
|
+
activation: __props.activation,
|
|
10062
10278
|
attrs: {
|
|
10063
10279
|
"role": "radiogroup",
|
|
10064
10280
|
"aria-label": __props.label || void 0,
|
|
@@ -10133,7 +10349,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
10133
10349
|
select();
|
|
10134
10350
|
}
|
|
10135
10351
|
function onKeydown(e) {
|
|
10136
|
-
if (e.key === " ") {
|
|
10352
|
+
if (e.key === " " || e.key === "Enter") {
|
|
10137
10353
|
e.preventDefault();
|
|
10138
10354
|
select();
|
|
10139
10355
|
return;
|
|
@@ -10153,7 +10369,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
10153
10369
|
else nextIndex = currentIndex === items.length - 1 ? 0 : currentIndex + 1;
|
|
10154
10370
|
const nextItem = items[nextIndex];
|
|
10155
10371
|
if (!nextItem) return;
|
|
10156
|
-
nextItem.select();
|
|
10372
|
+
if (group.activation.value === "automatic") nextItem.select();
|
|
10157
10373
|
toValue(nextItem.el)?.focus();
|
|
10158
10374
|
}
|
|
10159
10375
|
onUnmounted(() => {
|
|
@@ -10997,4 +11213,4 @@ const Tabs = {
|
|
|
10997
11213
|
};
|
|
10998
11214
|
|
|
10999
11215
|
//#endregion
|
|
11000
|
-
export { Atom_default as Atom, Avatar, AvatarFallback_default as AvatarFallback, AvatarImage_default as AvatarImage, AvatarRoot_default as AvatarRoot, COMMON_ELEMENTS, Checkbox, CheckboxGroup_default as CheckboxGroup, CheckboxHiddenInput_default as CheckboxHiddenInput, CheckboxIndicator_default as CheckboxIndicator, CheckboxRoot_default as CheckboxRoot, CheckboxSelectAll_default as CheckboxSelectAll, ConsolaLoggerAdapter, Dialog, DialogActivator_default as DialogActivator, DialogClose_default as DialogClose, DialogContent_default as DialogContent, DialogDescription_default as DialogDescription, DialogRoot_default as DialogRoot, DialogTitle_default as DialogTitle, ExpansionPanel, ExpansionPanelActivator_default as ExpansionPanelActivator, ExpansionPanelContent_default as ExpansionPanelContent, ExpansionPanelHeader_default as ExpansionPanelHeader, ExpansionPanelItem_default as ExpansionPanelItem, ExpansionPanelRoot_default as ExpansionPanelRoot, Group, GroupItem_default as GroupItem, GroupRoot_default as GroupRoot, IN_BROWSER, MemoryAdapter, Pagination, PaginationEllipsis_default as PaginationEllipsis, PaginationFirst_default as PaginationFirst, PaginationItem_default as PaginationItem, PaginationLast_default as PaginationLast, PaginationNext_default as PaginationNext, PaginationPrev_default as PaginationPrev, PaginationRoot_default as PaginationRoot, PaginationStatus_default as PaginationStatus, PermissionAdapter, PinoLoggerAdapter, Popover, PopoverActivator_default as PopoverActivator, PopoverContent_default as PopoverContent, PopoverRoot_default as PopoverRoot, Radio, RadioGroup_default as RadioGroup, RadioHiddenInput_default as RadioHiddenInput, RadioIndicator_default as RadioIndicator, RadioRoot_default as RadioRoot, SELF_CLOSING_TAGS, SUPPORTS_INTERSECTION_OBSERVER, SUPPORTS_MATCH_MEDIA, SUPPORTS_MUTATION_OBSERVER, SUPPORTS_OBSERVER, SUPPORTS_TOUCH, Selection, SelectionItem_default as SelectionItem, SelectionRoot_default as SelectionRoot, Single, SingleItem_default as SingleItem, SingleRoot_default as SingleRoot, Step, StepItem_default as StepItem, StepRoot_default as StepRoot, Tabs, TabsItem_default as TabsItem, TabsList_default as TabsList, TabsPanel_default as TabsPanel, TabsRoot_default as TabsRoot, Vuetify0LocaleAdapter, Vuetify0LoggerAdapter, Vuetify0ThemeAdapter, __LOGGER_ENABLED__, clamp, createBreakpoints, createBreakpointsContext, createBreakpointsPlugin, createContext, createDate, createDateContext, createDatePlugin, createFallbackHydration, createFeatures, createFeaturesContext, createFeaturesPlugin, createFilter, createFilterContext, createForm, createFormContext, createGroup, createGroupContext, createHydration, createHydrationContext, createHydrationPlugin, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, createLogger, createLoggerContext, createLoggerPlugin, createNested, createNestedContext, createOverflow, createOverflowContext, createPagination, createPaginationContext, createPermissions, createPermissionsContext, createPermissionsPlugin, createPlugin, createQueue, createQueueContext, createRegistry, createRegistryContext, createSelection, createSelectionContext, createSingle, createSingleContext, createStep, createStepContext, createStorage, createStorageContext, createStoragePlugin, createTheme, createThemeContext, createThemePlugin, createTimeline, createTimelineContext, createTokens, createTokensContext, createTrinity, debounce, instanceExists, instanceName, isArray, isBoolean, isFunction, isNaN, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isSelfClosingTag, isString, isSymbol, isUndefined, mergeDeep, multipleOpenStrategy, provideAvatarContext, provideCheckboxGroup, provideCheckboxRoot, provideContext, provideDialogContext, provideExpansionPanelItem, provideExpansionPanelSelection, provideGroupRoot, providePaginationControls, providePaginationItems, providePaginationRoot, providePopoverContext, provideRadioGroup, provideRadioRoot, provideSelectionRoot, provideSingleRoot, provideStepRoot, provideTabsRoot, range, singleOpenStrategy, toArray, toReactive, useAvatarRoot, useBreakpoints, useCheckboxGroup, useCheckboxRoot, useClickOutside, useContext, useDate, useDialogContext, useDocumentEventListener, useElementIntersection, useElementSize, useEventListener, useExpansionPanelItem, useExpansionPanelRoot, useFeatures, useFilter, useFilterContext, useForm, useGroup, useGroupRoot, useHotkey, useHydration, useId, useIntersectionObserver, useLazy, useLocale, useLogger, useMediaQuery, useMutationObserver, useNested, useOverflow, usePagination, usePaginationControls, usePaginationItems, usePaginationRoot, usePermissions, usePopoverContext, usePrefersContrast, usePrefersDark, usePrefersReducedMotion, useProxyModel, useProxyRegistry, useQueue, useRadioGroup, useRadioRoot, useResizeObserver, useSelection, useSelectionRoot, useSingle, useSingleRoot, useStep, useStepRoot, useStorage, useTabsRoot, useTheme, useTimeline, useToggleScope, useTokens, useVirtual, useWindowEventListener, version };
|
|
11216
|
+
export { Atom_default as Atom, Avatar, AvatarFallback_default as AvatarFallback, AvatarImage_default as AvatarImage, AvatarRoot_default as AvatarRoot, COMMON_ELEMENTS, Checkbox, CheckboxGroup_default as CheckboxGroup, CheckboxHiddenInput_default as CheckboxHiddenInput, CheckboxIndicator_default as CheckboxIndicator, CheckboxRoot_default as CheckboxRoot, CheckboxSelectAll_default as CheckboxSelectAll, ConsolaLoggerAdapter, Dialog, DialogActivator_default as DialogActivator, DialogClose_default as DialogClose, DialogContent_default as DialogContent, DialogDescription_default as DialogDescription, DialogRoot_default as DialogRoot, DialogTitle_default as DialogTitle, ExpansionPanel, ExpansionPanelActivator_default as ExpansionPanelActivator, ExpansionPanelContent_default as ExpansionPanelContent, ExpansionPanelHeader_default as ExpansionPanelHeader, ExpansionPanelItem_default as ExpansionPanelItem, ExpansionPanelRoot_default as ExpansionPanelRoot, FeaturesAdapter, FlagsmithFeatureAdapter, Group, GroupItem_default as GroupItem, GroupRoot_default as GroupRoot, IN_BROWSER, LaunchDarklyFeatureAdapter, MemoryAdapter, Pagination, PaginationEllipsis_default as PaginationEllipsis, PaginationFirst_default as PaginationFirst, PaginationItem_default as PaginationItem, PaginationLast_default as PaginationLast, PaginationNext_default as PaginationNext, PaginationPrev_default as PaginationPrev, PaginationRoot_default as PaginationRoot, PaginationStatus_default as PaginationStatus, PermissionAdapter, PinoLoggerAdapter, Popover, PopoverActivator_default as PopoverActivator, PopoverContent_default as PopoverContent, PopoverRoot_default as PopoverRoot, PostHogFeatureAdapter, Radio, RadioGroup_default as RadioGroup, RadioHiddenInput_default as RadioHiddenInput, RadioIndicator_default as RadioIndicator, RadioRoot_default as RadioRoot, SELF_CLOSING_TAGS, SUPPORTS_INTERSECTION_OBSERVER, SUPPORTS_MATCH_MEDIA, SUPPORTS_MUTATION_OBSERVER, SUPPORTS_OBSERVER, SUPPORTS_TOUCH, Selection, SelectionItem_default as SelectionItem, SelectionRoot_default as SelectionRoot, Single, SingleItem_default as SingleItem, SingleRoot_default as SingleRoot, Step, StepItem_default as StepItem, StepRoot_default as StepRoot, Tabs, TabsItem_default as TabsItem, TabsList_default as TabsList, TabsPanel_default as TabsPanel, TabsRoot_default as TabsRoot, Vuetify0LocaleAdapter, Vuetify0LoggerAdapter, Vuetify0ThemeAdapter, __LOGGER_ENABLED__, clamp, createBreakpoints, createBreakpointsContext, createBreakpointsPlugin, createContext, createDate, createDateContext, createDatePlugin, createFallbackHydration, createFeatures, createFeaturesContext, createFeaturesPlugin, createFilter, createFilterContext, createForm, createFormContext, createGroup, createGroupContext, createHydration, createHydrationContext, createHydrationPlugin, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, createLogger, createLoggerContext, createLoggerPlugin, createNested, createNestedContext, createOverflow, createOverflowContext, createPagination, createPaginationContext, createPermissions, createPermissionsContext, createPermissionsPlugin, createPlugin, createQueue, createQueueContext, createRegistry, createRegistryContext, createSelection, createSelectionContext, createSingle, createSingleContext, createStep, createStepContext, createStorage, createStorageContext, createStoragePlugin, createTheme, createThemeContext, createThemePlugin, createTimeline, createTimelineContext, createTokens, createTokensContext, createTrinity, debounce, instanceExists, instanceName, isArray, isBoolean, isFunction, isNaN, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isSelfClosingTag, isString, isSymbol, isUndefined, mergeDeep, multipleOpenStrategy, provideAvatarContext, provideCheckboxGroup, provideCheckboxRoot, provideContext, provideDialogContext, provideExpansionPanelItem, provideExpansionPanelSelection, provideGroupRoot, providePaginationControls, providePaginationItems, providePaginationRoot, providePopoverContext, provideRadioGroup, provideRadioRoot, provideSelectionRoot, provideSingleRoot, provideStepRoot, provideTabsRoot, range, singleOpenStrategy, toArray, toReactive, useAvatarRoot, useBreakpoints, useCheckboxGroup, useCheckboxRoot, useClickOutside, useContext, useDate, useDialogContext, useDocumentEventListener, useElementIntersection, useElementSize, useEventListener, useExpansionPanelItem, useExpansionPanelRoot, useFeatures, useFilter, useFilterContext, useForm, useGroup, useGroupRoot, useHotkey, useHydration, useId, useIntersectionObserver, useLazy, useLocale, useLogger, useMediaQuery, useMutationObserver, useNested, useOverflow, usePagination, usePaginationControls, usePaginationItems, usePaginationRoot, usePermissions, usePopoverContext, usePrefersContrast, usePrefersDark, usePrefersReducedMotion, useProxyModel, useProxyRegistry, useQueue, useRadioGroup, useRadioRoot, useResizeObserver, useSelection, useSelectionRoot, useSingle, useSingleRoot, useStep, useStepRoot, useStorage, useTabsRoot, useTheme, useTimeline, useToggleScope, useTokens, useVirtual, useWindowEventListener, version };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../index-
|
|
2
|
-
import { $ as RadioRootSlotProps, $n as
|
|
3
|
-
import "../index-
|
|
4
|
-
export { _default as Atom, AtomExpose, AtomProps, AtomSlots, Avatar, AvatarContext, _default$1 as AvatarFallback, AvatarFallbackProps, AvatarFallbackSlotProps, _default$2 as AvatarImage, AvatarImageEmits, AvatarImageProps, AvatarImageSlotProps, _default$3 as AvatarRoot, AvatarRootProps, AvatarTicket, Checkbox, _default$4 as CheckboxGroup, CheckboxGroupProps, CheckboxGroupSlotProps, _default$5 as CheckboxHiddenInput, CheckboxHiddenInputProps, _default$6 as CheckboxIndicator, CheckboxIndicatorProps, CheckboxIndicatorSlotProps, _default$7 as CheckboxRoot, CheckboxRootContext, CheckboxRootProps, CheckboxRootSlotProps, _default$8 as CheckboxSelectAll, CheckboxSelectAllProps, CheckboxSelectAllSlotProps, CheckboxState, Dialog, _default$9 as DialogActivator, DialogActivatorProps, DialogActivatorSlotProps, _default$10 as DialogClose, DialogCloseProps, DialogCloseSlotProps, _default$11 as DialogContent, DialogContentEmits, DialogContentProps, DialogContentSlotProps, DialogContext, _default$12 as DialogDescription, DialogDescriptionProps, DialogDescriptionSlotProps, _default$13 as DialogRoot, DialogRootProps, DialogRootSlotProps, _default$14 as DialogTitle, DialogTitleProps, DialogTitleSlotProps, ExpansionPanel, _default$15 as ExpansionPanelActivator, ExpansionPanelActivatorProps, ExpansionPanelActivatorSlotProps, _default$16 as ExpansionPanelContent, ExpansionPanelContentProps, ExpansionPanelContentSlotProps, _default$17 as ExpansionPanelHeader, ExpansionPanelHeaderProps, ExpansionPanelHeaderSlotProps, _default$18 as ExpansionPanelItem, ExpansionPanelItemContext, ExpansionPanelItemProps, ExpansionPanelItemSlotProps, ExpansionPanelOptionsContext, _default$19 as ExpansionPanelRoot, ExpansionPanelRootProps, ExpansionPanelRootSlotProps, Group, _default$20 as GroupItem, GroupItemProps, GroupItemSlotProps, _default$21 as GroupRoot, GroupRootProps, GroupRootSlotProps, Pagination, _default$22 as PaginationEllipsis, PaginationEllipsisProps, PaginationEllipsisSlotProps, _default$23 as PaginationFirst, PaginationFirstProps, PaginationFirstSlotProps, _default$24 as PaginationItem, PaginationItemProps, PaginationItemSlotProps, _default$25 as PaginationLast, PaginationLastProps, PaginationLastSlotProps, _default$26 as PaginationNext, PaginationNextProps, PaginationNextSlotProps, _default$27 as PaginationPrev, PaginationPrevProps, PaginationPrevSlotProps, _default$28 as PaginationRoot, PaginationRootProps, PaginationRootSlotProps, _default$29 as PaginationStatus, PaginationStatusProps, PaginationStatusSlotProps, Popover, _default$30 as PopoverActivator, PopoverActivatorProps, PopoverActivatorSlotProps, _default$31 as PopoverContent, PopoverContentEmits, PopoverContentProps, PopoverContentSlotProps, PopoverContext, _default$32 as PopoverRoot, PopoverRootProps, PopoverRootSlotProps, Radio, _default$33 as RadioGroup, RadioGroupContext, RadioGroupProps, RadioGroupSlotProps, _default$34 as RadioHiddenInput, RadioHiddenInputProps, _default$35 as RadioIndicator, RadioIndicatorProps, RadioIndicatorSlotProps, _default$36 as RadioRoot, RadioRootContext, RadioRootProps, RadioRootSlotProps, RadioState, RadioTicket, Selection, _default$37 as SelectionItem, SelectionItemProps, SelectionItemSlotProps, _default$38 as SelectionRoot, SelectionRootProps, SelectionRootSlotProps, Single, _default$39 as SingleItem, SingleItemProps, SingleItemSlotProps, _default$40 as SingleRoot, SingleRootProps, SingleRootSlotProps, Step, _default$41 as StepItem, StepItemProps, StepItemSlotProps, _default$42 as StepRoot, StepRootProps, StepRootSlotProps, Tabs, TabsActivation, TabsContext, _default$43 as TabsItem, TabsItemProps, TabsItemSlotProps, _default$44 as TabsList, TabsListProps, TabsListSlotProps, TabsOrientation, _default$45 as TabsPanel, TabsPanelProps, TabsPanelSlotProps, _default$46 as TabsRoot, TabsRootProps, TabsRootSlotProps, TabsTicket, provideAvatarContext, provideCheckboxGroup, provideCheckboxRoot, provideDialogContext, provideExpansionPanelItem, provideExpansionPanelSelection, provideGroupRoot, providePaginationControls, providePaginationItems, providePaginationRoot, providePopoverContext, provideRadioGroup, provideRadioRoot, provideSelectionRoot, provideSingleRoot, provideStepRoot, provideTabsRoot, useAvatarRoot, useCheckboxGroup, useCheckboxRoot, useDialogContext, useExpansionPanelItem, useExpansionPanelRoot, useGroupRoot, usePaginationControls, usePaginationItems, usePaginationRoot, usePopoverContext, useRadioGroup, useRadioRoot, useSelectionRoot, useSingleRoot, useStepRoot, useTabsRoot };
|
|
1
|
+
import "../index-DlxrzbvZ.mjs";
|
|
2
|
+
import { $ as RadioRootSlotProps, $n as DialogContext, $t as providePaginationControls, A as SingleItemProps, An as ExpansionPanelOptionsContext, Ar as AvatarImageEmits, At as PaginationStatusSlotProps, B as SelectionItemSlotProps, Bn as DialogDescriptionProps, Br as AtomExpose, Bt as _default$22, C as _default$41, Cn as _default$17, Cr as _default$4, Ct as PopoverRootProps, D as provideStepRoot, Dn as _default$18, Dr as AvatarFallbackProps, Dt as usePopoverContext, E as _default$42, En as ExpansionPanelItemSlotProps, Er as Avatar, Et as providePopoverContext, F as _default$40, Fn as useExpansionPanelRoot, Fr as AvatarRootProps, Ft as PaginationNextProps, G as provideSelectionRoot, Gn as _default$14, Gt as PaginationFirstSlotProps, H as SelectionRootProps, Hn as _default$12, Hr as AtomSlots, Ht as PaginationPrevSlotProps, I as provideSingleRoot, In as Dialog, Ir as AvatarTicket, It as PaginationNextSlotProps, J as RadioIndicatorProps, Jn as DialogContentSlotProps, Jt as PaginationItemSlotProps, K as useSelectionRoot, Kn as DialogContentEmits, Kt as _default$23, L as useSingleRoot, Ln as DialogCloseProps, Lr as _default$3, Lt as _default$26, M as _default$39, Mn as ExpansionPanelRootSlotProps, Mr as AvatarImageSlotProps, Mt as PaginationLastProps, N as SingleRootProps, Nn as _default$19, Nr as _default$2, Nt as PaginationLastSlotProps, O as useStepRoot, On as provideExpansionPanelItem, Or as AvatarFallbackSlotProps, Ot as Pagination, P as SingleRootSlotProps, Pn as provideExpansionPanelSelection, Pr as AvatarContext, Pt as _default$25, Q as RadioRootProps, Qn as _default$9, Qt as _default$28, R as Selection, Rn as DialogCloseSlotProps, Rr as provideAvatarContext, Rt as PaginationEllipsisProps, S as StepItemSlotProps, Sn as ExpansionPanelHeaderSlotProps, Sr as CheckboxGroupSlotProps, St as PopoverContext, T as StepRootSlotProps, Tn as ExpansionPanelItemProps, Tr as useCheckboxGroup, Tt as _default$32, U as SelectionRootSlotProps, Un as DialogTitleProps, Ur as _default, Ut as _default$27, V as _default$37, Vn as DialogDescriptionSlotProps, Vr as AtomProps, Vt as PaginationPrevProps, W as _default$38, Wn as DialogTitleSlotProps, Wt as PaginationFirstProps, X as _default$35, Xn as DialogActivatorProps, Xt as PaginationRootProps, Y as RadioIndicatorSlotProps, Yn as _default$11, Yt as _default$24, Z as RadioRootContext, Zn as DialogActivatorSlotProps, Zt as PaginationRootSlotProps, _ as _default$46, _n as _default$16, _r as provideCheckboxRoot, _t as PopoverContentSlotProps, a as TabsItemProps, an as Group, ar as Checkbox, at as _default$34, b as Step, bn as _default$15, br as _default$5, bt as PopoverActivatorSlotProps, c as TabsListProps, cn as _default$20, cr as _default$8, ct as RadioGroupProps, d as TabsActivation, dn as _default$21, dr as _default$6, dt as _default$33, en as providePaginationItems, er as DialogRootProps, et as RadioState, f as TabsContext, fn as provideGroupRoot, fr as CheckboxRootContext, ft as provideRadioGroup, g as TabsTicket, gn as ExpansionPanelContentSlotProps, gr as _default$7, gt as PopoverContentProps, h as TabsRootSlotProps, hn as ExpansionPanelContentProps, hr as CheckboxState, ht as PopoverContentEmits, i as _default$45, in as usePaginationRoot, ir as useDialogContext, it as RadioHiddenInputProps, j as SingleItemSlotProps, jn as ExpansionPanelRootProps, jr as AvatarImageProps, jt as _default$29, k as Single, kn as useExpansionPanelItem, kr as _default$1, kt as PaginationStatusProps, l as TabsListSlotProps, ln as GroupRootProps, lr as CheckboxIndicatorProps, lt as RadioGroupSlotProps, m as TabsRootProps, mn as ExpansionPanel, mr as CheckboxRootSlotProps, mt as Popover, n as TabsPanelProps, nn as usePaginationControls, nr as _default$13, nt as provideRadioRoot, o as TabsItemSlotProps, on as GroupItemProps, or as CheckboxSelectAllProps, ot as RadioActivation, p as TabsOrientation, pn as useGroupRoot, pr as CheckboxRootProps, pt as useRadioGroup, q as Radio, qn as DialogContentProps, qt as PaginationItemProps, r as TabsPanelSlotProps, rn as usePaginationItems, rr as provideDialogContext, rt as useRadioRoot, s as _default$43, sn as GroupItemSlotProps, sr as CheckboxSelectAllSlotProps, st as RadioGroupContext, t as Tabs, tn as providePaginationRoot, tr as DialogRootSlotProps, tt as _default$36, u as _default$44, un as GroupRootSlotProps, ur as CheckboxIndicatorSlotProps, ut as RadioTicket, v as provideTabsRoot, vn as ExpansionPanelActivatorProps, vr as useCheckboxRoot, vt as _default$31, w as StepRootProps, wn as ExpansionPanelItemContext, wr as provideCheckboxGroup, wt as PopoverRootSlotProps, x as StepItemProps, xn as ExpansionPanelHeaderProps, xr as CheckboxGroupProps, xt as _default$30, y as useTabsRoot, yn as ExpansionPanelActivatorSlotProps, yr as CheckboxHiddenInputProps, yt as PopoverActivatorProps, z as SelectionItemProps, zn as _default$10, zr as useAvatarRoot, zt as PaginationEllipsisSlotProps } from "../index-CSjKBMhp.mjs";
|
|
3
|
+
import "../index-t-t6sAn3.mjs";
|
|
4
|
+
export { _default as Atom, AtomExpose, AtomProps, AtomSlots, Avatar, AvatarContext, _default$1 as AvatarFallback, AvatarFallbackProps, AvatarFallbackSlotProps, _default$2 as AvatarImage, AvatarImageEmits, AvatarImageProps, AvatarImageSlotProps, _default$3 as AvatarRoot, AvatarRootProps, AvatarTicket, Checkbox, _default$4 as CheckboxGroup, CheckboxGroupProps, CheckboxGroupSlotProps, _default$5 as CheckboxHiddenInput, CheckboxHiddenInputProps, _default$6 as CheckboxIndicator, CheckboxIndicatorProps, CheckboxIndicatorSlotProps, _default$7 as CheckboxRoot, CheckboxRootContext, CheckboxRootProps, CheckboxRootSlotProps, _default$8 as CheckboxSelectAll, CheckboxSelectAllProps, CheckboxSelectAllSlotProps, CheckboxState, Dialog, _default$9 as DialogActivator, DialogActivatorProps, DialogActivatorSlotProps, _default$10 as DialogClose, DialogCloseProps, DialogCloseSlotProps, _default$11 as DialogContent, DialogContentEmits, DialogContentProps, DialogContentSlotProps, DialogContext, _default$12 as DialogDescription, DialogDescriptionProps, DialogDescriptionSlotProps, _default$13 as DialogRoot, DialogRootProps, DialogRootSlotProps, _default$14 as DialogTitle, DialogTitleProps, DialogTitleSlotProps, ExpansionPanel, _default$15 as ExpansionPanelActivator, ExpansionPanelActivatorProps, ExpansionPanelActivatorSlotProps, _default$16 as ExpansionPanelContent, ExpansionPanelContentProps, ExpansionPanelContentSlotProps, _default$17 as ExpansionPanelHeader, ExpansionPanelHeaderProps, ExpansionPanelHeaderSlotProps, _default$18 as ExpansionPanelItem, ExpansionPanelItemContext, ExpansionPanelItemProps, ExpansionPanelItemSlotProps, ExpansionPanelOptionsContext, _default$19 as ExpansionPanelRoot, ExpansionPanelRootProps, ExpansionPanelRootSlotProps, Group, _default$20 as GroupItem, GroupItemProps, GroupItemSlotProps, _default$21 as GroupRoot, GroupRootProps, GroupRootSlotProps, Pagination, _default$22 as PaginationEllipsis, PaginationEllipsisProps, PaginationEllipsisSlotProps, _default$23 as PaginationFirst, PaginationFirstProps, PaginationFirstSlotProps, _default$24 as PaginationItem, PaginationItemProps, PaginationItemSlotProps, _default$25 as PaginationLast, PaginationLastProps, PaginationLastSlotProps, _default$26 as PaginationNext, PaginationNextProps, PaginationNextSlotProps, _default$27 as PaginationPrev, PaginationPrevProps, PaginationPrevSlotProps, _default$28 as PaginationRoot, PaginationRootProps, PaginationRootSlotProps, _default$29 as PaginationStatus, PaginationStatusProps, PaginationStatusSlotProps, Popover, _default$30 as PopoverActivator, PopoverActivatorProps, PopoverActivatorSlotProps, _default$31 as PopoverContent, PopoverContentEmits, PopoverContentProps, PopoverContentSlotProps, PopoverContext, _default$32 as PopoverRoot, PopoverRootProps, PopoverRootSlotProps, Radio, RadioActivation, _default$33 as RadioGroup, RadioGroupContext, RadioGroupProps, RadioGroupSlotProps, _default$34 as RadioHiddenInput, RadioHiddenInputProps, _default$35 as RadioIndicator, RadioIndicatorProps, RadioIndicatorSlotProps, _default$36 as RadioRoot, RadioRootContext, RadioRootProps, RadioRootSlotProps, RadioState, RadioTicket, Selection, _default$37 as SelectionItem, SelectionItemProps, SelectionItemSlotProps, _default$38 as SelectionRoot, SelectionRootProps, SelectionRootSlotProps, Single, _default$39 as SingleItem, SingleItemProps, SingleItemSlotProps, _default$40 as SingleRoot, SingleRootProps, SingleRootSlotProps, Step, _default$41 as StepItem, StepItemProps, StepItemSlotProps, _default$42 as StepRoot, StepRootProps, StepRootSlotProps, Tabs, TabsActivation, TabsContext, _default$43 as TabsItem, TabsItemProps, TabsItemSlotProps, _default$44 as TabsList, TabsListProps, TabsListSlotProps, TabsOrientation, _default$45 as TabsPanel, TabsPanelProps, TabsPanelSlotProps, _default$46 as TabsRoot, TabsRootProps, TabsRootSlotProps, TabsTicket, provideAvatarContext, provideCheckboxGroup, provideCheckboxRoot, provideDialogContext, provideExpansionPanelItem, provideExpansionPanelSelection, provideGroupRoot, providePaginationControls, providePaginationItems, providePaginationRoot, providePopoverContext, provideRadioGroup, provideRadioRoot, provideSelectionRoot, provideSingleRoot, provideStepRoot, provideTabsRoot, useAvatarRoot, useCheckboxGroup, useCheckboxRoot, useDialogContext, useExpansionPanelItem, useExpansionPanelRoot, useGroupRoot, usePaginationControls, usePaginationItems, usePaginationRoot, usePopoverContext, useRadioGroup, useRadioRoot, useSelectionRoot, useSingleRoot, useStepRoot, useTabsRoot };
|