@semantic-components/ui-lab 0.74.0 → 0.75.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.
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
2
2
  import { input, computed, ChangeDetectionStrategy, ViewEncapsulation, Component, inject, DestroyRef, output, signal, effect, ElementRef, InjectionToken, model, viewChild, booleanAttribute, Directive, PLATFORM_ID, afterNextRender, afterRenderEffect, ViewChild, ViewContainerRef, contentChild, Injector, runInInjectionContext, contentChildren, untracked, Injectable, TemplateRef } from '@angular/core';
3
3
  import { RouterOutlet, Router, NavigationEnd } from '@angular/router';
4
4
  import { cn, ScSlider, buttonVariants, ScCalendar, SC_FIELD, SC_TIME_PICKER, ScPopoverProvider, ScButton, ScPopoverTrigger, ScPopoverPortal, ScPopover } from '@semantic-components/ui';
5
- import { SiVolumeOffIcon, SiVolumeXIcon, SiVolume1Icon, SiVolume2Icon, SiPipetteIcon, SiSearchIcon, SiChevronRightIcon, SiCheckIcon, SiCopyIcon, SiChevronUpIcon, SiChevronDownIcon, SiChevronsUpDownIcon, SiSlidersVerticalIcon, SiChevronsLeftIcon, SiChevronLeftIcon, SiChevronsRightIcon, SiCalendarIcon, SiXIcon, SiSmileIcon, SiLoaderCircleIcon, SiPlusIcon, SiZoomOutIcon, SiZoomInIcon, SiMinimize2Icon, SiMinusIcon, SiTriangleAlertIcon, SiCircleXIcon, SiMessageSquareIcon, SiInfoIcon, SiCircleCheckIcon, SiTrash2Icon, SiBellIcon, SiEyeIcon, SiEyeOffIcon, SiCircleIcon, SiFileTextIcon, SiRotateCcwIcon, SiRotateCwIcon, SiDownloadIcon, SiPrinterIcon, SiMaximizeIcon, SiMinimizeIcon, SiPhoneIcon, SiGripVerticalIcon, SiClockIcon, SiGlobeIcon } from '@semantic-icons/lucide-icons';
5
+ import { SiVolumeOffIcon, SiVolumeXIcon, SiVolume1Icon, SiVolume2Icon, SiPipetteIcon, SiSearchIcon, SiChevronRightIcon, SiChevronUpIcon, SiChevronDownIcon, SiChevronsUpDownIcon, SiSlidersVerticalIcon, SiChevronsLeftIcon, SiChevronLeftIcon, SiChevronsRightIcon, SiCalendarIcon, SiXIcon, SiSmileIcon, SiLoaderCircleIcon, SiPlusIcon, SiZoomOutIcon, SiZoomInIcon, SiMinimize2Icon, SiCheckIcon, SiMinusIcon, SiTriangleAlertIcon, SiCircleXIcon, SiMessageSquareIcon, SiInfoIcon, SiCircleCheckIcon, SiTrash2Icon, SiBellIcon, SiEyeIcon, SiEyeOffIcon, SiCircleIcon, SiFileTextIcon, SiRotateCcwIcon, SiRotateCwIcon, SiDownloadIcon, SiPrinterIcon, SiMaximizeIcon, SiMinimizeIcon, SiPhoneIcon, SiGripVerticalIcon, SiClockIcon, SiGlobeIcon } from '@semantic-icons/lucide-icons';
6
6
  import { isPlatformBrowser, NgTemplateOutlet, DOCUMENT } from '@angular/common';
7
7
  import * as i1 from '@angular/aria/combobox';
8
8
  import { Combobox, ComboboxInput, ComboboxPopupContainer, ComboboxDialog } from '@angular/aria/combobox';
@@ -4147,252 +4147,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
4147
4147
  }]
4148
4148
  }], propDecorators: { contentChild: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ScContextMenuContent), { isSignal: true }] }], classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
4149
4149
 
