@smartsoft001/angular 2.176.0 → 2.178.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 +36 -9
- package/fesm2022/smartsoft001-angular.mjs +656 -15
- package/fesm2022/smartsoft001-angular.mjs.map +1 -1
- package/package.json +4 -4
- package/styles.css +209 -0
- package/types/smartsoft001-angular.d.ts +153 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, Injectable, InjectionToken, ApplicationRef, NgModuleRef, PLATFORM_ID, Inject, signal, input, output, computed, Directive, ElementRef, ChangeDetectionStrategy, ViewEncapsulation, Component, afterRenderEffect, viewChild, EnvironmentInjector, createComponent, NgModule, ViewContainerRef, HostListener, Pipe, Type, model, ChangeDetectorRef, Injector, effect, runInInjectionContext, forwardRef, linkedSignal, untracked, Renderer2, DestroyRef } from '@angular/core';
|
|
2
|
+
import { inject, Injectable, InjectionToken, ApplicationRef, NgModuleRef, PLATFORM_ID, Inject, signal, input, output, computed, Directive, ElementRef, ChangeDetectionStrategy, ViewEncapsulation, Component, afterRenderEffect, viewChild, EnvironmentInjector, createComponent, NgModule, ViewContainerRef, HostListener, Pipe, Type, model, ChangeDetectorRef, Injector, effect, runInInjectionContext, forwardRef, linkedSignal, untracked, Renderer2, DestroyRef, afterNextRender } from '@angular/core';
|
|
3
3
|
import { Title, DomSanitizer } from '@angular/platform-browser';
|
|
4
4
|
import { Router, NavigationEnd, NavigationStart, NavigationCancel, NavigationError, RouterModule } from '@angular/router';
|
|
5
5
|
import * as i1 from '@ngx-translate/core';
|
|
@@ -2975,7 +2975,7 @@ function getAccordionPresetIconClasses() {
|
|
|
2975
2975
|
return 'smart:size-3.5 smart:shrink-0';
|
|
2976
2976
|
}
|
|
2977
2977
|
|
|
2978
|
-
let nextId$
|
|
2978
|
+
let nextId$2 = 0;
|
|
2979
2979
|
/**
|
|
2980
2980
|
* Styled accordion variation (preset) based on the Preline bordered accordion
|
|
2981
2981
|
* (FRA-210).
|
|
@@ -2987,7 +2987,7 @@ let nextId$1 = 0;
|
|
|
2987
2987
|
* inherited `show` model signal plus `@if` — no Preline JS runtime is required.
|
|
2988
2988
|
*/
|
|
2989
2989
|
class AccordionPresetComponent extends AccordionBaseComponent {
|
|
2990
|
-
contentId = `smart-accordion-preset-${nextId$
|
|
2990
|
+
contentId = `smart-accordion-preset-${nextId$2++}`;
|
|
2991
2991
|
iconClasses = getAccordionPresetIconClasses();
|
|
2992
2992
|
disabled = computed(() => this.options()?.disabled ?? false, /* @ts-ignore */
|
|
2993
2993
|
...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
@@ -7523,6 +7523,10 @@ const TOOLTIP_BASE = [
|
|
|
7523
7523
|
'smart:absolute',
|
|
7524
7524
|
'smart:z-10',
|
|
7525
7525
|
'smart:inline-block',
|
|
7526
|
+
// An absolutely positioned bubble takes the width of its tiny anchor and
|
|
7527
|
+
// wraps after every word; size it to its text, up to a readable line.
|
|
7528
|
+
'smart:w-max',
|
|
7529
|
+
'smart:max-w-xs',
|
|
7526
7530
|
'smart:py-1',
|
|
7527
7531
|
'smart:px-2',
|
|
7528
7532
|
'smart:rounded-md',
|
|
@@ -10782,7 +10786,7 @@ const EMPTY_STATE_ACTIONS = [
|
|
|
10782
10786
|
'smart:sm:flex-row',
|
|
10783
10787
|
'smart:gap-2',
|
|
10784
10788
|
].join(' ');
|
|
10785
|
-
const ACTION_BASE$
|
|
10789
|
+
const ACTION_BASE$2 = [
|
|
10786
10790
|
'smart:py-2',
|
|
10787
10791
|
'smart:px-3',
|
|
10788
10792
|
'smart:inline-flex',
|
|
@@ -10840,7 +10844,7 @@ function getEmptyStateActionClasses(variant) {
|
|
|
10840
10844
|
if (variant === 'link') {
|
|
10841
10845
|
return EMPTY_STATE_FOOTER_LINK;
|
|
10842
10846
|
}
|
|
10843
|
-
return `${ACTION_BASE$
|
|
10847
|
+
return `${ACTION_BASE$2} ${ACTION_VARIANT_MAP[variant]}`;
|
|
10844
10848
|
}
|
|
10845
10849
|
// Optional items list (kept faithful-ish so the preset is a full drop-in even
|
|
10846
10850
|
// though the source Preline block has no list).
|
|
@@ -23761,7 +23765,7 @@ const FOOTER_GRAY = [
|
|
|
23761
23765
|
'smart:dark:bg-gray-800/50',
|
|
23762
23766
|
'smart:rounded-b-xl',
|
|
23763
23767
|
].join(' ');
|
|
23764
|
-
const ACTION_BASE = [
|
|
23768
|
+
const ACTION_BASE$1 = [
|
|
23765
23769
|
'smart:py-2',
|
|
23766
23770
|
'smart:px-3',
|
|
23767
23771
|
'smart:inline-flex',
|
|
@@ -23774,7 +23778,7 @@ const ACTION_BASE = [
|
|
|
23774
23778
|
'smart:disabled:opacity-50',
|
|
23775
23779
|
'smart:disabled:pointer-events-none',
|
|
23776
23780
|
].join(' ');
|
|
23777
|
-
const ACTION_BY_VARIANT = {
|
|
23781
|
+
const ACTION_BY_VARIANT$1 = {
|
|
23778
23782
|
primary: 'smart:bg-blue-600 smart:dark:bg-blue-500 smart:border smart:border-blue-600 smart:dark:border-blue-500 smart:text-white smart:hover:bg-blue-700 smart:dark:hover:bg-blue-600',
|
|
23779
23783
|
secondary: 'smart:bg-white smart:dark:bg-gray-800 smart:border smart:border-gray-200 smart:dark:border-gray-700 smart:text-gray-800 smart:dark:text-gray-200 smart:shadow-2xs smart:hover:bg-gray-100 smart:dark:hover:bg-gray-700',
|
|
23780
23784
|
danger: 'smart:bg-red-600 smart:dark:bg-red-500 smart:border smart:border-red-600 smart:dark:border-red-500 smart:text-white smart:hover:bg-red-700 smart:dark:hover:bg-red-600',
|
|
@@ -23806,7 +23810,7 @@ function getModalFooterClasses(variant, footerStyle) {
|
|
|
23806
23810
|
.join(' ');
|
|
23807
23811
|
}
|
|
23808
23812
|
function getModalActionClasses(variant = 'primary') {
|
|
23809
|
-
return `${ACTION_BASE} ${ACTION_BY_VARIANT[variant]}`;
|
|
23813
|
+
return `${ACTION_BASE$1} ${ACTION_BY_VARIANT$1[variant]}`;
|
|
23810
23814
|
}
|
|
23811
23815
|
|
|
23812
23816
|
/**
|
|
@@ -24697,7 +24701,7 @@ function getNotificationActionClasses(variant, actionVariant) {
|
|
|
24697
24701
|
: ACTION_LINK_PRIMARY;
|
|
24698
24702
|
}
|
|
24699
24703
|
|
|
24700
|
-
let nextId = 0;
|
|
24704
|
+
let nextId$1 = 0;
|
|
24701
24705
|
/**
|
|
24702
24706
|
* Styled notification (toast) variation (preset).
|
|
24703
24707
|
*
|
|
@@ -24716,7 +24720,7 @@ class NotificationPresetComponent extends NotificationBaseComponent {
|
|
|
24716
24720
|
// name, so the inherited `class` alias must be dropped for `cssClass` to bind.
|
|
24717
24721
|
cssClass = input('', /* @ts-ignore */
|
|
24718
24722
|
...(ngDevMode ? [{ debugName: "cssClass" }] : /* istanbul ignore next */ []));
|
|
24719
|
-
labelId = `smart-notification-preset-${nextId++}`;
|
|
24723
|
+
labelId = `smart-notification-preset-${nextId$1++}`;
|
|
24720
24724
|
variant = computed(() => this.options()?.variant ?? 'simple', /* @ts-ignore */
|
|
24721
24725
|
...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
|
|
24722
24726
|
ariaLive = computed(() => this.options()?.ariaLive ?? 'polite', /* @ts-ignore */
|
|
@@ -25232,13 +25236,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
25232
25236
|
// and every utility is smart:-prefixed with explicit smart:dark:* twins merged
|
|
25233
25237
|
// from the original HyperUI dark variant.
|
|
25234
25238
|
const HEADER$1 = 'smart:bg-white smart:dark:bg-gray-900';
|
|
25235
|
-
const BAR_BASE$
|
|
25239
|
+
const BAR_BASE$2 = 'smart:flex smart:h-16 smart:items-center';
|
|
25236
25240
|
function getPageHeadingHeaderClasses() {
|
|
25237
25241
|
return HEADER$1;
|
|
25238
25242
|
}
|
|
25239
25243
|
function getPageHeadingBarClasses(layout) {
|
|
25240
25244
|
const arrangement = layout === 'links-left' ? 'smart:gap-8' : 'smart:justify-between';
|
|
25241
|
-
return `${BAR_BASE$
|
|
25245
|
+
return `${BAR_BASE$2} ${arrangement}`;
|
|
25242
25246
|
}
|
|
25243
25247
|
|
|
25244
25248
|
/**
|
|
@@ -27003,6 +27007,162 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
27003
27007
|
args: [{ selector: 'smart-stacked-list-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgTemplateOutlet], template: "<div [class]=\"cssClass()\">\n <div class=\"stacked-list\">\n @if (options()?.title) {\n <h3 class=\"title\">{{ options()!.title }}</h3>\n }\n @if (options()?.description) {\n <p class=\"description\">{{ options()!.description }}</p>\n }\n @if ((options()?.items ?? []).length > 0) {\n <ul role=\"list\">\n @for (item of options()!.items!; track item.id ?? $index) {\n <li class=\"item\" [attr.aria-label]=\"item.ariaLabel ?? null\">\n @if (item.iconTpl) {\n <span class=\"icon\">\n <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n </span>\n } @else if (item.avatarUrl) {\n <img class=\"avatar\" [src]=\"item.avatarUrl\" alt=\"\" />\n }\n <div class=\"body\">\n @if (item.href) {\n <a class=\"title\" [attr.href]=\"item.href\">{{ item.title }}</a>\n } @else {\n <span class=\"title\">{{ item.title }}</span>\n }\n @if (item.description) {\n <span class=\"description\">{{ item.description }}</span>\n }\n @if (item.meta) {\n <span class=\"meta\">{{ item.meta }}</span>\n }\n </div>\n @if (item.badgeTpl) {\n <span class=\"badge\">\n <ng-container [ngTemplateOutlet]=\"item.badgeTpl\" />\n </span>\n }\n @if (item.actionTpl) {\n <span class=\"action\">\n <ng-container [ngTemplateOutlet]=\"item.actionTpl\" />\n </span>\n }\n </li>\n }\n </ul>\n } @else if (options()?.emptyTpl) {\n <div class=\"empty\">\n <ng-container [ngTemplateOutlet]=\"options()!.emptyTpl!\" />\n </div>\n }\n @if (options()?.footerTpl) {\n <div class=\"footer\">\n <ng-container [ngTemplateOutlet]=\"options()!.footerTpl!\" />\n </div>\n }\n </div>\n</div>\n" }]
|
|
27004
27008
|
}] });
|
|
27005
27009
|
|
|
27010
|
+
/** Root wrapper; the external `cssClass` is appended to it. */
|
|
27011
|
+
const STACKED_LIST_ROOT = 'smart:w-full';
|
|
27012
|
+
/** List heading. */
|
|
27013
|
+
const STACKED_LIST_TITLE = 'smart:text-base smart:font-semibold smart:text-gray-900 smart:dark:text-white';
|
|
27014
|
+
/** Paragraph under the heading. */
|
|
27015
|
+
const STACKED_LIST_DESCRIPTION = 'smart:mt-1 smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';
|
|
27016
|
+
/** Gap between the header and the list / empty state. */
|
|
27017
|
+
const STACKED_LIST_HEADER = 'smart:mb-4';
|
|
27018
|
+
/** `withDividers`: hairline between rows. */
|
|
27019
|
+
const STACKED_LIST_DIVIDERS = 'smart:divide-y smart:divide-gray-100 smart:dark:divide-white/10';
|
|
27020
|
+
/**
|
|
27021
|
+
* `fullWidthOnMobile`: the list becomes a card that bleeds to the screen edge
|
|
27022
|
+
* below `sm` (negative margin, square corners) and turns into a rounded card
|
|
27023
|
+
* from `sm` up.
|
|
27024
|
+
*/
|
|
27025
|
+
const STACKED_LIST_FULL_WIDTH_CARD = [
|
|
27026
|
+
'smart:-mx-4',
|
|
27027
|
+
'smart:sm:mx-0',
|
|
27028
|
+
'smart:overflow-hidden',
|
|
27029
|
+
'smart:bg-white',
|
|
27030
|
+
'smart:dark:bg-gray-900',
|
|
27031
|
+
'smart:shadow-xs',
|
|
27032
|
+
'smart:ring-1',
|
|
27033
|
+
'smart:ring-gray-900/5',
|
|
27034
|
+
'smart:dark:ring-white/10',
|
|
27035
|
+
'smart:sm:rounded-xl',
|
|
27036
|
+
].join(' ');
|
|
27037
|
+
/** Row base: leading media, body, trailing badge/action. */
|
|
27038
|
+
const STACKED_LIST_ITEM = 'smart:flex smart:items-center smart:justify-between smart:gap-x-6 smart:py-5';
|
|
27039
|
+
/** Horizontal row padding used inside the full-width card. */
|
|
27040
|
+
const STACKED_LIST_ITEM_CARD_PADDING = 'smart:px-4 smart:sm:px-6';
|
|
27041
|
+
/** Leading group (media + body); `min-w-0` lets the text truncate. */
|
|
27042
|
+
const STACKED_LIST_LEAD = 'smart:flex smart:min-w-0 smart:gap-x-4';
|
|
27043
|
+
/** Avatar image. */
|
|
27044
|
+
const STACKED_LIST_AVATAR = 'smart:size-12 smart:flex-none smart:rounded-full smart:bg-gray-50 smart:dark:bg-gray-800';
|
|
27045
|
+
/** Tile wrapping a custom `iconTpl`. */
|
|
27046
|
+
const STACKED_LIST_ICON = [
|
|
27047
|
+
'smart:flex',
|
|
27048
|
+
'smart:size-12',
|
|
27049
|
+
'smart:flex-none',
|
|
27050
|
+
'smart:items-center',
|
|
27051
|
+
'smart:justify-center',
|
|
27052
|
+
'smart:rounded-full',
|
|
27053
|
+
'smart:bg-gray-100',
|
|
27054
|
+
'smart:text-gray-500',
|
|
27055
|
+
'smart:dark:bg-gray-800',
|
|
27056
|
+
'smart:dark:text-gray-400',
|
|
27057
|
+
].join(' ');
|
|
27058
|
+
/** Text column. */
|
|
27059
|
+
const STACKED_LIST_BODY = 'smart:min-w-0 smart:flex-auto';
|
|
27060
|
+
/** Row title (plain). */
|
|
27061
|
+
const STACKED_LIST_ITEM_TITLE = 'smart:block smart:text-sm/6 smart:font-semibold smart:text-gray-900 smart:dark:text-white';
|
|
27062
|
+
/** Row title rendered as a link. */
|
|
27063
|
+
const STACKED_LIST_ITEM_TITLE_LINK = `${STACKED_LIST_ITEM_TITLE} smart:hover:underline smart:focus:outline-none smart:focus-visible:underline`;
|
|
27064
|
+
/** Secondary line. */
|
|
27065
|
+
const STACKED_LIST_ITEM_DESCRIPTION = 'smart:mt-1 smart:block smart:truncate smart:text-xs/5 smart:text-gray-500 smart:dark:text-gray-400';
|
|
27066
|
+
/** Tertiary line (timestamp, role...). */
|
|
27067
|
+
const STACKED_LIST_ITEM_META = 'smart:mt-1 smart:block smart:text-xs/5 smart:text-gray-400 smart:dark:text-gray-500';
|
|
27068
|
+
/** Trailing group holding the badge and the action. */
|
|
27069
|
+
const STACKED_LIST_TRAIL = 'smart:flex smart:shrink-0 smart:items-center smart:gap-x-4';
|
|
27070
|
+
/** Empty-state wrapper. */
|
|
27071
|
+
const STACKED_LIST_EMPTY = [
|
|
27072
|
+
'smart:rounded-lg',
|
|
27073
|
+
'smart:border',
|
|
27074
|
+
'smart:border-dashed',
|
|
27075
|
+
'smart:border-gray-200',
|
|
27076
|
+
'smart:dark:border-white/10',
|
|
27077
|
+
'smart:px-4',
|
|
27078
|
+
'smart:py-8',
|
|
27079
|
+
'smart:text-center',
|
|
27080
|
+
'smart:text-sm',
|
|
27081
|
+
'smart:text-gray-500',
|
|
27082
|
+
'smart:dark:text-gray-400',
|
|
27083
|
+
].join(' ');
|
|
27084
|
+
/** Footer slot wrapper. */
|
|
27085
|
+
const STACKED_LIST_FOOTER = 'smart:mt-4 smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';
|
|
27086
|
+
function join$1(...classes) {
|
|
27087
|
+
return classes.filter(Boolean).join(' ');
|
|
27088
|
+
}
|
|
27089
|
+
/** Root classes merged with the external class. */
|
|
27090
|
+
function getStackedListRootClasses(cssClass) {
|
|
27091
|
+
return join$1(STACKED_LIST_ROOT, cssClass);
|
|
27092
|
+
}
|
|
27093
|
+
/** `<ul>` classes for the given layout flags. */
|
|
27094
|
+
function getStackedListListClasses(flags) {
|
|
27095
|
+
return join$1(flags.withDividers && STACKED_LIST_DIVIDERS, flags.fullWidthOnMobile && STACKED_LIST_FULL_WIDTH_CARD);
|
|
27096
|
+
}
|
|
27097
|
+
/** `<li>` classes for the given layout flags. */
|
|
27098
|
+
function getStackedListItemClasses(flags) {
|
|
27099
|
+
return join$1(STACKED_LIST_ITEM, flags.fullWidthOnMobile && STACKED_LIST_ITEM_CARD_PADDING);
|
|
27100
|
+
}
|
|
27101
|
+
|
|
27102
|
+
/**
|
|
27103
|
+
* Styled stacked list variation (preset).
|
|
27104
|
+
*
|
|
27105
|
+
* Drop-in replacement for `StackedListStandardComponent` — register it through
|
|
27106
|
+
* `STACKED_LIST_STANDARD_COMPONENT_TOKEN` to restyle every
|
|
27107
|
+
* `<smart-stacked-list>`, or use the `<smart-stacked-list-preset>` selector
|
|
27108
|
+
* directly.
|
|
27109
|
+
*
|
|
27110
|
+
* Renders the Tailwind UI stacked list look: a header (title + description),
|
|
27111
|
+
* rows with a leading avatar or icon tile (icon template wins), a title (link
|
|
27112
|
+
* when `href` is set), description and meta lines, and trailing badge/action
|
|
27113
|
+
* slots. It honours the layout hints the standard ignores: `withDividers`
|
|
27114
|
+
* draws hairlines between rows, and `fullWidthOnMobile` turns the list into a
|
|
27115
|
+
* card that bleeds to the screen edge below `sm` and is rounded from `sm` up.
|
|
27116
|
+
*/
|
|
27117
|
+
class StackedListPresetComponent extends StackedListBaseComponent {
|
|
27118
|
+
// NgComponentOutlet (used by StackedListComponent when this is registered
|
|
27119
|
+
// through STACKED_LIST_STANDARD_COMPONENT_TOKEN) passes inputs by canonical
|
|
27120
|
+
// name, so the inherited `class` alias must be dropped for `cssClass` to bind.
|
|
27121
|
+
cssClass = input('', /* @ts-ignore */
|
|
27122
|
+
...(ngDevMode ? [{ debugName: "cssClass" }] : /* istanbul ignore next */ []));
|
|
27123
|
+
title = computed(() => this.options()?.title, /* @ts-ignore */
|
|
27124
|
+
...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
|
|
27125
|
+
description = computed(() => this.options()?.description, /* @ts-ignore */
|
|
27126
|
+
...(ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []));
|
|
27127
|
+
items = computed(() => this.options()?.items ?? [], /* @ts-ignore */
|
|
27128
|
+
...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
|
|
27129
|
+
emptyTpl = computed(() => this.options()?.emptyTpl, /* @ts-ignore */
|
|
27130
|
+
...(ngDevMode ? [{ debugName: "emptyTpl" }] : /* istanbul ignore next */ []));
|
|
27131
|
+
footerTpl = computed(() => this.options()?.footerTpl, /* @ts-ignore */
|
|
27132
|
+
...(ngDevMode ? [{ debugName: "footerTpl" }] : /* istanbul ignore next */ []));
|
|
27133
|
+
flags = computed(() => ({
|
|
27134
|
+
withDividers: this.options()?.withDividers,
|
|
27135
|
+
fullWidthOnMobile: this.options()?.fullWidthOnMobile,
|
|
27136
|
+
}), /* @ts-ignore */
|
|
27137
|
+
...(ngDevMode ? [{ debugName: "flags" }] : /* istanbul ignore next */ []));
|
|
27138
|
+
rootClasses = computed(() => getStackedListRootClasses(this.cssClass()), /* @ts-ignore */
|
|
27139
|
+
...(ngDevMode ? [{ debugName: "rootClasses" }] : /* istanbul ignore next */ []));
|
|
27140
|
+
listClasses = computed(() => getStackedListListClasses(this.flags()), /* @ts-ignore */
|
|
27141
|
+
...(ngDevMode ? [{ debugName: "listClasses" }] : /* istanbul ignore next */ []));
|
|
27142
|
+
itemClasses = computed(() => getStackedListItemClasses(this.flags()), /* @ts-ignore */
|
|
27143
|
+
...(ngDevMode ? [{ debugName: "itemClasses" }] : /* istanbul ignore next */ []));
|
|
27144
|
+
headerClasses = STACKED_LIST_HEADER;
|
|
27145
|
+
titleClasses = STACKED_LIST_TITLE;
|
|
27146
|
+
descriptionClasses = STACKED_LIST_DESCRIPTION;
|
|
27147
|
+
leadClasses = STACKED_LIST_LEAD;
|
|
27148
|
+
avatarClasses = STACKED_LIST_AVATAR;
|
|
27149
|
+
iconClasses = STACKED_LIST_ICON;
|
|
27150
|
+
bodyClasses = STACKED_LIST_BODY;
|
|
27151
|
+
itemTitleClasses = STACKED_LIST_ITEM_TITLE;
|
|
27152
|
+
itemTitleLinkClasses = STACKED_LIST_ITEM_TITLE_LINK;
|
|
27153
|
+
itemDescriptionClasses = STACKED_LIST_ITEM_DESCRIPTION;
|
|
27154
|
+
itemMetaClasses = STACKED_LIST_ITEM_META;
|
|
27155
|
+
trailClasses = STACKED_LIST_TRAIL;
|
|
27156
|
+
emptyClasses = STACKED_LIST_EMPTY;
|
|
27157
|
+
footerClasses = STACKED_LIST_FOOTER;
|
|
27158
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StackedListPresetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
27159
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: StackedListPresetComponent, isStandalone: true, selector: "smart-stacked-list-preset", inputs: { cssClass: { classPropertyName: "cssClass", publicName: "cssClass", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<div [class]=\"rootClasses()\">\n @if (title() || description()) {\n <div [class]=\"headerClasses\">\n @if (title()) {\n <h3 [class]=\"titleClasses\">{{ title() }}</h3>\n }\n @if (description()) {\n <p [class]=\"descriptionClasses\">{{ description() }}</p>\n }\n </div>\n }\n\n @if (items().length > 0) {\n <ul role=\"list\" [class]=\"listClasses()\">\n @for (item of items(); track item.id ?? $index) {\n <li [class]=\"itemClasses()\" [attr.aria-label]=\"item.ariaLabel ?? null\">\n <div [class]=\"leadClasses\">\n @if (item.iconTpl) {\n <span [class]=\"iconClasses\">\n <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n </span>\n } @else if (item.avatarUrl) {\n <img [class]=\"avatarClasses\" [src]=\"item.avatarUrl\" alt=\"\" />\n }\n <div [class]=\"bodyClasses\">\n @if (item.href) {\n <a [class]=\"itemTitleLinkClasses\" [attr.href]=\"item.href\">{{\n item.title\n }}</a>\n } @else {\n <span [class]=\"itemTitleClasses\">{{ item.title }}</span>\n }\n @if (item.description) {\n <span [class]=\"itemDescriptionClasses\">{{\n item.description\n }}</span>\n }\n @if (item.meta) {\n <span [class]=\"itemMetaClasses\">{{ item.meta }}</span>\n }\n </div>\n </div>\n @if (item.badgeTpl || item.actionTpl) {\n <div [class]=\"trailClasses\">\n @if (item.badgeTpl) {\n <ng-container [ngTemplateOutlet]=\"item.badgeTpl\" />\n }\n @if (item.actionTpl) {\n <ng-container [ngTemplateOutlet]=\"item.actionTpl\" />\n }\n </div>\n }\n </li>\n }\n </ul>\n } @else if (emptyTpl()) {\n <div [class]=\"emptyClasses\">\n <ng-container [ngTemplateOutlet]=\"emptyTpl()!\" />\n </div>\n }\n\n @if (footerTpl()) {\n <div [class]=\"footerClasses\">\n <ng-container [ngTemplateOutlet]=\"footerTpl()!\" />\n </div>\n }\n</div>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
27160
|
+
}
|
|
27161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StackedListPresetComponent, decorators: [{
|
|
27162
|
+
type: Component,
|
|
27163
|
+
args: [{ selector: 'smart-stacked-list-preset', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgTemplateOutlet], template: "<div [class]=\"rootClasses()\">\n @if (title() || description()) {\n <div [class]=\"headerClasses\">\n @if (title()) {\n <h3 [class]=\"titleClasses\">{{ title() }}</h3>\n }\n @if (description()) {\n <p [class]=\"descriptionClasses\">{{ description() }}</p>\n }\n </div>\n }\n\n @if (items().length > 0) {\n <ul role=\"list\" [class]=\"listClasses()\">\n @for (item of items(); track item.id ?? $index) {\n <li [class]=\"itemClasses()\" [attr.aria-label]=\"item.ariaLabel ?? null\">\n <div [class]=\"leadClasses\">\n @if (item.iconTpl) {\n <span [class]=\"iconClasses\">\n <ng-container [ngTemplateOutlet]=\"item.iconTpl\" />\n </span>\n } @else if (item.avatarUrl) {\n <img [class]=\"avatarClasses\" [src]=\"item.avatarUrl\" alt=\"\" />\n }\n <div [class]=\"bodyClasses\">\n @if (item.href) {\n <a [class]=\"itemTitleLinkClasses\" [attr.href]=\"item.href\">{{\n item.title\n }}</a>\n } @else {\n <span [class]=\"itemTitleClasses\">{{ item.title }}</span>\n }\n @if (item.description) {\n <span [class]=\"itemDescriptionClasses\">{{\n item.description\n }}</span>\n }\n @if (item.meta) {\n <span [class]=\"itemMetaClasses\">{{ item.meta }}</span>\n }\n </div>\n </div>\n @if (item.badgeTpl || item.actionTpl) {\n <div [class]=\"trailClasses\">\n @if (item.badgeTpl) {\n <ng-container [ngTemplateOutlet]=\"item.badgeTpl\" />\n }\n @if (item.actionTpl) {\n <ng-container [ngTemplateOutlet]=\"item.actionTpl\" />\n }\n </div>\n }\n </li>\n }\n </ul>\n } @else if (emptyTpl()) {\n <div [class]=\"emptyClasses\">\n <ng-container [ngTemplateOutlet]=\"emptyTpl()!\" />\n </div>\n }\n\n @if (footerTpl()) {\n <div [class]=\"footerClasses\">\n <ng-container [ngTemplateOutlet]=\"footerTpl()!\" />\n </div>\n }\n</div>\n" }]
|
|
27164
|
+
}], propDecorators: { cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "cssClass", required: false }] }] } });
|
|
27165
|
+
|
|
27006
27166
|
class StackedListComponent {
|
|
27007
27167
|
injectedComponent = inject(STACKED_LIST_STANDARD_COMPONENT_TOKEN, {
|
|
27008
27168
|
optional: true,
|
|
@@ -27294,6 +27454,310 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
27294
27454
|
args: [{ selector: 'smart-table-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgTemplateOutlet], template: "<div [class]=\"cssClass()\">\n <div class=\"table-wrapper\">\n @if (options()?.title) {\n <h3 class=\"title\">{{ options()!.title }}</h3>\n }\n @if (options()?.description) {\n <p class=\"description\">{{ options()!.description }}</p>\n }\n @if (options()?.toolbarTpl) {\n <div class=\"toolbar\">\n <ng-container [ngTemplateOutlet]=\"options()!.toolbarTpl!\" />\n </div>\n }\n @if ((options()?.columns ?? []).length > 0) {\n <table>\n <thead>\n <tr>\n @if (options()?.withCheckboxes) {\n <th\n scope=\"col\"\n class=\"checkbox-col\"\n [attr.aria-label]=\"'Select rows'\"\n >\n <input type=\"checkbox\" />\n </th>\n }\n @for (col of options()!.columns!; track col.key) {\n <th\n scope=\"col\"\n [attr.aria-label]=\"col.ariaLabel ?? null\"\n [attr.data-align]=\"col.align ?? null\"\n >\n @if (col.headerTpl) {\n <ng-container [ngTemplateOutlet]=\"col.headerTpl\" />\n } @else {\n {{ col.label ?? col.key }}\n }\n </th>\n }\n </tr>\n </thead>\n <tbody>\n @for (row of options()?.rows ?? []; track $index) {\n <tr>\n @if (options()?.withCheckboxes) {\n <td class=\"checkbox-cell\">\n <input type=\"checkbox\" />\n </td>\n }\n @for (col of options()!.columns!; track col.key) {\n <td [attr.data-align]=\"col.align ?? null\">\n @if (col.cellTpl) {\n <ng-container\n [ngTemplateOutlet]=\"col.cellTpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: row,\n column: col,\n }\"\n />\n } @else {\n {{ readCell(row, col.key) }}\n }\n </td>\n }\n </tr>\n } @empty {\n @if (options()?.emptyTpl) {\n <tr class=\"empty-row\">\n <td\n [attr.colspan]=\"\n (options()?.withCheckboxes ? 1 : 0) +\n options()!.columns!.length\n \"\n >\n <ng-container [ngTemplateOutlet]=\"options()!.emptyTpl!\" />\n </td>\n </tr>\n }\n }\n </tbody>\n </table>\n }\n @if (options()?.footerTpl) {\n <div class=\"footer\">\n <ng-container [ngTemplateOutlet]=\"options()!.footerTpl!\" />\n </div>\n }\n </div>\n</div>\n" }]
|
|
27295
27455
|
}] });
|
|
27296
27456
|
|
|
27457
|
+
// Tailwind UI "Tables" class recipes for the table preset.
|
|
27458
|
+
// Every utility is `smart:`-prefixed (Tailwind v4 `prefix(smart)`) and every
|
|
27459
|
+
// color carries an explicit `smart:dark:` twin.
|
|
27460
|
+
/** Root wrapper; the external cssClass is merged onto it. */
|
|
27461
|
+
const TABLE_ROOT = 'smart:w-full';
|
|
27462
|
+
/** Header row: title/description on the left, toolbar on the right. */
|
|
27463
|
+
const TABLE_HEADER = 'smart:mb-6 smart:sm:flex smart:sm:items-center smart:sm:gap-x-8';
|
|
27464
|
+
/** Title/description column inside the header. */
|
|
27465
|
+
const TABLE_HEADER_TEXT = 'smart:sm:flex-auto';
|
|
27466
|
+
/** Title (`<h3>`). */
|
|
27467
|
+
const TABLE_TITLE = 'smart:text-base smart:font-semibold smart:text-gray-900 smart:dark:text-white';
|
|
27468
|
+
/** Description (`<p>`). */
|
|
27469
|
+
const TABLE_DESCRIPTION = 'smart:mt-2 smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';
|
|
27470
|
+
/** Toolbar slot, pushed to the right of the header on `sm+`. */
|
|
27471
|
+
const TABLE_TOOLBAR = 'smart:mt-4 smart:sm:mt-0 smart:sm:flex-none';
|
|
27472
|
+
const FRAME_BORDERED = [
|
|
27473
|
+
'smart:overflow-hidden',
|
|
27474
|
+
'smart:rounded-lg',
|
|
27475
|
+
'smart:bg-white',
|
|
27476
|
+
'smart:shadow-sm',
|
|
27477
|
+
'smart:outline-1',
|
|
27478
|
+
'smart:outline-black/5',
|
|
27479
|
+
'smart:dark:bg-gray-900',
|
|
27480
|
+
'smart:dark:shadow-none',
|
|
27481
|
+
'smart:dark:-outline-offset-1',
|
|
27482
|
+
'smart:dark:outline-white/10',
|
|
27483
|
+
];
|
|
27484
|
+
/** Frame around the scroll container: a rounded card when `withBorder`. */
|
|
27485
|
+
function getTableFrameClasses(withBorder) {
|
|
27486
|
+
return (withBorder ? FRAME_BORDERED : ['smart:flow-root']).join(' ');
|
|
27487
|
+
}
|
|
27488
|
+
/** Scroll container; limits the height when the header is sticky. */
|
|
27489
|
+
function getTableScrollClasses(stickyHeader) {
|
|
27490
|
+
const classes = ['smart:overflow-x-auto'];
|
|
27491
|
+
if (stickyHeader)
|
|
27492
|
+
classes.push('smart:max-h-96', 'smart:overflow-y-auto');
|
|
27493
|
+
return classes.join(' ');
|
|
27494
|
+
}
|
|
27495
|
+
/** `<table>`. */
|
|
27496
|
+
const TABLE_TABLE = 'smart:min-w-full smart:divide-y smart:divide-gray-300 smart:dark:divide-white/15';
|
|
27497
|
+
/** `<thead>`: gray surface inside the bordered card. */
|
|
27498
|
+
function getTableHeadClasses(withBorder) {
|
|
27499
|
+
return withBorder ? 'smart:bg-gray-50 smart:dark:bg-gray-800/75' : '';
|
|
27500
|
+
}
|
|
27501
|
+
/** `<tbody>`: row dividers unless the rows are striped. */
|
|
27502
|
+
function getTableBodyClasses(striped) {
|
|
27503
|
+
return striped
|
|
27504
|
+
? ''
|
|
27505
|
+
: 'smart:divide-y smart:divide-gray-200 smart:dark:divide-white/10';
|
|
27506
|
+
}
|
|
27507
|
+
const ALIGN = {
|
|
27508
|
+
left: 'smart:text-left',
|
|
27509
|
+
center: 'smart:text-center',
|
|
27510
|
+
right: 'smart:text-right',
|
|
27511
|
+
};
|
|
27512
|
+
/** Horizontal padding; the outer columns line up with the card edge. */
|
|
27513
|
+
function edgePadding(withBorder) {
|
|
27514
|
+
return withBorder
|
|
27515
|
+
? [
|
|
27516
|
+
'smart:px-3',
|
|
27517
|
+
'smart:first:pl-4',
|
|
27518
|
+
'smart:sm:first:pl-6',
|
|
27519
|
+
'smart:last:pr-4',
|
|
27520
|
+
'smart:sm:last:pr-6',
|
|
27521
|
+
]
|
|
27522
|
+
: ['smart:px-3', 'smart:first:pl-0', 'smart:last:pr-0'];
|
|
27523
|
+
}
|
|
27524
|
+
const HEADER_CELL_STICKY = [
|
|
27525
|
+
'smart:sticky',
|
|
27526
|
+
'smart:top-0',
|
|
27527
|
+
'smart:z-10',
|
|
27528
|
+
'smart:bg-white/75',
|
|
27529
|
+
'smart:backdrop-blur-sm',
|
|
27530
|
+
'smart:dark:bg-gray-900/75',
|
|
27531
|
+
];
|
|
27532
|
+
/** Header cell (`<th>`). */
|
|
27533
|
+
function getTableHeaderCellClasses(align, withBorder, stickyHeader) {
|
|
27534
|
+
const classes = [
|
|
27535
|
+
'smart:py-3.5',
|
|
27536
|
+
...edgePadding(withBorder),
|
|
27537
|
+
ALIGN[align],
|
|
27538
|
+
'smart:text-sm',
|
|
27539
|
+
'smart:font-semibold',
|
|
27540
|
+
'smart:text-gray-900',
|
|
27541
|
+
'smart:dark:text-white',
|
|
27542
|
+
];
|
|
27543
|
+
if (stickyHeader)
|
|
27544
|
+
classes.push(...HEADER_CELL_STICKY);
|
|
27545
|
+
return classes.join(' ');
|
|
27546
|
+
}
|
|
27547
|
+
/** Body row (`<tr>`): zebra stripes and the selected-row highlight. */
|
|
27548
|
+
function getTableRowClasses(striped, selected) {
|
|
27549
|
+
const classes = [];
|
|
27550
|
+
if (striped)
|
|
27551
|
+
classes.push('smart:even:bg-gray-50', 'smart:dark:even:bg-gray-800/50');
|
|
27552
|
+
if (selected)
|
|
27553
|
+
classes.push('smart:bg-gray-50', 'smart:dark:bg-gray-800/50');
|
|
27554
|
+
return classes.join(' ');
|
|
27555
|
+
}
|
|
27556
|
+
/** Body cell (`<td>`): the first data column is emphasised, the rest muted. */
|
|
27557
|
+
function getTableCellClasses(align, withBorder, first) {
|
|
27558
|
+
return [
|
|
27559
|
+
'smart:py-4',
|
|
27560
|
+
...edgePadding(withBorder),
|
|
27561
|
+
ALIGN[align],
|
|
27562
|
+
'smart:whitespace-nowrap',
|
|
27563
|
+
'smart:text-sm',
|
|
27564
|
+
...(first
|
|
27565
|
+
? ['smart:font-medium', 'smart:text-gray-900', 'smart:dark:text-white']
|
|
27566
|
+
: ['smart:text-gray-500', 'smart:dark:text-gray-400']),
|
|
27567
|
+
].join(' ');
|
|
27568
|
+
}
|
|
27569
|
+
/** Header and body cell holding the selection checkbox. */
|
|
27570
|
+
const TABLE_CHECKBOX_CELL = 'smart:relative smart:w-12 smart:px-4 smart:sm:px-6';
|
|
27571
|
+
/** Selection checkbox. */
|
|
27572
|
+
const TABLE_CHECKBOX = [
|
|
27573
|
+
'smart:size-4',
|
|
27574
|
+
'smart:rounded-sm',
|
|
27575
|
+
'smart:border',
|
|
27576
|
+
'smart:border-gray-300',
|
|
27577
|
+
'smart:bg-white',
|
|
27578
|
+
'smart:accent-indigo-600',
|
|
27579
|
+
'smart:focus-visible:outline-2',
|
|
27580
|
+
'smart:focus-visible:outline-offset-2',
|
|
27581
|
+
'smart:focus-visible:outline-indigo-600',
|
|
27582
|
+
'smart:dark:border-white/20',
|
|
27583
|
+
'smart:dark:bg-gray-800',
|
|
27584
|
+
'smart:dark:accent-indigo-500',
|
|
27585
|
+
'smart:dark:focus-visible:outline-indigo-500',
|
|
27586
|
+
].join(' ');
|
|
27587
|
+
/** Sortable header button (label + indicator). */
|
|
27588
|
+
const TABLE_SORT_BUTTON = 'smart:group smart:inline-flex smart:items-center smart:gap-x-2 smart:font-semibold';
|
|
27589
|
+
const SORT_ICON_BASE = ['smart:flex-none', 'smart:rounded-sm', 'smart:size-5'];
|
|
27590
|
+
/** Sort indicator: filled chip on the active column, muted hover otherwise. */
|
|
27591
|
+
function getTableSortIconClasses(active) {
|
|
27592
|
+
return [
|
|
27593
|
+
...SORT_ICON_BASE,
|
|
27594
|
+
...(active
|
|
27595
|
+
? [
|
|
27596
|
+
'smart:bg-gray-100',
|
|
27597
|
+
'smart:text-gray-900',
|
|
27598
|
+
'smart:group-hover:bg-gray-200',
|
|
27599
|
+
'smart:dark:bg-gray-800',
|
|
27600
|
+
'smart:dark:text-white',
|
|
27601
|
+
'smart:dark:group-hover:bg-gray-700',
|
|
27602
|
+
]
|
|
27603
|
+
: [
|
|
27604
|
+
'smart:text-gray-400',
|
|
27605
|
+
'smart:group-hover:text-gray-600',
|
|
27606
|
+
'smart:dark:text-gray-500',
|
|
27607
|
+
'smart:dark:group-hover:text-gray-300',
|
|
27608
|
+
]),
|
|
27609
|
+
].join(' ');
|
|
27610
|
+
}
|
|
27611
|
+
/** Empty-state cell spanning every column. */
|
|
27612
|
+
const TABLE_EMPTY = 'smart:px-3 smart:py-10 smart:text-center smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';
|
|
27613
|
+
/** Footer slot under the table. */
|
|
27614
|
+
const TABLE_FOOTER = 'smart:mt-4 smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';
|
|
27615
|
+
|
|
27616
|
+
/**
|
|
27617
|
+
* Styled table variation (preset).
|
|
27618
|
+
*
|
|
27619
|
+
* Drop-in replacement for `TableStandardComponent`: register it through
|
|
27620
|
+
* `TABLE_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-table>`, or use the
|
|
27621
|
+
* `<smart-table-preset>` selector directly.
|
|
27622
|
+
*
|
|
27623
|
+
* Renders the Tailwind UI table look and honours every `ITableOptions` hint the
|
|
27624
|
+
* standard component ignores: `striped` rows, a `stickyHeader`, a `withBorder`
|
|
27625
|
+
* card frame, per-column `align`, and `sortable` columns (client-side sort with
|
|
27626
|
+
* `aria-sort`). The checkbox column supports select-all with an indeterminate
|
|
27627
|
+
* state and highlights selected rows.
|
|
27628
|
+
*/
|
|
27629
|
+
class TablePresetComponent extends TableBaseComponent {
|
|
27630
|
+
// NgComponentOutlet (used by TableComponent when this is registered through
|
|
27631
|
+
// TABLE_STANDARD_COMPONENT_TOKEN) passes inputs by canonical name, so the
|
|
27632
|
+
// inherited `class` alias must be dropped for `cssClass` to bind.
|
|
27633
|
+
cssClass = input('', /* @ts-ignore */
|
|
27634
|
+
...(ngDevMode ? [{ debugName: "cssClass" }] : /* istanbul ignore next */ []));
|
|
27635
|
+
sort = signal(null, /* @ts-ignore */
|
|
27636
|
+
...(ngDevMode ? [{ debugName: "sort" }] : /* istanbul ignore next */ []));
|
|
27637
|
+
selected = signal(new Set(), /* @ts-ignore */
|
|
27638
|
+
...(ngDevMode ? [{ debugName: "selected" }] : /* istanbul ignore next */ []));
|
|
27639
|
+
columns = computed(() => this.options()?.columns ?? [], /* @ts-ignore */
|
|
27640
|
+
...(ngDevMode ? [{ debugName: "columns" }] : /* istanbul ignore next */ []));
|
|
27641
|
+
striped = computed(() => !!this.options()?.striped, /* @ts-ignore */
|
|
27642
|
+
...(ngDevMode ? [{ debugName: "striped" }] : /* istanbul ignore next */ []));
|
|
27643
|
+
stickyHeader = computed(() => !!this.options()?.stickyHeader, /* @ts-ignore */
|
|
27644
|
+
...(ngDevMode ? [{ debugName: "stickyHeader" }] : /* istanbul ignore next */ []));
|
|
27645
|
+
withBorder = computed(() => !!this.options()?.withBorder, /* @ts-ignore */
|
|
27646
|
+
...(ngDevMode ? [{ debugName: "withBorder" }] : /* istanbul ignore next */ []));
|
|
27647
|
+
withCheckboxes = computed(() => !!this.options()?.withCheckboxes, /* @ts-ignore */
|
|
27648
|
+
...(ngDevMode ? [{ debugName: "withCheckboxes" }] : /* istanbul ignore next */ []));
|
|
27649
|
+
hasHeader = computed(() => {
|
|
27650
|
+
const o = this.options();
|
|
27651
|
+
return !!(o?.title || o?.description || o?.toolbarTpl);
|
|
27652
|
+
}, /* @ts-ignore */
|
|
27653
|
+
...(ngDevMode ? [{ debugName: "hasHeader" }] : /* istanbul ignore next */ []));
|
|
27654
|
+
rows = computed(() => {
|
|
27655
|
+
const rows = this.options()?.rows ?? [];
|
|
27656
|
+
const sort = this.sort();
|
|
27657
|
+
if (!sort)
|
|
27658
|
+
return rows;
|
|
27659
|
+
const factor = sort.direction === 'ascending' ? 1 : -1;
|
|
27660
|
+
return [...rows].sort((a, b) => factor * compareCells(a[sort.key], b[sort.key]));
|
|
27661
|
+
}, /* @ts-ignore */
|
|
27662
|
+
...(ngDevMode ? [{ debugName: "rows" }] : /* istanbul ignore next */ []));
|
|
27663
|
+
allSelected = computed(() => {
|
|
27664
|
+
const rows = this.rows();
|
|
27665
|
+
return rows.length > 0 && rows.every((row) => this.selected().has(row));
|
|
27666
|
+
}, /* @ts-ignore */
|
|
27667
|
+
...(ngDevMode ? [{ debugName: "allSelected" }] : /* istanbul ignore next */ []));
|
|
27668
|
+
someSelected = computed(() => !this.allSelected() &&
|
|
27669
|
+
this.rows().some((row) => this.selected().has(row)), /* @ts-ignore */
|
|
27670
|
+
...(ngDevMode ? [{ debugName: "someSelected" }] : /* istanbul ignore next */ []));
|
|
27671
|
+
rootClasses = computed(() => [TABLE_ROOT, this.cssClass()].filter(Boolean).join(' '), /* @ts-ignore */
|
|
27672
|
+
...(ngDevMode ? [{ debugName: "rootClasses" }] : /* istanbul ignore next */ []));
|
|
27673
|
+
frameClasses = computed(() => getTableFrameClasses(this.withBorder()), /* @ts-ignore */
|
|
27674
|
+
...(ngDevMode ? [{ debugName: "frameClasses" }] : /* istanbul ignore next */ []));
|
|
27675
|
+
scrollClasses = computed(() => getTableScrollClasses(this.stickyHeader()), /* @ts-ignore */
|
|
27676
|
+
...(ngDevMode ? [{ debugName: "scrollClasses" }] : /* istanbul ignore next */ []));
|
|
27677
|
+
headClasses = computed(() => getTableHeadClasses(this.withBorder()), /* @ts-ignore */
|
|
27678
|
+
...(ngDevMode ? [{ debugName: "headClasses" }] : /* istanbul ignore next */ []));
|
|
27679
|
+
bodyClasses = computed(() => getTableBodyClasses(this.striped()), /* @ts-ignore */
|
|
27680
|
+
...(ngDevMode ? [{ debugName: "bodyClasses" }] : /* istanbul ignore next */ []));
|
|
27681
|
+
checkboxHeaderClasses = computed(() => `${TABLE_CHECKBOX_CELL} ${getTableHeaderCellClasses('left', this.withBorder(), this.stickyHeader())}`, /* @ts-ignore */
|
|
27682
|
+
...(ngDevMode ? [{ debugName: "checkboxHeaderClasses" }] : /* istanbul ignore next */ []));
|
|
27683
|
+
headerClasses = TABLE_HEADER;
|
|
27684
|
+
headerTextClasses = TABLE_HEADER_TEXT;
|
|
27685
|
+
titleClasses = TABLE_TITLE;
|
|
27686
|
+
descriptionClasses = TABLE_DESCRIPTION;
|
|
27687
|
+
toolbarClasses = TABLE_TOOLBAR;
|
|
27688
|
+
tableClasses = TABLE_TABLE;
|
|
27689
|
+
checkboxCellClasses = TABLE_CHECKBOX_CELL;
|
|
27690
|
+
checkboxClasses = TABLE_CHECKBOX;
|
|
27691
|
+
sortButtonClasses = TABLE_SORT_BUTTON;
|
|
27692
|
+
emptyClasses = TABLE_EMPTY;
|
|
27693
|
+
footerClasses = TABLE_FOOTER;
|
|
27694
|
+
headerCellClasses(col) {
|
|
27695
|
+
return getTableHeaderCellClasses(col.align ?? 'left', this.withBorder(), this.stickyHeader());
|
|
27696
|
+
}
|
|
27697
|
+
cellClasses(col, first) {
|
|
27698
|
+
return getTableCellClasses(col.align ?? 'left', this.withBorder(), first);
|
|
27699
|
+
}
|
|
27700
|
+
rowClasses(row) {
|
|
27701
|
+
return getTableRowClasses(this.striped(), this.isSelected(row));
|
|
27702
|
+
}
|
|
27703
|
+
sortIconClasses(col) {
|
|
27704
|
+
return getTableSortIconClasses(this.sort()?.key === col.key);
|
|
27705
|
+
}
|
|
27706
|
+
ariaSort(col) {
|
|
27707
|
+
if (!col.sortable)
|
|
27708
|
+
return null;
|
|
27709
|
+
const sort = this.sort();
|
|
27710
|
+
return sort?.key === col.key ? sort.direction : 'none';
|
|
27711
|
+
}
|
|
27712
|
+
isDescending(col) {
|
|
27713
|
+
const sort = this.sort();
|
|
27714
|
+
return sort?.key === col.key && sort.direction === 'descending';
|
|
27715
|
+
}
|
|
27716
|
+
toggleSort(col) {
|
|
27717
|
+
const current = this.sort();
|
|
27718
|
+
const direction = current?.key === col.key && current.direction === 'ascending'
|
|
27719
|
+
? 'descending'
|
|
27720
|
+
: 'ascending';
|
|
27721
|
+
this.sort.set({ key: col.key, direction });
|
|
27722
|
+
}
|
|
27723
|
+
isSelected(row) {
|
|
27724
|
+
return this.selected().has(row);
|
|
27725
|
+
}
|
|
27726
|
+
toggleRow(row) {
|
|
27727
|
+
const next = new Set(this.selected());
|
|
27728
|
+
if (next.has(row))
|
|
27729
|
+
next.delete(row);
|
|
27730
|
+
else
|
|
27731
|
+
next.add(row);
|
|
27732
|
+
this.selected.set(next);
|
|
27733
|
+
}
|
|
27734
|
+
toggleAll() {
|
|
27735
|
+
this.selected.set(this.allSelected() ? new Set() : new Set(this.rows()));
|
|
27736
|
+
}
|
|
27737
|
+
emptyColspan() {
|
|
27738
|
+
return this.columns().length + (this.withCheckboxes() ? 1 : 0);
|
|
27739
|
+
}
|
|
27740
|
+
readCell(row, key) {
|
|
27741
|
+
return row[key];
|
|
27742
|
+
}
|
|
27743
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TablePresetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
27744
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: TablePresetComponent, isStandalone: true, selector: "smart-table-preset", inputs: { cssClass: { classPropertyName: "cssClass", publicName: "cssClass", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<div [class]=\"rootClasses()\">\n @if (hasHeader()) {\n <div data-role=\"header\" [class]=\"headerClasses\">\n <div [class]=\"headerTextClasses\">\n @if (options()?.title) {\n <h3 data-role=\"title\" [class]=\"titleClasses\">\n {{ options()!.title }}\n </h3>\n }\n @if (options()?.description) {\n <p data-role=\"description\" [class]=\"descriptionClasses\">\n {{ options()!.description }}\n </p>\n }\n </div>\n @if (options()?.toolbarTpl) {\n <div data-role=\"toolbar\" [class]=\"toolbarClasses\">\n <ng-container [ngTemplateOutlet]=\"options()!.toolbarTpl!\" />\n </div>\n }\n </div>\n }\n\n @if (columns().length > 0) {\n <div data-role=\"frame\" [class]=\"frameClasses()\">\n <div data-role=\"scroll\" [class]=\"scrollClasses()\">\n <table [class]=\"tableClasses\">\n <thead [class]=\"headClasses()\">\n <tr>\n @if (withCheckboxes()) {\n <th scope=\"col\" [class]=\"checkboxHeaderClasses()\">\n <input\n type=\"checkbox\"\n aria-label=\"Select all rows\"\n [class]=\"checkboxClasses\"\n [checked]=\"allSelected()\"\n [indeterminate]=\"someSelected()\"\n (change)=\"toggleAll()\"\n />\n </th>\n }\n @for (col of columns(); track col.key) {\n <th\n scope=\"col\"\n [class]=\"headerCellClasses(col)\"\n [attr.aria-label]=\"col.ariaLabel ?? null\"\n [attr.aria-sort]=\"ariaSort(col)\"\n [attr.data-align]=\"col.align ?? null\"\n >\n @if (col.sortable) {\n <button\n type=\"button\"\n [class]=\"sortButtonClasses\"\n (click)=\"toggleSort(col)\"\n >\n @if (col.headerTpl) {\n <ng-container [ngTemplateOutlet]=\"col.headerTpl\" />\n } @else {\n {{ col.label ?? col.key }}\n }\n <svg\n data-role=\"sort-icon\"\n viewBox=\"0 0 20 20\"\n fill=\"currentColor\"\n aria-hidden=\"true\"\n [attr.class]=\"\n sortIconClasses(col) +\n (isDescending(col) ? ' smart:rotate-180' : '')\n \"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M14.77 12.79a.75.75 0 0 1-1.06-.02L10 8.832 6.29 12.77a.75.75 0 1 1-1.08-1.04l4.25-4.5a.75.75 0 0 1 1.08 0l4.25 4.5a.75.75 0 0 1-.02 1.06Z\"\n />\n </svg>\n </button>\n } @else if (col.headerTpl) {\n <ng-container [ngTemplateOutlet]=\"col.headerTpl\" />\n } @else {\n {{ col.label ?? col.key }}\n }\n </th>\n }\n </tr>\n </thead>\n <tbody [class]=\"bodyClasses()\">\n @for (row of rows(); track row) {\n <tr [class]=\"rowClasses(row)\">\n @if (withCheckboxes()) {\n <td [class]=\"checkboxCellClasses\">\n <input\n type=\"checkbox\"\n aria-label=\"Select row\"\n [class]=\"checkboxClasses\"\n [checked]=\"isSelected(row)\"\n (change)=\"toggleRow(row)\"\n />\n </td>\n }\n @for (col of columns(); track col.key; let first = $first) {\n <td\n [class]=\"cellClasses(col, first)\"\n [attr.data-align]=\"col.align ?? null\"\n >\n @if (col.cellTpl) {\n <ng-container\n [ngTemplateOutlet]=\"col.cellTpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: row,\n column: col,\n }\"\n />\n } @else {\n {{ readCell(row, col.key) }}\n }\n </td>\n }\n </tr>\n } @empty {\n @if (options()?.emptyTpl) {\n <tr>\n <td\n data-role=\"empty\"\n [class]=\"emptyClasses\"\n [attr.colspan]=\"emptyColspan()\"\n >\n <ng-container [ngTemplateOutlet]=\"options()!.emptyTpl!\" />\n </td>\n </tr>\n }\n }\n </tbody>\n </table>\n </div>\n </div>\n }\n\n @if (options()?.footerTpl) {\n <div data-role=\"footer\" [class]=\"footerClasses\">\n <ng-container [ngTemplateOutlet]=\"options()!.footerTpl!\" />\n </div>\n }\n</div>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
27745
|
+
}
|
|
27746
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TablePresetComponent, decorators: [{
|
|
27747
|
+
type: Component,
|
|
27748
|
+
args: [{ selector: 'smart-table-preset', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgTemplateOutlet], template: "<div [class]=\"rootClasses()\">\n @if (hasHeader()) {\n <div data-role=\"header\" [class]=\"headerClasses\">\n <div [class]=\"headerTextClasses\">\n @if (options()?.title) {\n <h3 data-role=\"title\" [class]=\"titleClasses\">\n {{ options()!.title }}\n </h3>\n }\n @if (options()?.description) {\n <p data-role=\"description\" [class]=\"descriptionClasses\">\n {{ options()!.description }}\n </p>\n }\n </div>\n @if (options()?.toolbarTpl) {\n <div data-role=\"toolbar\" [class]=\"toolbarClasses\">\n <ng-container [ngTemplateOutlet]=\"options()!.toolbarTpl!\" />\n </div>\n }\n </div>\n }\n\n @if (columns().length > 0) {\n <div data-role=\"frame\" [class]=\"frameClasses()\">\n <div data-role=\"scroll\" [class]=\"scrollClasses()\">\n <table [class]=\"tableClasses\">\n <thead [class]=\"headClasses()\">\n <tr>\n @if (withCheckboxes()) {\n <th scope=\"col\" [class]=\"checkboxHeaderClasses()\">\n <input\n type=\"checkbox\"\n aria-label=\"Select all rows\"\n [class]=\"checkboxClasses\"\n [checked]=\"allSelected()\"\n [indeterminate]=\"someSelected()\"\n (change)=\"toggleAll()\"\n />\n </th>\n }\n @for (col of columns(); track col.key) {\n <th\n scope=\"col\"\n [class]=\"headerCellClasses(col)\"\n [attr.aria-label]=\"col.ariaLabel ?? null\"\n [attr.aria-sort]=\"ariaSort(col)\"\n [attr.data-align]=\"col.align ?? null\"\n >\n @if (col.sortable) {\n <button\n type=\"button\"\n [class]=\"sortButtonClasses\"\n (click)=\"toggleSort(col)\"\n >\n @if (col.headerTpl) {\n <ng-container [ngTemplateOutlet]=\"col.headerTpl\" />\n } @else {\n {{ col.label ?? col.key }}\n }\n <svg\n data-role=\"sort-icon\"\n viewBox=\"0 0 20 20\"\n fill=\"currentColor\"\n aria-hidden=\"true\"\n [attr.class]=\"\n sortIconClasses(col) +\n (isDescending(col) ? ' smart:rotate-180' : '')\n \"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M14.77 12.79a.75.75 0 0 1-1.06-.02L10 8.832 6.29 12.77a.75.75 0 1 1-1.08-1.04l4.25-4.5a.75.75 0 0 1 1.08 0l4.25 4.5a.75.75 0 0 1-.02 1.06Z\"\n />\n </svg>\n </button>\n } @else if (col.headerTpl) {\n <ng-container [ngTemplateOutlet]=\"col.headerTpl\" />\n } @else {\n {{ col.label ?? col.key }}\n }\n </th>\n }\n </tr>\n </thead>\n <tbody [class]=\"bodyClasses()\">\n @for (row of rows(); track row) {\n <tr [class]=\"rowClasses(row)\">\n @if (withCheckboxes()) {\n <td [class]=\"checkboxCellClasses\">\n <input\n type=\"checkbox\"\n aria-label=\"Select row\"\n [class]=\"checkboxClasses\"\n [checked]=\"isSelected(row)\"\n (change)=\"toggleRow(row)\"\n />\n </td>\n }\n @for (col of columns(); track col.key; let first = $first) {\n <td\n [class]=\"cellClasses(col, first)\"\n [attr.data-align]=\"col.align ?? null\"\n >\n @if (col.cellTpl) {\n <ng-container\n [ngTemplateOutlet]=\"col.cellTpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: row,\n column: col,\n }\"\n />\n } @else {\n {{ readCell(row, col.key) }}\n }\n </td>\n }\n </tr>\n } @empty {\n @if (options()?.emptyTpl) {\n <tr>\n <td\n data-role=\"empty\"\n [class]=\"emptyClasses\"\n [attr.colspan]=\"emptyColspan()\"\n >\n <ng-container [ngTemplateOutlet]=\"options()!.emptyTpl!\" />\n </td>\n </tr>\n }\n }\n </tbody>\n </table>\n </div>\n </div>\n }\n\n @if (options()?.footerTpl) {\n <div data-role=\"footer\" [class]=\"footerClasses\">\n <ng-container [ngTemplateOutlet]=\"options()!.footerTpl!\" />\n </div>\n }\n</div>\n" }]
|
|
27749
|
+
}], propDecorators: { cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "cssClass", required: false }] }] } });
|
|
27750
|
+
/** Numbers compare numerically, everything else as natural-order text; empty values sort last. */
|
|
27751
|
+
function compareCells(a, b) {
|
|
27752
|
+
const aEmpty = a === null || a === undefined || a === '';
|
|
27753
|
+
const bEmpty = b === null || b === undefined || b === '';
|
|
27754
|
+
if (aEmpty || bEmpty)
|
|
27755
|
+
return Number(aEmpty) - Number(bEmpty);
|
|
27756
|
+
if (typeof a === 'number' && typeof b === 'number')
|
|
27757
|
+
return a - b;
|
|
27758
|
+
return String(a).localeCompare(String(b), undefined, { numeric: true });
|
|
27759
|
+
}
|
|
27760
|
+
|
|
27297
27761
|
class TableComponent {
|
|
27298
27762
|
injectedComponent = inject(TABLE_STANDARD_COMPONENT_TOKEN, {
|
|
27299
27763
|
optional: true,
|
|
@@ -27460,7 +27924,7 @@ const PILL_ACTIVE_BRAND = [
|
|
|
27460
27924
|
'smart:dark:bg-blue-500',
|
|
27461
27925
|
].join(' ');
|
|
27462
27926
|
// --- Bar with underline ----------------------------------------------------
|
|
27463
|
-
const BAR_BASE = [
|
|
27927
|
+
const BAR_BASE$1 = [
|
|
27464
27928
|
'smart:relative',
|
|
27465
27929
|
'smart:min-w-0',
|
|
27466
27930
|
'smart:flex-1',
|
|
@@ -27540,7 +28004,7 @@ function getTabsTriggerClasses(layout, active) {
|
|
|
27540
28004
|
case 'bar-with-underline':
|
|
27541
28005
|
return [
|
|
27542
28006
|
TRIGGER_COMMON,
|
|
27543
|
-
BAR_BASE,
|
|
28007
|
+
BAR_BASE$1,
|
|
27544
28008
|
active ? BAR_ACTIVE : BAR_INACTIVE,
|
|
27545
28009
|
].join(' ');
|
|
27546
28010
|
case 'simple':
|
|
@@ -27766,6 +28230,183 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
27766
28230
|
args: [{ selector: 'smart-textarea-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgTemplateOutlet], template: "<div [class]=\"cssClass()\">\n <div class=\"textarea\">\n @if (options()?.label) {\n <label>{{ options()!.label }}</label>\n }\n @if (options()?.avatarTpl) {\n <div class=\"avatar\">\n <ng-container [ngTemplateOutlet]=\"options()!.avatarTpl!\" />\n </div>\n }\n @if (options()?.toolbarTpl) {\n <div class=\"toolbar\">\n <ng-container [ngTemplateOutlet]=\"options()!.toolbarTpl!\" />\n </div>\n }\n <textarea\n [attr.name]=\"options()?.name ?? null\"\n [attr.placeholder]=\"placeholder() || null\"\n [attr.aria-label]=\"options()?.ariaLabel ?? null\"\n [attr.maxlength]=\"options()?.maxLength ?? null\"\n [rows]=\"options()?.rows ?? 3\"\n [disabled]=\"disabled()\"\n [attr.required]=\"options()?.required ? 'required' : null\"\n [value]=\"value()\"\n (input)=\"onInput($event)\"\n ></textarea>\n @if ((options()?.actions ?? []).length > 0) {\n <div class=\"actions\">\n @for (action of options()!.actions!; track action.id) {\n <button\n type=\"button\"\n [class]=\"'action variant-' + (action.variant ?? 'secondary')\"\n [disabled]=\"disabled()\"\n (click)=\"onActionClick(action.id)\"\n >\n @if (action.iconTpl) {\n <span class=\"icon\">\n <ng-container [ngTemplateOutlet]=\"action.iconTpl\" />\n </span>\n }\n @if (action.label) {\n {{ action.label }}\n }\n </button>\n }\n </div>\n }\n @if (options()?.previewTpl) {\n <div class=\"preview\">\n <ng-container [ngTemplateOutlet]=\"options()!.previewTpl!\" />\n </div>\n }\n @if (options()?.footerTpl) {\n <div class=\"footer\">\n <ng-container [ngTemplateOutlet]=\"options()!.footerTpl!\" />\n </div>\n }\n </div>\n</div>\n" }]
|
|
27767
28231
|
}] });
|
|
27768
28232
|
|
|
28233
|
+
const join = (...parts) => parts.filter(Boolean).join(' ');
|
|
28234
|
+
/** Root row: optional avatar column + body column. */
|
|
28235
|
+
const TEXTAREA_ROOT = 'smart:flex smart:items-start smart:gap-x-4';
|
|
28236
|
+
/** Avatar column. */
|
|
28237
|
+
const TEXTAREA_AVATAR = 'smart:shrink-0';
|
|
28238
|
+
/** Body column (label, field, bars, preview, footer). */
|
|
28239
|
+
const TEXTAREA_BODY = 'smart:min-w-0 smart:flex-1';
|
|
28240
|
+
/** Field label. */
|
|
28241
|
+
const TEXTAREA_LABEL = 'smart:mb-2 smart:block smart:text-sm/6 smart:font-medium smart:text-gray-900 smart:dark:text-white';
|
|
28242
|
+
/** Required marker inside the label. */
|
|
28243
|
+
const TEXTAREA_REQUIRED = 'smart:ms-0.5 smart:text-red-600 smart:dark:text-red-400';
|
|
28244
|
+
/** Shared text / placeholder / disabled look of every field. */
|
|
28245
|
+
const FIELD_TEXT = join('smart:block smart:w-full smart:text-base smart:sm:text-sm/6', 'smart:text-gray-900 smart:dark:text-white', 'smart:placeholder:text-gray-400 smart:dark:placeholder:text-gray-500', 'smart:disabled:cursor-not-allowed smart:disabled:opacity-60');
|
|
28246
|
+
/** Stand-alone outlined field (`simple`, `with-preview`). */
|
|
28247
|
+
const FIELD_OUTLINED = join(FIELD_TEXT, 'smart:rounded-lg smart:bg-white smart:px-3 smart:py-1.5 smart:dark:bg-white/5', 'smart:outline-1 smart:-outline-offset-1 smart:outline-gray-300 smart:dark:outline-white/10', 'smart:focus:outline-2 smart:focus:-outline-offset-2 smart:focus:outline-blue-600 smart:dark:focus:outline-blue-500');
|
|
28248
|
+
/** Borderless field placed inside a framed box. */
|
|
28249
|
+
const FIELD_BARE = join(FIELD_TEXT, 'smart:resize-none smart:bg-transparent smart:px-3 smart:py-1.5 smart:focus:outline-none');
|
|
28250
|
+
/** Borderless field sitting on an underline. */
|
|
28251
|
+
const FIELD_UNDERLINE = join(FIELD_TEXT, 'smart:resize-none smart:bg-transparent smart:px-0 smart:py-1.5 smart:focus:outline-none');
|
|
28252
|
+
const FIELD_BY_VARIANT = {
|
|
28253
|
+
simple: FIELD_OUTLINED,
|
|
28254
|
+
'with-preview': FIELD_OUTLINED,
|
|
28255
|
+
'with-avatar-actions': FIELD_BARE,
|
|
28256
|
+
'with-pill-actions': FIELD_BARE,
|
|
28257
|
+
'with-underline': FIELD_UNDERLINE,
|
|
28258
|
+
};
|
|
28259
|
+
/** Outlined box whose focus ring follows the inner field. */
|
|
28260
|
+
const FRAME_BOX = join('smart:overflow-hidden smart:rounded-lg smart:bg-white smart:dark:bg-white/5', 'smart:outline-1 smart:-outline-offset-1 smart:outline-gray-300 smart:dark:outline-white/10', 'smart:focus-within:outline-2 smart:focus-within:-outline-offset-2 smart:focus-within:outline-blue-600 smart:dark:focus-within:outline-blue-500');
|
|
28261
|
+
const FRAME_BY_VARIANT = {
|
|
28262
|
+
simple: 'smart:relative',
|
|
28263
|
+
'with-preview': 'smart:relative',
|
|
28264
|
+
'with-avatar-actions': FRAME_BOX,
|
|
28265
|
+
'with-pill-actions': FRAME_BOX,
|
|
28266
|
+
'with-underline': join('smart:border-b smart:border-gray-200 smart:pb-px smart:dark:border-white/10', 'smart:focus-within:border-b-2 smart:focus-within:border-blue-600 smart:focus-within:pb-0 smart:dark:focus-within:border-blue-500'),
|
|
28267
|
+
};
|
|
28268
|
+
/** Variants that keep the toolbar/actions bar inside the framed box. */
|
|
28269
|
+
const BAR_INSIDE = new Set([
|
|
28270
|
+
'with-avatar-actions',
|
|
28271
|
+
'with-pill-actions',
|
|
28272
|
+
]);
|
|
28273
|
+
const BAR_BASE = 'smart:flex smart:items-center smart:justify-between smart:gap-x-3';
|
|
28274
|
+
const BAR_BY_VARIANT = {
|
|
28275
|
+
simple: join(BAR_BASE, 'smart:mt-2'),
|
|
28276
|
+
'with-preview': join(BAR_BASE, 'smart:mt-2'),
|
|
28277
|
+
'with-underline': join(BAR_BASE, 'smart:pt-2'),
|
|
28278
|
+
'with-avatar-actions': join(BAR_BASE, 'smart:py-2 smart:ps-3 smart:pe-2'),
|
|
28279
|
+
'with-pill-actions': join(BAR_BASE, 'smart:border-t smart:border-gray-200 smart:px-2 smart:py-2 smart:dark:border-white/10'),
|
|
28280
|
+
};
|
|
28281
|
+
/** Toolbar slot (left side of the bar). */
|
|
28282
|
+
const TEXTAREA_TOOLBAR = 'smart:flex smart:items-center smart:gap-x-1 smart:text-gray-500 smart:dark:text-gray-400';
|
|
28283
|
+
/** Action buttons group (right side of the bar). */
|
|
28284
|
+
const TEXTAREA_ACTIONS = 'smart:ms-auto smart:flex smart:shrink-0 smart:items-center smart:gap-x-2';
|
|
28285
|
+
const ACTION_BASE = join('smart:inline-flex smart:items-center smart:gap-x-1.5 smart:px-3 smart:py-2 smart:text-sm smart:font-semibold', 'smart:focus-visible:outline-2 smart:focus-visible:outline-offset-2 smart:focus-visible:outline-blue-600 smart:dark:focus-visible:outline-blue-500', 'smart:disabled:cursor-not-allowed smart:disabled:opacity-50');
|
|
28286
|
+
const ACTION_BY_VARIANT = {
|
|
28287
|
+
primary: join('smart:bg-blue-600 smart:text-white smart:shadow-xs smart:hover:bg-blue-500', 'smart:dark:bg-blue-500 smart:dark:shadow-none smart:dark:hover:bg-blue-400'),
|
|
28288
|
+
secondary: join('smart:bg-white smart:text-gray-900 smart:shadow-xs smart:ring-1 smart:ring-inset smart:ring-gray-300 smart:hover:bg-gray-50', 'smart:dark:bg-white/10 smart:dark:text-white smart:dark:shadow-none smart:dark:ring-white/10 smart:dark:hover:bg-white/20'),
|
|
28289
|
+
ghost: join('smart:text-gray-700 smart:hover:bg-gray-100', 'smart:dark:text-gray-300 smart:dark:hover:bg-white/10'),
|
|
28290
|
+
};
|
|
28291
|
+
/** Tabs row of the `with-preview` variant. */
|
|
28292
|
+
const TEXTAREA_TABS = 'smart:mb-2 smart:flex smart:items-center smart:gap-x-2';
|
|
28293
|
+
const TAB_BASE = 'smart:rounded-md smart:px-3 smart:py-1.5 smart:text-sm smart:font-medium';
|
|
28294
|
+
/** Preview pane replacing the field in `with-preview` (preview tab). */
|
|
28295
|
+
const TEXTAREA_PREVIEW_PANE = join('smart:min-h-24 smart:rounded-lg smart:px-3 smart:py-2 smart:text-sm smart:text-gray-900 smart:dark:text-white', 'smart:outline-1 smart:-outline-offset-1 smart:outline-gray-300 smart:dark:outline-white/10');
|
|
28296
|
+
/** Preview block rendered below the field in the other variants. */
|
|
28297
|
+
const TEXTAREA_PREVIEW_BELOW = join('smart:mt-3 smart:rounded-lg smart:border smart:border-gray-200 smart:bg-gray-50 smart:px-3 smart:py-2', 'smart:text-sm smart:text-gray-900 smart:dark:border-white/10 smart:dark:bg-white/5 smart:dark:text-white');
|
|
28298
|
+
/** Character counter (shown when `maxLength` is set). */
|
|
28299
|
+
const TEXTAREA_COUNTER = 'smart:mt-1 smart:text-end smart:text-xs smart:text-gray-500 smart:dark:text-gray-400';
|
|
28300
|
+
/** Footer slot. */
|
|
28301
|
+
const TEXTAREA_FOOTER = 'smart:mt-2 smart:text-sm smart:text-gray-500 smart:dark:text-gray-400';
|
|
28302
|
+
function textareaFieldClasses(variant) {
|
|
28303
|
+
return FIELD_BY_VARIANT[variant];
|
|
28304
|
+
}
|
|
28305
|
+
function textareaFrameClasses(variant) {
|
|
28306
|
+
return FRAME_BY_VARIANT[variant];
|
|
28307
|
+
}
|
|
28308
|
+
function textareaBarClasses(variant) {
|
|
28309
|
+
return BAR_BY_VARIANT[variant];
|
|
28310
|
+
}
|
|
28311
|
+
function textareaBarInside(variant) {
|
|
28312
|
+
return BAR_INSIDE.has(variant);
|
|
28313
|
+
}
|
|
28314
|
+
function textareaActionClasses(actionVariant, variant) {
|
|
28315
|
+
const shape = variant === 'with-pill-actions' ? 'smart:rounded-full' : 'smart:rounded-md';
|
|
28316
|
+
return join(ACTION_BASE, shape, ACTION_BY_VARIANT[actionVariant ?? 'secondary']);
|
|
28317
|
+
}
|
|
28318
|
+
function textareaTabClasses(selected) {
|
|
28319
|
+
return join(TAB_BASE, selected
|
|
28320
|
+
? 'smart:bg-gray-100 smart:text-gray-900 smart:dark:bg-white/10 smart:dark:text-white'
|
|
28321
|
+
: 'smart:text-gray-500 smart:hover:bg-gray-100 smart:hover:text-gray-900 smart:dark:text-gray-400 smart:dark:hover:bg-white/5 smart:dark:hover:text-white');
|
|
28322
|
+
}
|
|
28323
|
+
|
|
28324
|
+
let nextId = 0;
|
|
28325
|
+
/**
|
|
28326
|
+
* Styled textarea variation (preset).
|
|
28327
|
+
*
|
|
28328
|
+
* Drop-in replacement for `TextareaStandardComponent` — register it through
|
|
28329
|
+
* `TEXTAREA_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-textarea>`, or
|
|
28330
|
+
* use the `<smart-textarea-preset>` selector directly.
|
|
28331
|
+
*
|
|
28332
|
+
* Renders the Tailwind UI comment-form look and honours `options.variant`:
|
|
28333
|
+
* `simple` (outlined field, bar below), `with-avatar-actions` (outlined box
|
|
28334
|
+
* with the toolbar/actions bar inside), `with-underline` (bottom border only),
|
|
28335
|
+
* `with-pill-actions` (box with a divided bar and pill buttons) and
|
|
28336
|
+
* `with-preview` (Write / Preview tabs swapping the field for `previewTpl`).
|
|
28337
|
+
* It also honours `autoFocus` and shows a character counter for `maxLength`.
|
|
28338
|
+
*/
|
|
28339
|
+
class TextareaPresetComponent extends TextareaBaseComponent {
|
|
28340
|
+
// NgComponentOutlet (used by TextareaComponent when this is registered
|
|
28341
|
+
// through TEXTAREA_STANDARD_COMPONENT_TOKEN) passes inputs by canonical
|
|
28342
|
+
// name, so the inherited `class` alias must be dropped for `cssClass`.
|
|
28343
|
+
cssClass = input('', /* @ts-ignore */
|
|
28344
|
+
...(ngDevMode ? [{ debugName: "cssClass" }] : /* istanbul ignore next */ []));
|
|
28345
|
+
fieldId = `smart-textarea-preset-${nextId++}`;
|
|
28346
|
+
mode = signal('write', /* @ts-ignore */
|
|
28347
|
+
...(ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []));
|
|
28348
|
+
fieldRef = viewChild('field', /* @ts-ignore */
|
|
28349
|
+
...(ngDevMode ? [{ debugName: "fieldRef" }] : /* istanbul ignore next */ []));
|
|
28350
|
+
variant = computed(() => this.options()?.variant ?? 'simple', /* @ts-ignore */
|
|
28351
|
+
...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
|
|
28352
|
+
actions = computed(() => this.options()?.actions ?? [], /* @ts-ignore */
|
|
28353
|
+
...(ngDevMode ? [{ debugName: "actions" }] : /* istanbul ignore next */ []));
|
|
28354
|
+
hasBar = computed(() => !!this.options()?.toolbarTpl || this.actions().length > 0, /* @ts-ignore */
|
|
28355
|
+
...(ngDevMode ? [{ debugName: "hasBar" }] : /* istanbul ignore next */ []));
|
|
28356
|
+
barInside = computed(() => textareaBarInside(this.variant()), /* @ts-ignore */
|
|
28357
|
+
...(ngDevMode ? [{ debugName: "barInside" }] : /* istanbul ignore next */ []));
|
|
28358
|
+
hasTabs = computed(() => this.variant() === 'with-preview' && !!this.options()?.previewTpl, /* @ts-ignore */
|
|
28359
|
+
...(ngDevMode ? [{ debugName: "hasTabs" }] : /* istanbul ignore next */ []));
|
|
28360
|
+
showPreviewPane = computed(() => this.hasTabs() && this.mode() === 'preview', /* @ts-ignore */
|
|
28361
|
+
...(ngDevMode ? [{ debugName: "showPreviewPane" }] : /* istanbul ignore next */ []));
|
|
28362
|
+
rootClasses = computed(() => [TEXTAREA_ROOT, this.cssClass()].filter(Boolean).join(' '), /* @ts-ignore */
|
|
28363
|
+
...(ngDevMode ? [{ debugName: "rootClasses" }] : /* istanbul ignore next */ []));
|
|
28364
|
+
fieldClasses = computed(() => textareaFieldClasses(this.variant()), /* @ts-ignore */
|
|
28365
|
+
...(ngDevMode ? [{ debugName: "fieldClasses" }] : /* istanbul ignore next */ []));
|
|
28366
|
+
frameClasses = computed(() => textareaFrameClasses(this.variant()), /* @ts-ignore */
|
|
28367
|
+
...(ngDevMode ? [{ debugName: "frameClasses" }] : /* istanbul ignore next */ []));
|
|
28368
|
+
barClasses = computed(() => textareaBarClasses(this.variant()), /* @ts-ignore */
|
|
28369
|
+
...(ngDevMode ? [{ debugName: "barClasses" }] : /* istanbul ignore next */ []));
|
|
28370
|
+
avatarClasses = TEXTAREA_AVATAR;
|
|
28371
|
+
bodyClasses = TEXTAREA_BODY;
|
|
28372
|
+
labelClasses = TEXTAREA_LABEL;
|
|
28373
|
+
requiredClasses = TEXTAREA_REQUIRED;
|
|
28374
|
+
toolbarClasses = TEXTAREA_TOOLBAR;
|
|
28375
|
+
actionsClasses = TEXTAREA_ACTIONS;
|
|
28376
|
+
tabsClasses = TEXTAREA_TABS;
|
|
28377
|
+
previewPaneClasses = TEXTAREA_PREVIEW_PANE;
|
|
28378
|
+
previewBelowClasses = TEXTAREA_PREVIEW_BELOW;
|
|
28379
|
+
counterClasses = TEXTAREA_COUNTER;
|
|
28380
|
+
footerClasses = TEXTAREA_FOOTER;
|
|
28381
|
+
constructor() {
|
|
28382
|
+
super();
|
|
28383
|
+
afterNextRender(() => {
|
|
28384
|
+
if (this.options()?.autoFocus)
|
|
28385
|
+
this.fieldRef()?.nativeElement.focus();
|
|
28386
|
+
});
|
|
28387
|
+
}
|
|
28388
|
+
actionClasses(action) {
|
|
28389
|
+
return textareaActionClasses(action.variant, this.variant());
|
|
28390
|
+
}
|
|
28391
|
+
tabClasses(selected) {
|
|
28392
|
+
return textareaTabClasses(selected);
|
|
28393
|
+
}
|
|
28394
|
+
onInput(event) {
|
|
28395
|
+
this.value.set(event.target.value);
|
|
28396
|
+
}
|
|
28397
|
+
onActionClick(actionId) {
|
|
28398
|
+
if (this.disabled())
|
|
28399
|
+
return;
|
|
28400
|
+
this.actionClick.emit({ actionId, value: this.value() });
|
|
28401
|
+
}
|
|
28402
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TextareaPresetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
28403
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: TextareaPresetComponent, isStandalone: true, selector: "smart-textarea-preset", inputs: { cssClass: { classPropertyName: "cssClass", publicName: "cssClass", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "fieldRef", first: true, predicate: ["field"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div [class]=\"rootClasses()\" [attr.data-variant]=\"variant()\">\n @if (options()?.avatarTpl) {\n <div [class]=\"avatarClasses\">\n <ng-container [ngTemplateOutlet]=\"options()!.avatarTpl!\" />\n </div>\n }\n\n <div [class]=\"bodyClasses\">\n @if (options()?.label) {\n <label [class]=\"labelClasses\" [for]=\"fieldId\">\n {{ options()!.label }}\n @if (options()?.required) {\n <span [class]=\"requiredClasses\" aria-hidden=\"true\">*</span>\n }\n </label>\n }\n\n @if (hasTabs()) {\n <div [class]=\"tabsClasses\" role=\"tablist\">\n <button\n type=\"button\"\n role=\"tab\"\n [class]=\"tabClasses(mode() === 'write')\"\n [attr.aria-selected]=\"mode() === 'write'\"\n (click)=\"mode.set('write')\"\n >\n Write\n </button>\n <button\n type=\"button\"\n role=\"tab\"\n [class]=\"tabClasses(mode() === 'preview')\"\n [attr.aria-selected]=\"mode() === 'preview'\"\n (click)=\"mode.set('preview')\"\n >\n Preview\n </button>\n </div>\n }\n\n @if (showPreviewPane()) {\n <div [class]=\"previewPaneClasses\">\n <ng-container [ngTemplateOutlet]=\"options()!.previewTpl!\" />\n </div>\n } @else {\n <div [class]=\"frameClasses()\">\n <textarea\n #field\n [id]=\"fieldId\"\n [class]=\"fieldClasses()\"\n [attr.name]=\"options()?.name ?? null\"\n [attr.placeholder]=\"placeholder() || null\"\n [attr.aria-label]=\"options()?.ariaLabel ?? null\"\n [attr.maxlength]=\"options()?.maxLength ?? null\"\n [attr.autofocus]=\"options()?.autoFocus ? '' : null\"\n [rows]=\"options()?.rows ?? 3\"\n [disabled]=\"disabled()\"\n [required]=\"!!options()?.required\"\n [value]=\"value()\"\n (input)=\"onInput($event)\"\n ></textarea>\n @if (hasBar() && barInside()) {\n <ng-container [ngTemplateOutlet]=\"bar\" />\n }\n </div>\n }\n\n @if (hasBar() && !barInside()) {\n <ng-container [ngTemplateOutlet]=\"bar\" />\n }\n\n @if (options()?.maxLength) {\n <p [class]=\"counterClasses\" aria-live=\"polite\">\n {{ value().length }}/{{ options()!.maxLength }}\n </p>\n }\n\n @if (options()?.previewTpl && !hasTabs()) {\n <div [class]=\"previewBelowClasses\">\n <ng-container [ngTemplateOutlet]=\"options()!.previewTpl!\" />\n </div>\n }\n\n @if (options()?.footerTpl) {\n <div [class]=\"footerClasses\">\n <ng-container [ngTemplateOutlet]=\"options()!.footerTpl!\" />\n </div>\n }\n </div>\n</div>\n\n<ng-template #bar>\n <div [class]=\"barClasses()\">\n @if (options()?.toolbarTpl) {\n <div [class]=\"toolbarClasses\">\n <ng-container [ngTemplateOutlet]=\"options()!.toolbarTpl!\" />\n </div>\n }\n @if (actions().length > 0) {\n <div [class]=\"actionsClasses\">\n @for (action of actions(); track action.id) {\n <button\n type=\"button\"\n [class]=\"actionClasses(action)\"\n [attr.data-action-id]=\"action.id\"\n [attr.aria-label]=\"action.label ? null : action.id\"\n [disabled]=\"disabled()\"\n (click)=\"onActionClick(action.id)\"\n >\n @if (action.iconTpl) {\n <span class=\"smart:inline-flex smart:size-5\" aria-hidden=\"true\">\n <ng-container [ngTemplateOutlet]=\"action.iconTpl\" />\n </span>\n }\n @if (action.label) {\n {{ action.label }}\n }\n </button>\n }\n </div>\n }\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
28404
|
+
}
|
|
28405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TextareaPresetComponent, decorators: [{
|
|
28406
|
+
type: Component,
|
|
28407
|
+
args: [{ selector: 'smart-textarea-preset', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgTemplateOutlet], template: "<div [class]=\"rootClasses()\" [attr.data-variant]=\"variant()\">\n @if (options()?.avatarTpl) {\n <div [class]=\"avatarClasses\">\n <ng-container [ngTemplateOutlet]=\"options()!.avatarTpl!\" />\n </div>\n }\n\n <div [class]=\"bodyClasses\">\n @if (options()?.label) {\n <label [class]=\"labelClasses\" [for]=\"fieldId\">\n {{ options()!.label }}\n @if (options()?.required) {\n <span [class]=\"requiredClasses\" aria-hidden=\"true\">*</span>\n }\n </label>\n }\n\n @if (hasTabs()) {\n <div [class]=\"tabsClasses\" role=\"tablist\">\n <button\n type=\"button\"\n role=\"tab\"\n [class]=\"tabClasses(mode() === 'write')\"\n [attr.aria-selected]=\"mode() === 'write'\"\n (click)=\"mode.set('write')\"\n >\n Write\n </button>\n <button\n type=\"button\"\n role=\"tab\"\n [class]=\"tabClasses(mode() === 'preview')\"\n [attr.aria-selected]=\"mode() === 'preview'\"\n (click)=\"mode.set('preview')\"\n >\n Preview\n </button>\n </div>\n }\n\n @if (showPreviewPane()) {\n <div [class]=\"previewPaneClasses\">\n <ng-container [ngTemplateOutlet]=\"options()!.previewTpl!\" />\n </div>\n } @else {\n <div [class]=\"frameClasses()\">\n <textarea\n #field\n [id]=\"fieldId\"\n [class]=\"fieldClasses()\"\n [attr.name]=\"options()?.name ?? null\"\n [attr.placeholder]=\"placeholder() || null\"\n [attr.aria-label]=\"options()?.ariaLabel ?? null\"\n [attr.maxlength]=\"options()?.maxLength ?? null\"\n [attr.autofocus]=\"options()?.autoFocus ? '' : null\"\n [rows]=\"options()?.rows ?? 3\"\n [disabled]=\"disabled()\"\n [required]=\"!!options()?.required\"\n [value]=\"value()\"\n (input)=\"onInput($event)\"\n ></textarea>\n @if (hasBar() && barInside()) {\n <ng-container [ngTemplateOutlet]=\"bar\" />\n }\n </div>\n }\n\n @if (hasBar() && !barInside()) {\n <ng-container [ngTemplateOutlet]=\"bar\" />\n }\n\n @if (options()?.maxLength) {\n <p [class]=\"counterClasses\" aria-live=\"polite\">\n {{ value().length }}/{{ options()!.maxLength }}\n </p>\n }\n\n @if (options()?.previewTpl && !hasTabs()) {\n <div [class]=\"previewBelowClasses\">\n <ng-container [ngTemplateOutlet]=\"options()!.previewTpl!\" />\n </div>\n }\n\n @if (options()?.footerTpl) {\n <div [class]=\"footerClasses\">\n <ng-container [ngTemplateOutlet]=\"options()!.footerTpl!\" />\n </div>\n }\n </div>\n</div>\n\n<ng-template #bar>\n <div [class]=\"barClasses()\">\n @if (options()?.toolbarTpl) {\n <div [class]=\"toolbarClasses\">\n <ng-container [ngTemplateOutlet]=\"options()!.toolbarTpl!\" />\n </div>\n }\n @if (actions().length > 0) {\n <div [class]=\"actionsClasses\">\n @for (action of actions(); track action.id) {\n <button\n type=\"button\"\n [class]=\"actionClasses(action)\"\n [attr.data-action-id]=\"action.id\"\n [attr.aria-label]=\"action.label ? null : action.id\"\n [disabled]=\"disabled()\"\n (click)=\"onActionClick(action.id)\"\n >\n @if (action.iconTpl) {\n <span class=\"smart:inline-flex smart:size-5\" aria-hidden=\"true\">\n <ng-container [ngTemplateOutlet]=\"action.iconTpl\" />\n </span>\n }\n @if (action.label) {\n {{ action.label }}\n }\n </button>\n }\n </div>\n }\n </div>\n</ng-template>\n" }]
|
|
28408
|
+
}], ctorParameters: () => [], propDecorators: { cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "cssClass", required: false }] }], fieldRef: [{ type: i0.ViewChild, args: ['field', { isSignal: true }] }] } });
|
|
28409
|
+
|
|
27769
28410
|
class TextareaComponent {
|
|
27770
28411
|
injectedComponent = inject(TEXTAREA_STANDARD_COMPONENT_TOKEN, {
|
|
27771
28412
|
optional: true,
|
|
@@ -29248,5 +29889,5 @@ function SmartNgModuleDecorator(options) {
|
|
|
29248
29889
|
* Generated bundle index. Do not edit.
|
|
29249
29890
|
*/
|
|
29250
29891
|
|
|
29251
|
-
export { ACTION_PANEL_STANDARD_COMPONENT_TOKEN, ALERT_STANDARD_COMPONENT_TOKEN, AUTH_TOKEN, AVATAR_STANDARD_COMPONENT_TOKEN, AccordionBaseComponent, AccordionBodyComponent, AccordionComponent, AccordionDefaultComponent, AccordionHeaderComponent, AccordionPresetComponent, ActionPanelBaseComponent, ActionPanelComponent, ActionPanelPresetComponent, ActionPanelStandardComponent, AlertBaseComponent, AlertComponent, AlertService, AlertStandardComponent, AppBaseComponent, AppService, AuthService, AvatarBaseComponent, AvatarComponent, AvatarPresetComponent, AvatarStandardComponent, BADGE_STANDARD_COMPONENT_TOKEN, BREADCRUMBS_STANDARD_COMPONENT_TOKEN, BUTTON_GROUP_STANDARD_COMPONENT_TOKEN, BUTTON_STANDARD_COMPONENT_TOKEN, BadgeBaseComponent, BadgeComponent, BadgePresetComponent, BadgeStandardComponent, BaseComponent, BreadcrumbsBaseComponent, BreadcrumbsComponent, BreadcrumbsPresetComponent, BreadcrumbsStandardComponent, ButtonBaseComponent, ButtonComponent, ButtonGroupBaseComponent, ButtonGroupComponent, ButtonGroupPresetComponent, ButtonGroupStandardComponent, ButtonPresetComponent, ButtonStandardComponent, CALENDAR_STANDARD_COMPONENT_TOKEN, CARD_HEADING_STANDARD_COMPONENT_TOKEN, CARD_STANDARD_COMPONENT_TOKEN, COMMAND_PALETTE_STANDARD_COMPONENT_TOKEN, COMPONENT_COLORS, CONTAINER_STANDARD_COMPONENT_TOKEN, CalendarBaseComponent, CalendarComponent, CalendarPresetComponent, CalendarService, CalendarStandardComponent, CardBaseComponent, CardComponent, CardHeadingBaseComponent, CardHeadingComponent, CardHeadingPresetComponent, CardHeadingStandardComponent, CardPresetComponent, CardStandardComponent, CommandPaletteBaseComponent, CommandPaletteComponent, CommandPalettePresetComponent, CommandPaletteStandardComponent, ContainerBaseComponent, ContainerComponent, ContainerPresetComponent, ContainerStandardComponent, CreateDynamicComponent, DESCRIPTION_LIST_STANDARD_COMPONENT_TOKEN, DETAILS_COMPONENT_TOKEN, DETAILS_STANDARD_COMPONENT_TOKEN, DETAIL_FIELD_COMPONENTS_TOKEN, DETAIL_PRESET_FIELD_COMPONENTS, DIVIDER_STANDARD_COMPONENT_TOKEN, DRAWER_STANDARD_COMPONENT_TOKEN, DROPDOWN_STANDARD_COMPONENT_TOKEN, DYNAMIC_COMPONENTS_STORE, DateEditBaseComponent, DateEditComponent, DateEditPresetComponent, DateEditStandardComponent, DateRangeBaseComponent, DateRangeComponent, DateRangeModalBaseComponent, DateRangeModalStandardComponent, DateRangePresetComponent, DateRangeStandardComponent, DescriptionListBaseComponent, DescriptionListComponent, DescriptionListPresetComponent, DescriptionListStandardComponent, DetailAddressComponent, DetailAddressPresetComponent, DetailArrayComponent, DetailArrayPresetComponent, DetailAttachmentComponent, DetailAttachmentPresetComponent, DetailBaseComponent, DetailColorComponent, DetailColorPresetComponent, DetailComponent, DetailDateRangeComponent, DetailDateRangePresetComponent, DetailEmailComponent, DetailEmailPresetComponent, DetailEnumComponent, DetailEnumPresetComponent, DetailFlagComponent, DetailFlagPresetComponent, DetailImageComponent, DetailImagePresetComponent, DetailLogoComponent, DetailLogoPresetComponent, DetailObjectComponent, DetailObjectPresetComponent, DetailPdfComponent, DetailPdfPresetComponent, DetailPhoneNumberPlComponent, DetailPhoneNumberPlPresetComponent, DetailTextComponent, DetailTextPresetComponent, DetailVideoComponent, DetailVideoPresetComponent, DetailsBaseComponent, DetailsComponent, DetailsDirective, DetailsPage, DetailsService, DetailsStandardComponent, DividerBaseComponent, DividerComponent, DividerPresetComponent, DividerStandardComponent, DrawerBaseComponent, DrawerComponent, DrawerPresetComponent, DrawerStandardComponent, DropdownBaseComponent, DropdownComponent, DropdownPresetComponent, DropdownStandardComponent, DynamicComponentLoader, DynamicComponentStorageService, DynamicContentDirective, EMPTY_STATE_STANDARD_COMPONENT_TOKEN, EmptyStateBaseComponent, EmptyStateComponent, EmptyStatePresetComponent, EmptyStateStandardComponent, EnumToListPipe, ErrorService, ExportBaseComponent, ExportComponent, FEED_STANDARD_COMPONENT_TOKEN, FILE_SERVICE_CONFIG, FORM_COMPONENT_TOKEN, FORM_STANDARD_COMPONENT_TOKEN, FeedBaseComponent, FeedComponent, FeedPresetComponent, FeedStandardComponent, FileService, FileUrlPipe, FormBaseComponent, FormComponent, FormFactory, FormPresetComponent, FormStandardComponent, GRID_LIST_STANDARD_COMPONENT_TOKEN, GridListBaseComponent, GridListComponent, GridListPresetComponent, GridListStandardComponent, HardwareService, IModelExportProvider, IModelImportProvider, IModelLabelProvider, IModelPossibilitiesProvider, IModelValidatorsProvider, INFO_STANDARD_COMPONENT_TOKEN, INPUT_FIELD_COMPONENTS_TOKEN, INPUT_PRESET_FIELD_COMPONENTS, IconBaseComponent, IconChevronDownComponent, IconChevronUpComponent, IconComponent, IconPresetComponent, IconSpinnerComponent, ImportBaseComponent, ImportComponent, InfoBaseComponent, InfoComponent, InfoPresetComponent, InfoStandardComponent, InputAddressComponent, InputAddressPresetComponent, InputArrayComponent, InputArrayPresetComponent, InputAttachmentComponent, InputAttachmentPresetComponent, InputBaseComponent, InputCheckComponent, InputCheckPresetComponent, InputColorComponent, InputColorPresetComponent, InputComponent, InputCurrencyComponent, InputCurrencyPresetComponent, InputDateComponent, InputDatePresetComponent, InputDateRangeComponent, InputDateRangePresetComponent, InputDateWithEditComponent, InputDateWithEditPresetComponent, InputEmailComponent, InputEmailPresetComponent, InputEnumComponent, InputEnumPresetComponent, InputErrorComponent, InputErrorPresetComponent, InputFileBaseComponent, InputFileComponent, InputFilePresetComponent, InputFlagComponent, InputFlagPresetComponent, InputFloatComponent, InputFloatPresetComponent, InputImageComponent, InputImagePresetComponent, InputIntComponent, InputIntPresetComponent, InputIntsComponent, InputIntsPresetComponent, InputLogoComponent, InputLogoPresetComponent, InputLongTextComponent, InputLongTextPresetComponent, InputNipComponent, InputNipPresetComponent, InputObjectComponent, InputObjectPresetComponent, InputPasswordComponent, InputPasswordPresetComponent, InputPdfComponent, InputPdfPresetComponent, InputPeselComponent, InputPeselPresetComponent, InputPhoneNumberComponent, InputPhoneNumberPlComponent, InputPhoneNumberPlPresetComponent, InputPhoneNumberPresetComponent, InputPossibilitiesBaseComponent, InputRadioComponent, InputRadioPresetComponent, InputStringsComponent, InputStringsPresetComponent, InputTextComponent, InputTextPresetComponent, InputVideoComponent, InputVideoPresetComponent, LIST_CONTAINER_STANDARD_COMPONENT_TOKEN, LIST_MODE_COMPONENTS_TOKEN, LIST_PRESET_MODE_COMPONENTS, LOADER_STANDARD_COMPONENT_TOKEN, ListBaseComponent, ListCellPipe, ListComponent, ListContainerBaseComponent, ListContainerComponent, ListContainerStandardComponent, ListDesktopComponent, ListDesktopPresetComponent, ListHeaderPipe, ListMasonryGridComponent, ListMasonryGridPresetComponent, ListMobileComponent, ListMobilePresetComponent, ListMode, LoaderBaseComponent, LoaderComponent, LoaderPresetComponent, LoaderStandardComponent, MEDIA_OBJECT_STANDARD_COMPONENT_TOKEN, MODAL_STANDARD_COMPONENT_TOKEN, MODEL_EXPORT_PROVIDER, MODEL_IMPORT_PROVIDER, MODEL_LABEL_PROVIDER, MODEL_POSSIBILITIES_PROVIDER, MODEL_VALIDATORS_PROVIDER, MULTI_COLUMN_LAYOUT_STANDARD_COMPONENT_TOKEN, MediaObjectBaseComponent, MediaObjectComponent, MediaObjectPresetComponent, MediaObjectStandardComponent, MenuService, ModalBaseComponent, ModalComponent, ModalPresetComponent, ModalService, ModalStandardComponent, ModelLabelPipe, MultiColumnLayoutBaseComponent, MultiColumnLayoutComponent, MultiColumnLayoutPresetComponent, MultiColumnLayoutStandardComponent, NAVBAR_STANDARD_COMPONENT_TOKEN, NOTIFICATION_STANDARD_COMPONENT_TOKEN, NavbarBaseComponent, NavbarComponent, NavbarPresetComponent, NavbarStandardComponent, NgrxSharedModule, NgrxStoreService, NotificationBaseComponent, NotificationComponent, NotificationPresetComponent, NotificationStandardComponent, PAGE_HEADING_STANDARD_COMPONENT_TOKEN, PAGE_PRESET_VARIANT_COMPONENTS, PAGE_VARIANT_COMPONENTS_TOKEN, PAGING_STANDARD_COMPONENT_TOKEN, PASSWORD_STRENGTH_STANDARD_COMPONENT_TOKEN, PIPES, PROGRESS_BARS_STANDARD_COMPONENT_TOKEN, PageBaseComponent, PageComponent, PageHeadingBaseComponent, PageHeadingComponent, PageHeadingPresetComponent, PageHeadingStandardComponent, PagePresetComponent, PageStandardComponent, PaginationMode, PagingBaseComponent, PagingComponent, PagingPresetComponent, PagingStandardComponent, PasswordStrengthBaseComponent, PasswordStrengthComponent, PasswordStrengthStandardComponent, PopoverService, ProgressBarsBaseComponent, ProgressBarsComponent, ProgressBarsPresetComponent, ProgressBarsStandardComponent, ReduxAction, ReduxActionDecorator, ReduxSelect, RemoveHtmlPipe, SEARCHBAR_STANDARD_COMPONENT_TOKEN, SECTION_HEADING_STANDARD_COMPONENT_TOKEN, SELECT_MENU_STANDARD_COMPONENT_TOKEN, SIDEBAR_LAYOUT_STANDARD_COMPONENT_TOKEN, SIDEBAR_NAVIGATION_STANDARD_COMPONENT_TOKEN, SIGN_IN_FORM_STANDARD_COMPONENT_TOKEN, STACKED_LAYOUT_STANDARD_COMPONENT_TOKEN, STACKED_LIST_STANDARD_COMPONENT_TOKEN, STATS_STANDARD_COMPONENT_TOKEN, SearchbarBaseComponent, SearchbarComponent, SearchbarStandardComponent, SectionHeadingBaseComponent, SectionHeadingComponent, SectionHeadingPresetComponent, SectionHeadingStandardComponent, SelectMenuBaseComponent, SelectMenuComponent, SelectMenuStandardComponent, SharedDirectivesModule, SharedFactoriesModule, SharedModule, SharedPagesModule, SharedPipesModule, SharedServicesModule, SidebarLayoutBaseComponent, SidebarLayoutComponent, SidebarLayoutPresetComponent, SidebarLayoutStandardComponent, SidebarNavigationBaseComponent, SidebarNavigationComponent, SidebarNavigationStandardComponent, SignInFormBaseComponent, SignInFormComponent, SignInFormPresetComponent, SignInFormStandardComponent, SlugPipe, SmartFormGroup, SmartNgModule, SmartNgModuleDecorator, StackedLayoutBaseComponent, StackedLayoutComponent, StackedLayoutPresetComponent, StackedLayoutStandardComponent, StackedListBaseComponent, StackedListComponent, StackedListStandardComponent, StatsBaseComponent, StatsComponent, StatsPresetComponent, StatsStandardComponent, StorageService, StyleService, TABLE_STANDARD_COMPONENT_TOKEN, TABS_STANDARD_COMPONENT_TOKEN, TEXTAREA_STANDARD_COMPONENT_TOKEN, TOGGLE_STANDARD_COMPONENT_TOKEN, TableBaseComponent, TableComponent, TableStandardComponent, TabsBaseComponent, TabsComponent, TabsPresetComponent, TabsStandardComponent, TextareaBaseComponent, TextareaComponent, TextareaStandardComponent, ToastService, ToggleBaseComponent, ToggleComponent, TogglePresetComponent, ToggleStandardComponent, TrustHtmlPipe, UIService, VERTICAL_NAVIGATION_STANDARD_COMPONENT_TOKEN, VerticalNavigationBaseComponent, VerticalNavigationComponent, VerticalNavigationPresetComponent, VerticalNavigationStandardComponent, fastPropGetter };
|
|
29892
|
+
export { ACTION_PANEL_STANDARD_COMPONENT_TOKEN, ALERT_STANDARD_COMPONENT_TOKEN, AUTH_TOKEN, AVATAR_STANDARD_COMPONENT_TOKEN, AccordionBaseComponent, AccordionBodyComponent, AccordionComponent, AccordionDefaultComponent, AccordionHeaderComponent, AccordionPresetComponent, ActionPanelBaseComponent, ActionPanelComponent, ActionPanelPresetComponent, ActionPanelStandardComponent, AlertBaseComponent, AlertComponent, AlertService, AlertStandardComponent, AppBaseComponent, AppService, AuthService, AvatarBaseComponent, AvatarComponent, AvatarPresetComponent, AvatarStandardComponent, BADGE_STANDARD_COMPONENT_TOKEN, BREADCRUMBS_STANDARD_COMPONENT_TOKEN, BUTTON_GROUP_STANDARD_COMPONENT_TOKEN, BUTTON_STANDARD_COMPONENT_TOKEN, BadgeBaseComponent, BadgeComponent, BadgePresetComponent, BadgeStandardComponent, BaseComponent, BreadcrumbsBaseComponent, BreadcrumbsComponent, BreadcrumbsPresetComponent, BreadcrumbsStandardComponent, ButtonBaseComponent, ButtonComponent, ButtonGroupBaseComponent, ButtonGroupComponent, ButtonGroupPresetComponent, ButtonGroupStandardComponent, ButtonPresetComponent, ButtonStandardComponent, CALENDAR_STANDARD_COMPONENT_TOKEN, CARD_HEADING_STANDARD_COMPONENT_TOKEN, CARD_STANDARD_COMPONENT_TOKEN, COMMAND_PALETTE_STANDARD_COMPONENT_TOKEN, COMPONENT_COLORS, CONTAINER_STANDARD_COMPONENT_TOKEN, CalendarBaseComponent, CalendarComponent, CalendarPresetComponent, CalendarService, CalendarStandardComponent, CardBaseComponent, CardComponent, CardHeadingBaseComponent, CardHeadingComponent, CardHeadingPresetComponent, CardHeadingStandardComponent, CardPresetComponent, CardStandardComponent, CommandPaletteBaseComponent, CommandPaletteComponent, CommandPalettePresetComponent, CommandPaletteStandardComponent, ContainerBaseComponent, ContainerComponent, ContainerPresetComponent, ContainerStandardComponent, CreateDynamicComponent, DESCRIPTION_LIST_STANDARD_COMPONENT_TOKEN, DETAILS_COMPONENT_TOKEN, DETAILS_STANDARD_COMPONENT_TOKEN, DETAIL_FIELD_COMPONENTS_TOKEN, DETAIL_PRESET_FIELD_COMPONENTS, DIVIDER_STANDARD_COMPONENT_TOKEN, DRAWER_STANDARD_COMPONENT_TOKEN, DROPDOWN_STANDARD_COMPONENT_TOKEN, DYNAMIC_COMPONENTS_STORE, DateEditBaseComponent, DateEditComponent, DateEditPresetComponent, DateEditStandardComponent, DateRangeBaseComponent, DateRangeComponent, DateRangeModalBaseComponent, DateRangeModalStandardComponent, DateRangePresetComponent, DateRangeStandardComponent, DescriptionListBaseComponent, DescriptionListComponent, DescriptionListPresetComponent, DescriptionListStandardComponent, DetailAddressComponent, DetailAddressPresetComponent, DetailArrayComponent, DetailArrayPresetComponent, DetailAttachmentComponent, DetailAttachmentPresetComponent, DetailBaseComponent, DetailColorComponent, DetailColorPresetComponent, DetailComponent, DetailDateRangeComponent, DetailDateRangePresetComponent, DetailEmailComponent, DetailEmailPresetComponent, DetailEnumComponent, DetailEnumPresetComponent, DetailFlagComponent, DetailFlagPresetComponent, DetailImageComponent, DetailImagePresetComponent, DetailLogoComponent, DetailLogoPresetComponent, DetailObjectComponent, DetailObjectPresetComponent, DetailPdfComponent, DetailPdfPresetComponent, DetailPhoneNumberPlComponent, DetailPhoneNumberPlPresetComponent, DetailTextComponent, DetailTextPresetComponent, DetailVideoComponent, DetailVideoPresetComponent, DetailsBaseComponent, DetailsComponent, DetailsDirective, DetailsPage, DetailsService, DetailsStandardComponent, DividerBaseComponent, DividerComponent, DividerPresetComponent, DividerStandardComponent, DrawerBaseComponent, DrawerComponent, DrawerPresetComponent, DrawerStandardComponent, DropdownBaseComponent, DropdownComponent, DropdownPresetComponent, DropdownStandardComponent, DynamicComponentLoader, DynamicComponentStorageService, DynamicContentDirective, EMPTY_STATE_STANDARD_COMPONENT_TOKEN, EmptyStateBaseComponent, EmptyStateComponent, EmptyStatePresetComponent, EmptyStateStandardComponent, EnumToListPipe, ErrorService, ExportBaseComponent, ExportComponent, FEED_STANDARD_COMPONENT_TOKEN, FILE_SERVICE_CONFIG, FORM_COMPONENT_TOKEN, FORM_STANDARD_COMPONENT_TOKEN, FeedBaseComponent, FeedComponent, FeedPresetComponent, FeedStandardComponent, FileService, FileUrlPipe, FormBaseComponent, FormComponent, FormFactory, FormPresetComponent, FormStandardComponent, GRID_LIST_STANDARD_COMPONENT_TOKEN, GridListBaseComponent, GridListComponent, GridListPresetComponent, GridListStandardComponent, HardwareService, IModelExportProvider, IModelImportProvider, IModelLabelProvider, IModelPossibilitiesProvider, IModelValidatorsProvider, INFO_STANDARD_COMPONENT_TOKEN, INPUT_FIELD_COMPONENTS_TOKEN, INPUT_PRESET_FIELD_COMPONENTS, IconBaseComponent, IconChevronDownComponent, IconChevronUpComponent, IconComponent, IconPresetComponent, IconSpinnerComponent, ImportBaseComponent, ImportComponent, InfoBaseComponent, InfoComponent, InfoPresetComponent, InfoStandardComponent, InputAddressComponent, InputAddressPresetComponent, InputArrayComponent, InputArrayPresetComponent, InputAttachmentComponent, InputAttachmentPresetComponent, InputBaseComponent, InputCheckComponent, InputCheckPresetComponent, InputColorComponent, InputColorPresetComponent, InputComponent, InputCurrencyComponent, InputCurrencyPresetComponent, InputDateComponent, InputDatePresetComponent, InputDateRangeComponent, InputDateRangePresetComponent, InputDateWithEditComponent, InputDateWithEditPresetComponent, InputEmailComponent, InputEmailPresetComponent, InputEnumComponent, InputEnumPresetComponent, InputErrorComponent, InputErrorPresetComponent, InputFileBaseComponent, InputFileComponent, InputFilePresetComponent, InputFlagComponent, InputFlagPresetComponent, InputFloatComponent, InputFloatPresetComponent, InputImageComponent, InputImagePresetComponent, InputIntComponent, InputIntPresetComponent, InputIntsComponent, InputIntsPresetComponent, InputLogoComponent, InputLogoPresetComponent, InputLongTextComponent, InputLongTextPresetComponent, InputNipComponent, InputNipPresetComponent, InputObjectComponent, InputObjectPresetComponent, InputPasswordComponent, InputPasswordPresetComponent, InputPdfComponent, InputPdfPresetComponent, InputPeselComponent, InputPeselPresetComponent, InputPhoneNumberComponent, InputPhoneNumberPlComponent, InputPhoneNumberPlPresetComponent, InputPhoneNumberPresetComponent, InputPossibilitiesBaseComponent, InputRadioComponent, InputRadioPresetComponent, InputStringsComponent, InputStringsPresetComponent, InputTextComponent, InputTextPresetComponent, InputVideoComponent, InputVideoPresetComponent, LIST_CONTAINER_STANDARD_COMPONENT_TOKEN, LIST_MODE_COMPONENTS_TOKEN, LIST_PRESET_MODE_COMPONENTS, LOADER_STANDARD_COMPONENT_TOKEN, ListBaseComponent, ListCellPipe, ListComponent, ListContainerBaseComponent, ListContainerComponent, ListContainerStandardComponent, ListDesktopComponent, ListDesktopPresetComponent, ListHeaderPipe, ListMasonryGridComponent, ListMasonryGridPresetComponent, ListMobileComponent, ListMobilePresetComponent, ListMode, LoaderBaseComponent, LoaderComponent, LoaderPresetComponent, LoaderStandardComponent, MEDIA_OBJECT_STANDARD_COMPONENT_TOKEN, MODAL_STANDARD_COMPONENT_TOKEN, MODEL_EXPORT_PROVIDER, MODEL_IMPORT_PROVIDER, MODEL_LABEL_PROVIDER, MODEL_POSSIBILITIES_PROVIDER, MODEL_VALIDATORS_PROVIDER, MULTI_COLUMN_LAYOUT_STANDARD_COMPONENT_TOKEN, MediaObjectBaseComponent, MediaObjectComponent, MediaObjectPresetComponent, MediaObjectStandardComponent, MenuService, ModalBaseComponent, ModalComponent, ModalPresetComponent, ModalService, ModalStandardComponent, ModelLabelPipe, MultiColumnLayoutBaseComponent, MultiColumnLayoutComponent, MultiColumnLayoutPresetComponent, MultiColumnLayoutStandardComponent, NAVBAR_STANDARD_COMPONENT_TOKEN, NOTIFICATION_STANDARD_COMPONENT_TOKEN, NavbarBaseComponent, NavbarComponent, NavbarPresetComponent, NavbarStandardComponent, NgrxSharedModule, NgrxStoreService, NotificationBaseComponent, NotificationComponent, NotificationPresetComponent, NotificationStandardComponent, PAGE_HEADING_STANDARD_COMPONENT_TOKEN, PAGE_PRESET_VARIANT_COMPONENTS, PAGE_VARIANT_COMPONENTS_TOKEN, PAGING_STANDARD_COMPONENT_TOKEN, PASSWORD_STRENGTH_STANDARD_COMPONENT_TOKEN, PIPES, PROGRESS_BARS_STANDARD_COMPONENT_TOKEN, PageBaseComponent, PageComponent, PageHeadingBaseComponent, PageHeadingComponent, PageHeadingPresetComponent, PageHeadingStandardComponent, PagePresetComponent, PageStandardComponent, PaginationMode, PagingBaseComponent, PagingComponent, PagingPresetComponent, PagingStandardComponent, PasswordStrengthBaseComponent, PasswordStrengthComponent, PasswordStrengthStandardComponent, PopoverService, ProgressBarsBaseComponent, ProgressBarsComponent, ProgressBarsPresetComponent, ProgressBarsStandardComponent, ReduxAction, ReduxActionDecorator, ReduxSelect, RemoveHtmlPipe, SEARCHBAR_STANDARD_COMPONENT_TOKEN, SECTION_HEADING_STANDARD_COMPONENT_TOKEN, SELECT_MENU_STANDARD_COMPONENT_TOKEN, SIDEBAR_LAYOUT_STANDARD_COMPONENT_TOKEN, SIDEBAR_NAVIGATION_STANDARD_COMPONENT_TOKEN, SIGN_IN_FORM_STANDARD_COMPONENT_TOKEN, STACKED_LAYOUT_STANDARD_COMPONENT_TOKEN, STACKED_LIST_STANDARD_COMPONENT_TOKEN, STATS_STANDARD_COMPONENT_TOKEN, SearchbarBaseComponent, SearchbarComponent, SearchbarStandardComponent, SectionHeadingBaseComponent, SectionHeadingComponent, SectionHeadingPresetComponent, SectionHeadingStandardComponent, SelectMenuBaseComponent, SelectMenuComponent, SelectMenuStandardComponent, SharedDirectivesModule, SharedFactoriesModule, SharedModule, SharedPagesModule, SharedPipesModule, SharedServicesModule, SidebarLayoutBaseComponent, SidebarLayoutComponent, SidebarLayoutPresetComponent, SidebarLayoutStandardComponent, SidebarNavigationBaseComponent, SidebarNavigationComponent, SidebarNavigationStandardComponent, SignInFormBaseComponent, SignInFormComponent, SignInFormPresetComponent, SignInFormStandardComponent, SlugPipe, SmartFormGroup, SmartNgModule, SmartNgModuleDecorator, StackedLayoutBaseComponent, StackedLayoutComponent, StackedLayoutPresetComponent, StackedLayoutStandardComponent, StackedListBaseComponent, StackedListComponent, StackedListPresetComponent, StackedListStandardComponent, StatsBaseComponent, StatsComponent, StatsPresetComponent, StatsStandardComponent, StorageService, StyleService, TABLE_STANDARD_COMPONENT_TOKEN, TABS_STANDARD_COMPONENT_TOKEN, TEXTAREA_STANDARD_COMPONENT_TOKEN, TOGGLE_STANDARD_COMPONENT_TOKEN, TableBaseComponent, TableComponent, TablePresetComponent, TableStandardComponent, TabsBaseComponent, TabsComponent, TabsPresetComponent, TabsStandardComponent, TextareaBaseComponent, TextareaComponent, TextareaPresetComponent, TextareaStandardComponent, ToastService, ToggleBaseComponent, ToggleComponent, TogglePresetComponent, ToggleStandardComponent, TrustHtmlPipe, UIService, VERTICAL_NAVIGATION_STANDARD_COMPONENT_TOKEN, VerticalNavigationBaseComponent, VerticalNavigationComponent, VerticalNavigationPresetComponent, VerticalNavigationStandardComponent, fastPropGetter };
|
|
29252
29893
|
//# sourceMappingURL=smartsoft001-angular.mjs.map
|