@flusys/ng-storage 9.1.0-rc.1 → 9.1.1

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.
Files changed (33) hide show
  1. package/fesm2022/flusys-ng-storage-file-manager-api.service-DJ9uP3aN.mjs +43 -0
  2. package/fesm2022/flusys-ng-storage-file-manager-api.service-DJ9uP3aN.mjs.map +1 -0
  3. package/fesm2022/{flusys-ng-storage-file-manager-form.component-DaO-9wKM.mjs → flusys-ng-storage-file-manager-form.component-Bvhewt3f.mjs} +411 -231
  4. package/fesm2022/flusys-ng-storage-file-manager-form.component-Bvhewt3f.mjs.map +1 -0
  5. package/fesm2022/{flusys-ng-storage-file-manager-list.component-a7YHw1Gz.mjs → flusys-ng-storage-file-manager-list.component-4_LdJOtH.mjs} +355 -145
  6. package/fesm2022/flusys-ng-storage-file-manager-list.component-4_LdJOtH.mjs.map +1 -0
  7. package/fesm2022/flusys-ng-storage-folder-api.service-D_fFEuO6.mjs +33 -0
  8. package/fesm2022/flusys-ng-storage-folder-api.service-D_fFEuO6.mjs.map +1 -0
  9. package/fesm2022/flusys-ng-storage-folder-form.component-7C2oWijb.mjs +298 -0
  10. package/fesm2022/flusys-ng-storage-folder-form.component-7C2oWijb.mjs.map +1 -0
  11. package/fesm2022/{flusys-ng-storage-folder-list.component-BDrBAcCS.mjs → flusys-ng-storage-folder-list.component-BdSBM_DB.mjs} +284 -77
  12. package/fesm2022/flusys-ng-storage-folder-list.component-BdSBM_DB.mjs.map +1 -0
  13. package/fesm2022/flusys-ng-storage-storage-config-api.service-Bl4asniq.mjs +33 -0
  14. package/fesm2022/flusys-ng-storage-storage-config-api.service-Bl4asniq.mjs.map +1 -0
  15. package/fesm2022/{flusys-ng-storage-storage-config-form.component-B4wBfzVs.mjs → flusys-ng-storage-storage-config-form.component-De5h8JY-.mjs} +369 -214
  16. package/fesm2022/flusys-ng-storage-storage-config-form.component-De5h8JY-.mjs.map +1 -0
  17. package/fesm2022/{flusys-ng-storage-storage-config-list.component-CCkZY--j.mjs → flusys-ng-storage-storage-config-list.component-Dh9JkuZP.mjs} +303 -83
  18. package/fesm2022/flusys-ng-storage-storage-config-list.component-Dh9JkuZP.mjs.map +1 -0
  19. package/fesm2022/flusys-ng-storage-storage-container.component-EWGNoozU.mjs +124 -0
  20. package/fesm2022/flusys-ng-storage-storage-container.component-EWGNoozU.mjs.map +1 -0
  21. package/fesm2022/flusys-ng-storage-upload.service-CIcEL_Kr.mjs +113 -0
  22. package/fesm2022/flusys-ng-storage-upload.service-CIcEL_Kr.mjs.map +1 -0
  23. package/fesm2022/flusys-ng-storage.mjs +611 -876
  24. package/fesm2022/flusys-ng-storage.mjs.map +1 -1
  25. package/package.json +5 -5
  26. package/types/flusys-ng-storage.d.ts +254 -292
  27. package/fesm2022/flusys-ng-storage-file-manager-form.component-DaO-9wKM.mjs.map +0 -1
  28. package/fesm2022/flusys-ng-storage-file-manager-list.component-a7YHw1Gz.mjs.map +0 -1
  29. package/fesm2022/flusys-ng-storage-folder-form.component-BCzVzmRn.mjs +0 -225
  30. package/fesm2022/flusys-ng-storage-folder-form.component-BCzVzmRn.mjs.map +0 -1
  31. package/fesm2022/flusys-ng-storage-folder-list.component-BDrBAcCS.mjs.map +0 -1
  32. package/fesm2022/flusys-ng-storage-storage-config-form.component-B4wBfzVs.mjs.map +0 -1
  33. package/fesm2022/flusys-ng-storage-storage-config-list.component-CCkZY--j.mjs.map +0 -1
