@acorex/modules 19.4.2 → 19.4.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.
Files changed (53) hide show
  1. package/document-management/lib/entities/folder/folder.types.d.ts +2 -0
  2. package/document-management/lib/features/document-explorer/components/create-folder-dialog/create-folder-dialog.component.d.ts +2 -1
  3. package/document-management/lib/features/document-explorer/document-explorer.component.d.ts +0 -1
  4. package/document-management/lib/features/drive-choose/slots/file-uploader-widget-extension/file-uploader-widget-extension.component.d.ts +10 -3
  5. package/document-management/lib/features/shared/components/index.d.ts +0 -1
  6. package/document-management/lib/features/shared/document-manager.service.d.ts +0 -2
  7. package/document-management/lib/features/shared/document-manager.types.d.ts +1 -0
  8. package/fesm2022/acorex-modules-application-management-module-designer.component-BJp8imYd.mjs +315 -0
  9. package/fesm2022/acorex-modules-application-management-module-designer.component-BJp8imYd.mjs.map +1 -0
  10. package/fesm2022/acorex-modules-application-management.mjs +1 -1
  11. package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-MoAj_IYQ.mjs → acorex-modules-document-management-acorex-modules-document-management-BpmG6Dyx.mjs} +86 -145
  12. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-BpmG6Dyx.mjs.map +1 -0
  13. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-DhGDpLBA.mjs → acorex-modules-document-management-attachment-widget.component-DIF_t4fE.mjs} +2 -2
  14. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-DhGDpLBA.mjs.map → acorex-modules-document-management-attachment-widget.component-DIF_t4fE.mjs.map} +1 -1
  15. package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-CCvKUDsw.mjs +141 -0
  16. package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-CCvKUDsw.mjs.map +1 -0
  17. package/fesm2022/{acorex-modules-document-management-details-view.component-CIJ5IBHD.mjs → acorex-modules-document-management-details-view.component-D0RIYrHB.mjs} +2 -2
  18. package/fesm2022/{acorex-modules-document-management-details-view.component-CIJ5IBHD.mjs.map → acorex-modules-document-management-details-view.component-D0RIYrHB.mjs.map} +1 -1
  19. package/fesm2022/{acorex-modules-document-management-drive-choose.component-C5JuGFud.mjs → acorex-modules-document-management-drive-choose.component-DMAQr0nK.mjs} +4 -4
  20. package/fesm2022/{acorex-modules-document-management-drive-choose.component-C5JuGFud.mjs.map → acorex-modules-document-management-drive-choose.component-DMAQr0nK.mjs.map} +1 -1
  21. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-brzJaGRC.mjs → acorex-modules-document-management-large-icons-view.component-C686Ec7s.mjs} +2 -2
  22. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-brzJaGRC.mjs.map → acorex-modules-document-management-large-icons-view.component-C686Ec7s.mjs.map} +1 -1
  23. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-DYfROtQ9.mjs → acorex-modules-document-management-large-tiles-view.component-0GpMVYv5.mjs} +2 -2
  24. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-DYfROtQ9.mjs.map → acorex-modules-document-management-large-tiles-view.component-0GpMVYv5.mjs.map} +1 -1
  25. package/fesm2022/{acorex-modules-document-management-list-view.component-DZBjqWfy.mjs → acorex-modules-document-management-list-view.component-C1inszTC.mjs} +2 -2
  26. package/fesm2022/{acorex-modules-document-management-list-view.component-DZBjqWfy.mjs.map → acorex-modules-document-management-list-view.component-C1inszTC.mjs.map} +1 -1
  27. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-DoVsp7nL.mjs → acorex-modules-document-management-permission-definition.provider-B7lgRLHi.mjs} +2 -2
  28. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-DoVsp7nL.mjs.map → acorex-modules-document-management-permission-definition.provider-B7lgRLHi.mjs.map} +1 -1
  29. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-BkilWP6k.mjs → acorex-modules-document-management-rename-node-dialog.component-C9k8WgDG.mjs} +6 -6
  30. package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-C9k8WgDG.mjs.map +1 -0
  31. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-Cx5uqw7R.mjs → acorex-modules-document-management-small-icons-view.component-BGcUzNCv.mjs} +2 -2
  32. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-Cx5uqw7R.mjs.map → acorex-modules-document-management-small-icons-view.component-BGcUzNCv.mjs.map} +1 -1
  33. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-Cs3CLt7l.mjs → acorex-modules-document-management-small-tiles-view.component-CumumWvO.mjs} +2 -2
  34. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-Cs3CLt7l.mjs.map → acorex-modules-document-management-small-tiles-view.component-CumumWvO.mjs.map} +1 -1
  35. package/fesm2022/acorex-modules-document-management.mjs +1 -1
  36. package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-C9wUvVuk.mjs → acorex-modules-platform-management-acorex-modules-platform-management-C9ZApxct.mjs} +5 -8
  37. package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-C9ZApxct.mjs.map +1 -0
  38. package/fesm2022/{acorex-modules-platform-management-list-version.component-BGhETw3U.mjs → acorex-modules-platform-management-list-version.component-D50Xundj.mjs} +2 -2
  39. package/fesm2022/{acorex-modules-platform-management-list-version.component-BGhETw3U.mjs.map → acorex-modules-platform-management-list-version.component-D50Xundj.mjs.map} +1 -1
  40. package/fesm2022/{acorex-modules-platform-management-settings.provider-C327XLKW.mjs → acorex-modules-platform-management-settings.provider-DsHGn3AZ.mjs} +2 -2
  41. package/fesm2022/{acorex-modules-platform-management-settings.provider-C327XLKW.mjs.map → acorex-modules-platform-management-settings.provider-DsHGn3AZ.mjs.map} +1 -1
  42. package/fesm2022/acorex-modules-platform-management.mjs +1 -1
  43. package/fesm2022/acorex-modules-training-management.mjs +1 -1
  44. package/fesm2022/acorex-modules-training-management.mjs.map +1 -1
  45. package/package.json +20 -20
  46. package/document-management/lib/features/shared/components/choose-document-type/choose-document-type.component.d.ts +0 -21
  47. package/fesm2022/acorex-modules-application-management-module-designer.component-cD24pUfN.mjs +0 -315
  48. package/fesm2022/acorex-modules-application-management-module-designer.component-cD24pUfN.mjs.map +0 -1
  49. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-MoAj_IYQ.mjs.map +0 -1
  50. package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-5sFKSWlW.mjs +0 -135
  51. package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-5sFKSWlW.mjs.map +0 -1
  52. package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-BkilWP6k.mjs.map +0 -1
  53. package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-C9wUvVuk.mjs.map +0 -1
