@acorex/modules 19.2.15 → 19.2.16
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/common/README.md +3 -0
- package/common/index.d.ts +6 -0
- package/common/lib/common.module.d.ts +6 -0
- package/common/lib/const.d.ts +25 -0
- package/common/lib/entities/dashboard/dashboard.entity.d.ts +3 -0
- package/common/lib/entities/dashboard/dashboard.service.d.ts +10 -0
- package/common/lib/entities/dashboard/dashboard.types.d.ts +8 -0
- package/common/lib/entities/dashboard/index.d.ts +3 -0
- package/common/lib/entities/dashboard-widget-data/dashboard-widget-data.entity.d.ts +3 -0
- package/common/lib/entities/dashboard-widget-data/dashboard-widget-data.service.d.ts +10 -0
- package/common/lib/entities/dashboard-widget-data/dashboard-widget-data.types.d.ts +9 -0
- package/common/lib/entities/dashboard-widget-data/index.d.ts +3 -0
- package/common/lib/entities/index.d.ts +2 -0
- package/common/lib/entity.provider.d.ts +10 -0
- package/common/lib/features/home/dashboard-home.d.ts +5 -0
- package/common/lib/features/home/index.d.ts +1 -0
- package/common/lib/menu.provider.d.ts +5 -0
- package/common/lib/permission.provider.d.ts +4 -0
- package/common/lib/search-command.provider.d.ts +4 -0
- package/common/lib/setting.provider.d.ts +4 -0
- package/document-management/lib/entities/document/document.service.d.ts +7 -0
- package/document-management/lib/entities/folder/folder.service.d.ts +7 -0
- package/document-management/lib/features/document-explorer/components/rename-node-dialog/rename-node-dialog.component.d.ts +14 -0
- package/document-management/lib/features/document-explorer/document-explorer.component.d.ts +5 -3
- package/document-management/lib/features/drive/drive.component.d.ts +3 -2
- package/document-management/lib/features/shared/document-manager.service.d.ts +80 -1
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-column.component.d.ts +6 -0
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-edit.component.d.ts +6 -0
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-filter.component.d.ts +6 -0
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-print.component.d.ts +6 -0
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-view.component.d.ts +6 -0
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget.config.d.ts +7 -0
- package/document-management/lib/features/widgets/document-attachment/index.d.ts +6 -0
- package/document-management/lib/features/widgets/index.d.ts +1 -0
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-CZ_nTBkL.mjs → acorex-modules-auth-acorex-modules-auth-DTje3YIv.mjs} +8 -8
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-CZ_nTBkL.mjs.map → acorex-modules-auth-acorex-modules-auth-DTje3YIv.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-app-chooser.component-CGSygSjS.mjs → acorex-modules-auth-app-chooser.component-CZxX5-T_.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-CGSygSjS.mjs.map → acorex-modules-auth-app-chooser.component-CZxX5-T_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-B1sF3B_O.mjs → acorex-modules-auth-login.module-B9P2XpfQ.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-B1sF3B_O.mjs.map → acorex-modules-auth-login.module-B9P2XpfQ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-CK4nyS8D.mjs → acorex-modules-auth-master.layout-BYC0FYq1.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-CK4nyS8D.mjs.map → acorex-modules-auth-master.layout-BYC0FYq1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-DC_zi8bV.mjs → acorex-modules-auth-password.component-C7Yp-ioT.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-DC_zi8bV.mjs.map → acorex-modules-auth-password.component-C7Yp-ioT.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-DqvmIMDR.mjs → acorex-modules-auth-password.component-DzrYH4yM.mjs} +3 -3
- package/fesm2022/acorex-modules-auth-password.component-DzrYH4yM.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-routes-DwHgPrDP.mjs → acorex-modules-auth-routes-Bu-xB4O6.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-DwHgPrDP.mjs.map → acorex-modules-auth-routes-Bu-xB4O6.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-BatKQRdJ.mjs → acorex-modules-auth-two-factor.module-YRh6_YcG.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-BatKQRdJ.mjs.map → acorex-modules-auth-two-factor.module-YRh6_YcG.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-common-index-zaFxpV8u.mjs +14 -0
- package/fesm2022/acorex-modules-common-index-zaFxpV8u.mjs.map +1 -0
- package/fesm2022/acorex-modules-common.mjs +1095 -0
- package/fesm2022/acorex-modules-common.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-DagdBc6i.mjs +4242 -0
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-DagdBc6i.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-fNeqoZfY.mjs +91 -0
- package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-fNeqoZfY.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-C-eCtqLa.mjs +101 -0
- package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-C-eCtqLa.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management.mjs +1 -3093
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/package.json +5 -1
- package/fesm2022/acorex-modules-auth-password.component-DqvmIMDR.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-drive.component-bjnFFaLS.mjs +0 -951
- package/fesm2022/acorex-modules-document-management-drive.component-bjnFFaLS.mjs.map +0 -1
package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-fNeqoZfY.mjs
ADDED
@@ -0,0 +1,91 @@
|
|
1
|
+
import * as i2$1 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 * as i5 from '@acorex/components/decorators';
|
6
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
7
|
+
import * as i7 from '@acorex/components/form';
|
8
|
+
import { AXFormModule } from '@acorex/components/form';
|
9
|
+
import * as i5$1 from '@acorex/components/label';
|
10
|
+
import { AXLabelModule } from '@acorex/components/label';
|
11
|
+
import * as i10 from '@acorex/components/loading';
|
12
|
+
import { AXLoadingModule } from '@acorex/components/loading';
|
13
|
+
import { AXBasePageComponent } from '@acorex/components/page';
|
14
|
+
import * as i4 from '@acorex/components/text-box';
|
15
|
+
import { AXTextBoxModule } from '@acorex/components/text-box';
|
16
|
+
import * as i4$1 from '@acorex/core/translation';
|
17
|
+
import { AXTranslationModule } from '@acorex/core/translation';
|
18
|
+
import * as i1 from '@angular/common';
|
19
|
+
import { CommonModule } from '@angular/common';
|
20
|
+
import * as i0 from '@angular/core';
|
21
|
+
import { inject, model, Component } from '@angular/core';
|
22
|
+
import * as i2 from '@angular/forms';
|
23
|
+
import { FormsModule } from '@angular/forms';
|
24
|
+
import { A as AXMDocumentManagerService } from './acorex-modules-document-management-acorex-modules-document-management-DagdBc6i.mjs';
|
25
|
+
import { AXAutoFocusDirective } from '@acorex/components/common';
|
26
|
+
|
27
|
+
class AXMCreateFolderDialog extends AXBasePageComponent {
|
28
|
+
constructor() {
|
29
|
+
super(...arguments);
|
30
|
+
this.driveService = inject(AXMDocumentManagerService);
|
31
|
+
this.name = model('');
|
32
|
+
this.color = model('#FFFFFF');
|
33
|
+
this.description = model('');
|
34
|
+
}
|
35
|
+
async handleSubmitButton(form) {
|
36
|
+
this.isLoading = true;
|
37
|
+
const validated = await form.validate();
|
38
|
+
if (validated.result) {
|
39
|
+
try {
|
40
|
+
const folder = await this.driveService.createFolder({
|
41
|
+
name: this.name(),
|
42
|
+
color: this.color(),
|
43
|
+
parentId: this.parentId,
|
44
|
+
description: this.description(),
|
45
|
+
});
|
46
|
+
this.close({
|
47
|
+
result: true,
|
48
|
+
folder,
|
49
|
+
});
|
50
|
+
}
|
51
|
+
catch (error) {
|
52
|
+
console.error('Error creating folder:', error);
|
53
|
+
}
|
54
|
+
finally {
|
55
|
+
this.isLoading = false;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
else {
|
59
|
+
this.isLoading = false;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
onCancel() {
|
63
|
+
this.close({
|
64
|
+
result: false,
|
65
|
+
});
|
66
|
+
}
|
67
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMCreateFolderDialog, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
68
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", 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 {{ '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=\"primary\" (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>", 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:
|
69
|
+
//
|
70
|
+
AXDecoratorModule }, { kind: "component", type: i5.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: i5$1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2$1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i7.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "component", type: i7.AXFormComponent, selector: "ax-form", inputs: ["labelMode", "look", "messageStyle", "updateOn"], outputs: ["onValidate", "updateOnChange"] }, { kind: "directive", type: i7.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { 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$1.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"] }] }); }
|
71
|
+
}
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMCreateFolderDialog, decorators: [{
|
73
|
+
type: Component,
|
74
|
+
args: [{ selector: 'ax-create-folder-dialog', standalone: true, imports: [
|
75
|
+
CommonModule,
|
76
|
+
FormsModule,
|
77
|
+
//
|
78
|
+
AXDecoratorModule,
|
79
|
+
AXTextBoxModule,
|
80
|
+
AXLabelModule,
|
81
|
+
AXButtonModule,
|
82
|
+
AXFormModule,
|
83
|
+
AXColorBoxModule,
|
84
|
+
AXTranslationModule,
|
85
|
+
AXLoadingModule,
|
86
|
+
AXAutoFocusDirective
|
87
|
+
], 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 {{ '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=\"primary\" (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>" }]
|
88
|
+
}] });
|
89
|
+
|
90
|
+
export { AXMCreateFolderDialog };
|
91
|
+
//# sourceMappingURL=acorex-modules-document-management-create-folder-dialog.component-fNeqoZfY.mjs.map
|
package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-fNeqoZfY.mjs.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-document-management-create-folder-dialog.component-fNeqoZfY.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 { 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';\nimport { AXAutoFocusDirective } from '@acorex/components/common';\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 ],\n templateUrl: './create-folder-dialog.component.html',\n})\nexport class AXMCreateFolderDialog extends AXBasePageComponent {\n private driveService = inject(AXMDocumentManagerService);\n\n parentId?: string;\n\n protected name = model<string>('');\n protected color = model<string>('#FFFFFF');\n protected description = model<string>('');\n\n async handleSubmitButton(form: AXFormComponent) {\n this.isLoading = true;\n const validated = await form.validate();\n if (validated.result) {\n try {\n const folder = await this.driveService.createFolder({\n name: this.name(),\n color: this.color(),\n parentId: this.parentId,\n description: this.description(),\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 {{ '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=\"primary\" (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>"],"names":["i3","i6","i9"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAkCM,MAAO,qBAAsB,SAAQ,mBAAmB,CAAA;AAnB9D,IAAA,WAAA,GAAA;;AAoBU,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,yBAAyB,CAAC;AAI9C,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;AAgC1C;IA9BC,MAAM,kBAAkB,CAAC,IAAqB,EAAA;AAC5C,QAA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B;wBACnB,eAAe;wBACf;AACD,qBAAA,EAAA,QAAA,EAAA,43CAAA,EAAA;;;;;"}
|
@@ -0,0 +1,101 @@
|
|
1
|
+
import * as i2$1 from '@acorex/components/button';
|
2
|
+
import { AXButtonModule } from '@acorex/components/button';
|
3
|
+
import { AXColorBoxModule } from '@acorex/components/color-box';
|
4
|
+
import * as i5 from '@acorex/components/decorators';
|
5
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
6
|
+
import * as i7 from '@acorex/components/form';
|
7
|
+
import { AXFormModule } from '@acorex/components/form';
|
8
|
+
import * as i5$1 from '@acorex/components/label';
|
9
|
+
import { AXLabelModule } from '@acorex/components/label';
|
10
|
+
import * as i10 from '@acorex/components/loading';
|
11
|
+
import { AXLoadingModule } from '@acorex/components/loading';
|
12
|
+
import { AXBasePageComponent } from '@acorex/components/page';
|
13
|
+
import * as i4 from '@acorex/components/text-box';
|
14
|
+
import { AXTextBoxModule } from '@acorex/components/text-box';
|
15
|
+
import * as i4$1 from '@acorex/core/translation';
|
16
|
+
import { AXTranslationModule } from '@acorex/core/translation';
|
17
|
+
import * as i1 from '@angular/common';
|
18
|
+
import { CommonModule } from '@angular/common';
|
19
|
+
import * as i0 from '@angular/core';
|
20
|
+
import { inject, model, Component } from '@angular/core';
|
21
|
+
import * as i2 from '@angular/forms';
|
22
|
+
import { FormsModule } from '@angular/forms';
|
23
|
+
import { A as AXMDocumentManagerService } from './acorex-modules-document-management-acorex-modules-document-management-DagdBc6i.mjs';
|
24
|
+
import { AXAutoFocusDirective } from '@acorex/components/common';
|
25
|
+
|
26
|
+
class AXMRenameNodeDialog extends AXBasePageComponent {
|
27
|
+
constructor() {
|
28
|
+
super(...arguments);
|
29
|
+
this.driveService = inject(AXMDocumentManagerService);
|
30
|
+
this.name = model('');
|
31
|
+
}
|
32
|
+
ngOnInit() {
|
33
|
+
super.ngOnInit();
|
34
|
+
this.name.set(this.node.name);
|
35
|
+
}
|
36
|
+
async handleSubmitButton(form) {
|
37
|
+
this.isLoading = true;
|
38
|
+
const validated = await form.validate();
|
39
|
+
if (validated.result) {
|
40
|
+
try {
|
41
|
+
debugger;
|
42
|
+
if (this.node.type == 'folder') {
|
43
|
+
const folder = await this.driveService.updateFolder(this.node.id, {
|
44
|
+
name: this.name(),
|
45
|
+
});
|
46
|
+
this.close({
|
47
|
+
result: true,
|
48
|
+
folder,
|
49
|
+
});
|
50
|
+
}
|
51
|
+
else {
|
52
|
+
const file = await this.driveService.updateFile(this.node.id, {
|
53
|
+
name: this.name(),
|
54
|
+
});
|
55
|
+
this.close({
|
56
|
+
result: true,
|
57
|
+
file,
|
58
|
+
});
|
59
|
+
}
|
60
|
+
}
|
61
|
+
catch (error) {
|
62
|
+
console.error('Error updating node:', error);
|
63
|
+
}
|
64
|
+
finally {
|
65
|
+
this.isLoading = false;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
else {
|
69
|
+
this.isLoading = false;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
onCancel() {
|
73
|
+
this.close({
|
74
|
+
result: false,
|
75
|
+
});
|
76
|
+
}
|
77
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMRenameNodeDialog, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
78
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMRenameNodeDialog, isStandalone: true, selector: "ax-rename-node-dialog", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { name: "nameChange" }, 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 <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=\"primary\" (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>", 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:
|
79
|
+
//
|
80
|
+
AXDecoratorModule }, { kind: "component", type: i5.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: i5$1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2$1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i7.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "component", type: i7.AXFormComponent, selector: "ax-form", inputs: ["labelMode", "look", "messageStyle", "updateOn"], outputs: ["onValidate", "updateOnChange"] }, { kind: "directive", type: i7.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXColorBoxModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i4$1.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"] }] }); }
|
81
|
+
}
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMRenameNodeDialog, decorators: [{
|
83
|
+
type: Component,
|
84
|
+
args: [{ selector: 'ax-rename-node-dialog', standalone: true, imports: [
|
85
|
+
CommonModule,
|
86
|
+
FormsModule,
|
87
|
+
//
|
88
|
+
AXDecoratorModule,
|
89
|
+
AXTextBoxModule,
|
90
|
+
AXLabelModule,
|
91
|
+
AXButtonModule,
|
92
|
+
AXFormModule,
|
93
|
+
AXColorBoxModule,
|
94
|
+
AXTranslationModule,
|
95
|
+
AXLoadingModule,
|
96
|
+
AXAutoFocusDirective
|
97
|
+
], 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 <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=\"primary\" (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>" }]
|
98
|
+
}] });
|
99
|
+
|
100
|
+
export { AXMRenameNodeDialog };
|
101
|
+
//# sourceMappingURL=acorex-modules-document-management-rename-node-dialog.component-C-eCtqLa.mjs.map
|
package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-C-eCtqLa.mjs.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-document-management-rename-node-dialog.component-C-eCtqLa.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 { 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 { AXMDocumentExplorerNode } from '../../../drive';\nimport { AXMDocumentManagerService } from '../../../shared';\nimport { AXAutoFocusDirective } from '@acorex/components/common';\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 debugger;\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 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=\"primary\" (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>"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