@kouji-ui/core 0.8.2 → 0.8.3
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.
|
@@ -223,10 +223,73 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
223
223
|
args: [{ providedIn: 'root' }]
|
|
224
224
|
}] });
|
|
225
225
|
|
|
226
|
+
/** Default `z-index` of the first (outermost) open overlay. */
|
|
227
|
+
const KJ_OVERLAY_Z_BASE_DEFAULT = 1000;
|
|
228
|
+
/**
|
|
229
|
+
* Base `z-index` of the overlay stack — the level the first open overlay
|
|
230
|
+
* gets; each nested overlay opened on top of it gets the next integer up.
|
|
231
|
+
* Override per app via DI, or at runtime with `--kj-overlay-z-base` on
|
|
232
|
+
* `:root` (the CSS custom property wins when both are set).
|
|
233
|
+
*/
|
|
234
|
+
const KJ_OVERLAY_Z_BASE = new InjectionToken('KJ_OVERLAY_Z_BASE', {
|
|
235
|
+
providedIn: 'root',
|
|
236
|
+
factory: () => KJ_OVERLAY_Z_BASE_DEFAULT,
|
|
237
|
+
});
|
|
238
|
+
/**
|
|
239
|
+
* CSS custom property every overlay panel / backdrop reads as
|
|
240
|
+
* `z-index: var(--kj-overlay-z, <default>)`. Written by
|
|
241
|
+
* {@link applyOverlayZIndex} on open and removed on close.
|
|
242
|
+
*/
|
|
243
|
+
const KJ_OVERLAY_Z_VAR = '--kj-overlay-z';
|
|
244
|
+
/**
|
|
245
|
+
* Writes the stack-assigned `z-index` for one overlay to the DOM: the panel
|
|
246
|
+
* receives `--kj-overlay-z` (so its component CSS resolves the level), and
|
|
247
|
+
* when the panel sits inside a `.kj-overlay-wrapper` the wrapper receives
|
|
248
|
+
* the same custom property plus an inline `z-index`. Giving the wrapper the
|
|
249
|
+
* `z-index` turns it into one stacking context per overlay, so a backdrop
|
|
250
|
+
* and its panel move as a unit and a nested overlay's wrapper always paints
|
|
251
|
+
* above its opener's — regardless of the fixed `z-index` each component's
|
|
252
|
+
* stylesheet declares.
|
|
253
|
+
*/
|
|
254
|
+
function applyOverlayZIndex(panel, zIndex) {
|
|
255
|
+
if (!panel)
|
|
256
|
+
return;
|
|
257
|
+
const z = String(zIndex);
|
|
258
|
+
panel.style.setProperty(KJ_OVERLAY_Z_VAR, z);
|
|
259
|
+
const wrapper = panel.parentElement;
|
|
260
|
+
if (wrapper?.classList.contains('kj-overlay-wrapper')) {
|
|
261
|
+
wrapper.style.setProperty(KJ_OVERLAY_Z_VAR, z);
|
|
262
|
+
wrapper.style.zIndex = z;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
/** Reverses {@link applyOverlayZIndex} — call before the panel leaves its wrapper. */
|
|
266
|
+
function clearOverlayZIndex(panel) {
|
|
267
|
+
if (!panel)
|
|
268
|
+
return;
|
|
269
|
+
panel.style.removeProperty(KJ_OVERLAY_Z_VAR);
|
|
270
|
+
const wrapper = panel.parentElement;
|
|
271
|
+
if (wrapper?.classList.contains('kj-overlay-wrapper')) {
|
|
272
|
+
wrapper.style.removeProperty(KJ_OVERLAY_Z_VAR);
|
|
273
|
+
wrapper.style.removeProperty('z-index');
|
|
274
|
+
}
|
|
275
|
+
}
|
|
226
276
|
/**
|
|
227
277
|
* Global coordinator for nested-overlay behaviour: stack ordering, Escape
|
|
228
|
-
* routing,
|
|
229
|
-
* Esc / outside-click — prevents the double-close problem.
|
|
278
|
+
* routing, outside-click detection, and z-index stacking. Only the topmost
|
|
279
|
+
* overlay receives Esc / outside-click — prevents the double-close problem.
|
|
280
|
+
*
|
|
281
|
+
* **Stacking.** Every overlay registers here when it opens and receives a
|
|
282
|
+
* `z-index` one above the highest overlay open at that moment (the first
|
|
283
|
+
* one gets the base, `1000` by default). The controller writes it to the
|
|
284
|
+
* panel and its wrapper as `--kj-overlay-z`, and every overlay stylesheet
|
|
285
|
+
* in the kit reads `z-index: var(--kj-overlay-z, …)`, so a select opened
|
|
286
|
+
* inside a command palette, a popover inside a dialog, or a dialog opened
|
|
287
|
+
* from a palette always paints above its opener. Closing an overlay pops it
|
|
288
|
+
* off the stack; the ones left keep their level, and the next overlay opens
|
|
289
|
+
* one above whatever is still open. Change the base app-wide with
|
|
290
|
+
* `KJ_OVERLAY_Z_BASE` (DI) or `--kj-overlay-z-base` on `:root`. Toasts are
|
|
291
|
+
* not part of the stack — they live in their own layer above it
|
|
292
|
+
* (`--kj-toast-z-index`, default `2000`).
|
|
230
293
|
*
|
|
231
294
|
* SSR-safe: every DOM access guarded by isPlatformBrowser.
|
|
232
295
|
*
|
|
@@ -234,11 +297,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
234
297
|
* @doc
|
|
235
298
|
* @doc-name overlay-stack
|
|
236
299
|
* @doc-is-main
|
|
237
|
-
* @doc-description Routes Escape and outside-click to only the topmost overlay when overlays are nested.
|
|
300
|
+
* @doc-description Routes Escape and outside-click to only the topmost overlay when overlays are nested, and stacks each nested overlay above its opener.
|
|
238
301
|
*/
|
|
239
302
|
class KjOverlayStack {
|
|
240
303
|
platformId = inject(PLATFORM_ID);
|
|
241
304
|
isBrowser = isPlatformBrowser(this.platformId);
|
|
305
|
+
configuredBase = inject(KJ_OVERLAY_Z_BASE);
|
|
242
306
|
_stack = signal([], /* @ts-ignore */
|
|
243
307
|
...(ngDevMode ? [{ debugName: "_stack" }] : /* istanbul ignore next */ []));
|
|
244
308
|
_listenersInstalled = false;
|
|
@@ -246,7 +310,7 @@ class KjOverlayStack {
|
|
|
246
310
|
_onPointerDown = (e) => this.handlePointerDown(e);
|
|
247
311
|
register(id, opts) {
|
|
248
312
|
if (!this.isBrowser) {
|
|
249
|
-
return { unregister: () => { }, isTopmost: computed(() => false) };
|
|
313
|
+
return { unregister: () => { }, isTopmost: computed(() => false), zIndex: this.configuredBase };
|
|
250
314
|
}
|
|
251
315
|
const entry = {
|
|
252
316
|
id,
|
|
@@ -256,6 +320,7 @@ class KjOverlayStack {
|
|
|
256
320
|
closeOnOutside: opts.closeOnOutside ?? true,
|
|
257
321
|
},
|
|
258
322
|
contentEl: null,
|
|
323
|
+
zIndex: this.nextZIndex,
|
|
259
324
|
};
|
|
260
325
|
this._stack.update(s => [...s, entry]);
|
|
261
326
|
this.ensureListeners();
|
|
@@ -270,6 +335,7 @@ class KjOverlayStack {
|
|
|
270
335
|
this.maybeRemoveListeners();
|
|
271
336
|
},
|
|
272
337
|
isTopmost,
|
|
338
|
+
zIndex: entry.zIndex,
|
|
273
339
|
};
|
|
274
340
|
}
|
|
275
341
|
markContentEl(id, el) {
|
|
@@ -280,6 +346,34 @@ class KjOverlayStack {
|
|
|
280
346
|
entry.contentEl = el;
|
|
281
347
|
}
|
|
282
348
|
get stackSize() { return this._stack().length; }
|
|
349
|
+
/** `z-index` of a registered overlay, or `null` when `id` is not open. */
|
|
350
|
+
zIndexOf(id) {
|
|
351
|
+
return this._stack().find(e => e.id === id)?.zIndex ?? null;
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* Base level of the stack: `--kj-overlay-z-base` on `:root` when it holds
|
|
355
|
+
* a number, otherwise the `KJ_OVERLAY_Z_BASE` token (default `1000`).
|
|
356
|
+
*/
|
|
357
|
+
get baseZIndex() {
|
|
358
|
+
if (this.isBrowser && typeof getComputedStyle === 'function') {
|
|
359
|
+
const raw = getComputedStyle(document.documentElement).getPropertyValue('--kj-overlay-z-base').trim();
|
|
360
|
+
const n = raw === '' ? NaN : Number(raw);
|
|
361
|
+
if (Number.isFinite(n))
|
|
362
|
+
return n;
|
|
363
|
+
}
|
|
364
|
+
return this.configuredBase;
|
|
365
|
+
}
|
|
366
|
+
/** The level the next overlay to open will receive: one above the topmost open one, or the base. */
|
|
367
|
+
get nextZIndex() {
|
|
368
|
+
const s = this._stack();
|
|
369
|
+
if (s.length === 0)
|
|
370
|
+
return this.baseZIndex;
|
|
371
|
+
let max = -Infinity;
|
|
372
|
+
for (const e of s)
|
|
373
|
+
if (e.zIndex > max)
|
|
374
|
+
max = e.zIndex;
|
|
375
|
+
return max + 1;
|
|
376
|
+
}
|
|
283
377
|
ensureListeners() {
|
|
284
378
|
if (this._listenersInstalled)
|
|
285
379
|
return;
|
|
@@ -429,6 +523,9 @@ class KjOverlayController {
|
|
|
429
523
|
this.stackHandle = this.stack.register(this.id, { onClose: () => this.close('esc') });
|
|
430
524
|
if (this._panel())
|
|
431
525
|
this.stack.markContentEl(this.id, this._panel());
|
|
526
|
+
// Stacking: the panel (and its wrapper, when portalled) take the level
|
|
527
|
+
// the stack just assigned — one above every overlay open right now.
|
|
528
|
+
applyOverlayZIndex(this._panel(), this.stackHandle.zIndex);
|
|
432
529
|
this.runTransition('open', () => {
|
|
433
530
|
this._state.set('open');
|
|
434
531
|
s.focusTrap?.focusFirst();
|
|
@@ -440,6 +537,7 @@ class KjOverlayController {
|
|
|
440
537
|
const s = this.strategies;
|
|
441
538
|
this.runTransition('close', () => {
|
|
442
539
|
s.focusTrap?.restoreFocus();
|
|
540
|
+
clearOverlayZIndex(this._panel());
|
|
443
541
|
this.stackHandle?.unregister();
|
|
444
542
|
this.stackHandle = null;
|
|
445
543
|
s.scrollLock?.onClose?.();
|
|
@@ -612,6 +710,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
612
710
|
* directly — a single positioned root owns z-stacking, pointer-events
|
|
613
711
|
* isolation, and cleanup ordering across the whole overlay system.
|
|
614
712
|
*
|
|
713
|
+
* Stacking inside the root is owned by `KjOverlayStack`: each wrapper gets
|
|
714
|
+
* an inline `z-index` (base `1000`, one higher per nested level) when its
|
|
715
|
+
* overlay opens, so a later overlay always paints above the ones already
|
|
716
|
+
* open. The root itself sits at `--kj-overlay-z-base` (default `1000`).
|
|
717
|
+
*
|
|
615
718
|
* @doc-category Core/Overlay
|
|
616
719
|
* @doc
|
|
617
720
|
* @doc-name overlay-container
|
|
@@ -15052,7 +15155,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
15052
15155
|
const KJ_TOAST_SONNER_STRATEGY = Object.freeze({
|
|
15053
15156
|
maxVisible: 3,
|
|
15054
15157
|
gap: 14,
|
|
15055
|
-
baseZIndex:
|
|
15158
|
+
baseZIndex: 2000,
|
|
15056
15159
|
positionX: 'end',
|
|
15057
15160
|
positionY: 'bottom',
|
|
15058
15161
|
duration: 4000,
|
|
@@ -15066,7 +15169,7 @@ const KJ_TOAST_SONNER_STRATEGY = Object.freeze({
|
|
|
15066
15169
|
const KJ_TOAST_LIST_STRATEGY = Object.freeze({
|
|
15067
15170
|
maxVisible: Number.POSITIVE_INFINITY,
|
|
15068
15171
|
gap: 8,
|
|
15069
|
-
baseZIndex:
|
|
15172
|
+
baseZIndex: 2000,
|
|
15070
15173
|
positionX: 'end',
|
|
15071
15174
|
positionY: 'bottom',
|
|
15072
15175
|
duration: 5000,
|
|
@@ -30440,5 +30543,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
30440
30543
|
* Generated bundle index. Do not edit.
|
|
30441
30544
|
*/
|
|
30442
30545
|
|
|
30443
|
-
export { DRAWER_DATA, DRAWER_DRAG, DRAWER_SIDE, EN_CATALOG, FR_CATALOG, KJ_ACCORDION, KJ_ACCORDION_ITEM, KJ_ALERT, KJ_ALERT_CONFIG, KJ_ALERT_DEFAULTS, KJ_AVATAR, KJ_AVATAR_GROUP, KJ_BREADCRUMB, KJ_BREADCRUMB_CONFIG, KJ_BREADCRUMB_DEFAULTS, KJ_BUTTON_CONFIG, KJ_BUTTON_DEFAULTS, KJ_BUTTON_GROUP, KJ_CALENDAR, KJ_CAROUSEL, KJ_CAROUSEL_INDICATORS, KJ_CAROUSEL_SLIDE, KJ_CASCADE_SELECT, KJ_CHAT, KJ_CHAT_BUBBLE_CONFIG, KJ_CHAT_BUBBLE_DEFAULTS, KJ_CHAT_CONFIG, KJ_CHAT_LOG, KJ_COLOR_PICKER, KJ_CONFIRM_POPUP, KJ_DATE_PICKER, KJ_DATE_RANGE_PRESETS, KJ_DROPDOWN_MENU, KJ_ECHARTS, KJ_FIELD, KJ_FILE_UPLOAD, KJ_FILE_UPLOAD_DEFAULT_MESSAGES, KJ_FILE_UPLOAD_ITEM, KJ_FORM, KJ_FORM_FIELD, KJ_ICON_CSS_PATH, KJ_ICON_ENTRIES, KJ_ICON_LOADER, KJ_ICON_REGISTRY, KJ_ICON_RESOLVER, KJ_INPUT_GROUP, KJ_INPUT_MASK_PRESETS, KJ_INPUT_MASK_TOKENS, KJ_INPUT_OTP, KJ_KBD_SIZE_PRESET, KJ_LINK_CONFIG, KJ_LINK_DEFAULTS, KJ_LIST, KJ_LIST_FOCUS_MODE, KJ_LIST_NAVIGATOR_CONFIG, KJ_LIST_ROW, KJ_LOCALE_CONFIG, KJ_MENUBAR, KJ_MONACO_CONFIG, KJ_MONACO_LANGUAGE_LOADERS, KJ_NUMBER_INPUT, KJ_OVERLAY_BACKDROP_STRATEGY, KJ_OVERLAY_BADGE, KJ_OVERLAY_FOCUS_TRAP_STRATEGY, KJ_OVERLAY_LIVE_ANNOUNCER_STRATEGY, KJ_OVERLAY_MOUNT_STRATEGY, KJ_OVERLAY_PANEL_ROLE, KJ_OVERLAY_POSITION_STRATEGY, KJ_OVERLAY_SCROLL_LOCK_STRATEGY, KJ_OVERLAY_TRIGGER_EVENT_STRATEGY, KJ_PAGINATION, KJ_PAGINATION_CONFIG, KJ_PAGINATION_DEFAULTS, KJ_PASSWORD_INPUT, KJ_PROGRESS_BAR, KJ_PROGRESS_BAR_CONFIG, KJ_PROGRESS_BAR_DEFAULTS, KJ_PROSE_CSS_PATH, KJ_RADIO_GROUP, KJ_RICH_TEXT, KJ_RICH_TEXT_EXTENSIONS, KJ_RICH_TEXT_FEATURES, KJ_RICH_TEXT_NODE, KJ_ROVING_TABINDEX, KJ_RTE_OVERLAY_DATA, KJ_SELECT, KJ_SIZE_FALLBACK, KJ_SIZE_PRESET, KJ_SLIDER, KJ_SPEED_DIAL, KJ_SPINNER_CONFIG, KJ_SPINNER_DEFAULTS, KJ_STEP, KJ_STEPPER, KJ_TABLE, KJ_TABLE_STORAGE, KJ_TABS, KJ_TABS_CONFIG, KJ_TABS_DEFAULTS, KJ_TAG, KJ_TAG_CONFIG, KJ_TAG_DEFAULTS, KJ_TAG_LIST, KJ_TEXTAREA_CONFIG, KJ_TEXTAREA_DEFAULTS, KJ_TIME_PICKER, KJ_TOAST_LIST_STRATEGY, KJ_TOAST_SONNER_STRATEGY, KJ_TOAST_STRATEGY, KJ_TRANSLATION_CATALOGS, KJ_TREE_SELECT, KJ_VARIANT_FALLBACK, KJ_VARIANT_PRESET, KjAccordion, KjAccordionContent, KjAccordionItem, KjAccordionTrigger, KjAlert, KjAlertActions, KjAlertDescription, KjAlertDismiss, KjAlertIcon, KjAlertTitle, KjAriaDescribedBy, KjAriaLabelledBy, KjAvatar, KjAvatarFallback, KjAvatarGroup, KjAvatarImage, KjBackdrop, KjBadge, KjBlockquote, KjBreadcrumb, KjBreadcrumbCurrent, KjBreadcrumbEllipsis, KjBreadcrumbItem, KjBreadcrumbLink, KjBreadcrumbList, KjBreadcrumbSeparator, KjButton, KjButtonGroup, KjCalendar, KjCalendarDay, KjCalendarGrid, KjCalendarHeader, KjCarousel, KjCarouselAutoplay, KjCarouselIndicator, KjCarouselIndicators, KjCarouselNext, KjCarouselPauseToggle, KjCarouselPrevious, KjCarouselSlide, KjCarouselViewport, KjCascadeSelect, KjCascadeSelectOption, KjCascadeSelectPanel, KjCascadeSelectSubPanel, KjCascadeSelectTrigger, KjChart, KjChartTableFallback, KjChat, KjChatAnnouncer, KjChatAvatar, KjChatBubble, KjChatFooter, KjChatHeader, KjChatLog, KjChatStore, KjCheckbox, KjCode, KjColorPicker, KjColorPickerAlphaSlider, KjColorPickerArea, KjColorPickerHueSlider, KjColorPickerInput, KjColorPickerPanel, KjColorPickerTrigger, KjCombobox, KjComboboxInput, KjComboboxListbox, KjComboboxOption, KjCommandEmpty, KjCommandGroup, KjCommandInput, KjCommandItem, KjCommandList, KjCommandPalette, KjCommandPaletteDialog, KjCommandPaletteTrigger, KjCommandSeparator, KjConfirmPopup, KjConfirmPopupAction, KjConfirmPopupCancel, KjConfirmPopupContent, KjConfirmPopupMessage, KjConfirmPopupTrigger, KjDatePicker, KjDatePickerCalendar, KjDatePickerTrigger, KjDateRangePresetOption, KjDateRangePresets, KjDialog$1 as KjDialog, KjDialogRef, KjDialog as KjDialogService, KjDirectionality, KjDisabled, KjDivider, KjDrawer, KjDrawerRef, KjDrawerService, KjDropdownMenu, KjDropdownMenuContent, KjDropdownMenuGroup, KjDropdownMenuItem, KjDropdownMenuLabel, KjDropdownMenuSeparator, KjDropdownMenuTrigger, KjEditor, KjEditorLoader, KjField, KjFieldError, KjFieldGroup, KjFieldHelp, KjFieldLabel, KjFileUpload, KjFileUploadDropzone, KjFileUploadItem, KjFileUploadList, KjFileUploadTrigger, KjFilterableList, KjFocusRing, KjFocusTrap, KjForm, KjFormControl, KjFormError, KjFormErrorSummary, KjFormField, KjFormLabel, KjIconDirective, KjId, KjInput, KjInputGroup, KjInputGroupAddon, KjInputMask, KjInputOtp, KjInputOtpCell, KjKbd, KjLead, KjLink, KjList, KjListGroup, KjListGroupLabel, KjListItem, KjListNavigator, KjListRow, KjListSeparator, KjLiveRegion, KjLocale, KjMenubar, KjMenubarItem, KjMotion, KjMuted, KjNumberInput, KjNumberInputGroup, KjNumberStepper, KjOption, KjOverflowContent, KjOverlayBadge, KjOverlayBadgeContent, KjOverlayBuilder, KjOverlayController, KjOverlayHandle, KjOverlayPanel, KjOverlayStack, KjOverlayTrigger, KjOverlayWrapper, KjPagination, KjPaginationEllipsis, KjPaginationFirst, KjPaginationInfo, KjPaginationItem, KjPaginationLast, KjPaginationNext, KjPaginationPrevious, KjPasswordCapsLockWarning, KjPasswordInput, KjPasswordInputScope, KjPasswordStrength, KjPasswordToggle, KjPopoverArrow, KjPopoverClose, KjPopoverContent, KjPopoverTitle, KjPopoverTrigger, KjProgressBar, KjProgressBarFill, KjRadio, KjRadioGroup, KjReducedMotion, KjRichTextEditor, KjRichTextExtensionDirective, KjRovingTabindex, KjRovingTabindexItemDirective, KjSelect, KjSelectContent, KjSelectTrigger, KjSelectionModel, KjSheet, KjSheetRef, KjSheetService, KjSize, KjSkeleton, KjSkipLink, KjSlider, KjSliderRange, KjSliderThumb, KjSliderTrack, KjSpeedDial, KjSpeedDialAction, KjSpeedDialActions, KjSpeedDialTrigger, KjSpinner, KjStep, KjStepContent, KjStepLabel, KjStepper, KjStepperNext, KjStepperPrevious, KjStepperReset, KjTab, KjTabList, KjTabPanel, KjTable, KjTableCell, KjTableFilterOutlet, KjTableHeader, KjTableKeyboardNav, KjTableRow, KjTabs, KjTag, KjTagList, KjTagRemove, KjTextarea, KjTimePicker, KjTimePickerHours, KjTimePickerMeridiem, KjTimePickerMinutes, KjTimePickerSeconds, KjToast, KjToastClose, KjToastPanel, KjToastRef, KjToastService, KjToastViewport, KjToggle, KjTooltipArrow, KjTooltipContent, KjTooltipGroup, KjTooltipTrigger, KjTranslate, KjTranslateService, KjTreeSelect, KjTreeSelectContent, KjTreeSelectNode, KjTreeSelectToggle, KjTreeSelectTrigger, KjTruncate, KjTypeAhead, KjVariant, KjVisuallyHidden, MaskEngine, SHEET_ARIA_LABEL, SHEET_DATA, SHEET_DETENT, SHEET_DISMISSIBLE, addDays, addMonths, addYears, anchoredTo, assertive, bindPresets, blurredBackdrop, bodyPortal, buildMonthMatrix, coalesceAnnouncement, compareDay, compileMask, corner, createKjDecoratorNode, createKjImageNode, cssClip, defaultDateRangePresets, defaultMaskTokens, defaultPasswordScorer, edgeSheet, endOfMonth, firstDayOfWeek, formatDateLong, formatDateShort, formatMonthYear, getIconMode, htmlOverflow, inContainer, inMemoryAdapter, inPlace, inPlaceSibling, inertBased, injectFilterableList, injectKjFilterParams, injectKjIconResolver, injectListItem, injectRichTextNode, injectRteOverlayData, injectSelectionModel, isInRange, isKjFilterModel, isSameDay, isSameMonth, kjColumn, kjColumnGroup, kjContainsFilter, kjDateFilterFn, kjFileMatchesAccept, kjFuzzyFilter, kjHsvToHsl, kjHsvToRgb, kjMultiFilterFn, kjNumberFilterFn, kjParseHex, kjRgbToHex, kjRgbToHsv, kjSetFilterFn, kjStartsWithFilter, kjSubstringFilter, kjTableResource, kjTextFilterFn, localStorageAdapter, matchSlashCommands, nextCascadeId, nextChatMessageId, nextDropdownMenuLabelId, nextPopoverTitleId, noBackdrop, noScrollLock, noTrap, normalizeLanguage, onClick, onContextMenu, onFocus, onFocusOrInput, onHotkey, onHover, parseDate, parseSlash, pointAt, polite, programmatic, provideECharts, provideIconLoader, provideIconResolver, provideIcons, provideKjAlert, provideKjBreadcrumb, provideKjButton, provideKjChat, provideKjChatBubble, provideKjDocumentDirection, provideKjFilterParams, provideKjInputMaskTokens, provideKjLink, provideKjLocale, provideKjPagination, provideKjProgressBar, provideKjRichText, provideKjSpinner, provideKjTableStorage, provideKjTabs, provideKjTag, provideKjTextarea, provideKjToastListStrategy, provideKjToastSonnerStrategy, provideKjToastStrategy, provideKjTranslations, provideMonaco, provideMonacoLanguages, resolveChartPalette, resolveDateRangePreset, sessionStorageAdapter, silent, solidBackdrop, startOfDay, startOfMonth, stripDiacritics, tabCycle, toDeepSignal, viewportCentered, weekdayLongNames, weekdayShortNames };
|
|
30546
|
+
export { DRAWER_DATA, DRAWER_DRAG, DRAWER_SIDE, EN_CATALOG, FR_CATALOG, KJ_ACCORDION, KJ_ACCORDION_ITEM, KJ_ALERT, KJ_ALERT_CONFIG, KJ_ALERT_DEFAULTS, KJ_AVATAR, KJ_AVATAR_GROUP, KJ_BREADCRUMB, KJ_BREADCRUMB_CONFIG, KJ_BREADCRUMB_DEFAULTS, KJ_BUTTON_CONFIG, KJ_BUTTON_DEFAULTS, KJ_BUTTON_GROUP, KJ_CALENDAR, KJ_CAROUSEL, KJ_CAROUSEL_INDICATORS, KJ_CAROUSEL_SLIDE, KJ_CASCADE_SELECT, KJ_CHAT, KJ_CHAT_BUBBLE_CONFIG, KJ_CHAT_BUBBLE_DEFAULTS, KJ_CHAT_CONFIG, KJ_CHAT_LOG, KJ_COLOR_PICKER, KJ_CONFIRM_POPUP, KJ_DATE_PICKER, KJ_DATE_RANGE_PRESETS, KJ_DROPDOWN_MENU, KJ_ECHARTS, KJ_FIELD, KJ_FILE_UPLOAD, KJ_FILE_UPLOAD_DEFAULT_MESSAGES, KJ_FILE_UPLOAD_ITEM, KJ_FORM, KJ_FORM_FIELD, KJ_ICON_CSS_PATH, KJ_ICON_ENTRIES, KJ_ICON_LOADER, KJ_ICON_REGISTRY, KJ_ICON_RESOLVER, KJ_INPUT_GROUP, KJ_INPUT_MASK_PRESETS, KJ_INPUT_MASK_TOKENS, KJ_INPUT_OTP, KJ_KBD_SIZE_PRESET, KJ_LINK_CONFIG, KJ_LINK_DEFAULTS, KJ_LIST, KJ_LIST_FOCUS_MODE, KJ_LIST_NAVIGATOR_CONFIG, KJ_LIST_ROW, KJ_LOCALE_CONFIG, KJ_MENUBAR, KJ_MONACO_CONFIG, KJ_MONACO_LANGUAGE_LOADERS, KJ_NUMBER_INPUT, KJ_OVERLAY_BACKDROP_STRATEGY, KJ_OVERLAY_BADGE, KJ_OVERLAY_FOCUS_TRAP_STRATEGY, KJ_OVERLAY_LIVE_ANNOUNCER_STRATEGY, KJ_OVERLAY_MOUNT_STRATEGY, KJ_OVERLAY_PANEL_ROLE, KJ_OVERLAY_POSITION_STRATEGY, KJ_OVERLAY_SCROLL_LOCK_STRATEGY, KJ_OVERLAY_TRIGGER_EVENT_STRATEGY, KJ_OVERLAY_Z_BASE, KJ_OVERLAY_Z_BASE_DEFAULT, KJ_OVERLAY_Z_VAR, KJ_PAGINATION, KJ_PAGINATION_CONFIG, KJ_PAGINATION_DEFAULTS, KJ_PASSWORD_INPUT, KJ_PROGRESS_BAR, KJ_PROGRESS_BAR_CONFIG, KJ_PROGRESS_BAR_DEFAULTS, KJ_PROSE_CSS_PATH, KJ_RADIO_GROUP, KJ_RICH_TEXT, KJ_RICH_TEXT_EXTENSIONS, KJ_RICH_TEXT_FEATURES, KJ_RICH_TEXT_NODE, KJ_ROVING_TABINDEX, KJ_RTE_OVERLAY_DATA, KJ_SELECT, KJ_SIZE_FALLBACK, KJ_SIZE_PRESET, KJ_SLIDER, KJ_SPEED_DIAL, KJ_SPINNER_CONFIG, KJ_SPINNER_DEFAULTS, KJ_STEP, KJ_STEPPER, KJ_TABLE, KJ_TABLE_STORAGE, KJ_TABS, KJ_TABS_CONFIG, KJ_TABS_DEFAULTS, KJ_TAG, KJ_TAG_CONFIG, KJ_TAG_DEFAULTS, KJ_TAG_LIST, KJ_TEXTAREA_CONFIG, KJ_TEXTAREA_DEFAULTS, KJ_TIME_PICKER, KJ_TOAST_LIST_STRATEGY, KJ_TOAST_SONNER_STRATEGY, KJ_TOAST_STRATEGY, KJ_TRANSLATION_CATALOGS, KJ_TREE_SELECT, KJ_VARIANT_FALLBACK, KJ_VARIANT_PRESET, KjAccordion, KjAccordionContent, KjAccordionItem, KjAccordionTrigger, KjAlert, KjAlertActions, KjAlertDescription, KjAlertDismiss, KjAlertIcon, KjAlertTitle, KjAriaDescribedBy, KjAriaLabelledBy, KjAvatar, KjAvatarFallback, KjAvatarGroup, KjAvatarImage, KjBackdrop, KjBadge, KjBlockquote, KjBreadcrumb, KjBreadcrumbCurrent, KjBreadcrumbEllipsis, KjBreadcrumbItem, KjBreadcrumbLink, KjBreadcrumbList, KjBreadcrumbSeparator, KjButton, KjButtonGroup, KjCalendar, KjCalendarDay, KjCalendarGrid, KjCalendarHeader, KjCarousel, KjCarouselAutoplay, KjCarouselIndicator, KjCarouselIndicators, KjCarouselNext, KjCarouselPauseToggle, KjCarouselPrevious, KjCarouselSlide, KjCarouselViewport, KjCascadeSelect, KjCascadeSelectOption, KjCascadeSelectPanel, KjCascadeSelectSubPanel, KjCascadeSelectTrigger, KjChart, KjChartTableFallback, KjChat, KjChatAnnouncer, KjChatAvatar, KjChatBubble, KjChatFooter, KjChatHeader, KjChatLog, KjChatStore, KjCheckbox, KjCode, KjColorPicker, KjColorPickerAlphaSlider, KjColorPickerArea, KjColorPickerHueSlider, KjColorPickerInput, KjColorPickerPanel, KjColorPickerTrigger, KjCombobox, KjComboboxInput, KjComboboxListbox, KjComboboxOption, KjCommandEmpty, KjCommandGroup, KjCommandInput, KjCommandItem, KjCommandList, KjCommandPalette, KjCommandPaletteDialog, KjCommandPaletteTrigger, KjCommandSeparator, KjConfirmPopup, KjConfirmPopupAction, KjConfirmPopupCancel, KjConfirmPopupContent, KjConfirmPopupMessage, KjConfirmPopupTrigger, KjDatePicker, KjDatePickerCalendar, KjDatePickerTrigger, KjDateRangePresetOption, KjDateRangePresets, KjDialog$1 as KjDialog, KjDialogRef, KjDialog as KjDialogService, KjDirectionality, KjDisabled, KjDivider, KjDrawer, KjDrawerRef, KjDrawerService, KjDropdownMenu, KjDropdownMenuContent, KjDropdownMenuGroup, KjDropdownMenuItem, KjDropdownMenuLabel, KjDropdownMenuSeparator, KjDropdownMenuTrigger, KjEditor, KjEditorLoader, KjField, KjFieldError, KjFieldGroup, KjFieldHelp, KjFieldLabel, KjFileUpload, KjFileUploadDropzone, KjFileUploadItem, KjFileUploadList, KjFileUploadTrigger, KjFilterableList, KjFocusRing, KjFocusTrap, KjForm, KjFormControl, KjFormError, KjFormErrorSummary, KjFormField, KjFormLabel, KjIconDirective, KjId, KjInput, KjInputGroup, KjInputGroupAddon, KjInputMask, KjInputOtp, KjInputOtpCell, KjKbd, KjLead, KjLink, KjList, KjListGroup, KjListGroupLabel, KjListItem, KjListNavigator, KjListRow, KjListSeparator, KjLiveRegion, KjLocale, KjMenubar, KjMenubarItem, KjMotion, KjMuted, KjNumberInput, KjNumberInputGroup, KjNumberStepper, KjOption, KjOverflowContent, KjOverlayBadge, KjOverlayBadgeContent, KjOverlayBuilder, KjOverlayController, KjOverlayHandle, KjOverlayPanel, KjOverlayStack, KjOverlayTrigger, KjOverlayWrapper, KjPagination, KjPaginationEllipsis, KjPaginationFirst, KjPaginationInfo, KjPaginationItem, KjPaginationLast, KjPaginationNext, KjPaginationPrevious, KjPasswordCapsLockWarning, KjPasswordInput, KjPasswordInputScope, KjPasswordStrength, KjPasswordToggle, KjPopoverArrow, KjPopoverClose, KjPopoverContent, KjPopoverTitle, KjPopoverTrigger, KjProgressBar, KjProgressBarFill, KjRadio, KjRadioGroup, KjReducedMotion, KjRichTextEditor, KjRichTextExtensionDirective, KjRovingTabindex, KjRovingTabindexItemDirective, KjSelect, KjSelectContent, KjSelectTrigger, KjSelectionModel, KjSheet, KjSheetRef, KjSheetService, KjSize, KjSkeleton, KjSkipLink, KjSlider, KjSliderRange, KjSliderThumb, KjSliderTrack, KjSpeedDial, KjSpeedDialAction, KjSpeedDialActions, KjSpeedDialTrigger, KjSpinner, KjStep, KjStepContent, KjStepLabel, KjStepper, KjStepperNext, KjStepperPrevious, KjStepperReset, KjTab, KjTabList, KjTabPanel, KjTable, KjTableCell, KjTableFilterOutlet, KjTableHeader, KjTableKeyboardNav, KjTableRow, KjTabs, KjTag, KjTagList, KjTagRemove, KjTextarea, KjTimePicker, KjTimePickerHours, KjTimePickerMeridiem, KjTimePickerMinutes, KjTimePickerSeconds, KjToast, KjToastClose, KjToastPanel, KjToastRef, KjToastService, KjToastViewport, KjToggle, KjTooltipArrow, KjTooltipContent, KjTooltipGroup, KjTooltipTrigger, KjTranslate, KjTranslateService, KjTreeSelect, KjTreeSelectContent, KjTreeSelectNode, KjTreeSelectToggle, KjTreeSelectTrigger, KjTruncate, KjTypeAhead, KjVariant, KjVisuallyHidden, MaskEngine, SHEET_ARIA_LABEL, SHEET_DATA, SHEET_DETENT, SHEET_DISMISSIBLE, addDays, addMonths, addYears, anchoredTo, applyOverlayZIndex, assertive, bindPresets, blurredBackdrop, bodyPortal, buildMonthMatrix, clearOverlayZIndex, coalesceAnnouncement, compareDay, compileMask, corner, createKjDecoratorNode, createKjImageNode, createOverlayWrapper, cssClip, defaultDateRangePresets, defaultMaskTokens, defaultPasswordScorer, edgeSheet, endOfMonth, firstDayOfWeek, formatDateLong, formatDateShort, formatMonthYear, getIconMode, getOverlayContainer, htmlOverflow, inContainer, inMemoryAdapter, inPlace, inPlaceSibling, inertBased, injectFilterableList, injectKjFilterParams, injectKjIconResolver, injectListItem, injectRichTextNode, injectRteOverlayData, injectSelectionModel, isInRange, isKjFilterModel, isSameDay, isSameMonth, kjColumn, kjColumnGroup, kjContainsFilter, kjDateFilterFn, kjFileMatchesAccept, kjFuzzyFilter, kjHsvToHsl, kjHsvToRgb, kjMultiFilterFn, kjNumberFilterFn, kjParseHex, kjRgbToHex, kjRgbToHsv, kjSetFilterFn, kjStartsWithFilter, kjSubstringFilter, kjTableResource, kjTextFilterFn, localStorageAdapter, matchSlashCommands, nextCascadeId, nextChatMessageId, nextDropdownMenuLabelId, nextPopoverTitleId, noBackdrop, noScrollLock, noTrap, normalizeLanguage, onClick, onContextMenu, onFocus, onFocusOrInput, onHotkey, onHover, parseDate, parseSlash, pointAt, polite, programmatic, provideECharts, provideIconLoader, provideIconResolver, provideIcons, provideKjAlert, provideKjBreadcrumb, provideKjButton, provideKjChat, provideKjChatBubble, provideKjDocumentDirection, provideKjFilterParams, provideKjInputMaskTokens, provideKjLink, provideKjLocale, provideKjPagination, provideKjProgressBar, provideKjRichText, provideKjSpinner, provideKjTableStorage, provideKjTabs, provideKjTag, provideKjTextarea, provideKjToastListStrategy, provideKjToastSonnerStrategy, provideKjToastStrategy, provideKjTranslations, provideMonaco, provideMonacoLanguages, resolveChartPalette, resolveDateRangePreset, sessionStorageAdapter, silent, solidBackdrop, startOfDay, startOfMonth, stripDiacritics, tabCycle, toDeepSignal, viewportCentered, weekdayLongNames, weekdayShortNames };
|
|
30444
30547
|
//# sourceMappingURL=kouji-ui-core.mjs.map
|