4150
- class ScCopyButton {
4151
- classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
4152
- value = input.required(...(ngDevMode ? [{ debugName: "value" }] : []));
4153
- disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
4154
- timeout = input(2000, ...(ngDevMode ? [{ debugName: "timeout" }] : []));
4155
- variant = input('ghost', ...(ngDevMode ? [{ debugName: "variant" }] : []));
4156
- size = input('icon', ...(ngDevMode ? [{ debugName: "size" }] : []));
4157
- copySuccess = output();
4158
- copyError = output();
4159
- copied = signal(false, ...(ngDevMode ? [{ debugName: "copied" }] : []));
4160
- timeoutId = null;
4161
- class = computed(() => cn('inline-flex items-center justify-center gap-2 rounded-md font-medium transition-colors', 'focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring', 'disabled:pointer-events-none disabled:opacity-50',
4162
- // Variants
4163
- this.variant() === 'default' &&
4164
- 'bg-primary text-primary-foreground shadow hover:bg-primary/90', this.variant() === 'ghost' &&
4165
- 'hover:bg-accent hover:text-accent-foreground', this.variant() === 'outline' &&
4166
- 'border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground',
4167
- // Sizes
4168
- this.size() === 'sm' && 'h-8 px-3 text-xs', this.size() === 'default' && 'h-9 px-4 py-2 text-sm', this.size() === 'lg' && 'h-10 px-8 text-sm', this.size() === 'icon' && 'size-9', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
4169
- iconClass = computed(() => cn(this.size() === 'sm' && 'size-3.5', this.size() === 'default' && 'size-4', this.size() === 'lg' && 'size-5', this.size() === 'icon' && 'size-4'), ...(ngDevMode ? [{ debugName: "iconClass" }] : []));
4170
- ariaLabel = computed(() => this.copied() ? 'Copied to clipboard' : 'Copy to clipboard', ...(ngDevMode ? [{ debugName: "ariaLabel" }] : []));
4171
- async copy() {
4172
- if (this.disabled() || this.copied())
4173
- return;
4174
- try {
4175
- await navigator.clipboard.writeText(this.value());
4176
- this.copied.set(true);
4177
- this.copySuccess.emit(this.value());
4178
- // Clear any existing timeout
4179
- if (this.timeoutId) {
4180
- clearTimeout(this.timeoutId);
4181
- }
4182
- // Reset after timeout
4183
- this.timeoutId = setTimeout(() => {
4184
- this.copied.set(false);
4185
- this.timeoutId = null;
4186
- }, this.timeout());
4187
- }
4188
- catch (error) {
4189
- this.copyError.emit(error instanceof Error ? error : new Error('Failed to copy'));
4190
- }
4191
- }
4192
- reset() {
4193
- if (this.timeoutId) {
4194
- clearTimeout(this.timeoutId);
4195
- this.timeoutId = null;
4196
- }
4197
- this.copied.set(false);
4198
- }
4199
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScCopyButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
4200
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: ScCopyButton, isStandalone: true, selector: "button[scCopyButton]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, timeout: { classPropertyName: "timeout", publicName: "timeout", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { copySuccess: "copySuccess", copyError: "copyError" }, host: { attributes: { "data-slot": "copy-button", "type": "button" }, listeners: { "click": "copy()" }, properties: { "class": "class()", "disabled": "disabled()", "attr.data-copied": "copied() || null", "attr.aria-label": "ariaLabel()" } }, exportAs: ["scCopyButton"], ngImport: i0, template: `
4201
- @if (copied()) {
4202
- <svg siCheckIcon [class]="iconClass()" class="text-green-500"></svg>
4203
- } @else {
4204
- <svg siCopyIcon [class]="iconClass()"></svg>
4205
- }
4206
- <ng-content />
4207
- `, isInline: true, dependencies: [{ kind: "component", type: SiCheckIcon, selector: "svg[siCheckIcon]", inputs: ["ariaHidden", "width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }, { kind: "component", type: SiCopyIcon, selector: "svg[siCopyIcon]", inputs: ["ariaHidden", "width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4208
- }
4209
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScCopyButton, decorators: [{
4210
- type: Component,
4211
- args: [{
4212
- selector: 'button[scCopyButton]',
4213
- exportAs: 'scCopyButton',
4214
- imports: [SiCheckIcon, SiCopyIcon],
4215
- template: `
4216
- @if (copied()) {
4217
- <svg siCheckIcon [class]="iconClass()" class="text-green-500"></svg>
4218
- } @else {
4219
- <svg siCopyIcon [class]="iconClass()"></svg>
4220
- }
4221
- <ng-content />
4222
- `,
4223
- host: {
4224
- 'data-slot': 'copy-button',
4225
- type: 'button',
4226
- '[class]': 'class()',
4227
- '[disabled]': 'disabled()',
4228
- '[attr.data-copied]': 'copied() || null',
4229
- '[attr.aria-label]': 'ariaLabel()',
4230
- '(click)': 'copy()',
4231
- },
4232
- encapsulation: ViewEncapsulation.None,
4233
- changeDetection: ChangeDetectionStrategy.OnPush,
4234
- }]
4235
- }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], timeout: [{ type: i0.Input, args: [{ isSignal: true, alias: "timeout", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], copySuccess: [{ type: i0.Output, args: ["copySuccess"] }], copyError: [{ type: i0.Output, args: ["copyError"] }] } });
4236
-
4237
- class ScCopyButtonWithText {
4238
- classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
4239
- value = input.required(...(ngDevMode ? [{ debugName: "value" }] : []));
4240
- disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
4241
- timeout = input(2000, ...(ngDevMode ? [{ debugName: "timeout" }] : []));
4242
- variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : []));
4243
- size = input('default', ...(ngDevMode ? [{ debugName: "size" }] : []));
4244
- copyText = input('Copy', ...(ngDevMode ? [{ debugName: "copyText" }] : []));
4245
- copiedText = input('Copied!', ...(ngDevMode ? [{ debugName: "copiedText" }] : []));
4246
- copySuccess = output();
4247
- copyError = output();
4248
- class = computed(() => cn('inline-block', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
4249
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScCopyButtonWithText, deps: [], target: i0.ɵɵFactoryTarget.Component });
4250
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: ScCopyButtonWithText, isStandalone: true, selector: "[scCopyButtonWithText]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, timeout: { classPropertyName: "timeout", publicName: "timeout", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, copyText: { classPropertyName: "copyText", publicName: "copyText", isSignal: true, isRequired: false, transformFunction: null }, copiedText: { classPropertyName: "copiedText", publicName: "copiedText", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { copySuccess: "copySuccess", copyError: "copyError" }, host: { attributes: { "data-slot": "copy-button-with-text" }, properties: { "class": "class()" } }, ngImport: i0, template: `
4251
- <button
4252
- scCopyButton
4253
- [value]="value()"
4254
- [disabled]="disabled()"
4255
- [timeout]="timeout()"
4256
- [variant]="variant()"
4257
- [size]="size()"
4258
- (copySuccess)="copySuccess.emit($event)"
4259
- (copyError)="copyError.emit($event)"
4260
- #copyBtn="scCopyButton"
4261
- >
4262
- {{ copyBtn.copied() ? copiedText() : copyText() }}
4263
- </button>
4264
- `, isInline: true, dependencies: [{ kind: "component", type: ScCopyButton, selector: "button[scCopyButton]", inputs: ["class", "value", "disabled", "timeout", "variant", "size"], outputs: ["copySuccess", "copyError"], exportAs: ["scCopyButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4265
- }
4266
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScCopyButtonWithText, decorators: [{
4267
- type: Component,
4268
- args: [{
4269
- selector: '[scCopyButtonWithText]',
4270
- template: `
4271
- <button
4272
- scCopyButton
4273
- [value]="value()"
4274
- [disabled]="disabled()"
4275
- [timeout]="timeout()"
4276
- [variant]="variant()"
4277
- [size]="size()"
4278
- (copySuccess)="copySuccess.emit($event)"
4279
- (copyError)="copyError.emit($event)"
4280
- #copyBtn="scCopyButton"
4281
- >
4282
- {{ copyBtn.copied() ? copiedText() : copyText() }}
4283
- </button>
4284
- `,
4285
- host: {
4286
- 'data-slot': 'copy-button-with-text',
4287
- '[class]': 'class()',
4288
- },
4289
- imports: [ScCopyButton],
4290
- encapsulation: ViewEncapsulation.None,
4291
- changeDetection: ChangeDetectionStrategy.OnPush,
4292
- }]
4293
- }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], timeout: [{ type: i0.Input, args: [{ isSignal: true, alias: "timeout", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], copyText: [{ type: i0.Input, args: [{ isSignal: true, alias: "copyText", required: false }] }], copiedText: [{ type: i0.Input, args: [{ isSignal: true, alias: "copiedText", required: false }] }], copySuccess: [{ type: i0.Output, args: ["copySuccess"] }], copyError: [{ type: i0.Output, args: ["copyError"] }] } });
4294
-
4295
- class ScCopyInput {
4296
- classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
4297
- value = input.required(...(ngDevMode ? [{ debugName: "value" }] : []));
4298
- readonly = input(true, ...(ngDevMode ? [{ debugName: "readonly" }] : []));
4299
- class = computed(() => cn('inline-block', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
4300
- inputClass = computed(() => cn('flex h-9 w-full rounded-md rounded-r-none border border-input bg-transparent px-3 py-1 text-sm shadow-sm', 'focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring', this.readonly() && 'bg-muted text-muted-foreground'), ...(ngDevMode ? [{ debugName: "inputClass" }] : []));
4301
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScCopyInput, deps: [], target: i0.ɵɵFactoryTarget.Component });
4302
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: ScCopyInput, isStandalone: true, selector: "[scCopyInput]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "copy-input" }, properties: { "class": "class()" } }, ngImport: i0, template: `
4303
- <div class="flex">
4304
- <input
4305
- type="text"
4306
- [value]="value()"
4307
- [readonly]="readonly()"
4308
- [class]="inputClass()"
4309
- />
4310
- <button
4311
- scCopyButton
4312
- [value]="value()"
4313
- [variant]="'outline'"
4314
- [size]="'icon'"
4315
- class="rounded-l-none border-l-0"
4316
- ></button>
4317
- </div>
4318
- `, isInline: true, dependencies: [{ kind: "component", type: ScCopyButton, selector: "button[scCopyButton]", inputs: ["class", "value", "disabled", "timeout", "variant", "size"], outputs: ["copySuccess", "copyError"], exportAs: ["scCopyButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4319
- }
4320
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScCopyInput, decorators: [{
4321
- type: Component,
4322
- args: [{
4323
- selector: '[scCopyInput]',
4324
- template: `
4325
- <div class="flex">
4326
- <input
4327
- type="text"
4328
- [value]="value()"
4329
- [readonly]="readonly()"
4330
- [class]="inputClass()"
4331
- />
4332
- <button
4333
- scCopyButton
4334
- [value]="value()"
4335
- [variant]="'outline'"
4336
- [size]="'icon'"
4337
- class="rounded-l-none border-l-0"
4338
- ></button>
4339
- </div>
4340
- `,
4341
- host: {
4342
- 'data-slot': 'copy-input',
4343
- '[class]': 'class()',
4344
- },
4345
- imports: [ScCopyButton],
4346
- encapsulation: ViewEncapsulation.None,
4347
- changeDetection: ChangeDetectionStrategy.OnPush,
4348
- }]
4349
- }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }] } });
4350
-
4351
- class ScCopyCode {
4352
- classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
4353
- value = input.required(...(ngDevMode ? [{ debugName: "value" }] : []));
4354
- class = computed(() => cn('block', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
4355
- preClass = computed(() => cn('rounded-lg bg-muted p-4 pr-12 overflow-x-auto text-sm', 'font-mono'), ...(ngDevMode ? [{ debugName: "preClass" }] : []));
4356
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScCopyCode, deps: [], target: i0.ɵɵFactoryTarget.Component });
4357
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: ScCopyCode, isStandalone: true, selector: "[scCopyCode]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "data-slot": "copy-code" }, properties: { "class": "class()" } }, ngImport: i0, template: `
4358
- <div class="relative">
4359
- <pre [class]="preClass()"><code><ng-content /></code></pre>
4360
- <button
4361
- scCopyButton
4362
- [value]="value()"
4363
- class="absolute top-2 right-2"
4364
- [variant]="'ghost'"
4365
- [size]="'icon'"
4366
- ></button>
4367
- </div>
4368
- `, isInline: true, dependencies: [{ kind: "component", type: ScCopyButton, selector: "button[scCopyButton]", inputs: ["class", "value", "disabled", "timeout", "variant", "size"], outputs: ["copySuccess", "copyError"], exportAs: ["scCopyButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4369
- }
4370
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScCopyCode, decorators: [{
4371
- type: Component,
4372
- args: [{
4373
- selector: '[scCopyCode]',
4374
- template: `
4375
- <div class="relative">
4376
- <pre [class]="preClass()"><code><ng-content /></code></pre>
4377
- <button
4378
- scCopyButton
4379
- [value]="value()"
4380
- class="absolute top-2 right-2"
4381
- [variant]="'ghost'"
4382
- [size]="'icon'"
4383
- ></button>
4384
- </div>
4385
- `,
4386
- host: {
4387
- 'data-slot': 'copy-code',
4388
- '[class]': 'class()',
4389
- },
4390
- imports: [ScCopyButton],
4391
- encapsulation: ViewEncapsulation.None,
4392
- changeDetection: ChangeDetectionStrategy.OnPush,
4393
- }]
4394
- }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }] } });
4395
-
4396
4150
  class ScCountdown {
4397
4151
  destroyRef = inject(DestroyRef);
4398
4152
  classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
@@ -20013,17 +19767,7 @@ class ScSpotlight {
20013
19767
  class="bg-background/90 hover:bg-background text-foreground absolute top-4 right-4 z-10 rounded-full p-2 shadow-lg"
20014
19768
  aria-label="Close spotlight"
20015
19769
  >
20016
- <svg
20017
- xmlns="http://www.w3.org/2000/svg"
20018
- viewBox="0 0 24 24"
20019
- fill="none"
20020
- stroke="currentColor"
20021
- stroke-width="2"
20022
- class="size-5"
20023
- >
20024
- <path d="M18 6 6 18" />
20025
- <path d="m6 6 12 12" />
20026
- </svg>
19770
+ <svg siXIcon class="size-5"></svg>
20027
19771
  </button>
20028
19772
  }
20029
19773
 
@@ -20039,12 +19783,13 @@ class ScSpotlight {
20039
19783
  }
20040
19784
  </div>
20041
19785
  }
20042
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
19786
+ `, isInline: true, dependencies: [{ kind: "component", type: SiXIcon, selector: "svg[siXIcon]", inputs: ["ariaHidden", "width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
20043
19787
  }
20044
19788
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSpotlight, decorators: [{
20045
19789
  type: Component,
20046
19790
  args: [{
20047
19791
  selector: 'sc-spotlight',
19792
+ imports: [SiXIcon],
20048
19793
  template: `
20049
19794
  @if (isActive()) {
20050
19795
  <div
@@ -20117,17 +19862,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
20117
19862
  class="bg-background/90 hover:bg-background text-foreground absolute top-4 right-4 z-10 rounded-full p-2 shadow-lg"
20118
19863
  aria-label="Close spotlight"
20119
19864
  >
20120
- <svg
20121
- xmlns="http://www.w3.org/2000/svg"
20122
- viewBox="0 0 24 24"
20123
- fill="none"
20124
- stroke="currentColor"
20125
- stroke-width="2"
20126
- class="size-5"
20127
- >
20128
- <path d="M18 6 6 18" />
20129
- <path d="m6 6 12 12" />
20130
- </svg>
19865
+ <svg siXIcon class="size-5"></svg>
20131
19866
  </button>
20132
19867
  }
20133
19868
 
@@ -24749,5 +24484,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
24749
24484
  * Generated bundle index. Do not edit.
24750
24485
  */
24751
24486
 
24752
- export { AuthLayout, CHART_COLORS, COUNTRIES, DEFAULT_BREAKPOINTS, DEFAULT_CONFETTI_OPTIONS, DEFAULT_CONFIG, DEFAULT_COUNTER_OPTIONS, DEFAULT_DOCK_OPTIONS, DEFAULT_SEARCH_OPTIONS, DEFAULT_TOOLBAR_CONFIG, SC_AUDIO_PLAYER, SC_CHART, SC_COLOR_PICKER, SC_DATA_TABLE, SC_IMAGE_COMPARE, SC_IMAGE_CROPPER, SC_LANGUAGE_CONFIG, SC_LIGHTBOX, SC_NOTIFICATION_CENTER, SC_NUMBER_FIELD, SC_PASSWORD_FIELD, SC_PDF_VIEWER, SC_RATING_FIELD, SC_RATING_ITEM_GROUP, SC_SIGNATURE_PAD, SC_SORTABLE_ITEM, SC_SORTABLE_LIST, SC_STEPPER, SC_STEPPER_ITEM, SC_TAG_INPUT, SC_TIMEZONE_CONFIG, SC_TREE_ITEM, ScAnimatedCounter, ScAudioPlayer, ScAudioPlayerControls, ScAudioPlayerCover, ScAudioPlayerNext, ScAudioPlayerPlay, ScAudioPlayerPrevious, ScAudioPlayerProgress, ScAudioPlayerRepeat, ScAudioPlayerShuffle, ScAudioPlayerTrackInfo, ScAudioPlayerVolume, ScAutoMarquee, ScBarChart, ScBarcodeScanner, ScBarcodeScannerSimple, ScButtonPattern, ScChartContainer, ScChartLegend, ScChartTooltip, ScColorPicker, ScColorPickerArea, ScColorPickerEyeDropper, ScColorPickerHue, ScColorPickerInput, ScColorPickerPreview, ScColorPickerSwatches, ScCombobox, ScComboboxEmpty, ScComboboxIcon, ScComboboxInput, ScComboboxItem, ScComboboxItemIndicator, ScComboboxList, ScComboboxPortal, ScComboboxTrigger, ScCommand, ScCommandEmpty, ScCommandGroup, ScCommandGroupHeading, ScCommandInput, ScCommandItem, ScCommandList, ScCommandSeparator, ScCommandShortcut, ScConfetti, ScContextMenu, ScContextMenuContent, ScContextMenuItem, ScContextMenuLabel, ScContextMenuSeparator, ScContextMenuShortcut, ScContextMenuSub, ScContextMenuSubContent, ScContextMenuSubTrigger, ScContextMenuTrigger, ScCopyButton, ScCopyButtonWithText, ScCopyCode, ScCopyInput, ScCountdown, ScCountdownSimple, ScDataTable, ScDataTableBody, ScDataTableCell, ScDataTableColumnToggle, ScDataTableFilter, ScDataTableHead, ScDataTableHeader, ScDataTablePagination, ScDataTableRow, ScDateRangePicker, ScDiffViewer, ScDock, ScDockBadge, ScDockItem, ScDockItems, ScDonutChart, ScEmojiPicker, ScEmojiPickerTrigger, ScImageAnnotator, ScImageCompare, ScImageCompareAfter, ScImageCompareArea, ScImageCompareBefore, ScImageCompareLabel, ScImageCompareSlider, ScImageCropper, ScImageCropperAspectRatio, ScImageCropperCanvas, ScImageCropperDragRegion, ScImageCropperFileInput, ScImageCropperFlipH, ScImageCropperFlipV, ScImageCropperGrid, ScImageCropperHandle, ScImageCropperImage, ScImageCropperOverlay, ScImageCropperPreview, ScImageCropperReset, ScImageCropperRotateLeft, ScImageCropperRotateRight, ScImageCropperSelection, ScImageCropperZoomIn, ScImageCropperZoomOut, ScImageCropperZoomSlider, ScInfiniteScroll, ScInfiniteScrollEnd, ScInfiniteScrollLoader, ScKanbanBoard, ScKanbanCard, ScKanbanColumn, ScLanguageButton, ScLanguageSelect, ScLanguageService, ScLanguageToggle, ScLightboxDirective as ScLightbox, ScLightboxContainer, ScLightboxDirective, ScLightboxGallery, ScLightboxTrigger, ScLineChart, ScMarquee, ScMarqueeClone, ScMarqueeFade, ScMarqueeItem, ScMarqueeText, ScMasonryGrid, ScMasonryItem, ScMentionInput, ScMultiSelect, ScNativeCheckbox, ScNavbar, ScNavbarActions, ScNavbarBrand, ScNavbarGroup, ScNavbarMobileLink, ScNavbarMobileMenu, ScNavbarMobilePortal, ScNavbarMobileTrigger, ScNavbarProvider, ScNotificationCenterDirective as ScNotificationCenter, ScNotificationCenterContainer, ScNotificationCenterDirective, ScNotificationGroup, ScNotificationItem, ScNumberField, ScNumberFieldDecrement, ScNumberFieldIncrement, ScNumberFieldInput, ScNumberFieldInputGroup, ScNumberFieldScrubArea, ScOptField, ScOptFieldSeparator, ScOptFieldSlot, ScOptFieldSlotCaret, ScOptFieldSlotChar, ScOptFieldSlotGroup, ScOptFieldSlotInput, ScOrgChart, ScOrgChartNode, ScPasswordField, ScPasswordFieldInput, ScPasswordFieldInputGroup, ScPasswordFieldRequirements, ScPasswordFieldStrength, ScPasswordFieldStrengthBar, ScPasswordFieldToggle, ScPdfViewer, ScPdfViewerContainer, ScPdfViewerContent, ScPdfViewerDownload, ScPdfViewerEmpty, ScPdfViewerError, ScPdfViewerFullscreen, ScPdfViewerLoading, ScPdfViewerNav, ScPdfViewerNextPage, ScPdfViewerPageInfo, ScPdfViewerPrevPage, ScPdfViewerPrint, ScPdfViewerRetry, ScPdfViewerRoot, ScPdfViewerRotateLeft, ScPdfViewerRotateRight, ScPdfViewerSeparator, ScPdfViewerSpacer, ScPdfViewerToolbar$1 as ScPdfViewerToolbar, ScPdfViewerToolbar as ScPdfViewerToolbarLegacy, ScPdfViewerZoom, ScPdfViewerZoomIn, ScPdfViewerZoomOut, ScPdfViewerZoomSelect, ScPhoneInput, ScPhoneInputSimple, ScPieChart, ScQrCode, ScQrCodeDownload, ScRatingField, ScRatingFieldItem, ScRatingItemGroup, ScSearchInput, ScSidebarLayout, ScSignaturePad, ScSignaturePadCanvas, ScSignaturePadClearButton, ScSignaturePadColorButton, ScSignaturePadControls, ScSignaturePadToolbar, ScSignaturePadUndoButton, ScSignaturePadWidthButton, ScSortableHandle, ScSortableItem, ScSortableList, ScSortableOverlay, ScSpeedDial, ScSpeedDialAction, ScSplitButton, ScSpotlight, ScSpotlightActions, ScSpotlightDescription, ScSpotlightTitle, ScStackedLayout, ScStatCard, ScStatCardChange, ScStatCardDescription, ScStatCardIcon, ScStatCardLabel, ScStatCardValue, ScStepper, ScStepperContent, ScStepperDescription, ScStepperItem, ScStepperList, ScStepperNext, ScStepperPrevious, ScStepperSeparator, ScStepperTitle, ScStepperTrigger, ScTagInput, ScTagInputClear, ScTagInputCount, ScTagInputField, ScTagInputTag, ScTheme, ScThemeField, ScThemeSelect, ScThemeToggle, ScTimePickerClock, ScTimeline, ScTimelineConnector, ScTimelineContent, ScTimelineDescription, ScTimelineDot, ScTimelineItem, ScTimelineTime, ScTimelineTitle, ScTimezoneBadge, ScTimezoneButton, ScTimezoneDisplay, ScTimezoneSelect, ScTimezoneService, ScTourGuide, ScTransferList, ScTree, ScTreeItem, ScTreeItemGroup, ScTreeItemIcon, ScTreeItemTrigger, ScTreeItemTriggerIcon, ScVideoPlayer, ScVideoPlayerBigPlay, ScVideoPlayerBufferingIndicator, ScVideoPlayerControls, ScVideoPlayerFullscreen, ScVideoPlayerPip, ScVideoPlayerPlayPause, ScVideoPlayerProgress, ScVideoPlayerSkip, ScVideoPlayerSpacer, ScVideoPlayerSpeed, ScVideoPlayerTime, ScVideoPlayerToolbar, ScVideoPlayerVideo, ScVideoPlayerVolume, ScVirtualList, ScVirtualScroll, TourService, ZOOM_LEVELS, computeDiff, computeWordDiff, createScDateRangePresets, createUnifiedDiff, getCountryByCode, getCountryByDialCode, sizeStyles$1 as sizeStyles, variantStyles$1 as variantStyles };
24487
+ export { AuthLayout, CHART_COLORS, COUNTRIES, DEFAULT_BREAKPOINTS, DEFAULT_CONFETTI_OPTIONS, DEFAULT_CONFIG, DEFAULT_COUNTER_OPTIONS, DEFAULT_DOCK_OPTIONS, DEFAULT_SEARCH_OPTIONS, DEFAULT_TOOLBAR_CONFIG, SC_AUDIO_PLAYER, SC_CHART, SC_COLOR_PICKER, SC_DATA_TABLE, SC_IMAGE_COMPARE, SC_IMAGE_CROPPER, SC_LANGUAGE_CONFIG, SC_LIGHTBOX, SC_NOTIFICATION_CENTER, SC_NUMBER_FIELD, SC_PASSWORD_FIELD, SC_PDF_VIEWER, SC_RATING_FIELD, SC_RATING_ITEM_GROUP, SC_SIGNATURE_PAD, SC_SORTABLE_ITEM, SC_SORTABLE_LIST, SC_STEPPER, SC_STEPPER_ITEM, SC_TAG_INPUT, SC_TIMEZONE_CONFIG, SC_TREE_ITEM, ScAnimatedCounter, ScAudioPlayer, ScAudioPlayerControls, ScAudioPlayerCover, ScAudioPlayerNext, ScAudioPlayerPlay, ScAudioPlayerPrevious, ScAudioPlayerProgress, ScAudioPlayerRepeat, ScAudioPlayerShuffle, ScAudioPlayerTrackInfo, ScAudioPlayerVolume, ScAutoMarquee, ScBarChart, ScBarcodeScanner, ScBarcodeScannerSimple, ScButtonPattern, ScChartContainer, ScChartLegend, ScChartTooltip, ScColorPicker, ScColorPickerArea, ScColorPickerEyeDropper, ScColorPickerHue, ScColorPickerInput, ScColorPickerPreview, ScColorPickerSwatches, ScCombobox, ScComboboxEmpty, ScComboboxIcon, ScComboboxInput, ScComboboxItem, ScComboboxItemIndicator, ScComboboxList, ScComboboxPortal, ScComboboxTrigger, ScCommand, ScCommandEmpty, ScCommandGroup, ScCommandGroupHeading, ScCommandInput, ScCommandItem, ScCommandList, ScCommandSeparator, ScCommandShortcut, ScConfetti, ScContextMenu, ScContextMenuContent, ScContextMenuItem, ScContextMenuLabel, ScContextMenuSeparator, ScContextMenuShortcut, ScContextMenuSub, ScContextMenuSubContent, ScContextMenuSubTrigger, ScContextMenuTrigger, ScCountdown, ScCountdownSimple, ScDataTable, ScDataTableBody, ScDataTableCell, ScDataTableColumnToggle, ScDataTableFilter, ScDataTableHead, ScDataTableHeader, ScDataTablePagination, ScDataTableRow, ScDateRangePicker, ScDiffViewer, ScDock, ScDockBadge, ScDockItem, ScDockItems, ScDonutChart, ScEmojiPicker, ScEmojiPickerTrigger, ScImageAnnotator, ScImageCompare, ScImageCompareAfter, ScImageCompareArea, ScImageCompareBefore, ScImageCompareLabel, ScImageCompareSlider, ScImageCropper, ScImageCropperAspectRatio, ScImageCropperCanvas, ScImageCropperDragRegion, ScImageCropperFileInput, ScImageCropperFlipH, ScImageCropperFlipV, ScImageCropperGrid, ScImageCropperHandle, ScImageCropperImage, ScImageCropperOverlay, ScImageCropperPreview, ScImageCropperReset, ScImageCropperRotateLeft, ScImageCropperRotateRight, ScImageCropperSelection, ScImageCropperZoomIn, ScImageCropperZoomOut, ScImageCropperZoomSlider, ScInfiniteScroll, ScInfiniteScrollEnd, ScInfiniteScrollLoader, ScKanbanBoard, ScKanbanCard, ScKanbanColumn, ScLanguageButton, ScLanguageSelect, ScLanguageService, ScLanguageToggle, ScLightboxDirective as ScLightbox, ScLightboxContainer, ScLightboxDirective, ScLightboxGallery, ScLightboxTrigger, ScLineChart, ScMarquee, ScMarqueeClone, ScMarqueeFade, ScMarqueeItem, ScMarqueeText, ScMasonryGrid, ScMasonryItem, ScMentionInput, ScMultiSelect, ScNativeCheckbox, ScNavbar, ScNavbarActions, ScNavbarBrand, ScNavbarGroup, ScNavbarMobileLink, ScNavbarMobileMenu, ScNavbarMobilePortal, ScNavbarMobileTrigger, ScNavbarProvider, ScNotificationCenterDirective as ScNotificationCenter, ScNotificationCenterContainer, ScNotificationCenterDirective, ScNotificationGroup, ScNotificationItem, ScNumberField, ScNumberFieldDecrement, ScNumberFieldIncrement, ScNumberFieldInput, ScNumberFieldInputGroup, ScNumberFieldScrubArea, ScOptField, ScOptFieldSeparator, ScOptFieldSlot, ScOptFieldSlotCaret, ScOptFieldSlotChar, ScOptFieldSlotGroup, ScOptFieldSlotInput, ScOrgChart, ScOrgChartNode, ScPasswordField, ScPasswordFieldInput, ScPasswordFieldInputGroup, ScPasswordFieldRequirements, ScPasswordFieldStrength, ScPasswordFieldStrengthBar, ScPasswordFieldToggle, ScPdfViewer, ScPdfViewerContainer, ScPdfViewerContent, ScPdfViewerDownload, ScPdfViewerEmpty, ScPdfViewerError, ScPdfViewerFullscreen, ScPdfViewerLoading, ScPdfViewerNav, ScPdfViewerNextPage, ScPdfViewerPageInfo, ScPdfViewerPrevPage, ScPdfViewerPrint, ScPdfViewerRetry, ScPdfViewerRoot, ScPdfViewerRotateLeft, ScPdfViewerRotateRight, ScPdfViewerSeparator, ScPdfViewerSpacer, ScPdfViewerToolbar$1 as ScPdfViewerToolbar, ScPdfViewerToolbar as ScPdfViewerToolbarLegacy, ScPdfViewerZoom, ScPdfViewerZoomIn, ScPdfViewerZoomOut, ScPdfViewerZoomSelect, ScPhoneInput, ScPhoneInputSimple, ScPieChart, ScQrCode, ScQrCodeDownload, ScRatingField, ScRatingFieldItem, ScRatingItemGroup, ScSearchInput, ScSidebarLayout, ScSignaturePad, ScSignaturePadCanvas, ScSignaturePadClearButton, ScSignaturePadColorButton, ScSignaturePadControls, ScSignaturePadToolbar, ScSignaturePadUndoButton, ScSignaturePadWidthButton, ScSortableHandle, ScSortableItem, ScSortableList, ScSortableOverlay, ScSpeedDial, ScSpeedDialAction, ScSplitButton, ScSpotlight, ScSpotlightActions, ScSpotlightDescription, ScSpotlightTitle, ScStackedLayout, ScStatCard, ScStatCardChange, ScStatCardDescription, ScStatCardIcon, ScStatCardLabel, ScStatCardValue, ScStepper, ScStepperContent, ScStepperDescription, ScStepperItem, ScStepperList, ScStepperNext, ScStepperPrevious, ScStepperSeparator, ScStepperTitle, ScStepperTrigger, ScTagInput, ScTagInputClear, ScTagInputCount, ScTagInputField, ScTagInputTag, ScTheme, ScThemeField, ScThemeSelect, ScThemeToggle, ScTimePickerClock, ScTimeline, ScTimelineConnector, ScTimelineContent, ScTimelineDescription, ScTimelineDot, ScTimelineItem, ScTimelineTime, ScTimelineTitle, ScTimezoneBadge, ScTimezoneButton, ScTimezoneDisplay, ScTimezoneSelect, ScTimezoneService, ScTourGuide, ScTransferList, ScTree, ScTreeItem, ScTreeItemGroup, ScTreeItemIcon, ScTreeItemTrigger, ScTreeItemTriggerIcon, ScVideoPlayer, ScVideoPlayerBigPlay, ScVideoPlayerBufferingIndicator, ScVideoPlayerControls, ScVideoPlayerFullscreen, ScVideoPlayerPip, ScVideoPlayerPlayPause, ScVideoPlayerProgress, ScVideoPlayerSkip, ScVideoPlayerSpacer, ScVideoPlayerSpeed, ScVideoPlayerTime, ScVideoPlayerToolbar, ScVideoPlayerVideo, ScVideoPlayerVolume, ScVirtualList, ScVirtualScroll, TourService, ZOOM_LEVELS, computeDiff, computeWordDiff, createScDateRangePresets, createUnifiedDiff, getCountryByCode, getCountryByDialCode, sizeStyles$1 as sizeStyles, variantStyles$1 as variantStyles };
24753
24488
  //# sourceMappingURL=semantic-components-ui-lab.mjs.map