@@ -1,197 +1,180 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, signal, computed, effect, Component } from '@angular/core';
3
- import { toSignal } from '@angular/core/rxjs-interop';
4
- import { form, required, FormField } from '@angular/forms/signals';
5
- import { ActivatedRoute } from '@angular/router';
6
- import { TranslateService, TranslatePipe } from '@flusys/ng-shared';
7
- import { FileLocationEnum, BaseStoragePage, StorageConfigApiService, STORAGE_PROVIDER_OPTIONS } from './flusys-ng-storage.mjs';
8
- import { InputTextDirective, PasswordComponent, SelectComponent, ToggleSwitchComponent, FButtonDirective, UiIconComponent } from '@flusys/ng-ui';
9
-
1
+ import { t as StorageConfigApiService } from "./flusys-ng-storage-storage-config-api.service-Bl4asniq.mjs";
2
+ import { BaseStoragePage, FileLocationEnum, STORAGE_PROVIDER_OPTIONS } from "./flusys-ng-storage.mjs";
3
+ import * as i0 from "@angular/core";
4
+ import { Component, computed, effect, inject, signal } from "@angular/core";
5
+ import { toSignal } from "@angular/core/rxjs-interop";
6
+ import { ActivatedRoute } from "@angular/router";
7
+ import { TranslatePipe, TranslateService } from "@flusys/ng-shared";
8
+ import { FButtonDirective, InputTextDirective, PasswordComponent, SelectComponent, ToggleSwitchComponent, UiIconComponent } from "@flusys/ng-ui";
9
+ import { FormField, form, required } from "@angular/forms/signals";
10
10
  const DEFAULT_FORM_MODEL = {
11
- id: '',
12
- name: '',
13
- storage: FileLocationEnum.AWS,
14
- isActive: true,
15
- isDefault: false,
16
- awsRegion: '',
17
- awsBucket: '',
18
- awsAccessKeyId: '',
19
- awsSecretAccessKey: '',
20
- awsEndpoint: '',
21
- azureAccountName: '',
22
- azureAccountKey: '',
23
- azureContainerName: '',
24
- sftpHost: '',
25
- sftpPort: '22',
26
- sftpUsername: '',
27
- sftpPassword: '',
28
- sftpBasePath: '',
29
- localBasePath: '',
11
+ id: "",
12
+ name: "",
13
+ storage: FileLocationEnum.AWS,
14
+ isActive: true,
15
+ isDefault: false,
16
+ awsRegion: "",
17
+ awsBucket: "",
18
+ awsAccessKeyId: "",
19
+ awsSecretAccessKey: "",
20
+ awsEndpoint: "",
21
+ azureAccountName: "",
22
+ azureAccountKey: "",
23
+ azureContainerName: "",
24
+ sftpHost: "",
25
+ sftpPort: "22",
26
+ sftpUsername: "",
27
+ sftpPassword: "",
28
+ sftpBasePath: "",
29
+ localBasePath: ""
30
30
  };