@@ -1,135 +0,0 @@
1
- import * as i2$2 from '@acorex/components/button';
2
- import { AXButtonModule } from '@acorex/components/button';
3
- import * as i8 from '@acorex/components/color-box';
4
- import { AXColorBoxModule } from '@acorex/components/color-box';
5
- import { AXDataSource, AXAutoFocusDirective } from '@acorex/cdk/common';
6
- import * as i2$1 from '@acorex/components/decorators';
7
- import { AXDecoratorModule } from '@acorex/components/decorators';
8
- import * as i3 from '@acorex/components/form';
9
- import { AXFormModule } from '@acorex/components/form';
10
- import * as i4$1 from '@acorex/components/label';
11
- import { AXLabelModule } from '@acorex/components/label';
12
- import * as i10 from '@acorex/components/loading';
13
- import { AXLoadingModule } from '@acorex/components/loading';
14
- import { AXBasePageComponent } from '@acorex/components/page';
15
- import * as i1$1 from '@acorex/components/select-box';
16
- import { AXSelectBoxModule } from '@acorex/components/select-box';
17
- import * as i4 from '@acorex/components/text-box';
18
- import { AXTextBoxModule } from '@acorex/components/text-box';
19
- import * as i4$2 from '@acorex/core/translation';
20
- import { AXTranslationModule } from '@acorex/core/translation';
21
- import * as i1 from '@angular/common';
22
- import { CommonModule } from '@angular/common';
23
- import * as i0 from '@angular/core';
24
- import { inject, model, signal, Component } from '@angular/core';
25
- import * as i2 from '@angular/forms';
26
- import { FormsModule } from '@angular/forms';
27
- import { a as AXMDocumentManagerService, b as AXMDocumentTypeService } from './acorex-modules-document-management-acorex-modules-document-management-MoAj_IYQ.mjs';
28
-
29
- class AXMCreateFolderDialog extends AXBasePageComponent {
30
- constructor() {
31
- super(...arguments);
32
- this.driveService = inject(AXMDocumentManagerService);
33
- this.documentTypeService = inject(AXMDocumentTypeService);
34
- this.name = model('');
35
- this.color = model('#FFFFFF');
36
- this.description = model('');
37
- this.selectedDocumentTypes = signal([]);
38
- this.dataSource = new AXDataSource({
39
- load: async (_) => {
40
- try {
41
- const res = (await this.documentTypeService.query());
42
- return res;
43
- }
44
- catch (e) {
45
- console.log(e);
46
- }
47
- return {
48
- items: [],
49
- total: 0,
50
- };
51
- },
52
- pageSize: 100,
53
- });
54
- }
55
- ngOnInit() {
56
- if (this.defaultValue != null) {
57
- this.selectedDocumentTypes.set(this.defaultValue.documentTypes ?? []);
58
- this.name.set(this.defaultValue.name);
59
- this.description.set(this.defaultValue.description ?? '');
60
- }
61
- }
62
- handleValueChange(event) {
63
- this.selectedDocumentTypes.set(event.component.selectedItems);
64
- }
65
- async handleSubmitButton(form) {
66
- this.isLoading = true;
67
- const validated = await form.validate();
68
- if (validated.result) {
69
- try {
70
- let folder;
71
- if (this.defaultValue != null) {
72
- folder = await this.driveService.updateFolder(this.defaultValue.id, {
73
- name: this.name(),
74
- color: this.color(),
75
- description: this.description(),
76
- documentTypes: this.selectedDocumentTypes(),
77
- });
78
- }
79
- else {
80
- folder = await this.driveService.createFolder({
81
- name: this.name(),
82
- color: this.color(),
83
- parentId: this.parentId,
84
- description: this.description(),
85
- documentTypes: this.selectedDocumentTypes(),
86
- size: 0,
87
- });
88
- }
89
- this.close({
90
- result: true,
91
- folder,
92
- });
93
- }
94
- catch (error) {
95
- console.error('Error creating folder:', error);
96
- }
97
- finally {
98
- this.isLoading = false;
99
- }
100
- }
101
- else {
102
- this.isLoading = false;
103
- }
104
- }
105
- onCancel() {
106
- this.close({
107
- result: false,
108
- });
109
- }
110
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXMCreateFolderDialog, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
111
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: AXMCreateFolderDialog, isStandalone: true, selector: "ax-create-folder-dialog", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { name: "nameChange", color: "colorChange", description: "descriptionChange" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-p-4\">\n <ax-form #form>\n <div class=\"ax-flex ax-flex-col ax-gap-4\">\n <ax-form-field>\n <ax-label>\n {{ 'name' | translate | async }}\n </ax-label>\n <ax-text-box [(ngModel)]=\"name\" class=\"ax-input ax-w-full\" [axAutoFocus]=\"true\">\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-text-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>\n {{ 'description' | translate | async }}\n </ax-label>\n <ax-text-box [(ngModel)]=\"description\" class=\"ax-input ax-w-full\"> </ax-text-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>\n {{ 'documentTypes' | translate | async }}\n </ax-label>\n <ax-select-box\n [dataSource]=\"dataSource\"\n valueField=\"name\"\n textField=\"title\"\n [multiple]=\"true\"\n (onValueChanged)=\"handleValueChange($event)\"\n [ngModel]=\"selectedDocumentTypes()\"\n />\n </ax-form-field>\n <ax-form-field>\n <ax-label>\n {{ 'color' | translate | async }}\n </ax-label>\n <ax-color-box [(ngModel)]=\"color\" class=\"ax-w-full\">\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-color-box>\n </ax-form-field>\n <div class=\"ax-flex ax-justify-end ax-gap-2\"></div>\n </div>\n </ax-form>\n</div>\n<ax-footer>\n <ax-suffix>\n <ax-button (onClick)=\"onCancel()\" [text]=\"'cancel' | translate | async\"></ax-button>\n <ax-button look=\"solid\" color=\"secondary\" (onClick)=\"handleSubmitButton(form)\" [text]=\"'save' | translate | async\">\n @if(isLoading) {\n <ax-loading> </ax-loading>\n }\n </ax-button>\n </ax-suffix>\n</ax-footer>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type:
112
- //
113
- AXDecoratorModule }, { kind: "component", type: i2$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i4.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i4$1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2$2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i3.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "component", type: i3.AXFormComponent, selector: "ax-form", inputs: ["labelMode", "look", "messageStyle", "updateOn"], outputs: ["onValidate", "updateOnChange"] }, { kind: "directive", type: i3.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: AXColorBoxModule }, { kind: "component", type: i8.AXColorBoxComponent, selector: "ax-color-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "showBadge", "showValue", "showClearButton", "showIcon"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i4$2.AXTranslatorPipe, name: "translate" }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i10.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "directive", type: AXAutoFocusDirective, selector: "[axAutoFocus]", inputs: ["axAutoFocus", "axAutoFocusTime"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i1$1.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "disabledField", "textTemplate", "selectedItems", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }] }); }
114
- }
115
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXMCreateFolderDialog, decorators: [{
116
- type: Component,
117
- args: [{ selector: 'ax-create-folder-dialog', standalone: true, imports: [
118
- CommonModule,
119
- FormsModule,
120
- //
121
- AXDecoratorModule,
122
- AXTextBoxModule,
123
- AXLabelModule,
124
- AXButtonModule,
125
- AXFormModule,
126
- AXColorBoxModule,
127
- AXTranslationModule,
128
- AXLoadingModule,
129
- AXAutoFocusDirective,
130
- AXSelectBoxModule,
131
- ], template: "<div class=\"ax-p-4\">\n <ax-form #form>\n <div class=\"ax-flex ax-flex-col ax-gap-4\">\n <ax-form-field>\n <ax-label>\n {{ 'name' | translate | async }}\n </ax-label>\n <ax-text-box [(ngModel)]=\"name\" class=\"ax-input ax-w-full\" [axAutoFocus]=\"true\">\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-text-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>\n {{ 'description' | translate | async }}\n </ax-label>\n <ax-text-box [(ngModel)]=\"description\" class=\"ax-input ax-w-full\"> </ax-text-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>\n {{ 'documentTypes' | translate | async }}\n </ax-label>\n <ax-select-box\n [dataSource]=\"dataSource\"\n valueField=\"name\"\n textField=\"title\"\n [multiple]=\"true\"\n (onValueChanged)=\"handleValueChange($event)\"\n [ngModel]=\"selectedDocumentTypes()\"\n />\n </ax-form-field>\n <ax-form-field>\n <ax-label>\n {{ 'color' | translate | async }}\n </ax-label>\n <ax-color-box [(ngModel)]=\"color\" class=\"ax-w-full\">\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-color-box>\n </ax-form-field>\n <div class=\"ax-flex ax-justify-end ax-gap-2\"></div>\n </div>\n </ax-form>\n</div>\n<ax-footer>\n <ax-suffix>\n <ax-button (onClick)=\"onCancel()\" [text]=\"'cancel' | translate | async\"></ax-button>\n <ax-button look=\"solid\" color=\"secondary\" (onClick)=\"handleSubmitButton(form)\" [text]=\"'save' | translate | async\">\n @if(isLoading) {\n <ax-loading> </ax-loading>\n }\n </ax-button>\n </ax-suffix>\n</ax-footer>\n" }]
132
- }] });
133
-
134
- export { AXMCreateFolderDialog };
135
- //# sourceMappingURL=acorex-modules-document-management-create-folder-dialog.component-5sFKSWlW.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"acorex-modules-document-management-create-folder-dialog.component-5sFKSWlW.mjs","sources":["../../../../libs/modules/document-management/src/lib/features/document-explorer/components/create-folder-dialog/create-folder-dialog.component.ts","../../../../libs/modules/document-management/src/lib/features/document-explorer/components/create-folder-dialog/create-folder-dialog.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXColorBoxModule } from '@acorex/components/color-box';\nimport { AXAutoFocusDirective, AXDataSource, AXValueChangedEvent } from '@acorex/cdk/common';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormComponent, AXFormModule } from '@acorex/components/form';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXBasePageComponent } from '@acorex/components/page';\nimport { AXSelectBoxModule } from '@acorex/components/select-box';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { CommonModule } from '@angular/common';\nimport { Component, inject, model, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXMDocumentTypeService } from '../../../../entities/document-type/document-type.service';\nimport { AXMDocumentManagementDocumentTypeEntityModel } from '../../../../entities/document-type/document-type.types';\nimport { AXMDocumentExplorerNode, AXMNodeType } from '../../../drive';\nimport { AXMDocumentManagerService } from '../../../shared';\n\ninterface QueryResult {\n items: AXMDocumentManagementDocumentTypeEntityModel[];\n total: number;\n}\n\n@Component({\n selector: 'ax-create-folder-dialog',\n standalone: true,\n imports: [\n CommonModule,\n FormsModule,\n //\n AXDecoratorModule,\n AXTextBoxModule,\n AXLabelModule,\n AXButtonModule,\n AXFormModule,\n AXColorBoxModule,\n AXTranslationModule,\n AXLoadingModule,\n AXAutoFocusDirective,\n AXSelectBoxModule,\n ],\n templateUrl: './create-folder-dialog.component.html',\n})\nexport class AXMCreateFolderDialog extends AXBasePageComponent {\n private driveService = inject(AXMDocumentManagerService);\n private documentTypeService = inject(AXMDocumentTypeService);\n\n defaultValue?: AXMDocumentExplorerNode;\n\n parentId?: string;\n\n protected name = model<string>('');\n protected color = model<string>('#FFFFFF');\n protected description = model<string>('');\n protected selectedDocumentTypes = signal<AXMNodeType[]>([]);\n\n protected dataSource = new AXDataSource({\n load: async (_) => {\n try {\n const res = (await this.documentTypeService.query()) as QueryResult;\n return res;\n } catch (e) {\n console.log(e);\n }\n return {\n items: [],\n total: 0,\n };\n },\n pageSize: 100,\n });\n\n protected override ngOnInit(): void {\n if (this.defaultValue != null) {\n this.selectedDocumentTypes.set(this.defaultValue.documentTypes ?? []);\n this.name.set(this.defaultValue.name);\n this.description.set(this.defaultValue.description ?? '');\n }\n }\n\n protected handleValueChange(event: AXValueChangedEvent) {\n this.selectedDocumentTypes.set(event.component.selectedItems);\n }\n\n async handleSubmitButton(form: AXFormComponent) {\n this.isLoading = true;\n const validated = await form.validate();\n if (validated.result) {\n try {\n let folder;\n if (this.defaultValue != null) {\n folder = await this.driveService.updateFolder(this.defaultValue.id, {\n name: this.name(),\n color: this.color(),\n description: this.description(),\n documentTypes: this.selectedDocumentTypes(),\n });\n } else {\n folder = await this.driveService.createFolder({\n name: this.name(),\n color: this.color(),\n parentId: this.parentId,\n description: this.description(),\n documentTypes: this.selectedDocumentTypes(),\n size: 0,\n });\n }\n\n this.close({\n result: true,\n folder,\n });\n } catch (error) {\n console.error('Error creating folder:', error);\n } finally {\n this.isLoading = false;\n }\n } else {\n this.isLoading = false;\n }\n }\n\n onCancel() {\n this.close({\n result: false,\n });\n }\n}\n","<div class=\"ax-p-4\">\n <ax-form #form>\n <div class=\"ax-flex ax-flex-col ax-gap-4\">\n <ax-form-field>\n <ax-label>\n {{ 'name' | translate | async }}\n </ax-label>\n <ax-text-box [(ngModel)]=\"name\" class=\"ax-input ax-w-full\" [axAutoFocus]=\"true\">\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-text-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>\n {{ 'description' | translate | async }}\n </ax-label>\n <ax-text-box [(ngModel)]=\"description\" class=\"ax-input ax-w-full\"> </ax-text-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>\n {{ 'documentTypes' | translate | async }}\n </ax-label>\n <ax-select-box\n [dataSource]=\"dataSource\"\n valueField=\"name\"\n textField=\"title\"\n [multiple]=\"true\"\n (onValueChanged)=\"handleValueChange($event)\"\n [ngModel]=\"selectedDocumentTypes()\"\n />\n </ax-form-field>\n <ax-form-field>\n <ax-label>\n {{ 'color' | translate | async }}\n </ax-label>\n <ax-color-box [(ngModel)]=\"color\" class=\"ax-w-full\">\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-color-box>\n </ax-form-field>\n <div class=\"ax-flex ax-justify-end ax-gap-2\"></div>\n </div>\n </ax-form>\n</div>\n<ax-footer>\n <ax-suffix>\n <ax-button (onClick)=\"onCancel()\" [text]=\"'cancel' | translate | async\"></ax-button>\n <ax-button look=\"solid\" color=\"secondary\" (onClick)=\"handleSubmitButton(form)\" [text]=\"'save' | translate | async\">\n @if(isLoading) {\n <ax-loading> </ax-loading>\n }\n </ax-button>\n </ax-suffix>\n</ax-footer>\n"],"names":["i5","i6","i7","i9","i11"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CM,MAAO,qBAAsB,SAAQ,mBAAmB,CAAA;AApB9D,IAAA,WAAA,GAAA;;AAqBU,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,yBAAyB,CAAC;AAChD,QAAA,IAAA,CAAA,mBAAmB,GAAG,MAAM,CAAC,sBAAsB,CAAC;AAMlD,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAS,EAAE,CAAC;AACxB,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAS,SAAS,CAAC;AAChC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAS,EAAE,CAAC;AAC/B,QAAA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A,EAAA,UAAA,EAAA,UAAA,EAAA,OAAA,EAAA,OAAA,EAAA,MAAA,EAAA,IAAA,EAAA,MAAA,EAAA,MAAA,EAAA,UAAA,EAAA,YAAA,EAAA,WAAA,EAAA,eAAA,EAAA,cAAA,EAAA,eAAA,EAAA,YAAA,EAAA,qBAAA,EAAA,SAAA,EAAA,cAAA,EAAA,kBAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,eAAA,EAAA,oBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,aAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,SAAA,EAAA,gBAAA,EAAA,gBAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAIR,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBApBjC,SAAS;+BACE,yBAAyB,EAAA,UAAA,EACvB,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,WAAW;;wBAEX,iBAAiB;wBACjB,eAAe;wBACf,aAAa;wBACb,cAAc;wBACd,YAAY;wBACZ,gBAAgB;wBAChB,mBAAmB;wBACnB,eAAe;wBACf,oBAAoB;wBACpB,iBAAiB;AAClB,qBAAA,EAAA,QAAA,EAAA,gyDAAA,EAAA;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"acorex-modules-document-management-rename-node-dialog.component-BkilWP6k.mjs","sources":["../../../../libs/modules/document-management/src/lib/features/document-explorer/components/rename-node-dialog/rename-node-dialog.component.ts","../../../../libs/modules/document-management/src/lib/features/document-explorer/components/rename-node-dialog/rename-node-dialog.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXColorBoxModule } from '@acorex/components/color-box';\nimport { AXAutoFocusDirective } from '@acorex/cdk/common';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormComponent, AXFormModule } from '@acorex/components/form';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXBasePageComponent } from '@acorex/components/page';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { CommonModule } from '@angular/common';\nimport { Component, inject, model } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXMDocumentManagerService } from '../../../shared/document-manager.service';\nimport { AXMDocumentExplorerNode } from '../../../shared/document-manager.types';\n@Component({\n selector: 'ax-rename-node-dialog',\n standalone: true,\n imports: [\n CommonModule,\n FormsModule,\n //\n AXDecoratorModule,\n AXTextBoxModule,\n AXLabelModule,\n AXButtonModule,\n AXFormModule,\n AXColorBoxModule,\n AXTranslationModule,\n AXLoadingModule,\n AXAutoFocusDirective,\n ],\n templateUrl: './rename-node-dialog.component.html',\n})\nexport class AXMRenameNodeDialog extends AXBasePageComponent {\n private driveService = inject(AXMDocumentManagerService);\n\n node: AXMDocumentExplorerNode;\n\n protected name = model<string>('');\n\n protected override ngOnInit(): void {\n super.ngOnInit();\n this.name.set(this.node.name);\n }\n\n async handleSubmitButton(form: AXFormComponent) {\n this.isLoading = true;\n const validated = await form.validate();\n if (validated.result) {\n try {\n if (this.node.type == 'folder') {\n const folder = await this.driveService.updateFolder(this.node.id, {\n name: this.name(),\n });\n this.close({\n result: true,\n folder,\n });\n } else {\n await this.driveService.updateFileName(this.node, this.name());\n const file = await this.driveService.updateFile(this.node.id, {\n name: this.name(),\n });\n this.close({\n result: true,\n file,\n });\n }\n } catch (error) {\n console.error('Error updating node:', error);\n } finally {\n this.isLoading = false;\n }\n } else {\n this.isLoading = false;\n }\n }\n\n onCancel() {\n this.close({\n result: false,\n });\n }\n}\n","<div class=\"ax-p-4\">\n <ax-form #form>\n <div class=\"ax-flex ax-flex-col ax-gap-4\">\n <ax-form-field>\n <ax-label>\n {{ 'name' | translate | async }}\n </ax-label>\n <ax-text-box [(ngModel)]=\"name\" class=\"ax-input ax-w-full\" [axAutoFocus]=\"true\">\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-text-box>\n </ax-form-field>\n <div class=\"ax-flex ax-justify-end ax-gap-2\"></div>\n </div>\n </ax-form>\n</div>\n<ax-footer>\n <ax-suffix>\n <ax-button (onClick)=\"onCancel()\" [text]=\"'cancel' | translate | async\"></ax-button>\n <ax-button look=\"solid\" color=\"secondary\" (onClick)=\"handleSubmitButton(form)\" [text]=\"'save' | translate | async\">\n @if(isLoading) {\n <ax-loading> </ax-loading>\n }\n </ax-button>\n </ax-suffix>\n</ax-footer>\n"],"names":["i3","i6","i7","i8"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAkCM,MAAO,mBAAoB,SAAQ,mBAAmB,CAAA;AAnB5D,IAAA,WAAA,GAAA;;AAoBU,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,yBAAyB,CAAC;AAI9C,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAS,EAAE,CAAC;AA6CnC;IA3CoB,QAAQ,GAAA;QACzB,KAAK,CAAC,QAAQ,EAAE;QAChB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;;IAG/B,MAAM,kBAAkB,CAAC,IAAqB,EAAA;AAC5C,QAAA,IAAI,CAAC,SAAS,GAAG,IAAI;AACrB,QAAA,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,QAAQ,EAAE;AACvC,QAAA,IAAI,SAAS,CAAC,MAAM,EAAE;AACpB,YAAA,IAAI;gBACF,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,QAAQ,EAAE;AAC9B,oBAAA,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;AAChE,wBAAA,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE;AAClB,qBAAA,CAAC;oBACF,IAAI,CAAC,KAAK,CAAC;AACT,wBAAA,MAAM,EAAE,IAAI;wBACZ,MAAM;AACP,qBAAA,CA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