@wawjs/ngx-bos 22.0.2 → 22.0.4
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 +3 -3
- package/RELEASES.md +31 -19
- package/ai/architecture.md +40 -2
- package/ai/decisions/2026-06-02-version-start.md +1 -1
- package/fesm2022/wawjs-ngx-bos.mjs +82 -70
- package/fesm2022/wawjs-ngx-bos.mjs.map +1 -1
- package/package.json +10 -10
- package/src/feature/user/guards/admins.guard.ts +7 -1
- package/src/feature/user/guards/authenticated.guard.ts +9 -1
- package/src/feature/user/guards/guest.guard.ts +3 -2
- package/src/feature/user/pages/users/users.component.html +3 -3
- package/src/feature/user/pages/users/users.component.scss +12 -12
- package/src/feature/user/pages/users/users.component.ts +42 -42
- package/src/feature/user/user.service.ts +9 -4
- package/src/icons/spider/spider.component.ts +4 -4
- package/src/ngx-bos.config.ts +1 -1
- package/src/public-api.ts +1 -1
- package/types/wawjs-ngx-bos.d.ts +3 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, makeEnvironmentProviders, inject, Service, input, model, computed, Component, output, viewChild, createComponent, EnvironmentInjector, ApplicationRef, APP_INITIALIZER, signal, effect, Pipe } from '@angular/core';
|
|
3
|
-
import { NgTemplateOutlet } from '@angular/common';
|
|
2
|
+
import { InjectionToken, makeEnvironmentProviders, inject, Service, input, model, computed, Component, output, viewChild, createComponent, EnvironmentInjector, ApplicationRef, APP_INITIALIZER, PLATFORM_ID, signal, effect, Pipe } from '@angular/core';
|
|
3
|
+
import { NgTemplateOutlet, isPlatformBrowser } from '@angular/common';
|
|
4
4
|
import { ModalService, ButtonComponent, SelectComponent, AlertService, TableComponent, buttonDefaults, inputDefaults, InputComponent, selectDefaults, CellDirective } from '@wawjs/ngx-ui';
|
|
5
5
|
import { TranslateDirective, TranslateService } from '@wawjs/ngx-translate';
|
|
6
6
|
import { CrudService, CrudComponent } from '@wawjs/ngx-crud';
|
|
@@ -24,7 +24,7 @@ const DEFAULT_NGX_BOS_CONFIG = {
|
|
|
24
24
|
userForm: [],
|
|
25
25
|
signPath: '/sign',
|
|
26
26
|
profilePath: '/profile',
|
|
27
|
-
defaultUserThumb: '
|
|
27
|
+
defaultUserThumb: 'default.png',
|
|
28
28
|
};
|
|
29
29
|
const NGX_BOS_CONFIG = new InjectionToken('NGX_BOS_CONFIG', {
|
|
30
30
|
factory: () => DEFAULT_NGX_BOS_CONFIG,
|
|
@@ -132,10 +132,10 @@ class FileService extends CrudService {
|
|
|
132
132
|
this._http.post('/api/cloudflare/upload-base64', { container, name, dataUrl }, (resp) => resolve(resp.publicUrl || ''));
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
136
|
-
static { this.ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.
|
|
135
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FileService, deps: [], target: i0.ɵɵFactoryTarget.Service }); }
|
|
136
|
+
static { this.ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.1.2", ngImport: i0, type: FileService }); }
|
|
137
137
|
}
|
|
138
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FileService, decorators: [{
|
|
139
139
|
type: Service
|
|
140
140
|
}], ctorParameters: () => [] });
|
|
141
141
|
|
|
@@ -328,10 +328,10 @@ class FileComponent {
|
|
|
328
328
|
this.wFiles.set([...this.wFiles(), ...urls]);
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
332
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: FileComponent, isStandalone: true, selector: "ngx-file", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, clearable: { classPropertyName: "clearable", publicName: "clearable", isSignal: true, isRequired: false, transformFunction: null }, accept: { classPropertyName: "accept", publicName: "accept", isSignal: true, isRequired: false, transformFunction: null }, preview: { classPropertyName: "preview", publicName: "preview", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, view: { classPropertyName: "view", publicName: "view", isSignal: true, isRequired: false, transformFunction: null }, cropWidth: { classPropertyName: "cropWidth", publicName: "cropWidth", isSignal: true, isRequired: false, transformFunction: null }, cropHeight: { classPropertyName: "cropHeight", publicName: "cropHeight", isSignal: true, isRequired: false, transformFunction: null }, t_item: { classPropertyName: "t_item", publicName: "t_item", isSignal: true, isRequired: false, transformFunction: null }, t_empty: { classPropertyName: "t_empty", publicName: "t_empty", isSignal: true, isRequired: false, transformFunction: null }, container: { classPropertyName: "container", publicName: "container", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, wImage: { classPropertyName: "wImage", publicName: "wImage", isSignal: true, isRequired: false, transformFunction: null }, wFile: { classPropertyName: "wFile", publicName: "wFile", isSignal: true, isRequired: false, transformFunction: null }, wImages: { classPropertyName: "wImages", publicName: "wImages", isSignal: true, isRequired: false, transformFunction: null }, wFiles: { classPropertyName: "wFiles", publicName: "wFiles", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { wImage: "wImageChange", wFile: "wFileChange", wImages: "wImagesChange", wFiles: "wFilesChange" }, ngImport: i0, template: "@let _label = label(); @let _ph = placeholder(); @let _files = files(); @let\r\n_disabled = disabled(); @let _view = view();\r\n\r\n<div class=\"wfile\" [class._disabled]=\"_disabled\">\r\n\t@if (_label) {\r\n\t<div class=\"wfile__label\" [translate]=\"_label\"></div>\r\n\t}\r\n\r\n\t<input\r\n\t\t#fileInput\r\n\t\ttype=\"file\"\r\n\t\t[attr.accept]=\"accept()\"\r\n\t\t[attr.multiple]=\"isMultiple() ? '' : null\"\r\n\t\t(change)=\"onPicked(fileInput)\"\r\n\t\thidden\r\n\t/>\r\n\r\n\t@if (_view === 'thumb-only') {\r\n\t<div\r\n\t\tclass=\"wfile__body wfile__body--thumb-only\"\r\n\t\trole=\"button\"\r\n\t\ttabindex=\"0\"\r\n\t\t(click)=\"!_disabled && triggerPick(fileInput)\"\r\n\t\t(keydown.enter)=\"!_disabled && triggerPick(fileInput)\"\r\n\t\t(keydown.space)=\"!_disabled && triggerPick(fileInput); $event.preventDefault()\"\r\n\t>\r\n\t\t@if (_files.length === 0) {\r\n\t\t<ng-container [ngTemplateOutlet]=\"t_empty() || emptyTpl\"></ng-container>\r\n\t\t<ng-template #emptyTpl>\r\n\t\t\t<div class=\"wfile__empty\" [translate]=\"_ph\"></div>\r\n\t\t</ng-template>\r\n\t\t} @else {\r\n\t\t<ng-container\r\n\t\t\t[ngTemplateOutlet]=\"t_item() || itemTpl\"\r\n\t\t\t[ngTemplateOutletContext]=\"{ $implicit: _files[0], index: 0 }\"\r\n\t\t></ng-container>\r\n\r\n\t\t<ng-template #itemTpl let-src let-index=\"index\">\r\n\t\t\t@if (preview() && isImage(src)) {\r\n\t\t\t<img class=\"wfile__thumb\" [src]=\"src\" alt=\"preview\" />\r\n\t\t\t} @else {\r\n\t\t\t<span class=\"wfile__name\">{{ src }}</span>\r\n\t\t\t}\r\n\t\t</ng-template>\r\n\t\t} @if (clearable() && _files.length) {\r\n\t\t<button\r\n\t\t\ttype=\"button\"\r\n\t\t\tclass=\"wfile__remove material-icons\"\r\n\t\t\t(click)=\"clear(); $event.stopPropagation()\"\r\n\t\t\taria-label=\"Clear file\"\r\n\t\t>\r\n\t\t\tclose\r\n\t\t</button>\r\n\t\t}\r\n\t</div>\r\n\t} @else {\r\n\t<div class=\"wfile__body\">\r\n\t\t<div class=\"wfile__list\">\r\n\t\t\t@if (_files.length === 0) {\r\n\t\t\t<ng-container\r\n\t\t\t\t[ngTemplateOutlet]=\"t_empty() || emptyTpl\"\r\n\t\t\t></ng-container>\r\n\t\t\t<ng-template #emptyTpl>\r\n\t\t\t\t<div class=\"wfile__empty\" [translate]=\"_ph\"></div>\r\n\t\t\t</ng-template>\r\n\t\t\t} @else {\r\n\t\t\t<ul>\r\n\t\t\t\t@for (src of _files; track src; let i = $index) {\r\n\t\t\t\t<li class=\"wfile__item\">\r\n\t\t\t\t\t<ng-container\r\n\t\t\t\t\t\t[ngTemplateOutlet]=\"t_item() || itemTpl\"\r\n\t\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: src, index: i }\"\r\n\t\t\t\t\t></ng-container>\r\n\r\n\t\t\t\t\t<ng-template #itemTpl let-src let-index=\"index\">\r\n\t\t\t\t\t\t<span class=\"wfile__name\">{{ src }}</span>\r\n\r\n\t\t\t\t\t\t@if (preview() && isImage(src)) {\r\n\t\t\t\t\t\t<img class=\"wfile__thumb\" [src]=\"src\" alt=\"preview\" />\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t<button\r\n\t\t\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\t\t\tclass=\"wfile__remove material-icons\"\r\n\t\t\t\t\t\t\t(click)=\"removeAt(index); $event.stopPropagation()\"\r\n\t\t\t\t\t\t\t[disabled]=\"_disabled\"\r\n\t\t\t\t\t\t\taria-label=\"Remove file\"\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\tclose\r\n\t\t\t\t\t\t</button>\r\n\t\t\t\t\t</ng-template>\r\n\t\t\t\t</li>\r\n\t\t\t\t}\r\n\t\t\t</ul>\r\n\t\t\t}\r\n\t\t</div>\r\n\r\n\t\t<div class=\"wfile__actions\">\r\n\t\t\t<wbutton\r\n\t\t\t\ttype=\"primary\"\r\n\t\t\t\t[disableSubmit]=\"true\"\r\n\t\t\t\t[disabled]=\"_disabled\"\r\n\t\t\t\t(wClick)=\"triggerPick(fileInput)\"\r\n\t\t\t>\r\n\t\t\t\t<span class=\"material-icons\">upload_file</span>\r\n\t\t\t\t<span translate>Browse</span>\r\n\t\t\t</wbutton>\r\n\r\n\t\t\t@if (clearable() && _files.length) {\r\n\t\t\t<wbutton\r\n\t\t\t\ttype=\"light\"\r\n\t\t\t\t[disableSubmit]=\"true\"\r\n\t\t\t\t[disabled]=\"_disabled\"\r\n\t\t\t\t(wClick)=\"clear()\"\r\n\t\t\t>\r\n\t\t\t\t<span class=\"material-icons\">close</span>\r\n\t\t\t\t<span translate>Clear</span>\r\n\t\t\t</wbutton>\r\n\t\t\t}\r\n\t\t</div>\r\n\t</div>\r\n\t}\r\n</div>\r\n", styles: [":host{display:block}.wfile._disabled{opacity:.6;pointer-events:none}.wfile__label{margin-bottom:6px}.wfile__body{border:1px solid var(--c-border);border-radius:var(--radius);overflow:hidden;background:var(--c-bg-secondary);box-shadow:var(--shadow-sm)}.wfile__body--thumb-only{display:inline-flex;align-items:center;justify-content:center;inline-size:100px;block-size:100px;padding:0}.wfile__empty{color:var(--c-placeholder);font-size:.85rem;text-align:center;padding:var(--sp-2)}.wfile__thumb{display:block;inline-size:100%;block-size:100%;object-fit:cover}.wfile__name{display:block;max-inline-size:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:var(--sp-2)}.wfile__remove{position:absolute;top:6px;right:6px;inline-size:28px;block-size:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-btn);border:1px solid var(--c-border);background:var(--c-bg-secondary);cursor:pointer}.wfile__remove:hover{background:var(--c-bg-tertiary)}.wfile__dropzone{display:flex;align-items:center;justify-content:center;gap:var(--sp-2);padding:var(--sp-4);background:var(--c-bg-tertiary);border-bottom:1px solid var(--c-border);color:var(--c-text-primary)}.wfile__dropzone._compact{padding:var(--sp-3)}.wfile__dropzone._clickable{cursor:pointer}.wfile__dropzone._clickable:hover{background:var(--c-bg-secondary)}.wfile__placeholder{color:var(--c-placeholder)}.wfile__actions{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2);padding:var(--sp-2) var(--sp-3);border-top:1px solid var(--c-border);background:var(--c-bg-secondary)}.wfile__files{display:grid;gap:var(--sp-2);padding:var(--sp-3)}.wfile__file{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2);padding:var(--sp-2) var(--sp-3);border:1px solid var(--c-border);border-radius:var(--radius-card);background:var(--c-bg-secondary)}.wfile__file-meta{display:grid;gap:2px;min-width:0}.wfile__file-name{color:var(--c-text-primary);font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.wfile__file-size{color:var(--c-text-muted);font-size:.85rem}.wfile__file-actions{display:inline-flex;gap:var(--sp-1)}.wfile__thumbs{display:grid;gap:var(--sp-2);grid-template-columns:repeat(auto-fill,minmax(88px,1fr));padding:var(--sp-3)}.wfile__thumb{position:relative;border:1px solid var(--c-border);border-radius:var(--radius-card);background:var(--c-bg-secondary);overflow:hidden;aspect-ratio:1/1}.wfile__thumb img{display:block;inline-size:100%;block-size:100%;object-fit:cover}.wfile__thumb-remove{position:absolute;top:6px;right:6px;inline-size:28px;block-size:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-btn);border:1px solid var(--c-border);background:var(--c-bg-secondary);cursor:pointer}.wfile__thumb-remove:hover{background:var(--c-bg-tertiary)}.wfile__preview{display:block;padding:var(--sp-3);border-top:1px solid var(--c-border);background:var(--c-bg-secondary)}.wfile__preview img{display:block;inline-size:100%;max-block-size:280px;object-fit:contain;border-radius:var(--radius-card);background:var(--c-bg-tertiary)}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: TranslateDirective, selector: "[translate]", inputs: ["translate", "vars"] }, { kind: "component", type: ButtonComponent, selector: "wbutton", inputs: ["type", "extraClass", "disabled", "disableSubmit", "isMultipleClicksAllowed"], outputs: ["wClick"] }] }); }
|
|
331
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
332
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.2", type: FileComponent, isStandalone: true, selector: "ngx-file", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, clearable: { classPropertyName: "clearable", publicName: "clearable", isSignal: true, isRequired: false, transformFunction: null }, accept: { classPropertyName: "accept", publicName: "accept", isSignal: true, isRequired: false, transformFunction: null }, preview: { classPropertyName: "preview", publicName: "preview", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, view: { classPropertyName: "view", publicName: "view", isSignal: true, isRequired: false, transformFunction: null }, cropWidth: { classPropertyName: "cropWidth", publicName: "cropWidth", isSignal: true, isRequired: false, transformFunction: null }, cropHeight: { classPropertyName: "cropHeight", publicName: "cropHeight", isSignal: true, isRequired: false, transformFunction: null }, t_item: { classPropertyName: "t_item", publicName: "t_item", isSignal: true, isRequired: false, transformFunction: null }, t_empty: { classPropertyName: "t_empty", publicName: "t_empty", isSignal: true, isRequired: false, transformFunction: null }, container: { classPropertyName: "container", publicName: "container", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, wImage: { classPropertyName: "wImage", publicName: "wImage", isSignal: true, isRequired: false, transformFunction: null }, wFile: { classPropertyName: "wFile", publicName: "wFile", isSignal: true, isRequired: false, transformFunction: null }, wImages: { classPropertyName: "wImages", publicName: "wImages", isSignal: true, isRequired: false, transformFunction: null }, wFiles: { classPropertyName: "wFiles", publicName: "wFiles", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { wImage: "wImageChange", wFile: "wFileChange", wImages: "wImagesChange", wFiles: "wFilesChange" }, ngImport: i0, template: "@let _label = label(); @let _ph = placeholder(); @let _files = files(); @let\r\n_disabled = disabled(); @let _view = view();\r\n\r\n<div class=\"wfile\" [class._disabled]=\"_disabled\">\r\n\t@if (_label) {\r\n\t<div class=\"wfile__label\" [translate]=\"_label\"></div>\r\n\t}\r\n\r\n\t<input\r\n\t\t#fileInput\r\n\t\ttype=\"file\"\r\n\t\t[attr.accept]=\"accept()\"\r\n\t\t[attr.multiple]=\"isMultiple() ? '' : null\"\r\n\t\t(change)=\"onPicked(fileInput)\"\r\n\t\thidden\r\n\t/>\r\n\r\n\t@if (_view === 'thumb-only') {\r\n\t<div\r\n\t\tclass=\"wfile__body wfile__body--thumb-only\"\r\n\t\trole=\"button\"\r\n\t\ttabindex=\"0\"\r\n\t\t(click)=\"!_disabled && triggerPick(fileInput)\"\r\n\t\t(keydown.enter)=\"!_disabled && triggerPick(fileInput)\"\r\n\t\t(keydown.space)=\"!_disabled && triggerPick(fileInput); $event.preventDefault()\"\r\n\t>\r\n\t\t@if (_files.length === 0) {\r\n\t\t<ng-container [ngTemplateOutlet]=\"t_empty() || emptyTpl\"></ng-container>\r\n\t\t<ng-template #emptyTpl>\r\n\t\t\t<div class=\"wfile__empty\" [translate]=\"_ph\"></div>\r\n\t\t</ng-template>\r\n\t\t} @else {\r\n\t\t<ng-container\r\n\t\t\t[ngTemplateOutlet]=\"t_item() || itemTpl\"\r\n\t\t\t[ngTemplateOutletContext]=\"{ $implicit: _files[0], index: 0 }\"\r\n\t\t></ng-container>\r\n\r\n\t\t<ng-template #itemTpl let-src let-index=\"index\">\r\n\t\t\t@if (preview() && isImage(src)) {\r\n\t\t\t<img class=\"wfile__thumb\" [src]=\"src\" alt=\"preview\" />\r\n\t\t\t} @else {\r\n\t\t\t<span class=\"wfile__name\">{{ src }}</span>\r\n\t\t\t}\r\n\t\t</ng-template>\r\n\t\t} @if (clearable() && _files.length) {\r\n\t\t<button\r\n\t\t\ttype=\"button\"\r\n\t\t\tclass=\"wfile__remove material-icons\"\r\n\t\t\t(click)=\"clear(); $event.stopPropagation()\"\r\n\t\t\taria-label=\"Clear file\"\r\n\t\t>\r\n\t\t\tclose\r\n\t\t</button>\r\n\t\t}\r\n\t</div>\r\n\t} @else {\r\n\t<div class=\"wfile__body\">\r\n\t\t<div class=\"wfile__list\">\r\n\t\t\t@if (_files.length === 0) {\r\n\t\t\t<ng-container\r\n\t\t\t\t[ngTemplateOutlet]=\"t_empty() || emptyTpl\"\r\n\t\t\t></ng-container>\r\n\t\t\t<ng-template #emptyTpl>\r\n\t\t\t\t<div class=\"wfile__empty\" [translate]=\"_ph\"></div>\r\n\t\t\t</ng-template>\r\n\t\t\t} @else {\r\n\t\t\t<ul>\r\n\t\t\t\t@for (src of _files; track src; let i = $index) {\r\n\t\t\t\t<li class=\"wfile__item\">\r\n\t\t\t\t\t<ng-container\r\n\t\t\t\t\t\t[ngTemplateOutlet]=\"t_item() || itemTpl\"\r\n\t\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: src, index: i }\"\r\n\t\t\t\t\t></ng-container>\r\n\r\n\t\t\t\t\t<ng-template #itemTpl let-src let-index=\"index\">\r\n\t\t\t\t\t\t<span class=\"wfile__name\">{{ src }}</span>\r\n\r\n\t\t\t\t\t\t@if (preview() && isImage(src)) {\r\n\t\t\t\t\t\t<img class=\"wfile__thumb\" [src]=\"src\" alt=\"preview\" />\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t<button\r\n\t\t\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\t\t\tclass=\"wfile__remove material-icons\"\r\n\t\t\t\t\t\t\t(click)=\"removeAt(index); $event.stopPropagation()\"\r\n\t\t\t\t\t\t\t[disabled]=\"_disabled\"\r\n\t\t\t\t\t\t\taria-label=\"Remove file\"\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\tclose\r\n\t\t\t\t\t\t</button>\r\n\t\t\t\t\t</ng-template>\r\n\t\t\t\t</li>\r\n\t\t\t\t}\r\n\t\t\t</ul>\r\n\t\t\t}\r\n\t\t</div>\r\n\r\n\t\t<div class=\"wfile__actions\">\r\n\t\t\t<wbutton\r\n\t\t\t\ttype=\"primary\"\r\n\t\t\t\t[disableSubmit]=\"true\"\r\n\t\t\t\t[disabled]=\"_disabled\"\r\n\t\t\t\t(wClick)=\"triggerPick(fileInput)\"\r\n\t\t\t>\r\n\t\t\t\t<span class=\"material-icons\">upload_file</span>\r\n\t\t\t\t<span translate>Browse</span>\r\n\t\t\t</wbutton>\r\n\r\n\t\t\t@if (clearable() && _files.length) {\r\n\t\t\t<wbutton\r\n\t\t\t\ttype=\"light\"\r\n\t\t\t\t[disableSubmit]=\"true\"\r\n\t\t\t\t[disabled]=\"_disabled\"\r\n\t\t\t\t(wClick)=\"clear()\"\r\n\t\t\t>\r\n\t\t\t\t<span class=\"material-icons\">close</span>\r\n\t\t\t\t<span translate>Clear</span>\r\n\t\t\t</wbutton>\r\n\t\t\t}\r\n\t\t</div>\r\n\t</div>\r\n\t}\r\n</div>\r\n", styles: [":host{display:block}.wfile._disabled{opacity:.6;pointer-events:none}.wfile__label{margin-bottom:6px}.wfile__body{border:1px solid var(--c-border);border-radius:var(--radius);overflow:hidden;background:var(--c-bg-secondary);box-shadow:var(--shadow-sm)}.wfile__body--thumb-only{display:inline-flex;align-items:center;justify-content:center;inline-size:100px;block-size:100px;padding:0}.wfile__empty{color:var(--c-placeholder);font-size:.85rem;text-align:center;padding:var(--sp-2)}.wfile__thumb{display:block;inline-size:100%;block-size:100%;object-fit:cover}.wfile__name{display:block;max-inline-size:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:var(--sp-2)}.wfile__remove{position:absolute;top:6px;right:6px;inline-size:28px;block-size:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-btn);border:1px solid var(--c-border);background:var(--c-bg-secondary);cursor:pointer}.wfile__remove:hover{background:var(--c-bg-tertiary)}.wfile__dropzone{display:flex;align-items:center;justify-content:center;gap:var(--sp-2);padding:var(--sp-4);background:var(--c-bg-tertiary);border-bottom:1px solid var(--c-border);color:var(--c-text-primary)}.wfile__dropzone._compact{padding:var(--sp-3)}.wfile__dropzone._clickable{cursor:pointer}.wfile__dropzone._clickable:hover{background:var(--c-bg-secondary)}.wfile__placeholder{color:var(--c-placeholder)}.wfile__actions{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2);padding:var(--sp-2) var(--sp-3);border-top:1px solid var(--c-border);background:var(--c-bg-secondary)}.wfile__files{display:grid;gap:var(--sp-2);padding:var(--sp-3)}.wfile__file{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2);padding:var(--sp-2) var(--sp-3);border:1px solid var(--c-border);border-radius:var(--radius-card);background:var(--c-bg-secondary)}.wfile__file-meta{display:grid;gap:2px;min-width:0}.wfile__file-name{color:var(--c-text-primary);font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.wfile__file-size{color:var(--c-text-muted);font-size:.85rem}.wfile__file-actions{display:inline-flex;gap:var(--sp-1)}.wfile__thumbs{display:grid;gap:var(--sp-2);grid-template-columns:repeat(auto-fill,minmax(88px,1fr));padding:var(--sp-3)}.wfile__thumb{position:relative;border:1px solid var(--c-border);border-radius:var(--radius-card);background:var(--c-bg-secondary);overflow:hidden;aspect-ratio:1/1}.wfile__thumb img{display:block;inline-size:100%;block-size:100%;object-fit:cover}.wfile__thumb-remove{position:absolute;top:6px;right:6px;inline-size:28px;block-size:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-btn);border:1px solid var(--c-border);background:var(--c-bg-secondary);cursor:pointer}.wfile__thumb-remove:hover{background:var(--c-bg-tertiary)}.wfile__preview{display:block;padding:var(--sp-3);border-top:1px solid var(--c-border);background:var(--c-bg-secondary)}.wfile__preview img{display:block;inline-size:100%;max-block-size:280px;object-fit:contain;border-radius:var(--radius-card);background:var(--c-bg-tertiary)}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: TranslateDirective, selector: "[translate]", inputs: ["translate", "vars"] }, { kind: "component", type: ButtonComponent, selector: "wbutton", inputs: ["type", "extraClass", "disabled", "disableSubmit", "isMultipleClicksAllowed"], outputs: ["wClick"] }] }); }
|
|
333
333
|
}
|
|
334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FileComponent, decorators: [{
|
|
335
335
|
type: Component,
|
|
336
336
|
args: [{ selector: 'ngx-file', imports: [NgTemplateOutlet, TranslateDirective, ButtonComponent], template: "@let _label = label(); @let _ph = placeholder(); @let _files = files(); @let\r\n_disabled = disabled(); @let _view = view();\r\n\r\n<div class=\"wfile\" [class._disabled]=\"_disabled\">\r\n\t@if (_label) {\r\n\t<div class=\"wfile__label\" [translate]=\"_label\"></div>\r\n\t}\r\n\r\n\t<input\r\n\t\t#fileInput\r\n\t\ttype=\"file\"\r\n\t\t[attr.accept]=\"accept()\"\r\n\t\t[attr.multiple]=\"isMultiple() ? '' : null\"\r\n\t\t(change)=\"onPicked(fileInput)\"\r\n\t\thidden\r\n\t/>\r\n\r\n\t@if (_view === 'thumb-only') {\r\n\t<div\r\n\t\tclass=\"wfile__body wfile__body--thumb-only\"\r\n\t\trole=\"button\"\r\n\t\ttabindex=\"0\"\r\n\t\t(click)=\"!_disabled && triggerPick(fileInput)\"\r\n\t\t(keydown.enter)=\"!_disabled && triggerPick(fileInput)\"\r\n\t\t(keydown.space)=\"!_disabled && triggerPick(fileInput); $event.preventDefault()\"\r\n\t>\r\n\t\t@if (_files.length === 0) {\r\n\t\t<ng-container [ngTemplateOutlet]=\"t_empty() || emptyTpl\"></ng-container>\r\n\t\t<ng-template #emptyTpl>\r\n\t\t\t<div class=\"wfile__empty\" [translate]=\"_ph\"></div>\r\n\t\t</ng-template>\r\n\t\t} @else {\r\n\t\t<ng-container\r\n\t\t\t[ngTemplateOutlet]=\"t_item() || itemTpl\"\r\n\t\t\t[ngTemplateOutletContext]=\"{ $implicit: _files[0], index: 0 }\"\r\n\t\t></ng-container>\r\n\r\n\t\t<ng-template #itemTpl let-src let-index=\"index\">\r\n\t\t\t@if (preview() && isImage(src)) {\r\n\t\t\t<img class=\"wfile__thumb\" [src]=\"src\" alt=\"preview\" />\r\n\t\t\t} @else {\r\n\t\t\t<span class=\"wfile__name\">{{ src }}</span>\r\n\t\t\t}\r\n\t\t</ng-template>\r\n\t\t} @if (clearable() && _files.length) {\r\n\t\t<button\r\n\t\t\ttype=\"button\"\r\n\t\t\tclass=\"wfile__remove material-icons\"\r\n\t\t\t(click)=\"clear(); $event.stopPropagation()\"\r\n\t\t\taria-label=\"Clear file\"\r\n\t\t>\r\n\t\t\tclose\r\n\t\t</button>\r\n\t\t}\r\n\t</div>\r\n\t} @else {\r\n\t<div class=\"wfile__body\">\r\n\t\t<div class=\"wfile__list\">\r\n\t\t\t@if (_files.length === 0) {\r\n\t\t\t<ng-container\r\n\t\t\t\t[ngTemplateOutlet]=\"t_empty() || emptyTpl\"\r\n\t\t\t></ng-container>\r\n\t\t\t<ng-template #emptyTpl>\r\n\t\t\t\t<div class=\"wfile__empty\" [translate]=\"_ph\"></div>\r\n\t\t\t</ng-template>\r\n\t\t\t} @else {\r\n\t\t\t<ul>\r\n\t\t\t\t@for (src of _files; track src; let i = $index) {\r\n\t\t\t\t<li class=\"wfile__item\">\r\n\t\t\t\t\t<ng-container\r\n\t\t\t\t\t\t[ngTemplateOutlet]=\"t_item() || itemTpl\"\r\n\t\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: src, index: i }\"\r\n\t\t\t\t\t></ng-container>\r\n\r\n\t\t\t\t\t<ng-template #itemTpl let-src let-index=\"index\">\r\n\t\t\t\t\t\t<span class=\"wfile__name\">{{ src }}</span>\r\n\r\n\t\t\t\t\t\t@if (preview() && isImage(src)) {\r\n\t\t\t\t\t\t<img class=\"wfile__thumb\" [src]=\"src\" alt=\"preview\" />\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t<button\r\n\t\t\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\t\t\tclass=\"wfile__remove material-icons\"\r\n\t\t\t\t\t\t\t(click)=\"removeAt(index); $event.stopPropagation()\"\r\n\t\t\t\t\t\t\t[disabled]=\"_disabled\"\r\n\t\t\t\t\t\t\taria-label=\"Remove file\"\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\tclose\r\n\t\t\t\t\t\t</button>\r\n\t\t\t\t\t</ng-template>\r\n\t\t\t\t</li>\r\n\t\t\t\t}\r\n\t\t\t</ul>\r\n\t\t\t}\r\n\t\t</div>\r\n\r\n\t\t<div class=\"wfile__actions\">\r\n\t\t\t<wbutton\r\n\t\t\t\ttype=\"primary\"\r\n\t\t\t\t[disableSubmit]=\"true\"\r\n\t\t\t\t[disabled]=\"_disabled\"\r\n\t\t\t\t(wClick)=\"triggerPick(fileInput)\"\r\n\t\t\t>\r\n\t\t\t\t<span class=\"material-icons\">upload_file</span>\r\n\t\t\t\t<span translate>Browse</span>\r\n\t\t\t</wbutton>\r\n\r\n\t\t\t@if (clearable() && _files.length) {\r\n\t\t\t<wbutton\r\n\t\t\t\ttype=\"light\"\r\n\t\t\t\t[disableSubmit]=\"true\"\r\n\t\t\t\t[disabled]=\"_disabled\"\r\n\t\t\t\t(wClick)=\"clear()\"\r\n\t\t\t>\r\n\t\t\t\t<span class=\"material-icons\">close</span>\r\n\t\t\t\t<span translate>Clear</span>\r\n\t\t\t</wbutton>\r\n\t\t\t}\r\n\t\t</div>\r\n\t</div>\r\n\t}\r\n</div>\r\n", styles: [":host{display:block}.wfile._disabled{opacity:.6;pointer-events:none}.wfile__label{margin-bottom:6px}.wfile__body{border:1px solid var(--c-border);border-radius:var(--radius);overflow:hidden;background:var(--c-bg-secondary);box-shadow:var(--shadow-sm)}.wfile__body--thumb-only{display:inline-flex;align-items:center;justify-content:center;inline-size:100px;block-size:100px;padding:0}.wfile__empty{color:var(--c-placeholder);font-size:.85rem;text-align:center;padding:var(--sp-2)}.wfile__thumb{display:block;inline-size:100%;block-size:100%;object-fit:cover}.wfile__name{display:block;max-inline-size:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:var(--sp-2)}.wfile__remove{position:absolute;top:6px;right:6px;inline-size:28px;block-size:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-btn);border:1px solid var(--c-border);background:var(--c-bg-secondary);cursor:pointer}.wfile__remove:hover{background:var(--c-bg-tertiary)}.wfile__dropzone{display:flex;align-items:center;justify-content:center;gap:var(--sp-2);padding:var(--sp-4);background:var(--c-bg-tertiary);border-bottom:1px solid var(--c-border);color:var(--c-text-primary)}.wfile__dropzone._compact{padding:var(--sp-3)}.wfile__dropzone._clickable{cursor:pointer}.wfile__dropzone._clickable:hover{background:var(--c-bg-secondary)}.wfile__placeholder{color:var(--c-placeholder)}.wfile__actions{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2);padding:var(--sp-2) var(--sp-3);border-top:1px solid var(--c-border);background:var(--c-bg-secondary)}.wfile__files{display:grid;gap:var(--sp-2);padding:var(--sp-3)}.wfile__file{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2);padding:var(--sp-2) var(--sp-3);border:1px solid var(--c-border);border-radius:var(--radius-card);background:var(--c-bg-secondary)}.wfile__file-meta{display:grid;gap:2px;min-width:0}.wfile__file-name{color:var(--c-text-primary);font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.wfile__file-size{color:var(--c-text-muted);font-size:.85rem}.wfile__file-actions{display:inline-flex;gap:var(--sp-1)}.wfile__thumbs{display:grid;gap:var(--sp-2);grid-template-columns:repeat(auto-fill,minmax(88px,1fr));padding:var(--sp-3)}.wfile__thumb{position:relative;border:1px solid var(--c-border);border-radius:var(--radius-card);background:var(--c-bg-secondary);overflow:hidden;aspect-ratio:1/1}.wfile__thumb img{display:block;inline-size:100%;block-size:100%;object-fit:cover}.wfile__thumb-remove{position:absolute;top:6px;right:6px;inline-size:28px;block-size:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-btn);border:1px solid var(--c-border);background:var(--c-bg-secondary);cursor:pointer}.wfile__thumb-remove:hover{background:var(--c-bg-tertiary)}.wfile__preview{display:block;padding:var(--sp-3);border-top:1px solid var(--c-border);background:var(--c-bg-secondary)}.wfile__preview img{display:block;inline-size:100%;max-block-size:280px;object-fit:contain;border-radius:var(--radius-card);background:var(--c-bg-tertiary)}\n"] }]
|
|
337
337
|
}], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], clearable: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearable", required: false }] }], accept: [{ type: i0.Input, args: [{ isSignal: true, alias: "accept", required: false }] }], preview: [{ type: i0.Input, args: [{ isSignal: true, alias: "preview", required: false }] }], mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], view: [{ type: i0.Input, args: [{ isSignal: true, alias: "view", required: false }] }], cropWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "cropWidth", required: false }] }], cropHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "cropHeight", required: false }] }], t_item: [{ type: i0.Input, args: [{ isSignal: true, alias: "t_item", required: false }] }], t_empty: [{ type: i0.Input, args: [{ isSignal: true, alias: "t_empty", required: false }] }], container: [{ type: i0.Input, args: [{ isSignal: true, alias: "container", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], wImage: [{ type: i0.Input, args: [{ isSignal: true, alias: "wImage", required: false }] }, { type: i0.Output, args: ["wImageChange"] }], wFile: [{ type: i0.Input, args: [{ isSignal: true, alias: "wFile", required: false }] }, { type: i0.Output, args: ["wFileChange"] }], wImages: [{ type: i0.Input, args: [{ isSignal: true, alias: "wImages", required: false }] }, { type: i0.Output, args: ["wImagesChange"] }], wFiles: [{ type: i0.Input, args: [{ isSignal: true, alias: "wFiles", required: false }] }, { type: i0.Output, args: ["wFilesChange"] }] } });
|
|
@@ -348,10 +348,10 @@ class FileSelectorComponent {
|
|
|
348
348
|
onSelect(value) {
|
|
349
349
|
this.wChange.emit((value ?? null));
|
|
350
350
|
}
|
|
351
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
352
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.
|
|
351
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FileSelectorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
352
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.2", type: FileSelectorComponent, isStandalone: true, selector: "file-selector", inputs: { wModel: { classPropertyName: "wModel", publicName: "wModel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { wChange: "wChange" }, ngImport: i0, template: "<wselect\r\n\t[placeholder]=\"placeholder()\"\r\n\t[items]=\"items()\"\r\n\t[wModel]=\"wModel()\"\r\n\t(wChange)=\"onSelect($event)\"\r\n\tbindLabel=\"name\"\r\n\tbindValue=\"_id\"\r\n></wselect>\r\n", dependencies: [{ kind: "component", type: SelectComponent, selector: "wselect", inputs: ["disabled", "clearable", "placeholder", "multiple", "bindLabel", "bindValue", "label", "ariaLabel", "searchable", "searchableBy", "items", "buttons", "formField", "field", "wModel"], outputs: ["wModelChange", "wChange"] }] }); }
|
|
353
353
|
}
|
|
354
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FileSelectorComponent, decorators: [{
|
|
355
355
|
type: Component,
|
|
356
356
|
args: [{ selector: 'file-selector', imports: [SelectComponent], template: "<wselect\r\n\t[placeholder]=\"placeholder()\"\r\n\t[items]=\"items()\"\r\n\t[wModel]=\"wModel()\"\r\n\t(wChange)=\"onSelect($event)\"\r\n\tbindLabel=\"name\"\r\n\tbindValue=\"_id\"\r\n></wselect>\r\n" }]
|
|
357
357
|
}], propDecorators: { wModel: [{ type: i0.Input, args: [{ isSignal: true, alias: "wModel", required: false }] }], wChange: [{ type: i0.Output, args: ["wChange"] }] } });
|
|
@@ -447,10 +447,10 @@ class FilesComponent {
|
|
|
447
447
|
_preCreate(file) {
|
|
448
448
|
delete file.__created;
|
|
449
449
|
}
|
|
450
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
451
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.
|
|
450
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FilesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
451
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.2", type: FilesComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<wtable title=\"Files\" [columns]=\"columns\" [config]=\"config\" [rows]=\"rows\">\r\n\t<ng-template cell=\"img\" let-element>\r\n\t\t<img\r\n\t\t\t[src]=\"element.url || ''\"\r\n\t\t\t(click)=\"copy(element.url)\"\r\n\t\t\tstyle=\"height: 100px\"\r\n\t\t/>\r\n\t</ng-template>\r\n\t<ng-template cell=\"url\" let-element>\r\n\t\t<span (click)=\"copy(element.url || '')\">{{ element.url }}</span>\r\n\t</ng-template>\r\n</wtable>\r\n", dependencies: [{ kind: "component", type: TableComponent, selector: "wtable", inputs: ["bindValue", "rows", "config", "columns", "value", "title"], outputs: ["columnsChange", "onSearch"] }] }); }
|
|
452
452
|
}
|
|
453
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FilesComponent, decorators: [{
|
|
454
454
|
type: Component,
|
|
455
455
|
args: [{ imports: [TableComponent], template: "<wtable title=\"Files\" [columns]=\"columns\" [config]=\"config\" [rows]=\"rows\">\r\n\t<ng-template cell=\"img\" let-element>\r\n\t\t<img\r\n\t\t\t[src]=\"element.url || ''\"\r\n\t\t\t(click)=\"copy(element.url)\"\r\n\t\t\tstyle=\"height: 100px\"\r\n\t\t/>\r\n\t</ng-template>\r\n\t<ng-template cell=\"url\" let-element>\r\n\t\t<span (click)=\"copy(element.url || '')\">{{ element.url }}</span>\r\n\t</ng-template>\r\n</wtable>\r\n" }]
|
|
456
456
|
}], ctorParameters: () => [] });
|
|
@@ -636,10 +636,10 @@ class AceFormComponent {
|
|
|
636
636
|
return field;
|
|
637
637
|
return true;
|
|
638
638
|
}
|
|
639
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
640
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.
|
|
639
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: AceFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
640
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.2", type: AceFormComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["templateRef"], descendants: true, isSignal: true }], ngImport: i0, template: "<ng-template #templateRef let-data>\r\n\t<div class=\"w-ace\" [class]=\"data.component?.class\">\r\n\t\t<ace\r\n\t\t\tclass=\"w-ace__editor\"\r\n\t\t\t(valueChange)=\"onValueChange(data, $event)\"\r\n\t\t\t[value]=\"getValue(data)\"\r\n\t\t\t[config]=\"getConfig(data)\"\r\n\t\t\t[mode]=\"$any(getMode(data))\"\r\n\t\t\t[theme]=\"$any(getTheme(data))\"\r\n\t\t\t[disabled]=\"isDisabled(data)\"\r\n\t\t\t[useAceClass]=\"getUseAceClass(data)\"\r\n\t\t></ace>\r\n\t</div>\r\n</ng-template>\r\n", styles: ["@charset \"UTF-8\";.w-ace{width:100%;background:var(--c-bg-secondary);color:var(--c-text-primary);border:1px solid var(--c-border);border-radius:var(--radius-card);box-shadow:var(--shadow-sm);overflow:hidden}.w-ace__editor{display:block;width:100%;height:clamp(240px,60vh,720px)}\n"], dependencies: [{ kind: "component", type: AceComponent, selector: "ace", inputs: ["disabled", "readOnly", "mode", "theme", "config", "ariaLabel", "useAceClass", "value"], outputs: ["valueChange", "blur", "focus", "copy", "paste", "change", "changeCursor", "changeSession", "changeSelection"], exportAs: ["ngxAce"] }] }); }
|
|
641
641
|
}
|
|
642
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
642
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: AceFormComponent, decorators: [{
|
|
643
643
|
type: Component,
|
|
644
644
|
args: [{ imports: [AceComponent], template: "<ng-template #templateRef let-data>\r\n\t<div class=\"w-ace\" [class]=\"data.component?.class\">\r\n\t\t<ace\r\n\t\t\tclass=\"w-ace__editor\"\r\n\t\t\t(valueChange)=\"onValueChange(data, $event)\"\r\n\t\t\t[value]=\"getValue(data)\"\r\n\t\t\t[config]=\"getConfig(data)\"\r\n\t\t\t[mode]=\"$any(getMode(data))\"\r\n\t\t\t[theme]=\"$any(getTheme(data))\"\r\n\t\t\t[disabled]=\"isDisabled(data)\"\r\n\t\t\t[useAceClass]=\"getUseAceClass(data)\"\r\n\t\t></ace>\r\n\t</div>\r\n</ng-template>\r\n", styles: ["@charset \"UTF-8\";.w-ace{width:100%;background:var(--c-bg-secondary);color:var(--c-text-primary);border:1px solid var(--c-border);border-radius:var(--radius-card);box-shadow:var(--shadow-sm);overflow:hidden}.w-ace__editor{display:block;width:100%;height:clamp(240px,60vh,720px)}\n"] }]
|
|
645
645
|
}], propDecorators: { templateRef: [{ type: i0.ViewChild, args: ['templateRef', { isSignal: true }] }] } });
|
|
@@ -834,10 +834,10 @@ class ButtonFormComponent {
|
|
|
834
834
|
ngOnInit() {
|
|
835
835
|
this._formService.addTemplateComponent('Button', this.templateRef());
|
|
836
836
|
}
|
|
837
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
838
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.
|
|
837
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: ButtonFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
838
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.2", type: ButtonFormComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["templateRef"], descendants: true, isSignal: true }], ngImport: i0, template: "<ng-template #templateRef let-data>\r\n\t<wbutton\r\n\t\t[type]=\"data.props.type ?? buttonDefaults.type\"\r\n\t\t[extraClass]=\"data.props.extraClass ?? buttonDefaults.extraClass\"\r\n\t\t[disabled]=\"data.props.disabled === true || data.component?.disabled === true\"\r\n\t\t[disableSubmit]=\"data.props.disableSubmit ?? buttonDefaults.disableSubmit\"\r\n\t\t[isMultipleClicksAllowed]=\"\r\n\t\t\tdata.props.isMultipleClicksAllowed ??\r\n\t\t\tbuttonDefaults.isMultipleClicksAllowed\r\n\t\t\"\r\n\t\t(wClick)=\"data.props.onClick?.($event); data.wClick?.()\"\r\n\t>\r\n\t\t{{ data.props.label || data.props.text || 'Button' }}\r\n\t</wbutton>\r\n</ng-template>\r\n", dependencies: [{ kind: "component", type: ButtonComponent, selector: "wbutton", inputs: ["type", "extraClass", "disabled", "disableSubmit", "isMultipleClicksAllowed"], outputs: ["wClick"] }] }); }
|
|
839
839
|
}
|
|
840
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
840
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: ButtonFormComponent, decorators: [{
|
|
841
841
|
type: Component,
|
|
842
842
|
args: [{ imports: [ButtonComponent], template: "<ng-template #templateRef let-data>\r\n\t<wbutton\r\n\t\t[type]=\"data.props.type ?? buttonDefaults.type\"\r\n\t\t[extraClass]=\"data.props.extraClass ?? buttonDefaults.extraClass\"\r\n\t\t[disabled]=\"data.props.disabled === true || data.component?.disabled === true\"\r\n\t\t[disableSubmit]=\"data.props.disableSubmit ?? buttonDefaults.disableSubmit\"\r\n\t\t[isMultipleClicksAllowed]=\"\r\n\t\t\tdata.props.isMultipleClicksAllowed ??\r\n\t\t\tbuttonDefaults.isMultipleClicksAllowed\r\n\t\t\"\r\n\t\t(wClick)=\"data.props.onClick?.($event); data.wClick?.()\"\r\n\t>\r\n\t\t{{ data.props.label || data.props.text || 'Button' }}\r\n\t</wbutton>\r\n</ng-template>\r\n" }]
|
|
843
843
|
}], propDecorators: { templateRef: [{ type: i0.ViewChild, args: ['templateRef', { isSignal: true }] }] } });
|
|
@@ -981,10 +981,10 @@ class FileFormComponent {
|
|
|
981
981
|
if (typeof data?.wChange === 'function')
|
|
982
982
|
data.wChange();
|
|
983
983
|
}
|
|
984
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
985
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
984
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FileFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
985
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.2", type: FileFormComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["templateRef"], descendants: true, isSignal: true }], ngImport: i0, template: "<ng-template #templateRef let-data>\r\n\t@let mode = (data.props.mode ?? fileDefaults.mode); @switch (mode) { @case\r\n\t('single-image') {\r\n\t<ngx-file\r\n\t\t[label]=\"data.props.label ?? fileDefaults.label\"\r\n\t\t[placeholder]=\"data.props.placeholder ?? fileDefaults.placeholder\"\r\n\t\t[disabled]=\"data.props.disabled === true || data.component?.disabled === true\"\r\n\t\t[clearable]=\"data.props.clearable ?? fileDefaults.clearable\"\r\n\t\t[accept]=\"data.props.accept ?? fileDefaults.accept\"\r\n\t\t[preview]=\"data.props.preview ?? fileDefaults.preview\"\r\n\t\t[mode]=\"mode\"\r\n\t\t[view]=\"data.props.view ?? fileDefaults.view\"\r\n\t\t[cropWidth]=\"data.props.cropWidth ?? fileDefaults.cropWidth\"\r\n\t\t[cropHeight]=\"data.props.cropHeight ?? fileDefaults.cropHeight\"\r\n\t\t[container]=\"data.props.container ?? fileDefaults.container\"\r\n\t\t[name]=\"data.props.name ?? fileDefaults.name\"\r\n\t\t[wImage]=\"getValue(data)\"\r\n\t\t(wImageChange)=\"onValueChange(data, $event)\"\r\n\t></ngx-file>\r\n\t} @case ('single-file') {\r\n\t<ngx-file\r\n\t\t[label]=\"data.props.label ?? fileDefaults.label\"\r\n\t\t[placeholder]=\"data.props.placeholder ?? fileDefaults.placeholder\"\r\n\t\t[disabled]=\"data.props.disabled === true || data.component?.disabled === true\"\r\n\t\t[clearable]=\"data.props.clearable ?? fileDefaults.clearable\"\r\n\t\t[accept]=\"data.props.accept ?? fileDefaults.accept\"\r\n\t\t[preview]=\"data.props.preview ?? fileDefaults.preview\"\r\n\t\t[mode]=\"mode\"\r\n\t\t[view]=\"data.props.view ?? fileDefaults.view\"\r\n\t\t[cropWidth]=\"data.props.cropWidth ?? fileDefaults.cropWidth\"\r\n\t\t[cropHeight]=\"data.props.cropHeight ?? fileDefaults.cropHeight\"\r\n\t\t[container]=\"data.props.container ?? fileDefaults.container\"\r\n\t\t[name]=\"data.props.name ?? fileDefaults.name\"\r\n\t\t[wFile]=\"getValue(data)\"\r\n\t\t(wFileChange)=\"onValueChange(data, $event)\"\r\n\t></ngx-file>\r\n\t} @case ('multi-image') {\r\n\t<ngx-file\r\n\t\t[label]=\"data.props.label ?? fileDefaults.label\"\r\n\t\t[placeholder]=\"data.props.placeholder ?? fileDefaults.placeholder\"\r\n\t\t[disabled]=\"data.props.disabled === true || data.component?.disabled === true\"\r\n\t\t[clearable]=\"data.props.clearable ?? fileDefaults.clearable\"\r\n\t\t[accept]=\"data.props.accept ?? fileDefaults.accept\"\r\n\t\t[preview]=\"data.props.preview ?? fileDefaults.preview\"\r\n\t\t[mode]=\"mode\"\r\n\t\t[view]=\"data.props.view ?? fileDefaults.view\"\r\n\t\t[cropWidth]=\"data.props.cropWidth ?? fileDefaults.cropWidth\"\r\n\t\t[cropHeight]=\"data.props.cropHeight ?? fileDefaults.cropHeight\"\r\n\t\t[container]=\"data.props.container ?? fileDefaults.container\"\r\n\t\t[name]=\"data.props.name ?? fileDefaults.name\"\r\n\t\t[wImages]=\"getValue(data)\"\r\n\t\t(wImagesChange)=\"onValueChange(data, $event)\"\r\n\t></ngx-file>\r\n\t} @default {\r\n\t<!-- multi-file (default) -->\r\n\t<ngx-file\r\n\t\t[label]=\"data.props.label ?? fileDefaults.label\"\r\n\t\t[placeholder]=\"data.props.placeholder ?? fileDefaults.placeholder\"\r\n\t\t[disabled]=\"data.props.disabled === true || data.component?.disabled === true\"\r\n\t\t[clearable]=\"data.props.clearable ?? fileDefaults.clearable\"\r\n\t\t[accept]=\"data.props.accept ?? fileDefaults.accept\"\r\n\t\t[preview]=\"data.props.preview ?? fileDefaults.preview\"\r\n\t\t[mode]=\"mode\"\r\n\t\t[view]=\"data.props.view ?? fileDefaults.view\"\r\n\t\t[cropWidth]=\"data.props.cropWidth ?? fileDefaults.cropWidth\"\r\n\t\t[cropHeight]=\"data.props.cropHeight ?? fileDefaults.cropHeight\"\r\n\t\t[container]=\"data.props.container ?? fileDefaults.container\"\r\n\t\t[name]=\"data.props.name ?? fileDefaults.name\"\r\n\t\t[wFiles]=\"getValue(data)\"\r\n\t\t(wFilesChange)=\"onValueChange(data, $event)\"\r\n\t></ngx-file>\r\n\t} }\r\n</ng-template>\r\n", dependencies: [{ kind: "component", type: FileComponent, selector: "ngx-file", inputs: ["label", "placeholder", "disabled", "clearable", "accept", "preview", "mode", "view", "cropWidth", "cropHeight", "t_item", "t_empty", "container", "name", "wImage", "wFile", "wImages", "wFiles"], outputs: ["wImageChange", "wFileChange", "wImagesChange", "wFilesChange"] }] }); }
|
|
986
986
|
}
|
|
987
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
987
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FileFormComponent, decorators: [{
|
|
988
988
|
type: Component,
|
|
989
989
|
args: [{ imports: [FileComponent], template: "<ng-template #templateRef let-data>\r\n\t@let mode = (data.props.mode ?? fileDefaults.mode); @switch (mode) { @case\r\n\t('single-image') {\r\n\t<ngx-file\r\n\t\t[label]=\"data.props.label ?? fileDefaults.label\"\r\n\t\t[placeholder]=\"data.props.placeholder ?? fileDefaults.placeholder\"\r\n\t\t[disabled]=\"data.props.disabled === true || data.component?.disabled === true\"\r\n\t\t[clearable]=\"data.props.clearable ?? fileDefaults.clearable\"\r\n\t\t[accept]=\"data.props.accept ?? fileDefaults.accept\"\r\n\t\t[preview]=\"data.props.preview ?? fileDefaults.preview\"\r\n\t\t[mode]=\"mode\"\r\n\t\t[view]=\"data.props.view ?? fileDefaults.view\"\r\n\t\t[cropWidth]=\"data.props.cropWidth ?? fileDefaults.cropWidth\"\r\n\t\t[cropHeight]=\"data.props.cropHeight ?? fileDefaults.cropHeight\"\r\n\t\t[container]=\"data.props.container ?? fileDefaults.container\"\r\n\t\t[name]=\"data.props.name ?? fileDefaults.name\"\r\n\t\t[wImage]=\"getValue(data)\"\r\n\t\t(wImageChange)=\"onValueChange(data, $event)\"\r\n\t></ngx-file>\r\n\t} @case ('single-file') {\r\n\t<ngx-file\r\n\t\t[label]=\"data.props.label ?? fileDefaults.label\"\r\n\t\t[placeholder]=\"data.props.placeholder ?? fileDefaults.placeholder\"\r\n\t\t[disabled]=\"data.props.disabled === true || data.component?.disabled === true\"\r\n\t\t[clearable]=\"data.props.clearable ?? fileDefaults.clearable\"\r\n\t\t[accept]=\"data.props.accept ?? fileDefaults.accept\"\r\n\t\t[preview]=\"data.props.preview ?? fileDefaults.preview\"\r\n\t\t[mode]=\"mode\"\r\n\t\t[view]=\"data.props.view ?? fileDefaults.view\"\r\n\t\t[cropWidth]=\"data.props.cropWidth ?? fileDefaults.cropWidth\"\r\n\t\t[cropHeight]=\"data.props.cropHeight ?? fileDefaults.cropHeight\"\r\n\t\t[container]=\"data.props.container ?? fileDefaults.container\"\r\n\t\t[name]=\"data.props.name ?? fileDefaults.name\"\r\n\t\t[wFile]=\"getValue(data)\"\r\n\t\t(wFileChange)=\"onValueChange(data, $event)\"\r\n\t></ngx-file>\r\n\t} @case ('multi-image') {\r\n\t<ngx-file\r\n\t\t[label]=\"data.props.label ?? fileDefaults.label\"\r\n\t\t[placeholder]=\"data.props.placeholder ?? fileDefaults.placeholder\"\r\n\t\t[disabled]=\"data.props.disabled === true || data.component?.disabled === true\"\r\n\t\t[clearable]=\"data.props.clearable ?? fileDefaults.clearable\"\r\n\t\t[accept]=\"data.props.accept ?? fileDefaults.accept\"\r\n\t\t[preview]=\"data.props.preview ?? fileDefaults.preview\"\r\n\t\t[mode]=\"mode\"\r\n\t\t[view]=\"data.props.view ?? fileDefaults.view\"\r\n\t\t[cropWidth]=\"data.props.cropWidth ?? fileDefaults.cropWidth\"\r\n\t\t[cropHeight]=\"data.props.cropHeight ?? fileDefaults.cropHeight\"\r\n\t\t[container]=\"data.props.container ?? fileDefaults.container\"\r\n\t\t[name]=\"data.props.name ?? fileDefaults.name\"\r\n\t\t[wImages]=\"getValue(data)\"\r\n\t\t(wImagesChange)=\"onValueChange(data, $event)\"\r\n\t></ngx-file>\r\n\t} @default {\r\n\t<!-- multi-file (default) -->\r\n\t<ngx-file\r\n\t\t[label]=\"data.props.label ?? fileDefaults.label\"\r\n\t\t[placeholder]=\"data.props.placeholder ?? fileDefaults.placeholder\"\r\n\t\t[disabled]=\"data.props.disabled === true || data.component?.disabled === true\"\r\n\t\t[clearable]=\"data.props.clearable ?? fileDefaults.clearable\"\r\n\t\t[accept]=\"data.props.accept ?? fileDefaults.accept\"\r\n\t\t[preview]=\"data.props.preview ?? fileDefaults.preview\"\r\n\t\t[mode]=\"mode\"\r\n\t\t[view]=\"data.props.view ?? fileDefaults.view\"\r\n\t\t[cropWidth]=\"data.props.cropWidth ?? fileDefaults.cropWidth\"\r\n\t\t[cropHeight]=\"data.props.cropHeight ?? fileDefaults.cropHeight\"\r\n\t\t[container]=\"data.props.container ?? fileDefaults.container\"\r\n\t\t[name]=\"data.props.name ?? fileDefaults.name\"\r\n\t\t[wFiles]=\"getValue(data)\"\r\n\t\t(wFilesChange)=\"onValueChange(data, $event)\"\r\n\t></ngx-file>\r\n\t} }\r\n</ng-template>\r\n" }]
|
|
990
990
|
}], propDecorators: { templateRef: [{ type: i0.ViewChild, args: ['templateRef', { isSignal: true }] }] } });
|
|
@@ -1112,10 +1112,10 @@ class InputFormComponent {
|
|
|
1112
1112
|
ngOnInit() {
|
|
1113
1113
|
this._formService.addTemplateComponent('Input', this.templateRef());
|
|
1114
1114
|
}
|
|
1115
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
1116
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.
|
|
1115
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: InputFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1116
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.2", type: InputFormComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["templateRef"], descendants: true, isSignal: true }], ngImport: i0, template: "<ng-template #templateRef let-data>\r\n\t<winput\r\n\t\t[formField]=\"data.field\"\r\n\t\t[label]=\"data.props.label ?? inputDefaults.label\"\r\n\t\t[placeholder]=\"data.props.placeholder ?? inputDefaults.placeholder\"\r\n\t\t[type]=\"data.props.type ?? inputDefaults.type\"\r\n\t\t[name]=\"data.props.name || data.key || inputDefaults.name\"\r\n\t\t[items]=\"data.props.items ?? inputDefaults.items\"\r\n\t\t[disabled]=\"!!data.props.disabled || !!data.component?.disabled\"\r\n\t\t[focused]=\"data.props.focused ?? inputDefaults.focused\"\r\n\t\t[clearable]=\"data.props.clearable ?? inputDefaults.clearable\"\r\n\t\t[wClass]=\"data.props.wClass ?? inputDefaults.wClass\"\r\n\t\t[autocomplete]=\"data.props.autocomplete ?? inputDefaults.autocomplete\"\r\n\t\t[error]=\"data.props.error ?? inputDefaults.error\"\r\n\t\t(wChange)=\"data.props.onChange?.($event); data.wChange?.()\"\r\n\t></winput>\r\n</ng-template>\r\n", dependencies: [{ kind: "component", type: InputComponent, selector: "winput", inputs: ["formField", "wModel", "type", "name", "label", "ariaLabel", "placeholder", "items", "icons", "required", "disabled", "focused", "clearable", "wClass", "autocomplete", "error"], outputs: ["wModelChange", "wChange", "wSubmit", "wBlur", "wFocus", "wKeydown"] }] }); }
|
|
1117
1117
|
}
|
|
1118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
1118
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: InputFormComponent, decorators: [{
|
|
1119
1119
|
type: Component,
|
|
1120
1120
|
args: [{ imports: [InputComponent], template: "<ng-template #templateRef let-data>\r\n\t<winput\r\n\t\t[formField]=\"data.field\"\r\n\t\t[label]=\"data.props.label ?? inputDefaults.label\"\r\n\t\t[placeholder]=\"data.props.placeholder ?? inputDefaults.placeholder\"\r\n\t\t[type]=\"data.props.type ?? inputDefaults.type\"\r\n\t\t[name]=\"data.props.name || data.key || inputDefaults.name\"\r\n\t\t[items]=\"data.props.items ?? inputDefaults.items\"\r\n\t\t[disabled]=\"!!data.props.disabled || !!data.component?.disabled\"\r\n\t\t[focused]=\"data.props.focused ?? inputDefaults.focused\"\r\n\t\t[clearable]=\"data.props.clearable ?? inputDefaults.clearable\"\r\n\t\t[wClass]=\"data.props.wClass ?? inputDefaults.wClass\"\r\n\t\t[autocomplete]=\"data.props.autocomplete ?? inputDefaults.autocomplete\"\r\n\t\t[error]=\"data.props.error ?? inputDefaults.error\"\r\n\t\t(wChange)=\"data.props.onChange?.($event); data.wChange?.()\"\r\n\t></winput>\r\n</ng-template>\r\n" }]
|
|
1121
1121
|
}], propDecorators: { templateRef: [{ type: i0.ViewChild, args: ['templateRef', { isSignal: true }] }] } });
|
|
@@ -1247,10 +1247,10 @@ class SelectFormComponent {
|
|
|
1247
1247
|
ngOnInit() {
|
|
1248
1248
|
this._formService.addTemplateComponent('Select', this.templateRef());
|
|
1249
1249
|
}
|
|
1250
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
1251
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.
|
|
1250
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: SelectFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1251
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.2", type: SelectFormComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["templateRef"], descendants: true, isSignal: true }], ngImport: i0, template: "<ng-template #templateRef let-data>\r\n\t<wselect\r\n\t\t[formField]=\"data.field\"\r\n\t\t[items]=\"data.props.items ?? selectDefaults.items\"\r\n\t\t[placeholder]=\"\r\n\t\t\tdata.props.placeholder ?? selectDefaults.placeholder\r\n\t\t\"\r\n\t\t[label]=\"data.props.label ?? selectDefaults.label\"\r\n\t\t[bindLabel]=\"data.props.bindLabel ?? selectDefaults.bindLabel\"\r\n\t\t[bindValue]=\"data.props.bindValue ?? selectDefaults.bindValue\"\r\n\t\t[multiple]=\"data.props.multiple ?? selectDefaults.multiple\"\r\n\t\t[clearable]=\"data.props.clearable ?? selectDefaults.clearable\"\r\n\t\t[searchable]=\"data.props.searchable ?? selectDefaults.searchable\"\r\n\t\t[searchableBy]=\"\r\n\t\t\tdata.props.searchableBy ?? selectDefaults.searchableBy\r\n\t\t\"\r\n\t\t[buttons]=\"data.props.buttons ?? selectDefaults.buttons\"\r\n\t\t[disabled]=\"\r\n\t\t\tdata.props.disabled === true ||\r\n\t\t\tdata.component.disabled === true\r\n\t\t\"\r\n\t\t(wChange)=\"data.props.onChange?.($event); data.wChange?.()\"\r\n\t></wselect>\r\n</ng-template>\r\n", dependencies: [{ kind: "component", type: SelectComponent, selector: "wselect", inputs: ["disabled", "clearable", "placeholder", "multiple", "bindLabel", "bindValue", "label", "ariaLabel", "searchable", "searchableBy", "items", "buttons", "formField", "field", "wModel"], outputs: ["wModelChange", "wChange"] }] }); }
|
|
1252
1252
|
}
|
|
1253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
1253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: SelectFormComponent, decorators: [{
|
|
1254
1254
|
type: Component,
|
|
1255
1255
|
args: [{ imports: [SelectComponent], template: "<ng-template #templateRef let-data>\r\n\t<wselect\r\n\t\t[formField]=\"data.field\"\r\n\t\t[items]=\"data.props.items ?? selectDefaults.items\"\r\n\t\t[placeholder]=\"\r\n\t\t\tdata.props.placeholder ?? selectDefaults.placeholder\r\n\t\t\"\r\n\t\t[label]=\"data.props.label ?? selectDefaults.label\"\r\n\t\t[bindLabel]=\"data.props.bindLabel ?? selectDefaults.bindLabel\"\r\n\t\t[bindValue]=\"data.props.bindValue ?? selectDefaults.bindValue\"\r\n\t\t[multiple]=\"data.props.multiple ?? selectDefaults.multiple\"\r\n\t\t[clearable]=\"data.props.clearable ?? selectDefaults.clearable\"\r\n\t\t[searchable]=\"data.props.searchable ?? selectDefaults.searchable\"\r\n\t\t[searchableBy]=\"\r\n\t\t\tdata.props.searchableBy ?? selectDefaults.searchableBy\r\n\t\t\"\r\n\t\t[buttons]=\"data.props.buttons ?? selectDefaults.buttons\"\r\n\t\t[disabled]=\"\r\n\t\t\tdata.props.disabled === true ||\r\n\t\t\tdata.component.disabled === true\r\n\t\t\"\r\n\t\t(wChange)=\"data.props.onChange?.($event); data.wChange?.()\"\r\n\t></wselect>\r\n</ng-template>\r\n" }]
|
|
1256
1256
|
}], propDecorators: { templateRef: [{ type: i0.ViewChild, args: ['templateRef', { isSignal: true }] }] } });
|
|
@@ -1531,10 +1531,10 @@ class TinymceFormComponent {
|
|
|
1531
1531
|
getPlaceholder(data) {
|
|
1532
1532
|
return data?.props?.['placeholder'] ?? '';
|
|
1533
1533
|
}
|
|
1534
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
1535
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.
|
|
1534
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: TinymceFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1535
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.2", type: TinymceFormComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["templateRef"], descendants: true, isSignal: true }], ngImport: i0, template: "<ng-template #templateRef let-data>\r\n\t<div class=\"w-tiny\" [class]=\"data.component?.class\">\r\n\t\t<tinymce\r\n\t\t\tclass=\"w-tiny__editor\"\r\n\t\t\t[ngModel]=\"getValue(data)\"\r\n\t\t\t(ngModelChange)=\"onValueChange(data, $event)\"\r\n\t\t\t[config]=\"getConfig(data)\"\r\n\t\t\t[disabled]=\"isDisabled(data)\"\r\n\t\t\t[inline]=\"isInline(data)\"\r\n\t\t\t[placeholder]=\"getPlaceholder(data)\"\r\n\t\t></tinymce>\r\n\t</div>\r\n</ng-template>\r\n", styles: [".w-tiny{width:100%;background:var(--c-bg-secondary);color:var(--c-text-primary);border:1px solid var(--c-border);border-radius:var(--radius-card);box-shadow:var(--shadow-sm);overflow:hidden;padding:var(--sp-2)}.w-tiny__editor{display:block;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { 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: TinymceComponent, selector: "tinymce", inputs: ["config", "placeholder", "ariaLabel", "inline", "disabled", "delay", "loading"], outputs: ["ready"], exportAs: ["ngxTinymce"] }] }); }
|
|
1536
1536
|
}
|
|
1537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
1537
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: TinymceFormComponent, decorators: [{
|
|
1538
1538
|
type: Component,
|
|
1539
1539
|
args: [{ imports: [FormsModule, TinymceComponent], template: "<ng-template #templateRef let-data>\r\n\t<div class=\"w-tiny\" [class]=\"data.component?.class\">\r\n\t\t<tinymce\r\n\t\t\tclass=\"w-tiny__editor\"\r\n\t\t\t[ngModel]=\"getValue(data)\"\r\n\t\t\t(ngModelChange)=\"onValueChange(data, $event)\"\r\n\t\t\t[config]=\"getConfig(data)\"\r\n\t\t\t[disabled]=\"isDisabled(data)\"\r\n\t\t\t[inline]=\"isInline(data)\"\r\n\t\t\t[placeholder]=\"getPlaceholder(data)\"\r\n\t\t></tinymce>\r\n\t</div>\r\n</ng-template>\r\n", styles: [".w-tiny{width:100%;background:var(--c-bg-secondary);color:var(--c-text-primary);border:1px solid var(--c-border);border-radius:var(--radius-card);box-shadow:var(--shadow-sm);overflow:hidden;padding:var(--sp-2)}.w-tiny__editor{display:block;width:100%}\n"] }]
|
|
1540
1540
|
}], propDecorators: { templateRef: [{ type: i0.ViewChild, args: ['templateRef', { isSignal: true }] }] } });
|
|
@@ -1865,12 +1865,14 @@ class UserService extends CrudService {
|
|
|
1865
1865
|
this._router = inject(Router);
|
|
1866
1866
|
this._emitterService = inject(EmitterService);
|
|
1867
1867
|
this._bosConfig = inject(NGX_BOS_CONFIG);
|
|
1868
|
+
this._isBrowserPlatform = isPlatformBrowser(inject(PLATFORM_ID));
|
|
1868
1869
|
this.url = this._bosConfig.url;
|
|
1869
1870
|
this.roles = this._bosConfig.roles.concat(['admin']);
|
|
1870
1871
|
this.employees = this._bosConfig.roles;
|
|
1871
1872
|
this.users = this.documents;
|
|
1872
|
-
this.
|
|
1873
|
-
|
|
1873
|
+
this._storedUser = this._isBrowserPlatform ? localStorage.getItem('waw_user') : null;
|
|
1874
|
+
this.user = signal(this._storedUser
|
|
1875
|
+
? JSON.parse(this._storedUser)
|
|
1874
1876
|
: this.prepareDocument()(), /* @ts-ignore */
|
|
1875
1877
|
...(ngDevMode ? [{ debugName: "user" }] : /* istanbul ignore next */ []));
|
|
1876
1878
|
this.thumb = computed(() => {
|
|
@@ -1894,7 +1896,7 @@ class UserService extends CrudService {
|
|
|
1894
1896
|
return splitted;
|
|
1895
1897
|
}, /* @ts-ignore */
|
|
1896
1898
|
...(ngDevMode ? [{ debugName: "usersByRole" }] : /* istanbul ignore next */ []));
|
|
1897
|
-
if (localStorage.getItem('waw_user')) {
|
|
1899
|
+
if (this._isBrowserPlatform && localStorage.getItem('waw_user')) {
|
|
1898
1900
|
this.fetch({}, { name: 'me' }).subscribe((user) => {
|
|
1899
1901
|
if (user) {
|
|
1900
1902
|
if (!localStorage.getItem('waw_user') &&
|
|
@@ -1966,16 +1968,20 @@ class UserService extends CrudService {
|
|
|
1966
1968
|
name: 'admin',
|
|
1967
1969
|
});
|
|
1968
1970
|
}
|
|
1969
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
1970
|
-
static { this.ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.
|
|
1971
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UserService, deps: [], target: i0.ɵɵFactoryTarget.Service }); }
|
|
1972
|
+
static { this.ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.1.2", ngImport: i0, type: UserService }); }
|
|
1971
1973
|
}
|
|
1972
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
1974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UserService, decorators: [{
|
|
1973
1975
|
type: Service
|
|
1974
1976
|
}], ctorParameters: () => [] });
|
|
1975
1977
|
|
|
1976
1978
|
const adminsGuard = () => {
|
|
1977
1979
|
const router = inject(Router);
|
|
1978
1980
|
const config = inject(NGX_BOS_CONFIG);
|
|
1981
|
+
if (!isPlatformBrowser(inject(PLATFORM_ID))) {
|
|
1982
|
+
// See authenticatedGuard — no real session at build/prerender time, defer to the client.
|
|
1983
|
+
return true;
|
|
1984
|
+
}
|
|
1979
1985
|
const stored = localStorage.getItem('waw_user');
|
|
1980
1986
|
if (!stored) {
|
|
1981
1987
|
return router.parseUrl(config.signPath);
|
|
@@ -1990,6 +1996,12 @@ const adminsGuard = () => {
|
|
|
1990
1996
|
const authenticatedGuard = () => {
|
|
1991
1997
|
const router = inject(Router);
|
|
1992
1998
|
const config = inject(NGX_BOS_CONFIG);
|
|
1999
|
+
if (!isPlatformBrowser(inject(PLATFORM_ID))) {
|
|
2000
|
+
// No real session exists at build/prerender time — render the shell and let the client
|
|
2001
|
+
// re-check against the real localStorage after hydration, instead of baking a redirect
|
|
2002
|
+
// stub into the static file (which would bounce an already-authenticated user on reload).
|
|
2003
|
+
return true;
|
|
2004
|
+
}
|
|
1993
2005
|
if (localStorage.getItem('waw_user')) {
|
|
1994
2006
|
return true;
|
|
1995
2007
|
}
|
|
@@ -1999,7 +2011,7 @@ const authenticatedGuard = () => {
|
|
|
1999
2011
|
const guestGuard = () => {
|
|
2000
2012
|
const router = inject(Router);
|
|
2001
2013
|
const config = inject(NGX_BOS_CONFIG);
|
|
2002
|
-
if (localStorage.getItem('waw_user')) {
|
|
2014
|
+
if (isPlatformBrowser(inject(PLATFORM_ID)) && localStorage.getItem('waw_user')) {
|
|
2003
2015
|
return router.parseUrl(config.profilePath);
|
|
2004
2016
|
}
|
|
2005
2017
|
return true;
|
|
@@ -2012,10 +2024,10 @@ class UserSelectorComponent {
|
|
|
2012
2024
|
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
2013
2025
|
this.onChange = output();
|
|
2014
2026
|
}
|
|
2015
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2016
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.
|
|
2027
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UserSelectorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2028
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.2", type: UserSelectorComponent, isStandalone: true, selector: "user-selector", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onChange: "onChange" }, ngImport: i0, template: "<wselect\r\n\t(wChange)=\"onChange.emit($event)\"\r\n\tplaceholder=\"Select user...\"\r\n\t[items]=\"userService.users()\"\r\n\t[wModel]=\"value()\"\r\n></wselect>\r\n", styles: [""], dependencies: [{ kind: "component", type: SelectComponent, selector: "wselect", inputs: ["disabled", "clearable", "placeholder", "multiple", "bindLabel", "bindValue", "label", "ariaLabel", "searchable", "searchableBy", "items", "buttons", "formField", "field", "wModel"], outputs: ["wModelChange", "wChange"] }] }); }
|
|
2017
2029
|
}
|
|
2018
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2030
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UserSelectorComponent, decorators: [{
|
|
2019
2031
|
type: Component,
|
|
2020
2032
|
args: [{ imports: [SelectComponent], selector: 'user-selector', template: "<wselect\r\n\t(wChange)=\"onChange.emit($event)\"\r\n\tplaceholder=\"Select user...\"\r\n\t[items]=\"userService.users()\"\r\n\t[wModel]=\"value()\"\r\n></wselect>\r\n" }]
|
|
2021
2033
|
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], onChange: [{ type: i0.Output, args: ["onChange"] }] } });
|
|
@@ -2025,10 +2037,10 @@ class UserPreviewComponent {
|
|
|
2025
2037
|
this.userService = inject(UserService);
|
|
2026
2038
|
this.bosConfig = inject(NGX_BOS_CONFIG);
|
|
2027
2039
|
}
|
|
2028
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2029
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.
|
|
2040
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UserPreviewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2041
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.2", type: UserPreviewComponent, isStandalone: true, selector: "user-preview", ngImport: i0, template: "<a\r\n\tclass=\"space__header-avatar\"\r\n\t[routerLink]=\"bosConfig.profilePath\"\r\n\taria-label=\"Profile\"\r\n>\r\n\t<img [src]=\"userService.thumb()\" alt=\"\" />\r\n</a>\r\n", styles: [".space__header-avatar{margin-inline-start:var(--sp-3);inline-size:32px;block-size:32px;border-radius:999px;overflow:hidden;display:inline-flex;cursor:pointer;text-decoration:none}.space__header-avatar:focus-visible{outline:none;box-shadow:var(--focus-ring)}.space__header-avatar img{inline-size:100%;block-size:100%;object-fit:cover;border-radius:inherit;display:block}\n"], dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }] }); }
|
|
2030
2042
|
}
|
|
2031
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2043
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UserPreviewComponent, decorators: [{
|
|
2032
2044
|
type: Component,
|
|
2033
2045
|
args: [{ selector: 'user-preview', imports: [RouterLink], template: "<a\r\n\tclass=\"space__header-avatar\"\r\n\t[routerLink]=\"bosConfig.profilePath\"\r\n\taria-label=\"Profile\"\r\n>\r\n\t<img [src]=\"userService.thumb()\" alt=\"\" />\r\n</a>\r\n", styles: [".space__header-avatar{margin-inline-start:var(--sp-3);inline-size:32px;block-size:32px;border-radius:999px;overflow:hidden;display:inline-flex;cursor:pointer;text-decoration:none}.space__header-avatar:focus-visible{outline:none;box-shadow:var(--focus-ring)}.space__header-avatar img{inline-size:100%;block-size:100%;object-fit:cover;border-radius:inherit;display:block}\n"] }]
|
|
2034
2046
|
}] });
|
|
@@ -2079,12 +2091,12 @@ class UsersComponent extends CrudComponent {
|
|
|
2079
2091
|
this.setDocuments();
|
|
2080
2092
|
});
|
|
2081
2093
|
}
|
|
2082
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2083
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
2094
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UsersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2095
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.2", type: UsersComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<!--==== Table Module ====-->\r\n<wtable\r\n\t[rows]=\"documents()\"\r\n\t[columns]=\"columns\"\r\n\t[config]=\"config\"\r\n\ttitle=\"Users\"\r\n>\r\n\t@for (role of roles; track role) {\r\n\t<ng-template [cell]=\"role\" let-user>\r\n\t\t<winput\r\n\t\t\t(click)=\"$event.stopPropagation()\"\r\n\t\t\t(wChange)=\"updateRole(user, role, !!$event)\"\r\n\t\t\t[wModel]=\"user.is[role]\"\r\n\t\t\ttype=\"checkbox\"\r\n\t\t/>\r\n\t</ng-template>\r\n\t}\r\n</wtable>\r\n<!-- ==================== -->\r\n", styles: [":host ::ng-deep .wtable__th:nth-child(n+3):not(:last-child),:host ::ng-deep .wtable__td:nth-child(n+3):not(:last-child){width:1%;padding-inline:var(--sp-2);white-space:nowrap}:host ::ng-deep .wtable__td:nth-child(n+3):not(:last-child) winput{display:inline-flex}\n"], dependencies: [{ kind: "component", type: TableComponent, selector: "wtable", inputs: ["bindValue", "rows", "config", "columns", "value", "title"], outputs: ["columnsChange", "onSearch"] }, { kind: "directive", type: CellDirective, selector: "ng-template[cell]", inputs: ["cell"] }, { kind: "component", type: InputComponent, selector: "winput", inputs: ["formField", "wModel", "type", "name", "label", "ariaLabel", "placeholder", "items", "icons", "required", "disabled", "focused", "clearable", "wClass", "autocomplete", "error"], outputs: ["wModelChange", "wChange", "wSubmit", "wBlur", "wFocus", "wKeydown"] }] }); }
|
|
2084
2096
|
}
|
|
2085
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2097
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UsersComponent, decorators: [{
|
|
2086
2098
|
type: Component,
|
|
2087
|
-
args: [{ imports: [TableComponent, CellDirective, InputComponent], template: "<!--==== Table Module ====-->\r\n<wtable\r\n\t[rows]=\"documents()\"\r\n\t[columns]=\"columns\"\r\n\t[config]=\"config\"\r\n\ttitle=\"Users\"\r\n>\r\n\t@for (role of roles; track role) {\r\n\t<ng-template [cell]=\"role\" let-user>\r\n\t\t<winput\n\t\t\t(click)=\"$event.stopPropagation()\"\n\t\t\t(wChange)=\"updateRole(user, role, !!$event)\"\n\t\t\t[wModel]=\"user.is[role]\"\r\n\t\t\ttype=\"checkbox\"\r\n\t\t/>\r\n\t</ng-template>\r\n\t}\r\n</wtable>\r\n<!-- ==================== -->\r\n", styles: [":host ::ng-deep .wtable__th:nth-child(n+3):not(:last-child),:host ::ng-deep .wtable__td:nth-child(n+3):not(:last-child){width:1%;padding-inline:var(--sp-2);white-space:nowrap}:host ::ng-deep .wtable__td:nth-child(n+3):not(:last-child) winput{display:inline-flex}\n"] }]
|
|
2099
|
+
args: [{ imports: [TableComponent, CellDirective, InputComponent], template: "<!--==== Table Module ====-->\r\n<wtable\r\n\t[rows]=\"documents()\"\r\n\t[columns]=\"columns\"\r\n\t[config]=\"config\"\r\n\ttitle=\"Users\"\r\n>\r\n\t@for (role of roles; track role) {\r\n\t<ng-template [cell]=\"role\" let-user>\r\n\t\t<winput\r\n\t\t\t(click)=\"$event.stopPropagation()\"\r\n\t\t\t(wChange)=\"updateRole(user, role, !!$event)\"\r\n\t\t\t[wModel]=\"user.is[role]\"\r\n\t\t\ttype=\"checkbox\"\r\n\t\t/>\r\n\t</ng-template>\r\n\t}\r\n</wtable>\r\n<!-- ==================== -->\r\n", styles: [":host ::ng-deep .wtable__th:nth-child(n+3):not(:last-child),:host ::ng-deep .wtable__td:nth-child(n+3):not(:last-child){width:1%;padding-inline:var(--sp-2);white-space:nowrap}:host ::ng-deep .wtable__td:nth-child(n+3):not(:last-child) winput{display:inline-flex}\n"] }]
|
|
2088
2100
|
}], ctorParameters: () => [] });
|
|
2089
2101
|
|
|
2090
2102
|
var users_component = /*#__PURE__*/Object.freeze({
|
|
@@ -2116,10 +2128,10 @@ class ClientsComponent extends CrudComponent {
|
|
|
2116
2128
|
// fetch first page from server using CrudComponent logic
|
|
2117
2129
|
this.setDocuments();
|
|
2118
2130
|
}
|
|
2119
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2120
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.
|
|
2131
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: ClientsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2132
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.2", type: ClientsComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<!--==== Table Module ====-->\r\n<wtable\r\n\t[rows]=\"documents()\"\r\n\t[columns]=\"columns\"\r\n\t[config]=\"config\"\r\n\ttitle=\"Clients\"\r\n></wtable>\r\n<!-- ==================== -->\r\n", styles: [""], dependencies: [{ kind: "component", type: TableComponent, selector: "wtable", inputs: ["bindValue", "rows", "config", "columns", "value", "title"], outputs: ["columnsChange", "onSearch"] }] }); }
|
|
2121
2133
|
}
|
|
2122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: ClientsComponent, decorators: [{
|
|
2123
2135
|
type: Component,
|
|
2124
2136
|
args: [{ imports: [TableComponent], template: "<!--==== Table Module ====-->\r\n<wtable\r\n\t[rows]=\"documents()\"\r\n\t[columns]=\"columns\"\r\n\t[config]=\"config\"\r\n\ttitle=\"Clients\"\r\n></wtable>\r\n<!-- ==================== -->\r\n" }]
|
|
2125
2137
|
}], ctorParameters: () => [] });
|
|
@@ -2181,10 +2193,10 @@ class FormComponent extends CrudComponent {
|
|
|
2181
2193
|
},
|
|
2182
2194
|
});
|
|
2183
2195
|
}
|
|
2184
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2185
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.
|
|
2196
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2197
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.2", type: FormComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<!--==== Table Module ====-->\r\n<wtable\r\n\t[rows]=\"documents()\"\r\n\t[columns]=\"columns\"\r\n\t[config]=\"config\"\r\n\ttitle=\"Forms\"\r\n>\r\n</wtable>\r\n<!-- ==================== -->\r\n", dependencies: [{ kind: "component", type: TableComponent, selector: "wtable", inputs: ["bindValue", "rows", "config", "columns", "value", "title"], outputs: ["columnsChange", "onSearch"] }] }); }
|
|
2186
2198
|
}
|
|
2187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2199
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FormComponent, decorators: [{
|
|
2188
2200
|
type: Component,
|
|
2189
2201
|
args: [{ imports: [TableComponent], template: "<!--==== Table Module ====-->\r\n<wtable\r\n\t[rows]=\"documents()\"\r\n\t[columns]=\"columns\"\r\n\t[config]=\"config\"\r\n\ttitle=\"Forms\"\r\n>\r\n</wtable>\r\n<!-- ==================== -->\r\n" }]
|
|
2190
2202
|
}], ctorParameters: () => [] });
|
|
@@ -2250,10 +2262,10 @@ class FormsComponent {
|
|
|
2250
2262
|
}));
|
|
2251
2263
|
});
|
|
2252
2264
|
}
|
|
2253
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2254
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.
|
|
2265
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FormsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2266
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.2", type: FormsComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<!--==== Table Module ====-->\r\n<wtable\r\n\t[rows]=\"documents()\"\r\n\t[columns]=\"columns\"\r\n\t[config]=\"config\"\r\n\ttitle=\"Forms\"\r\n>\r\n</wtable>\r\n<!-- ==================== -->\r\n", dependencies: [{ kind: "component", type: TableComponent, selector: "wtable", inputs: ["bindValue", "rows", "config", "columns", "value", "title"], outputs: ["columnsChange", "onSearch"] }] }); }
|
|
2255
2267
|
}
|
|
2256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FormsComponent, decorators: [{
|
|
2257
2269
|
type: Component,
|
|
2258
2270
|
args: [{ imports: [TableComponent], template: "<!--==== Table Module ====-->\r\n<wtable\r\n\t[rows]=\"documents()\"\r\n\t[columns]=\"columns\"\r\n\t[config]=\"config\"\r\n\ttitle=\"Forms\"\r\n>\r\n</wtable>\r\n<!-- ==================== -->\r\n" }]
|
|
2259
2271
|
}], ctorParameters: () => [] });
|
|
@@ -2281,17 +2293,17 @@ class SpiderComponent {
|
|
|
2281
2293
|
this.end = input('', /* @ts-ignore */
|
|
2282
2294
|
...(ngDevMode ? [{ debugName: "end" }] : /* istanbul ignore next */ []));
|
|
2283
2295
|
}
|
|
2284
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2285
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.
|
|
2296
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: SpiderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2297
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.2", type: SpiderComponent, isStandalone: true, selector: "icon-spider", inputs: { width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, start: { classPropertyName: "start", publicName: "start", isSignal: true, isRequired: false, transformFunction: null }, end: { classPropertyName: "end", publicName: "end", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.--spider-w": "width()", "style.--spider-h": "height()", "style.--spider-start": "start()", "style.--spider-end": "end()" }, classAttribute: "spider" }, ngImport: i0, template: "<svg\r\n\tpreserveAspectRatio=\"xMidYMid meet\"\r\n\txmlns=\"http://www.w3.org/2000/svg\"\r\n\tviewBox=\"0 0 72 84\"\r\n\tclass=\"spider__svg\"\r\n\tfill=\"none\"\r\n>\r\n\t<path\r\n\t\td=\"M29.7441 38.2845C29.7441 38.2845 31.8474 35.0824 33.6034 33.46C35.2166 31.9737 35.9191 31.6079 36.0232 31.5575C36.1314 31.6079 36.8298 31.9737 38.443 33.46C40.1991 35.0824 42.3025 38.2845 42.3025 38.2845C42.3025 38.2845 47.196 35.9266 47.196 29.1802C47.196 22.4337 42.8736 18.9516 42.8736 18.9516C47.9679 27.7872 43.1013 33.2694 43.1013 33.2694C43.1013 33.2694 42.1364 33.1137 40.3998 31.0165C39.0996 29.5517 37.6333 28.246 36.031 27.126V27.1064V27.126C34.4245 28.2391 32.953 29.5384 31.6468 30.9971C29.9139 33.0942 28.9452 33.2498 28.9452 33.2498C28.9452 33.2498 24.0746 27.7679 29.1691 18.9321C29.1691 18.9321 24.8504 22.3948 24.8504 29.1607C24.8504 35.9266 29.7441 38.2845 29.7441 38.2845Z\"\r\n\t\tfill=\"url(#paint0_linear_5_30)\"\r\n\t/>\r\n\t<path\r\n\t\td=\"M31.1333 41.3775C30.7938 44.101 32.322 45.2097 32.322 45.2097C32.3393 44.5685 32.4233 43.9308 32.5729 43.3072C32.7736 42.7159 33.8967 41.3618 35.0583 41.3618H36.988C38.1459 41.3618 39.2727 42.7003 39.4772 43.3072C39.6241 43.9312 39.707 44.5688 39.7242 45.2097C39.7242 45.2097 41.268 44.101 40.9167 41.3775C40.5965 38.8135 36.5132 35.3236 36.0464 34.9306V34.8917H36.0232H36V34.9306C35.533 35.3236 31.4499 38.8135 31.1333 41.3775Z\"\r\n\t\tfill=\"url(#paint1_linear_5_30)\"\r\n\t/>\r\n\t<path\r\n\t\td=\"M43.2673 45.91C42.5186 47.5046 41.2429 48.7867 39.6587 49.5362C39.6587 49.5362 36.2085 44.7117 36.0386 44.5639V44.5406V44.5639C35.8688 44.7117 32.4224 49.5362 32.4224 49.5362C30.8254 48.7934 29.5365 47.5106 28.7792 45.91C27.6832 43.3578 28.7792 40.0742 28.7792 40.0742C27.8222 40.9534 25.823 45.91 28.0074 49.7775C28.644 50.9108 29.5247 51.8858 30.5848 52.6305C31.6448 53.3753 32.857 53.8708 34.1322 54.0805C34.1322 54.0805 33.395 52.9756 34.0125 51.1587C34.3557 50.1073 35.0716 49.2207 36.0232 48.6687C36.9748 49.2207 37.6907 50.1073 38.034 51.1587C38.6552 52.9756 37.9143 54.0805 37.9143 54.0805C39.1933 53.8718 40.4095 53.3761 41.473 52.6299C42.5364 51.8838 43.4201 50.9063 44.0583 49.7696C46.2235 45.879 44.2244 40.9456 43.2866 40.0663C43.2673 40.0742 44.3827 43.3578 43.2673 45.91Z\"\r\n\t\tfill=\"url(#paint2_linear_5_30)\"\r\n\t/>\r\n\t<path\r\n\t\td=\"M18.7064 30.4135C19.2274 31.2189 25.8191 39.9729 25.8191 39.9729C25.8191 39.9729 27.1042 37.4868 25.9232 36.0005C24.7424 34.5144 21.5507 30.3474 20.9486 29.363C20.4509 28.4918 20.1627 27.515 20.1073 26.5111C20.034 25.6902 19.0767 14.6757 19.0767 14.6757C19.8965 11.6482 21.2001 8.77554 22.9362 6.17063C24.3439 4.00548 25.9018 1.94346 27.5982 0C27.5982 0 23.0403 3.23317 20.4314 7.2717C18.8838 9.64045 17.6645 12.2114 16.8074 14.913C16.8074 14.913 17.4134 24.6125 17.5407 26.5189C17.5809 27.8983 17.9831 29.2421 18.7064 30.4135Z\"\r\n\t\tfill=\"url(#paint3_linear_5_30)\"\r\n\t/>\r\n\t<path\r\n\t\td=\"M19.0923 59.368C19.0923 59.368 19.0923 57.6639 20.1227 54.7848C21.1531 51.9056 24.7539 45.416 24.7539 45.416L25.0279 40.8056L24.3139 39.8095C24.3139 39.8095 19.096 37.7863 16.9811 36.6464C14.8663 35.5064 14.3105 35.1952 14.3105 35.1952C13.5116 33.6583 12.8328 32.0608 12.2805 30.4174C11.1922 27.3555 10.7599 25.9625 10.7599 25.9625C10.5214 22.9704 10.4609 19.9668 10.5785 16.9673C10.7599 11.781 11.0301 10.1158 11.0301 10.1158C11.0301 10.1158 9.72946 12.0067 9.15056 16.4031C8.57166 20.7996 8.44816 26.2622 8.44816 26.2622L11.7054 36.6152C11.7054 36.6152 14.407 38.4827 17.9074 40.4204C19.0234 41.0646 20.2047 41.5863 21.431 41.9767L12.4464 43.3735L3.91342 50.7658C2.51875 53.6073 1.48155 56.6135 0.825943 59.7142C-0.277831 64.9084 0.0540732 70.581 0.0540732 70.581C0.0540732 70.581 1.39713 64.9084 2.99104 59.8194C4.58495 54.7304 5.95501 52.3647 5.95501 52.3647L13.6737 46.3343L19.787 45.7468L15.0708 57.8078C15.0708 57.8078 15.0283 59.3641 15.7037 62.8657C16.3792 66.3673 19.266 75.67 19.266 75.67L26.6296 84L27.3397 83.8715L21.7822 74.6156L19.0923 59.368Z\"\r\n\t\tfill=\"url(#paint4_linear_5_30)\"\r\n\t/>\r\n\t<path\r\n\t\td=\"M52.923 14.6757C52.923 14.6757 51.9659 25.6786 51.8888 26.5111C51.8333 27.515 51.5451 28.4918 51.0475 29.363C50.4492 30.3513 47.2537 34.5105 46.0728 36.0005C44.8918 37.4907 46.1769 39.9729 46.1769 39.9729C46.1769 39.9729 52.7725 31.2189 53.2936 30.4135C54.0144 29.2429 54.4139 27.9002 54.4514 26.5228C54.5826 24.6164 55.1886 14.9169 55.1886 14.9169C54.3296 12.216 53.1105 9.64533 51.5646 7.27559C48.9596 3.23317 44.4017 0 44.4017 0C46.1041 1.94244 47.6672 4.00452 49.0791 6.17063C50.8088 8.7772 52.1069 11.6496 52.923 14.6757Z\"\r\n\t\tfill=\"url(#paint5_linear_5_30)\"\r\n\t/>\r\n\t<path\r\n\t\td=\"M71.1821 59.7027C70.5274 56.6015 69.4902 53.5952 68.0945 50.7541L59.5576 43.3617L50.5576 41.9689C51.7828 41.5784 52.9627 41.0566 54.0774 40.4126C57.5932 38.4673 60.2833 36.6075 60.2833 36.6075L63.5366 26.2544C63.5366 26.2544 63.4132 20.8074 62.8343 16.3992C62.2554 11.9911 60.9779 10.1158 60.9779 10.1158C60.9779 10.1158 61.248 11.7771 61.4295 16.9634C61.5448 19.9628 61.4841 22.9665 61.248 25.9586C61.248 25.9586 60.8081 27.3516 59.7313 30.4135C59.179 32.0569 58.5003 33.6544 57.7014 35.1913C57.7014 35.1913 57.1456 35.4986 55.0307 36.6425C52.9158 37.7863 47.6979 39.8056 47.6979 39.8056L46.9839 40.8017L47.2541 45.4121C47.2541 45.4121 50.8664 51.9017 51.8853 54.7808C52.9041 57.66 52.9158 59.3641 52.9158 59.3641L50.2142 74.6117L44.6528 83.8715L45.3629 84L52.7305 75.6778C52.7305 75.6778 55.6134 66.3868 56.2927 62.8735C56.972 59.3603 56.9256 57.8156 56.9256 57.8156L52.2094 45.7544L58.3189 46.3419L66.0375 52.3725C66.0375 52.3725 67.4115 54.738 69.0054 59.8272C70.5993 64.9162 71.9423 70.5888 71.9423 70.5888C71.9423 70.5888 72.2896 64.8967 71.1821 59.7027Z\"\r\n\t\tfill=\"url(#paint6_linear_5_30)\"\r\n\t/>\r\n\t<defs>\r\n\t\t<linearGradient\r\n\t\t\tid=\"paint0_linear_5_30\"\r\n\t\t\tx1=\"36.0232\"\r\n\t\t\ty1=\"18.9321\"\r\n\t\t\tx2=\"36.0232\"\r\n\t\t\ty2=\"38.2845\"\r\n\t\t\tgradientUnits=\"userSpaceOnUse\"\r\n\t\t>\r\n\t\t\t<stop stop-color=\"#F6C93C\" />\r\n\t\t\t<stop offset=\"1\" stop-color=\"#A79F1E\" />\r\n\t\t</linearGradient>\r\n\t\t<linearGradient\r\n\t\t\tid=\"paint1_linear_5_30\"\r\n\t\t\tx1=\"36.0264\"\r\n\t\t\ty1=\"34.8917\"\r\n\t\t\tx2=\"36.0264\"\r\n\t\t\ty2=\"45.2097\"\r\n\t\t\tgradientUnits=\"userSpaceOnUse\"\r\n\t\t>\r\n\t\t\t<stop stop-color=\"#F6C93C\" />\r\n\t\t\t<stop offset=\"1\" stop-color=\"#A79F1E\" />\r\n\t\t</linearGradient>\r\n\t\t<linearGradient\r\n\t\t\tid=\"paint2_linear_5_30\"\r\n\t\t\tx1=\"36.0264\"\r\n\t\t\ty1=\"40.0663\"\r\n\t\t\tx2=\"36.0264\"\r\n\t\t\ty2=\"54.0805\"\r\n\t\t\tgradientUnits=\"userSpaceOnUse\"\r\n\t\t>\r\n\t\t\t<stop stop-color=\"#F6C93C\" />\r\n\t\t\t<stop offset=\"1\" stop-color=\"#A79F1E\" />\r\n\t\t</linearGradient>\r\n\t\t<linearGradient\r\n\t\t\tid=\"paint3_linear_5_30\"\r\n\t\t\tx1=\"22.2029\"\r\n\t\t\ty1=\"0\"\r\n\t\t\tx2=\"22.2029\"\r\n\t\t\ty2=\"39.9729\"\r\n\t\t\tgradientUnits=\"userSpaceOnUse\"\r\n\t\t>\r\n\t\t\t<stop stop-color=\"#F6C93C\" />\r\n\t\t\t<stop offset=\"1\" stop-color=\"#A79F1E\" />\r\n\t\t</linearGradient>\r\n\t\t<linearGradient\r\n\t\t\tid=\"paint4_linear_5_30\"\r\n\t\t\tx1=\"13.6735\"\r\n\t\t\ty1=\"10.1158\"\r\n\t\t\tx2=\"13.6735\"\r\n\t\t\ty2=\"84\"\r\n\t\t\tgradientUnits=\"userSpaceOnUse\"\r\n\t\t>\r\n\t\t\t<stop stop-color=\"#F6C93C\" />\r\n\t\t\t<stop offset=\"1\" stop-color=\"#A79F1E\" />\r\n\t\t</linearGradient>\r\n\t\t<linearGradient\r\n\t\t\tid=\"paint5_linear_5_30\"\r\n\t\t\tx1=\"49.7951\"\r\n\t\t\ty1=\"0\"\r\n\t\t\tx2=\"49.7951\"\r\n\t\t\ty2=\"39.9729\"\r\n\t\t\tgradientUnits=\"userSpaceOnUse\"\r\n\t\t>\r\n\t\t\t<stop stop-color=\"#F6C93C\" />\r\n\t\t\t<stop offset=\"1\" stop-color=\"#A79F1E\" />\r\n\t\t</linearGradient>\r\n\t\t<linearGradient\r\n\t\t\tid=\"paint6_linear_5_30\"\r\n\t\t\tx1=\"58.3234\"\r\n\t\t\ty1=\"10.1158\"\r\n\t\t\tx2=\"58.3234\"\r\n\t\t\ty2=\"84\"\r\n\t\t\tgradientUnits=\"userSpaceOnUse\"\r\n\t\t>\r\n\t\t\t<stop stop-color=\"#F6C93C\" />\r\n\t\t\t<stop offset=\"1\" stop-color=\"#A79F1E\" />\r\n\t\t</linearGradient>\r\n\t</defs>\r\n</svg>\r\n", styles: [".spider{--spider-w: 100%;--spider-h: auto;display:inline-block;inline-size:var(--spider-w);block-size:var(--spider-h);line-height:0}.spider__svg{display:block;inline-size:100%;block-size:100%;max-inline-size:100%;max-block-size:100%;aspect-ratio:72/84}\n"] }); }
|
|
2286
2298
|
}
|
|
2287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: SpiderComponent, decorators: [{
|
|
2288
2300
|
type: Component,
|
|
2289
2301
|
args: [{ selector: 'icon-spider', host: {
|
|
2290
2302
|
class: 'spider',
|
|
2291
|
-
'[style.--spider-w]': 'width',
|
|
2292
|
-
'[style.--spider-h]': 'height',
|
|
2293
|
-
'[style.--spider-start]': 'start',
|
|
2294
|
-
'[style.--spider-end]': 'end',
|
|
2303
|
+
'[style.--spider-w]': 'width()',
|
|
2304
|
+
'[style.--spider-h]': 'height()',
|
|
2305
|
+
'[style.--spider-start]': 'start()',
|
|
2306
|
+
'[style.--spider-end]': 'end()',
|
|
2295
2307
|
}, template: "<svg\r\n\tpreserveAspectRatio=\"xMidYMid meet\"\r\n\txmlns=\"http://www.w3.org/2000/svg\"\r\n\tviewBox=\"0 0 72 84\"\r\n\tclass=\"spider__svg\"\r\n\tfill=\"none\"\r\n>\r\n\t<path\r\n\t\td=\"M29.7441 38.2845C29.7441 38.2845 31.8474 35.0824 33.6034 33.46C35.2166 31.9737 35.9191 31.6079 36.0232 31.5575C36.1314 31.6079 36.8298 31.9737 38.443 33.46C40.1991 35.0824 42.3025 38.2845 42.3025 38.2845C42.3025 38.2845 47.196 35.9266 47.196 29.1802C47.196 22.4337 42.8736 18.9516 42.8736 18.9516C47.9679 27.7872 43.1013 33.2694 43.1013 33.2694C43.1013 33.2694 42.1364 33.1137 40.3998 31.0165C39.0996 29.5517 37.6333 28.246 36.031 27.126V27.1064V27.126C34.4245 28.2391 32.953 29.5384 31.6468 30.9971C29.9139 33.0942 28.9452 33.2498 28.9452 33.2498C28.9452 33.2498 24.0746 27.7679 29.1691 18.9321C29.1691 18.9321 24.8504 22.3948 24.8504 29.1607C24.8504 35.9266 29.7441 38.2845 29.7441 38.2845Z\"\r\n\t\tfill=\"url(#paint0_linear_5_30)\"\r\n\t/>\r\n\t<path\r\n\t\td=\"M31.1333 41.3775C30.7938 44.101 32.322 45.2097 32.322 45.2097C32.3393 44.5685 32.4233 43.9308 32.5729 43.3072C32.7736 42.7159 33.8967 41.3618 35.0583 41.3618H36.988C38.1459 41.3618 39.2727 42.7003 39.4772 43.3072C39.6241 43.9312 39.707 44.5688 39.7242 45.2097C39.7242 45.2097 41.268 44.101 40.9167 41.3775C40.5965 38.8135 36.5132 35.3236 36.0464 34.9306V34.8917H36.0232H36V34.9306C35.533 35.3236 31.4499 38.8135 31.1333 41.3775Z\"\r\n\t\tfill=\"url(#paint1_linear_5_30)\"\r\n\t/>\r\n\t<path\r\n\t\td=\"M43.2673 45.91C42.5186 47.5046 41.2429 48.7867 39.6587 49.5362C39.6587 49.5362 36.2085 44.7117 36.0386 44.5639V44.5406V44.5639C35.8688 44.7117 32.4224 49.5362 32.4224 49.5362C30.8254 48.7934 29.5365 47.5106 28.7792 45.91C27.6832 43.3578 28.7792 40.0742 28.7792 40.0742C27.8222 40.9534 25.823 45.91 28.0074 49.7775C28.644 50.9108 29.5247 51.8858 30.5848 52.6305C31.6448 53.3753 32.857 53.8708 34.1322 54.0805C34.1322 54.0805 33.395 52.9756 34.0125 51.1587C34.3557 50.1073 35.0716 49.2207 36.0232 48.6687C36.9748 49.2207 37.6907 50.1073 38.034 51.1587C38.6552 52.9756 37.9143 54.0805 37.9143 54.0805C39.1933 53.8718 40.4095 53.3761 41.473 52.6299C42.5364 51.8838 43.4201 50.9063 44.0583 49.7696C46.2235 45.879 44.2244 40.9456 43.2866 40.0663C43.2673 40.0742 44.3827 43.3578 43.2673 45.91Z\"\r\n\t\tfill=\"url(#paint2_linear_5_30)\"\r\n\t/>\r\n\t<path\r\n\t\td=\"M18.7064 30.4135C19.2274 31.2189 25.8191 39.9729 25.8191 39.9729C25.8191 39.9729 27.1042 37.4868 25.9232 36.0005C24.7424 34.5144 21.5507 30.3474 20.9486 29.363C20.4509 28.4918 20.1627 27.515 20.1073 26.5111C20.034 25.6902 19.0767 14.6757 19.0767 14.6757C19.8965 11.6482 21.2001 8.77554 22.9362 6.17063C24.3439 4.00548 25.9018 1.94346 27.5982 0C27.5982 0 23.0403 3.23317 20.4314 7.2717C18.8838 9.64045 17.6645 12.2114 16.8074 14.913C16.8074 14.913 17.4134 24.6125 17.5407 26.5189C17.5809 27.8983 17.9831 29.2421 18.7064 30.4135Z\"\r\n\t\tfill=\"url(#paint3_linear_5_30)\"\r\n\t/>\r\n\t<path\r\n\t\td=\"M19.0923 59.368C19.0923 59.368 19.0923 57.6639 20.1227 54.7848C21.1531 51.9056 24.7539 45.416 24.7539 45.416L25.0279 40.8056L24.3139 39.8095C24.3139 39.8095 19.096 37.7863 16.9811 36.6464C14.8663 35.5064 14.3105 35.1952 14.3105 35.1952C13.5116 33.6583 12.8328 32.0608 12.2805 30.4174C11.1922 27.3555 10.7599 25.9625 10.7599 25.9625C10.5214 22.9704 10.4609 19.9668 10.5785 16.9673C10.7599 11.781 11.0301 10.1158 11.0301 10.1158C11.0301 10.1158 9.72946 12.0067 9.15056 16.4031C8.57166 20.7996 8.44816 26.2622 8.44816 26.2622L11.7054 36.6152C11.7054 36.6152 14.407 38.4827 17.9074 40.4204C19.0234 41.0646 20.2047 41.5863 21.431 41.9767L12.4464 43.3735L3.91342 50.7658C2.51875 53.6073 1.48155 56.6135 0.825943 59.7142C-0.277831 64.9084 0.0540732 70.581 0.0540732 70.581C0.0540732 70.581 1.39713 64.9084 2.99104 59.8194C4.58495 54.7304 5.95501 52.3647 5.95501 52.3647L13.6737 46.3343L19.787 45.7468L15.0708 57.8078C15.0708 57.8078 15.0283 59.3641 15.7037 62.8657C16.3792 66.3673 19.266 75.67 19.266 75.67L26.6296 84L27.3397 83.8715L21.7822 74.6156L19.0923 59.368Z\"\r\n\t\tfill=\"url(#paint4_linear_5_30)\"\r\n\t/>\r\n\t<path\r\n\t\td=\"M52.923 14.6757C52.923 14.6757 51.9659 25.6786 51.8888 26.5111C51.8333 27.515 51.5451 28.4918 51.0475 29.363C50.4492 30.3513 47.2537 34.5105 46.0728 36.0005C44.8918 37.4907 46.1769 39.9729 46.1769 39.9729C46.1769 39.9729 52.7725 31.2189 53.2936 30.4135C54.0144 29.2429 54.4139 27.9002 54.4514 26.5228C54.5826 24.6164 55.1886 14.9169 55.1886 14.9169C54.3296 12.216 53.1105 9.64533 51.5646 7.27559C48.9596 3.23317 44.4017 0 44.4017 0C46.1041 1.94244 47.6672 4.00452 49.0791 6.17063C50.8088 8.7772 52.1069 11.6496 52.923 14.6757Z\"\r\n\t\tfill=\"url(#paint5_linear_5_30)\"\r\n\t/>\r\n\t<path\r\n\t\td=\"M71.1821 59.7027C70.5274 56.6015 69.4902 53.5952 68.0945 50.7541L59.5576 43.3617L50.5576 41.9689C51.7828 41.5784 52.9627 41.0566 54.0774 40.4126C57.5932 38.4673 60.2833 36.6075 60.2833 36.6075L63.5366 26.2544C63.5366 26.2544 63.4132 20.8074 62.8343 16.3992C62.2554 11.9911 60.9779 10.1158 60.9779 10.1158C60.9779 10.1158 61.248 11.7771 61.4295 16.9634C61.5448 19.9628 61.4841 22.9665 61.248 25.9586C61.248 25.9586 60.8081 27.3516 59.7313 30.4135C59.179 32.0569 58.5003 33.6544 57.7014 35.1913C57.7014 35.1913 57.1456 35.4986 55.0307 36.6425C52.9158 37.7863 47.6979 39.8056 47.6979 39.8056L46.9839 40.8017L47.2541 45.4121C47.2541 45.4121 50.8664 51.9017 51.8853 54.7808C52.9041 57.66 52.9158 59.3641 52.9158 59.3641L50.2142 74.6117L44.6528 83.8715L45.3629 84L52.7305 75.6778C52.7305 75.6778 55.6134 66.3868 56.2927 62.8735C56.972 59.3603 56.9256 57.8156 56.9256 57.8156L52.2094 45.7544L58.3189 46.3419L66.0375 52.3725C66.0375 52.3725 67.4115 54.738 69.0054 59.8272C70.5993 64.9162 71.9423 70.5888 71.9423 70.5888C71.9423 70.5888 72.2896 64.8967 71.1821 59.7027Z\"\r\n\t\tfill=\"url(#paint6_linear_5_30)\"\r\n\t/>\r\n\t<defs>\r\n\t\t<linearGradient\r\n\t\t\tid=\"paint0_linear_5_30\"\r\n\t\t\tx1=\"36.0232\"\r\n\t\t\ty1=\"18.9321\"\r\n\t\t\tx2=\"36.0232\"\r\n\t\t\ty2=\"38.2845\"\r\n\t\t\tgradientUnits=\"userSpaceOnUse\"\r\n\t\t>\r\n\t\t\t<stop stop-color=\"#F6C93C\" />\r\n\t\t\t<stop offset=\"1\" stop-color=\"#A79F1E\" />\r\n\t\t</linearGradient>\r\n\t\t<linearGradient\r\n\t\t\tid=\"paint1_linear_5_30\"\r\n\t\t\tx1=\"36.0264\"\r\n\t\t\ty1=\"34.8917\"\r\n\t\t\tx2=\"36.0264\"\r\n\t\t\ty2=\"45.2097\"\r\n\t\t\tgradientUnits=\"userSpaceOnUse\"\r\n\t\t>\r\n\t\t\t<stop stop-color=\"#F6C93C\" />\r\n\t\t\t<stop offset=\"1\" stop-color=\"#A79F1E\" />\r\n\t\t</linearGradient>\r\n\t\t<linearGradient\r\n\t\t\tid=\"paint2_linear_5_30\"\r\n\t\t\tx1=\"36.0264\"\r\n\t\t\ty1=\"40.0663\"\r\n\t\t\tx2=\"36.0264\"\r\n\t\t\ty2=\"54.0805\"\r\n\t\t\tgradientUnits=\"userSpaceOnUse\"\r\n\t\t>\r\n\t\t\t<stop stop-color=\"#F6C93C\" />\r\n\t\t\t<stop offset=\"1\" stop-color=\"#A79F1E\" />\r\n\t\t</linearGradient>\r\n\t\t<linearGradient\r\n\t\t\tid=\"paint3_linear_5_30\"\r\n\t\t\tx1=\"22.2029\"\r\n\t\t\ty1=\"0\"\r\n\t\t\tx2=\"22.2029\"\r\n\t\t\ty2=\"39.9729\"\r\n\t\t\tgradientUnits=\"userSpaceOnUse\"\r\n\t\t>\r\n\t\t\t<stop stop-color=\"#F6C93C\" />\r\n\t\t\t<stop offset=\"1\" stop-color=\"#A79F1E\" />\r\n\t\t</linearGradient>\r\n\t\t<linearGradient\r\n\t\t\tid=\"paint4_linear_5_30\"\r\n\t\t\tx1=\"13.6735\"\r\n\t\t\ty1=\"10.1158\"\r\n\t\t\tx2=\"13.6735\"\r\n\t\t\ty2=\"84\"\r\n\t\t\tgradientUnits=\"userSpaceOnUse\"\r\n\t\t>\r\n\t\t\t<stop stop-color=\"#F6C93C\" />\r\n\t\t\t<stop offset=\"1\" stop-color=\"#A79F1E\" />\r\n\t\t</linearGradient>\r\n\t\t<linearGradient\r\n\t\t\tid=\"paint5_linear_5_30\"\r\n\t\t\tx1=\"49.7951\"\r\n\t\t\ty1=\"0\"\r\n\t\t\tx2=\"49.7951\"\r\n\t\t\ty2=\"39.9729\"\r\n\t\t\tgradientUnits=\"userSpaceOnUse\"\r\n\t\t>\r\n\t\t\t<stop stop-color=\"#F6C93C\" />\r\n\t\t\t<stop offset=\"1\" stop-color=\"#A79F1E\" />\r\n\t\t</linearGradient>\r\n\t\t<linearGradient\r\n\t\t\tid=\"paint6_linear_5_30\"\r\n\t\t\tx1=\"58.3234\"\r\n\t\t\ty1=\"10.1158\"\r\n\t\t\tx2=\"58.3234\"\r\n\t\t\ty2=\"84\"\r\n\t\t\tgradientUnits=\"userSpaceOnUse\"\r\n\t\t>\r\n\t\t\t<stop stop-color=\"#F6C93C\" />\r\n\t\t\t<stop offset=\"1\" stop-color=\"#A79F1E\" />\r\n\t\t</linearGradient>\r\n\t</defs>\r\n</svg>\r\n", styles: [".spider{--spider-w: 100%;--spider-h: auto;display:inline-block;inline-size:var(--spider-w);block-size:var(--spider-h);line-height:0}.spider__svg{display:block;inline-size:100%;block-size:100%;max-inline-size:100%;max-block-size:100%;aspect-ratio:72/84}\n"] }]
|
|
2296
2308
|
}], propDecorators: { width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], height: [{ type: i0.Input, args: [{ isSignal: true, alias: "height", required: false }] }], start: [{ type: i0.Input, args: [{ isSignal: true, alias: "start", required: false }] }], end: [{ type: i0.Input, args: [{ isSignal: true, alias: "end", required: false }] }] } });
|
|
2297
2309
|
|
|
@@ -2303,10 +2315,10 @@ class PhonePipe {
|
|
|
2303
2315
|
const phone = parsePhoneNumberFromString(raw, country);
|
|
2304
2316
|
return phone ? phone.formatInternational() : raw;
|
|
2305
2317
|
}
|
|
2306
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2307
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.
|
|
2318
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: PhonePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2319
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.2", ngImport: i0, type: PhonePipe, isStandalone: true, name: "phone" }); }
|
|
2308
2320
|
}
|
|
2309
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: PhonePipe, decorators: [{
|
|
2310
2322
|
type: Pipe,
|
|
2311
2323
|
args: [{ name: 'phone' }]
|
|
2312
2324
|
}] });
|
|
@@ -2317,7 +2329,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
2317
2329
|
* Reusable BOS contracts and services will be exported here as code moves from
|
|
2318
2330
|
* the source app into the package.
|
|
2319
2331
|
*/
|
|
2320
|
-
const NGX_BOS_VERSION = '22.0.
|
|
2332
|
+
const NGX_BOS_VERSION = '22.0.4';
|
|
2321
2333
|
|
|
2322
2334
|
/**
|
|
2323
2335
|
* Generated bundle index. Do not edit.
|