@kris701/ez-ui 1.1.13 → 1.1.15
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.
|
@@ -7,7 +7,7 @@ import { FormsModule } from '@angular/forms';
|
|
|
7
7
|
import * as i3$1 from '@taiga-ui/core';
|
|
8
8
|
import { TuiIcon, TuiInput, TuiButton, TuiDropdown, TuiOption, TuiGroup, TuiScrollbar, TuiSelectLike, TuiDataList, TuiTextfield, TuiHint, TuiLoader, TuiCheckbox, TUI_DARK_MODE, TuiRoot } from '@taiga-ui/core';
|
|
9
9
|
import * as i4$1 from '@taiga-ui/kit';
|
|
10
|
-
import { TuiBlock, TuiSwitch, TuiInputDate, TuiInputDateTime, TuiFiles, TuiChevron, TuiTextarea, TuiMultiSelect, TuiInputNumber, TuiInputChip, TuiPassword, TuiBadge, TuiStatus, TuiDataListWrapper, TuiBadgeNotification, TuiBadgedContent, TuiButtonSelect, TuiStringifyContentPipe, TUI_CONFIRM } from '@taiga-ui/kit';
|
|
10
|
+
import { TuiBlock, TuiSwitch, TuiInputDate, TuiInputDateTime, TuiFiles, TuiChevron, TuiTextarea, TuiMultiSelect, TuiInputNumber, TuiInputChip, TuiPassword, TuiSelect, TuiBadge, TuiStatus, TuiDataListWrapper, TuiBadgeNotification, TuiBadgedContent, TuiButtonSelect, TuiStringifyContentPipe, TUI_CONFIRM } from '@taiga-ui/kit';
|
|
11
11
|
import * as i3$3 from '@taiga-ui/addon-mobile';
|
|
12
12
|
import { TuiDropdownSheet } from '@taiga-ui/addon-mobile';
|
|
13
13
|
import { TuiDay, TuiTime } from '@taiga-ui/cdk/date-time';
|
|
@@ -3095,7 +3095,7 @@ class EzUISelect {
|
|
|
3095
3095
|
@if(label != ''){
|
|
3096
3096
|
<label tuiLabel>{{label}}</label>
|
|
3097
3097
|
}
|
|
3098
|
-
<input
|
|
3098
|
+
<input tuiSelect [(ngModel)]="selected" (ngModelChange)="selectedChange.emit(this.selected)" [disabled]="disabled"/>
|
|
3099
3099
|
<tui-data-list *tuiDropdown >
|
|
3100
3100
|
@for (item of options; track getOptionValue(item)) {
|
|
3101
3101
|
<button tuiOption [value]="getOptionValue(item)">
|
|
@@ -3104,17 +3104,16 @@ class EzUISelect {
|
|
|
3104
3104
|
}
|
|
3105
3105
|
</tui-data-list>
|
|
3106
3106
|
</tui-textfield>
|
|
3107
|
-
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "component", type: i3.TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i3.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i4.TuiDropdownContent, selector: "ng-template[tuiDropdown]" }, { kind: "component", type: i3$1.TuiDataListComponent, selector: "tui-data-list", inputs: ["emptyContent", "size"] }, { kind: "directive", type: i3$1.TuiOption, selector: "button[tuiOption], a[tuiOption], label[tuiOption]", inputs: ["disabled"] }, { kind: "directive", type: i3$1.TuiOptionWithValue, selector: "button[tuiOption][value], a[tuiOption][value], label[tuiOption][value]", inputs: ["disabled", "value"] }, { kind: "directive", type:
|
|
3107
|
+
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4$1.TuiSelectDirective, selector: "input[tuiSelect]" }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "component", type: i3.TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i3.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i4.TuiDropdownContent, selector: "ng-template[tuiDropdown]" }, { kind: "component", type: i3$1.TuiDataListComponent, selector: "tui-data-list", inputs: ["emptyContent", "size"] }, { kind: "directive", type: i3$1.TuiOption, selector: "button[tuiOption], a[tuiOption], label[tuiOption]", inputs: ["disabled"] }, { kind: "directive", type: i3$1.TuiOptionWithValue, selector: "button[tuiOption][value], a[tuiOption][value], label[tuiOption][value]", inputs: ["disabled", "value"] }, { kind: "directive", type: TuiChevron, selector: "[tuiChevron]", inputs: ["tuiChevron"] }] });
|
|
3108
3108
|
}
|
|
3109
3109
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: EzUISelect, decorators: [{
|
|
3110
3110
|
type: Component,
|
|
3111
3111
|
args: [{ selector: 'ezui-select', imports: [
|
|
3112
3112
|
FormsModule,
|
|
3113
3113
|
CommonModule,
|
|
3114
|
-
|
|
3114
|
+
TuiSelect,
|
|
3115
3115
|
TuiDataList,
|
|
3116
3116
|
TuiTextfield,
|
|
3117
|
-
TuiSelectLike,
|
|
3118
3117
|
TuiDropdown,
|
|
3119
3118
|
TuiChevron,
|
|
3120
3119
|
TuiInput
|
|
@@ -3123,7 +3122,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
|
|
|
3123
3122
|
@if(label != ''){
|
|
3124
3123
|
<label tuiLabel>{{label}}</label>
|
|
3125
3124
|
}
|
|
3126
|
-
<input
|
|
3125
|
+
<input tuiSelect [(ngModel)]="selected" (ngModelChange)="selectedChange.emit(this.selected)" [disabled]="disabled"/>
|
|
3127
3126
|
<tui-data-list *tuiDropdown >
|
|
3128
3127
|
@for (item of options; track getOptionValue(item)) {
|
|
3129
3128
|
<button tuiOption [value]="getOptionValue(item)">
|
|
@@ -5337,13 +5336,18 @@ class EzUILayout {
|
|
|
5337
5336
|
...(ngDevMode ? [{ debugName: "sidebarFooterItems" }] : /* istanbul ignore next */ []));
|
|
5338
5337
|
topbarright;
|
|
5339
5338
|
topbarlogo;
|
|
5339
|
+
sidebar;
|
|
5340
|
+
forceLoadSidebar() {
|
|
5341
|
+
if (this.sidebar)
|
|
5342
|
+
this.sidebar.initialize();
|
|
5343
|
+
}
|
|
5340
5344
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: EzUILayout, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5341
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.0", type: EzUILayout, isStandalone: true, selector: "ezui-layout", inputs: { sidebarItems: "sidebarItems", sidebarFooterItems: "sidebarFooterItems" }, queries: [{ propertyName: "topbarright", first: true, predicate: ["topbarright"], descendants: true }, { propertyName: "topbarlogo", first: true, predicate: ["topbarlogo"], descendants: true }], ngImport: i0, template: `
|
|
5345
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.0", type: EzUILayout, isStandalone: true, selector: "ezui-layout", inputs: { sidebarItems: "sidebarItems", sidebarFooterItems: "sidebarFooterItems" }, queries: [{ propertyName: "topbarright", first: true, predicate: ["topbarright"], descendants: true }, { propertyName: "topbarlogo", first: true, predicate: ["topbarlogo"], descendants: true }, { propertyName: "sidebar", first: true, predicate: ["sidebar"], descendants: true }], ngImport: i0, template: `
|
|
5342
5346
|
<tui-root class="rootContainer">
|
|
5343
5347
|
<div class="layout-wrapper">
|
|
5344
5348
|
<ezui-topbar></ezui-topbar>
|
|
5345
5349
|
<div class="layout-wrapper-split">
|
|
5346
|
-
<ezui-sidebar></ezui-sidebar>
|
|
5350
|
+
<ezui-sidebar #sidebar></ezui-sidebar>
|
|
5347
5351
|
<div class="layout-main-container">
|
|
5348
5352
|
<tui-scrollbar class="layout-main">
|
|
5349
5353
|
<router-outlet></router-outlet>
|
|
@@ -5361,7 +5365,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
|
|
|
5361
5365
|
<div class="layout-wrapper">
|
|
5362
5366
|
<ezui-topbar></ezui-topbar>
|
|
5363
5367
|
<div class="layout-wrapper-split">
|
|
5364
|
-
<ezui-sidebar></ezui-sidebar>
|
|
5368
|
+
<ezui-sidebar #sidebar></ezui-sidebar>
|
|
5365
5369
|
<div class="layout-main-container">
|
|
5366
5370
|
<tui-scrollbar class="layout-main">
|
|
5367
5371
|
<router-outlet></router-outlet>
|
|
@@ -5381,6 +5385,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
|
|
|
5381
5385
|
}], topbarlogo: [{
|
|
5382
5386
|
type: ContentChild,
|
|
5383
5387
|
args: ['topbarlogo', { static: false }]
|
|
5388
|
+
}], sidebar: [{
|
|
5389
|
+
type: ContentChild,
|
|
5390
|
+
args: ['sidebar', { static: false }]
|
|
5384
5391
|
}] } });
|
|
5385
5392
|
|
|
5386
5393
|
// Components
|