31
- class StorageConfigFormComponent extends BaseStoragePage {
32
- route = inject(ActivatedRoute);
33
- configService = inject(StorageConfigApiService);
34
- translateService = inject(TranslateService);
35
- routeParams = toSignal(this.route.paramMap);
36
- initialized = false;
37
- fileLocationEnum = FileLocationEnum;
38
- storageProviderOptions = STORAGE_PROVIDER_OPTIONS;
39
- existingConfig = signal(null, /* @ts-ignore */
40
- ...(ngDevMode ? [{ debugName: "existingConfig" }] : /* istanbul ignore next */ []));
41
- isEditMode = computed(() => !!this.existingConfig(), /* @ts-ignore */
42
- ...(ngDevMode ? [{ debugName: "isEditMode" }] : /* istanbul ignore next */ []));
43
- formModel = signal({
44
- ...DEFAULT_FORM_MODEL,
45
- }, /* @ts-ignore */
46
- ...(ngDevMode ? [{ debugName: "formModel" }] : /* istanbul ignore next */ []));
47
- configForm = form(this.formModel, (f) => {
48
- required(f.name, {
49
- message: this.translateService.translate('storage.validation.config.name.required'),
50
- });
51
- });
52
- selectedProvider = computed(() => this.formModel().storage, /* @ts-ignore */
53
- ...(ngDevMode ? [{ debugName: "selectedProvider" }] : /* istanbul ignore next */ []));
54
- isFormValid = computed(() => this.formModel().name.trim().length > 0, /* @ts-ignore */
55
- ...(ngDevMode ? [{ debugName: "isFormValid" }] : /* istanbul ignore next */ []));
56
- constructor() {
57
- super();
58
- effect(() => {
59
- const params = this.routeParams();
60
- if (!params || this.initialized)
61
- return;
62
- this.initialized = true;
63
- const configId = params.get('id');
64
- if (configId && configId !== 'new') {
65
- this.loadConfig(configId);
66
- }
67
- });
68
- }
69
- async loadConfig(id) {
70
- this.isLoading.set(true);
71
- try {
72
- const response = await this.configService.findById(id);
73
- if (response.success && response.data) {
74
- const config = response.data;
75
- this.existingConfig.set(config);
76
- this.formModel.update((m) => ({
77
- ...m,
78
- id: config.id,
79
- name: config.name,
80
- storage: config.storage,
81
- isActive: config.isActive ?? true,
82
- isDefault: config.isDefault ?? false,
83
- ...this.extractProviderConfig(config),
84
- }));
85
- }
86
- }
87
- catch {
88
- this.navigateTo(['/storage/configs']);
89
- }
90
- finally {
91
- this.isLoading.set(false);
92
- }
93
- }
94
- async onSubmit(event) {
95
- event.preventDefault();
96
- if (!this.isFormValid())
97
- return;
98
- this.isLoading.set(true);
99
- try {
100
- const formValue = this.formModel();
101
- const config = this.buildProviderConfig(formValue);
102
- const response = this.isEditMode()
103
- ? await this.configService.update({
104
- id: formValue.id,
105
- name: formValue.name,
106
- storage: formValue.storage,
107
- config,
108
- isActive: formValue.isActive,
109
- isDefault: formValue.isDefault,
110
- })
111
- : await this.configService.insert({
112
- name: formValue.name,
113
- storage: formValue.storage,
114
- config,
115
- isActive: formValue.isActive,
116
- isDefault: formValue.isDefault,
117
- });
118
- this.showSuccess(response.messageKey
119
- ? this.translateService.translate(response.messageKey, response.messageVariables)
120
- : (response.message ?? ''));
121
- this.navigateTo(['/storage/configs']);
122
- }
123
- catch {
124
- }
125
- finally {
126
- this.isLoading.set(false);
127
- }
128
- }
129
- onCancel() {
130
- this.navigateTo(['/storage/configs']);
131
- }
132
- extractProviderConfig(config) {
133
- const c = config.config ?? {};
134
- switch (config.storage) {
135
- case FileLocationEnum.AWS:
136
- return {
137
- awsRegion: c['region'] || '',
138
- awsBucket: c['bucket'] || '',
139
- awsAccessKeyId: c['accessKeyId'] || '',
140
- awsSecretAccessKey: c['secretAccessKey'] || '',
141
- awsEndpoint: c['endpoint'] || '',
142
- };
143
- case FileLocationEnum.AZURE:
144
- return {
145
- azureAccountName: c['accountName'] || '',
146
- azureAccountKey: c['accountKey'] || '',
147
- azureContainerName: c['containerName'] || '',
148
- };
149
- case FileLocationEnum.SFTP:
150
- return {
151
- sftpHost: c['host'] || '',
152
- sftpPort: (c['port'] || 22).toString(),
153
- sftpUsername: c['username'] || '',
154
- sftpPassword: c['password'] || '',
155
- sftpBasePath: c['basePath'] || '',
156
- };
157
- case FileLocationEnum.LOCAL:
158
- return { localBasePath: c['basePath'] || '' };
159
- default:
160
- return {};
161
- }
162
- }
163
- buildProviderConfig(formValue) {
164
- switch (formValue.storage) {
165
- case FileLocationEnum.AWS:
166
- return {
167
- region: formValue.awsRegion,
168
- bucket: formValue.awsBucket,
169
- accessKeyId: formValue.awsAccessKeyId,
170
- secretAccessKey: formValue.awsSecretAccessKey,
171
- ...(formValue.awsEndpoint && { endpoint: formValue.awsEndpoint }),
172
- };
173
- case FileLocationEnum.AZURE:
174
- return {
175
- accountName: formValue.azureAccountName,
176
- accountKey: formValue.azureAccountKey,
177
- containerName: formValue.azureContainerName,
178
- };
179
- case FileLocationEnum.SFTP:
180
- return {
181
- host: formValue.sftpHost,
182
- port: formValue.sftpPort ? parseInt(formValue.sftpPort, 10) : 22,
183
- username: formValue.sftpUsername,
184
- password: formValue.sftpPassword,
185
- basePath: formValue.sftpBasePath,
186
- };
187
- case FileLocationEnum.LOCAL:
188
- return { basePath: formValue.localBasePath };
189
- default:
190
- return {};
191
- }
192
- }
193
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: StorageConfigFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
194
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: StorageConfigFormComponent, isStandalone: true, selector: "lib-storage-config-form", usesInheritance: true, ngImport: i0, template: `
31
+ var StorageConfigFormComponent = class StorageConfigFormComponent extends BaseStoragePage {
32
+ route = inject(ActivatedRoute);
33
+ configService = inject(StorageConfigApiService);
34
+ translateService = inject(TranslateService);
35
+ routeParams = toSignal(this.route.paramMap);
36
+ initialized = false;
37
+ fileLocationEnum = FileLocationEnum;
38
+ storageProviderOptions = STORAGE_PROVIDER_OPTIONS;
39
+ existingConfig = signal(null, ...ngDevMode ? [{ debugName: "existingConfig" }] : /* istanbul ignore next */ []);
40
+ isEditMode = computed(() => !!this.existingConfig(), ...ngDevMode ? [{ debugName: "isEditMode" }] : /* istanbul ignore next */ []);
41
+ formModel = signal({ ...DEFAULT_FORM_MODEL }, ...ngDevMode ? [{ debugName: "formModel" }] : /* istanbul ignore next */ []);
42
+ configForm = form(this.formModel, (f) => {
43
+ required(f.name, { message: this.translateService.translate("storage.validation.config.name.required") });
44
+ });
45
+ selectedProvider = computed(() => this.formModel().storage, ...ngDevMode ? [{ debugName: "selectedProvider" }] : /* istanbul ignore next */ []);
46
+ isFormValid = computed(() => this.formModel().name.trim().length > 0, ...ngDevMode ? [{ debugName: "isFormValid" }] : /* istanbul ignore next */ []);
47
+ constructor() {
48
+ super();
49
+ effect(() => {
50
+ const params = this.routeParams();
51
+ if (!params || this.initialized) return;
52
+ this.initialized = true;
53
+ const configId = params.get("id");
54
+ if (configId && configId !== "new") this.loadConfig(configId);
55
+ });
56
+ }
57
+ async loadConfig(id) {
58
+ this.isLoading.set(true);
59
+ try {
60
+ const response = await this.configService.findById(id);
61
+ if (response.success && response.data) {
62
+ const config = response.data;
63
+ this.existingConfig.set(config);
64
+ this.formModel.update((m) => ({
65
+ ...m,
66
+ id: config.id,
67
+ name: config.name,
68
+ storage: config.storage,
69
+ isActive: config.isActive ?? true,
70
+ isDefault: config.isDefault ?? false,
71
+ ...this.extractProviderConfig(config)
72
+ }));
73
+ }
74
+ } catch {
75
+ this.navigateTo(["/storage/configs"]);
76
+ } finally {
77
+ this.isLoading.set(false);
78
+ }
79
+ }
80
+ async onSubmit(event) {
81
+ event.preventDefault();
82
+ if (!this.isFormValid()) return;
83
+ this.isLoading.set(true);
84
+ try {
85
+ const formValue = this.formModel();
86
+ const config = this.buildProviderConfig(formValue);
87
+ const response = this.isEditMode() ? await this.configService.update({
88
+ id: formValue.id,
89
+ name: formValue.name,
90
+ storage: formValue.storage,
91
+ config,
92
+ isActive: formValue.isActive,
93
+ isDefault: formValue.isDefault
94
+ }) : await this.configService.insert({
95
+ name: formValue.name,
96
+ storage: formValue.storage,
97
+ config,
98
+ isActive: formValue.isActive,
99
+ isDefault: formValue.isDefault
100
+ });
101
+ this.showSuccess(response.messageKey ? this.translateService.translate(response.messageKey, response.messageVariables) : response.message ?? "");
102
+ this.navigateTo(["/storage/configs"]);
103
+ } catch {} finally {
104
+ this.isLoading.set(false);
105
+ }
106
+ }
107
+ onCancel() {
108
+ this.navigateTo(["/storage/configs"]);
109
+ }
110
+ extractProviderConfig(config) {
111
+ const c = config.config ?? {};
112
+ switch (config.storage) {
113
+ case FileLocationEnum.AWS: return {
114
+ awsRegion: c["region"] || "",
115
+ awsBucket: c["bucket"] || "",
116
+ awsAccessKeyId: c["accessKeyId"] || "",
117
+ awsSecretAccessKey: c["secretAccessKey"] || "",
118
+ awsEndpoint: c["endpoint"] || ""
119
+ };
120
+ case FileLocationEnum.AZURE: return {
121
+ azureAccountName: c["accountName"] || "",
122
+ azureAccountKey: c["accountKey"] || "",
123
+ azureContainerName: c["containerName"] || ""
124
+ };
125
+ case FileLocationEnum.SFTP: return {
126
+ sftpHost: c["host"] || "",
127
+ sftpPort: (c["port"] || 22).toString(),
128
+ sftpUsername: c["username"] || "",
129
+ sftpPassword: c["password"] || "",
130
+ sftpBasePath: c["basePath"] || ""
131
+ };
132
+ case FileLocationEnum.LOCAL: return { localBasePath: c["basePath"] || "" };
133
+ default: return {};
134
+ }
135
+ }
136
+ buildProviderConfig(formValue) {
137
+ switch (formValue.storage) {
138
+ case FileLocationEnum.AWS: return {
139
+ region: formValue.awsRegion,
140
+ bucket: formValue.awsBucket,
141
+ accessKeyId: formValue.awsAccessKeyId,
142
+ secretAccessKey: formValue.awsSecretAccessKey,
143
+ ...formValue.awsEndpoint && { endpoint: formValue.awsEndpoint }
144
+ };
145
+ case FileLocationEnum.AZURE: return {
146
+ accountName: formValue.azureAccountName,
147
+ accountKey: formValue.azureAccountKey,
148
+ containerName: formValue.azureContainerName
149
+ };
150
+ case FileLocationEnum.SFTP: return {
151
+ host: formValue.sftpHost,
152
+ port: formValue.sftpPort ? parseInt(formValue.sftpPort, 10) : 22,
153
+ username: formValue.sftpUsername,
154
+ password: formValue.sftpPassword,
155
+ basePath: formValue.sftpBasePath
156
+ };
157
+ case FileLocationEnum.LOCAL: return { basePath: formValue.localBasePath };
158
+ default: return {};
159
+ }
160
+ }
161
+ static ɵfac = i0.ɵɵngDeclareFactory({
162
+ minVersion: "12.0.0",
163
+ version: "22.2.1",
164
+ ngImport: i0,
165
+ type: StorageConfigFormComponent,
166
+ deps: [],
167
+ target: i0.ɵɵFactoryTarget.Component
168
+ });
169
+ static ɵcmp = i0.ɵɵngDeclareComponent({
170
+ minVersion: "17.0.0",
171
+ version: "22.2.1",
172
+ type: StorageConfigFormComponent,
173
+ isStandalone: true,
174
+ selector: "lib-storage-config-form",
175
+ usesInheritance: true,
176
+ ngImport: i0,
177
+ template: `
195
178
  <div class="card">
196
179
  <h3 class="text-lg sm:text-xl font-semibold mb-4">
197
180
  {{
@@ -525,23 +508,193 @@ class StorageConfigFormComponent extends BaseStoragePage {
525
508
  </div>
526
509
  </form>
527
510
  </div>
528
- `, isInline: true, dependencies: [{ kind: "directive", type: InputTextDirective, selector: "[fInputText]", inputs: ["invalid", "touched", "variant", "size", "fluid"] }, { kind: "component", type: PasswordComponent, selector: "f-password", inputs: ["toggleMask", "feedback", "disabled", "placeholder", "inputId", "invalid", "touched", "inputStyleClass", "styleClass", "style", "ariaDescribedby", "autocomplete", "variant", "size", "fluid", "appendTo", "promptLabel", "weakLabel", "mediumLabel", "strongLabel", "mediumRegex", "strongRegex"], outputs: ["onBlur", "onFocus"] }, { kind: "component", type: SelectComponent, selector: "f-select", inputs: ["options", "optionLabel", "optionValue", "placeholder", "disabled", "filter", "filterBy", "filterMatchMode", "filterLocale", "filterPlaceholder", "resetFilterOnHide", "autofocusFilter", "emptyMessage", "emptyFilterMessage", "showClear", "loading", "loadingIcon", "dropdownIcon", "clearIcon", "inputId", "invalid", "touched", "styleClass", "style", "appendTo", "editable", "readonly", "autofocus", "checkmark", "group", "optionGroupLabel", "optionGroupChildren", "virtualScroll", "virtualScrollItemSize", "lazy", "selectedObject"], outputs: ["onFilter", "onChange", "onShow", "onHide", "onBlur", "onFocus", "onClear", "onLazyLoad"] }, { kind: "component", type: ToggleSwitchComponent, selector: "f-toggleswitch", inputs: ["disabled", "readonly", "invalid", "ariaLabel", "trueValue", "falseValue", "inputId", "size", "tabindex", "styleClass", "style"] }, { kind: "directive", type: FButtonDirective, selector: "[fButton]", inputs: ["severity", "text", "outlined", "link", "variant", "rounded", "raised", "fluid", "disabled", "loading", "loadingIcon", "size", "label", "icon", "iconPos", "ariaLabel", "plain"] }, { kind: "component", type: UiIconComponent, selector: "ui-icon", inputs: ["name", "size", "spin", "fill", "severity"] }, { kind: "directive", type: FormField, selector: "[formField]", inputs: ["formField"], exportAs: ["formField"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] });
529
- }
530
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: StorageConfigFormComponent, decorators: [{
531
- type: Component,
532
- args: [{
533
- selector: 'lib-storage-config-form',
534
- imports: [
535
- InputTextDirective,
536
- PasswordComponent,
537
- SelectComponent,
538
- ToggleSwitchComponent,
539
- FButtonDirective,
540
- UiIconComponent,
541
- FormField,
542
- TranslatePipe,
543
- ],
544
- template: `
511
+ `,
512
+ isInline: true,
513
+ dependencies: [
514
+ {
515
+ kind: "directive",
516
+ type: InputTextDirective,
517
+ selector: "[fInputText]",
518
+ inputs: [
519
+ "invalid",
520
+ "touched",
521
+ "variant",
522
+ "size",
523
+ "fluid"
524
+ ]
525
+ },
526
+ {
527
+ kind: "component",
528
+ type: PasswordComponent,
529
+ selector: "f-password",
530
+ inputs: [
531
+ "toggleMask",
532
+ "feedback",
533
+ "disabled",
534
+ "placeholder",
535
+ "inputId",
536
+ "invalid",
537
+ "touched",
538
+ "inputStyleClass",
539
+ "styleClass",
540
+ "style",
541
+ "ariaDescribedby",
542
+ "autocomplete",
543
+ "variant",
544
+ "size",
545
+ "fluid",
546
+ "appendTo",
547
+ "promptLabel",
548
+ "weakLabel",
549
+ "mediumLabel",
550
+ "strongLabel",
551
+ "mediumRegex",
552
+ "strongRegex"
553
+ ],
554
+ outputs: ["onBlur", "onFocus"]
555
+ },
556
+ {
557
+ kind: "component",
558
+ type: SelectComponent,
559
+ selector: "f-select",
560
+ inputs: [
561
+ "options",
562
+ "optionLabel",
563
+ "optionValue",
564
+ "placeholder",
565
+ "disabled",
566
+ "filter",
567
+ "filterBy",
568
+ "filterMatchMode",
569
+ "filterLocale",
570
+ "filterPlaceholder",
571
+ "resetFilterOnHide",
572
+ "autofocusFilter",
573
+ "emptyMessage",
574
+ "emptyFilterMessage",
575
+ "showClear",
576
+ "loading",
577
+ "loadingIcon",
578
+ "dropdownIcon",
579
+ "clearIcon",
580
+ "inputId",
581
+ "invalid",
582
+ "touched",
583
+ "styleClass",
584
+ "style",
585
+ "appendTo",
586
+ "editable",
587
+ "readonly",
588
+ "autofocus",
589
+ "checkmark",
590
+ "group",
591
+ "optionGroupLabel",
592
+ "optionGroupChildren",
593
+ "virtualScroll",
594
+ "virtualScrollItemSize",
595
+ "lazy",
596
+ "selectedObject"
597
+ ],
598
+ outputs: [
599
+ "onFilter",
600
+ "onChange",
601
+ "onShow",
602
+ "onHide",
603
+ "onBlur",
604
+ "onFocus",
605
+ "onClear",
606
+ "onLazyLoad"
607
+ ]
608
+ },
609
+ {
610
+ kind: "component",
611
+ type: ToggleSwitchComponent,
612
+ selector: "f-toggleswitch",
613
+ inputs: [
614
+ "disabled",
615
+ "readonly",
616
+ "invalid",
617
+ "ariaLabel",
618
+ "trueValue",
619
+ "falseValue",
620
+ "inputId",
621
+ "size",
622
+ "tabindex",
623
+ "styleClass",
624
+ "style"
625
+ ]
626
+ },
627
+ {
628
+ kind: "directive",
629
+ type: FButtonDirective,
630
+ selector: "[fButton]",
631
+ inputs: [
632
+ "severity",
633
+ "text",
634
+ "outlined",
635
+ "link",
636
+ "variant",
637
+ "rounded",
638
+ "raised",
639
+ "fluid",
640
+ "disabled",
641
+ "loading",
642
+ "loadingIcon",
643
+ "size",
644
+ "label",
645
+ "icon",
646
+ "iconPos",
647
+ "ariaLabel",
648
+ "plain"
649
+ ]
650
+ },
651
+ {
652
+ kind: "component",
653
+ type: UiIconComponent,
654
+ selector: "ui-icon",
655
+ inputs: [
656
+ "name",
657
+ "size",
658
+ "spin",
659
+ "fill",
660
+ "severity"
661
+ ]
662
+ },
663
+ {
664
+ kind: "directive",
665
+ type: FormField,
666
+ selector: "[formField]",
667
+ inputs: ["formField"],
668
+ exportAs: ["formField"]
669
+ },
670
+ {
671
+ kind: "pipe",
672
+ type: TranslatePipe,
673
+ name: "translate"
674
+ }
675
+ ]
676
+ });
677
+ };
678
+ i0.ɵɵngDeclareClassMetadata({
679
+ minVersion: "12.0.0",
680
+ version: "22.2.1",
681
+ ngImport: i0,
682
+ type: StorageConfigFormComponent,
683
+ decorators: [{
684
+ type: Component,
685
+ args: [{
686
+ selector: "lib-storage-config-form",
687
+ imports: [
688
+ InputTextDirective,
689
+ PasswordComponent,
690
+ SelectComponent,
691
+ ToggleSwitchComponent,
692
+ FButtonDirective,
693
+ UiIconComponent,
694
+ FormField,
695
+ TranslatePipe
696
+ ],
697
+ template: `
545
698
  <div class="card">
546
699
  <h3 class="text-lg sm:text-xl font-semibold mb-4">
547
700
  {{
@@ -875,9 +1028,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
875
1028
  </div>
876
1029
  </form>
877
1030
  </div>
878
- `,
879
- }]
880
- }], ctorParameters: () => [] });
881
-
1031
+ `
1032
+ }]
1033
+ }],
1034
+ ctorParameters: () => []
1035
+ });
882
1036
  export { StorageConfigFormComponent };
883
- //# sourceMappingURL=flusys-ng-storage-storage-config-form.component-B4wBfzVs.mjs.map
1037
+
1038
+ //# sourceMappingURL=flusys-ng-storage-storage-config-form.component-De5h8JY-.mjs.map