boruto-xrmui 1.22.9 → 1.22.10
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.
|
@@ -2326,6 +2326,131 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
|
|
|
2326
2326
|
args: [{ selector: 'xrmui-tabs', imports: [NgClass, MatIcon, MatBadge, MatButtonModule, MatMenuModule, MatIconModule], changeDetection: ChangeDetectionStrategy.Eager, providers: [], template: "<div class=\"xrmui-tabs\">\r\n@for (tab of tabs(); track tab; let idx = $index) {\r\n @if (tab.visible == undefined || tab.visible()) {\r\n <div class=\"xrmui-tab\" [ngClass]=\"{ 'current' : tab == current(), 'disabled': tab.disabled, error: tab != current() && tab.error != undefined && tab.error()}\" (click)=\"current.set(tab)\">\r\n @if (tab.badget != undefined && tab.badget > 0) {\r\n <div [matBadge]=\"tab.badget\" [matBadgeOverlap]=\"false\">\r\n @if (tab.icon != undefined && tab.icon != null && tab.icon != ''){<div class=\"icon\"><mat-icon class=\"mat-icon-14\">{{ tab.icon }}</mat-icon></div>}\r\n <span>\r\n @if (tab.label != undefined && tab.label != null && tab.label != '') { {{ tab.label }} }\r\n @if (tab.label == undefined || tab.label == null || tab.label == '') { {{ tab.id }} }\r\n </span>\r\n </div>\r\n }\r\n\r\n @if (tab.badget == undefined || tab.badget == 0) {\r\n @if (tab.icon != undefined && tab.icon != null && tab.icon != ''){<div class=\"icon\"><mat-icon class=\"mat-icon-14\">{{ tab.icon }}</mat-icon></div>}\r\n <span>\r\n @if (tab.label != undefined && tab.label != null && tab.label != '') { {{ tab.label }} }\r\n @if (tab.label == undefined || tab.label == null || tab.label == '') { {{ tab.id }} }\r\n </span>\r\n }\r\n </div>\r\n }\r\n}\r\n</div>", styles: [":host div.xrmui-tabs{display:flex}:host div.xrmui-tab{margin:10px 5px 5px;padding:10px 10px 8px;font-family:var(--mat-sys-body-medium-font);border:solid;border-width:0 0 2px 0;border-color:#d3d3d3;color:gray;cursor:pointer;font-size:small}:host div.xrmui-tab.current{border-color:#0f6cbd;color:#0f6cbd}:host div.xrmui-tab.disabled{border-color:#d3d3d3;color:#d3d3d3;cursor:auto}:host div.xrmui-tab.space{flex-grow:1;border-color:transparent;cursor:default}:host div.xrmui-burger{padding-top:15px;width:20px;cursor:pointer}:host button.xrmui-burger-button{border:none;background-color:transparent;height:25px;overflow:hidden;margin:0;padding:0}:host div.icon{float:left;padding-right:3px}:host mat-icon.mat-icon-14{font-size:14px;width:14px;height:14px}:host .error{--color1: #FF6347;--color2: #f7f7f7;--duration: 3s;background-color:var(--color1);-webkit-animation-name:colorPulser;-webkit-animation-duration:var(--duration);animation-name:colorPulser;animation-duration:var(--duration);animation-iteration-count:infinite}@-webkit-keyframes colorPulser{0%{background-color:var(--color1)}50%{background-color:var(--color2)}to{background-color:var(--color1)}}@keyframes colorPulser{0%{background-color:var(--color1)}50%{background-color:var(--color2)}to{background-color:var(--color1)}}\n"] }]
|
|
2327
2327
|
}], ctorParameters: () => [], propDecorators: { tabs: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabs", required: true }] }], burgers: [{ type: i0.Input, args: [{ isSignal: true, alias: "burgers", required: false }] }], current: [{ type: i0.Input, args: [{ isSignal: true, alias: "current", required: true }] }, { type: i0.Output, args: ["currentChange"] }] } });
|
|
2328
2328
|
|
|
2329
|
+
class XrmuiSection {
|
|
2330
|
+
searchElement;
|
|
2331
|
+
title = '';
|
|
2332
|
+
topTitle = '';
|
|
2333
|
+
searchable = false;
|
|
2334
|
+
search = '';
|
|
2335
|
+
searchChange = new EventEmitter();
|
|
2336
|
+
focusSearchTrigger = false;
|
|
2337
|
+
focusSearchTriggerChange = new EventEmitter();
|
|
2338
|
+
checkable = false;
|
|
2339
|
+
checked = false;
|
|
2340
|
+
checkChange = new EventEmitter();
|
|
2341
|
+
prev = new EventEmitter();
|
|
2342
|
+
next = new EventEmitter();
|
|
2343
|
+
enter = new EventEmitter();
|
|
2344
|
+
esc = new EventEmitter();
|
|
2345
|
+
constructor() {
|
|
2346
|
+
}
|
|
2347
|
+
ngOnChanges(changes) {
|
|
2348
|
+
if (this.focusSearchTrigger == true) {
|
|
2349
|
+
setTimeout(() => {
|
|
2350
|
+
this.focusSearch();
|
|
2351
|
+
this.focusSearchTriggerChange.emit(false);
|
|
2352
|
+
}, 10);
|
|
2353
|
+
}
|
|
2354
|
+
}
|
|
2355
|
+
searchChanged() {
|
|
2356
|
+
this.searchChange.emit(this.search);
|
|
2357
|
+
}
|
|
2358
|
+
check() {
|
|
2359
|
+
this.checked = true;
|
|
2360
|
+
this.checkChange.emit(this.checked);
|
|
2361
|
+
this.focusSearch();
|
|
2362
|
+
}
|
|
2363
|
+
uncheck() {
|
|
2364
|
+
this.checked = false;
|
|
2365
|
+
this.checkChange.emit(this.checked);
|
|
2366
|
+
this.focusSearch();
|
|
2367
|
+
}
|
|
2368
|
+
onkeydown(e) {
|
|
2369
|
+
if (this.prev.observed) {
|
|
2370
|
+
e.preventDefault();
|
|
2371
|
+
e.stopPropagation();
|
|
2372
|
+
this.prev.emit();
|
|
2373
|
+
}
|
|
2374
|
+
}
|
|
2375
|
+
onkeyup(e) {
|
|
2376
|
+
if (this.next.observed) {
|
|
2377
|
+
e.preventDefault();
|
|
2378
|
+
e.stopPropagation();
|
|
2379
|
+
this.next.emit();
|
|
2380
|
+
}
|
|
2381
|
+
}
|
|
2382
|
+
onkeyenter(e) {
|
|
2383
|
+
if (this.enter.observed) {
|
|
2384
|
+
e.preventDefault();
|
|
2385
|
+
e.stopPropagation();
|
|
2386
|
+
this.enter.emit();
|
|
2387
|
+
}
|
|
2388
|
+
}
|
|
2389
|
+
onkeyesc(e) {
|
|
2390
|
+
if (this.esc.observed) {
|
|
2391
|
+
e.preventDefault();
|
|
2392
|
+
e.stopPropagation();
|
|
2393
|
+
this.esc.emit();
|
|
2394
|
+
}
|
|
2395
|
+
}
|
|
2396
|
+
focusSearch() {
|
|
2397
|
+
if (this.searchElement != null) {
|
|
2398
|
+
this.searchElement.nativeElement.focus();
|
|
2399
|
+
}
|
|
2400
|
+
}
|
|
2401
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: XrmuiSection, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2402
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: XrmuiSection, isStandalone: true, selector: "xrmui-section", inputs: { title: "title", topTitle: ["top-title", "topTitle"], searchable: "searchable", search: "search", focusSearchTrigger: ["focusSearch", "focusSearchTrigger"], checkable: "checkable", checked: "checked" }, outputs: { searchChange: "searchChange", focusSearchTriggerChange: "focusSearchChange", checkChange: "checkedChange", prev: "prev", next: "next", enter: "enter", esc: "esc" }, viewQueries: [{ propertyName: "searchElement", first: true, predicate: ["searchelement"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "@if (topTitle != '') {<div class=\"toptitle-container\">\r\n <div class=\"toptitle\">{{ topTitle }}</div>\r\n</div>}\r\n@if(title != '' && !searchable) {<div class=\"header\">{{ title }}</div>}\r\n@if (searchable) {\r\n<div class=\"search\">\r\n <div class=\"chexkbox\">\r\n @if (checkable) {\r\n @if (checked){<mat-icon title=\"Frav\u00E6lg alle\" (click)=\"uncheck()\">check_box</mat-icon>}\r\n @if(!checked) {<mat-icon title=\"V\u00E6lg alle\" (click)=\"check()\">check_box_outline_blank</mat-icon>}\r\n }\r\n </div>\r\n <input #searchelement [(ngModel)]=\"search\" (ngModelChange)=\"searchChanged()\" [placeholder]=\"title\"\r\n (keydown.esc)=\"onkeyesc($event)\" (keydown.arrowdown)=\"onkeydown($event)\" (keydown.arrowup)=\"onkeyup($event)\"\r\n (keydown.enter)=\"onkeyenter($event)\" />\r\n <div class=\"therest\"></div>\r\n</div>\r\n}\r\n<ng-content></ng-content>", styles: [":host.all{position:absolute;inset:0}:host{border:solid;border-width:1px 1px 1px 1px;border-color:#d3d3d3;border-style:solid;border-radius:5px;display:block;margin:10px;padding:10px;box-shadow:1px 1px #d3d3d3}:host.nopadding{padding:0}:host.noborder{border:none;border-radius:0;margin:0;padding:0}:host.global{border-color:#4f8a4e}:host.nomargin{margin:0}:host div.toptitle-container{position:relative;width:100%}:host div.toptitle{position:absolute;left:0;right:0;margin-left:auto;margin-right:auto;background-color:gray;color:#fff;padding:1px 20px;max-width:fit-content;display:table;z-index:2;border-radius:15px;border:solid;border-width:1px 1px 1px 1px;border-color:gray}:host div.toptitle{top:-19px}:host div.header{border-width:0 0 1px 0;border-color:#d3d3d3;border-style:solid;font-size:16px;font-weight:700;margin-bottom:15px;padding-top:5px;padding-bottom:5px}:host div.search{border-width:0 0 1px 0;border-color:#d3d3d3;border-style:solid;margin-bottom:15px;padding-top:5px;padding-bottom:5px;display:flex}:host div.therest{flex-grow:1}:host div.chexkbox{width:25px;min-width:25px;max-width:25px}:host input{background-color:transparent;margin:0;border:none;height:29px;padding:0 0 0 15px}:host input[type=number]:focus,:host input[type=number]:hover{pointer-events:none;cursor:text}:host *:focus{outline:none}:host input:focus{outline:none;border:solid;border-width:0 0 2px 0;border-color:#0f6cbd}:host mat-icon{color:gray}\n"], 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: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
|
|
2403
|
+
}
|
|
2404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: XrmuiSection, decorators: [{
|
|
2405
|
+
type: Component,
|
|
2406
|
+
args: [{ selector: 'xrmui-section', imports: [FormsModule, MatIcon], template: "@if (topTitle != '') {<div class=\"toptitle-container\">\r\n <div class=\"toptitle\">{{ topTitle }}</div>\r\n</div>}\r\n@if(title != '' && !searchable) {<div class=\"header\">{{ title }}</div>}\r\n@if (searchable) {\r\n<div class=\"search\">\r\n <div class=\"chexkbox\">\r\n @if (checkable) {\r\n @if (checked){<mat-icon title=\"Frav\u00E6lg alle\" (click)=\"uncheck()\">check_box</mat-icon>}\r\n @if(!checked) {<mat-icon title=\"V\u00E6lg alle\" (click)=\"check()\">check_box_outline_blank</mat-icon>}\r\n }\r\n </div>\r\n <input #searchelement [(ngModel)]=\"search\" (ngModelChange)=\"searchChanged()\" [placeholder]=\"title\"\r\n (keydown.esc)=\"onkeyesc($event)\" (keydown.arrowdown)=\"onkeydown($event)\" (keydown.arrowup)=\"onkeyup($event)\"\r\n (keydown.enter)=\"onkeyenter($event)\" />\r\n <div class=\"therest\"></div>\r\n</div>\r\n}\r\n<ng-content></ng-content>", styles: [":host.all{position:absolute;inset:0}:host{border:solid;border-width:1px 1px 1px 1px;border-color:#d3d3d3;border-style:solid;border-radius:5px;display:block;margin:10px;padding:10px;box-shadow:1px 1px #d3d3d3}:host.nopadding{padding:0}:host.noborder{border:none;border-radius:0;margin:0;padding:0}:host.global{border-color:#4f8a4e}:host.nomargin{margin:0}:host div.toptitle-container{position:relative;width:100%}:host div.toptitle{position:absolute;left:0;right:0;margin-left:auto;margin-right:auto;background-color:gray;color:#fff;padding:1px 20px;max-width:fit-content;display:table;z-index:2;border-radius:15px;border:solid;border-width:1px 1px 1px 1px;border-color:gray}:host div.toptitle{top:-19px}:host div.header{border-width:0 0 1px 0;border-color:#d3d3d3;border-style:solid;font-size:16px;font-weight:700;margin-bottom:15px;padding-top:5px;padding-bottom:5px}:host div.search{border-width:0 0 1px 0;border-color:#d3d3d3;border-style:solid;margin-bottom:15px;padding-top:5px;padding-bottom:5px;display:flex}:host div.therest{flex-grow:1}:host div.chexkbox{width:25px;min-width:25px;max-width:25px}:host input{background-color:transparent;margin:0;border:none;height:29px;padding:0 0 0 15px}:host input[type=number]:focus,:host input[type=number]:hover{pointer-events:none;cursor:text}:host *:focus{outline:none}:host input:focus{outline:none;border:solid;border-width:0 0 2px 0;border-color:#0f6cbd}:host mat-icon{color:gray}\n"] }]
|
|
2407
|
+
}], ctorParameters: () => [], propDecorators: { searchElement: [{
|
|
2408
|
+
type: ViewChild,
|
|
2409
|
+
args: ['searchelement']
|
|
2410
|
+
}], title: [{
|
|
2411
|
+
type: Input,
|
|
2412
|
+
args: ['title']
|
|
2413
|
+
}], topTitle: [{
|
|
2414
|
+
type: Input,
|
|
2415
|
+
args: ['top-title']
|
|
2416
|
+
}], searchable: [{
|
|
2417
|
+
type: Input,
|
|
2418
|
+
args: ['searchable']
|
|
2419
|
+
}], search: [{
|
|
2420
|
+
type: Input,
|
|
2421
|
+
args: ['search']
|
|
2422
|
+
}], searchChange: [{
|
|
2423
|
+
type: Output,
|
|
2424
|
+
args: ['searchChange']
|
|
2425
|
+
}], focusSearchTrigger: [{
|
|
2426
|
+
type: Input,
|
|
2427
|
+
args: ['focusSearch']
|
|
2428
|
+
}], focusSearchTriggerChange: [{
|
|
2429
|
+
type: Output,
|
|
2430
|
+
args: ['focusSearchChange']
|
|
2431
|
+
}], checkable: [{
|
|
2432
|
+
type: Input,
|
|
2433
|
+
args: ['checkable']
|
|
2434
|
+
}], checked: [{
|
|
2435
|
+
type: Input,
|
|
2436
|
+
args: ['checked']
|
|
2437
|
+
}], checkChange: [{
|
|
2438
|
+
type: Output,
|
|
2439
|
+
args: ['checkedChange']
|
|
2440
|
+
}], prev: [{
|
|
2441
|
+
type: Output,
|
|
2442
|
+
args: ['prev']
|
|
2443
|
+
}], next: [{
|
|
2444
|
+
type: Output,
|
|
2445
|
+
args: ['next']
|
|
2446
|
+
}], enter: [{
|
|
2447
|
+
type: Output,
|
|
2448
|
+
args: ['enter']
|
|
2449
|
+
}], esc: [{
|
|
2450
|
+
type: Output,
|
|
2451
|
+
args: ['esc']
|
|
2452
|
+
}] } });
|
|
2453
|
+
|
|
2329
2454
|
class BorutoXrmUIModule {
|
|
2330
2455
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: BorutoXrmUIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2331
2456
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.1", ngImport: i0, type: BorutoXrmUIModule, imports: [XrmuiInfo,
|
|
@@ -2338,6 +2463,7 @@ class BorutoXrmUIModule {
|
|
|
2338
2463
|
XrmuiButton,
|
|
2339
2464
|
XrmuiDevider,
|
|
2340
2465
|
XrmuiTabs,
|
|
2466
|
+
XrmuiSection,
|
|
2341
2467
|
ChangeScopeDirective,
|
|
2342
2468
|
FormScopeDirective], exports: [XrmuiInfo,
|
|
2343
2469
|
XrmuiLayout,
|
|
@@ -2349,6 +2475,7 @@ class BorutoXrmUIModule {
|
|
|
2349
2475
|
XrmuiButton,
|
|
2350
2476
|
XrmuiDevider,
|
|
2351
2477
|
XrmuiTabs,
|
|
2478
|
+
XrmuiSection,
|
|
2352
2479
|
ChangeScopeDirective,
|
|
2353
2480
|
FormScopeDirective] });
|
|
2354
2481
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: BorutoXrmUIModule, imports: [XrmuiInfo,
|
|
@@ -2356,7 +2483,8 @@ class BorutoXrmUIModule {
|
|
|
2356
2483
|
XrmuiInput,
|
|
2357
2484
|
XrmuiSpinner,
|
|
2358
2485
|
XrmuiButton,
|
|
2359
|
-
XrmuiTabs
|
|
2486
|
+
XrmuiTabs,
|
|
2487
|
+
XrmuiSection] });
|
|
2360
2488
|
}
|
|
2361
2489
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: BorutoXrmUIModule, decorators: [{
|
|
2362
2490
|
type: NgModule,
|
|
@@ -2372,6 +2500,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
|
|
|
2372
2500
|
XrmuiButton,
|
|
2373
2501
|
XrmuiDevider,
|
|
2374
2502
|
XrmuiTabs,
|
|
2503
|
+
XrmuiSection,
|
|
2375
2504
|
ChangeScopeDirective,
|
|
2376
2505
|
FormScopeDirective,
|
|
2377
2506
|
],
|
|
@@ -2386,6 +2515,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
|
|
|
2386
2515
|
XrmuiButton,
|
|
2387
2516
|
XrmuiDevider,
|
|
2388
2517
|
XrmuiTabs,
|
|
2518
|
+
XrmuiSection,
|
|
2389
2519
|
ChangeScopeDirective,
|
|
2390
2520
|
FormScopeDirective
|
|
2391
2521
|
]
|
|
@@ -2400,5 +2530,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
|
|
|
2400
2530
|
* Generated bundle index. Do not edit.
|
|
2401
2531
|
*/
|
|
2402
2532
|
|
|
2403
|
-
export { BorutoXrmUIModule, CTRL_KEYS, ChangeScopeDirective, DECIMALS, DKCustomDateAdapter, FormScopeDirective, KiponUiModule, KoAlertComponent, KoButtonGroupComponent, KoDecimalDirective, KoDivider, KoExpansionPanelComponent, KoFocusDirective, KoHeaderComponent, KoHorizontalScrollComponent, KoHorizontalSplitComponent, KoLeftMenuComponent, KoMainComponent, KoNavigationByCssClass, KoNavigationByImageUrl, KoOverDirective, KoTablePanelComponent, KoTitlePanelComponent, KoTopMenuComponent, KoVerticalScrollComponent, KoVerticalSplitComponent, KoViewComponent, KoWriteDirective, NAVIGATIONKEYS, NUMBERS, XrmuiButton, XrmuiDevider, XrmuiIcon, XrmuiInfo, XrmuiInput, XrmuiLayout, XrmuiPanel, XrmuiRibbon, XrmuiSpinner, XrmuiTabs, nFormater };
|
|
2533
|
+
export { BorutoXrmUIModule, CTRL_KEYS, ChangeScopeDirective, DECIMALS, DKCustomDateAdapter, FormScopeDirective, KiponUiModule, KoAlertComponent, KoButtonGroupComponent, KoDecimalDirective, KoDivider, KoExpansionPanelComponent, KoFocusDirective, KoHeaderComponent, KoHorizontalScrollComponent, KoHorizontalSplitComponent, KoLeftMenuComponent, KoMainComponent, KoNavigationByCssClass, KoNavigationByImageUrl, KoOverDirective, KoTablePanelComponent, KoTitlePanelComponent, KoTopMenuComponent, KoVerticalScrollComponent, KoVerticalSplitComponent, KoViewComponent, KoWriteDirective, NAVIGATIONKEYS, NUMBERS, XrmuiButton, XrmuiDevider, XrmuiIcon, XrmuiInfo, XrmuiInput, XrmuiLayout, XrmuiPanel, XrmuiRibbon, XrmuiSection, XrmuiSpinner, XrmuiTabs, nFormater };
|
|
2404
2534
|
//# sourceMappingURL=boruto-xrmui.mjs.map
|