raise-common-lib 0.0.193 → 0.0.195
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 +57 -57
- package/bundles/raise-common-lib.umd.js +1664 -1579
- package/bundles/raise-common-lib.umd.js.map +1 -1
- package/bundles/raise-common-lib.umd.min.js +1 -1
- package/bundles/raise-common-lib.umd.min.js.map +1 -1
- package/esm2015/lib/dialog/new-action-notification/new-action-notification.component.js +1 -1
- package/esm2015/lib/form/drawer-form/drawer-form.component.js +135 -60
- package/esm2015/lib/form/richtexteditor/index.component.js +4 -7
- package/esm2015/lib/layout/drawer/index.component.js +1 -1
- package/esm2015/lib/layout/page-tab/index.component.js +1 -1
- package/esm2015/public-api.js +1 -2
- package/esm2015/raise-common-lib.js +6 -5
- package/esm5/lib/dialog/new-action-notification/new-action-notification.component.js +1 -1
- package/esm5/lib/form/drawer-form/drawer-form.component.js +146 -61
- package/esm5/lib/form/richtexteditor/index.component.js +4 -7
- package/esm5/lib/layout/drawer/index.component.js +1 -1
- package/esm5/lib/layout/page-tab/index.component.js +1 -1
- package/esm5/public-api.js +1 -2
- package/esm5/raise-common-lib.js +6 -5
- package/fesm2015/raise-common-lib.js +1483 -1408
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +1662 -1577
- package/fesm5/raise-common-lib.js.map +1 -1
- package/lib/form/drawer-form/drawer-form.component.d.ts +10 -5
- package/package.json +1 -1
- package/public-api.d.ts +0 -1
- package/raise-common-lib.d.ts +4 -3
- package/raise-common-lib.metadata.json +1 -1
- package/src/assets/img/arrow_right.svg +4 -4
- package/src/assets/img/calendar-disabled.svg +6 -6
- package/src/assets/img/calendar.svg +6 -6
- package/src/assets/img/calendar_arrow_left.svg +3 -3
- package/src/assets/img/calendar_arrow_right.svg +3 -3
- package/src/assets/img/checked-vector.svg +3 -3
- package/src/assets/img/dialog-close.svg +4 -4
- package/src/assets/img/dialog-grow.svg +6 -6
- package/src/assets/img/dialog-shrink.svg +6 -6
- package/src/assets/img/plus.svg +4 -4
- package/src/assets/img/search.svg +4 -4
- package/src/assets/img/shrink-icon.svg +6 -6
- package/src/assets/img/time-disabled.svg +4 -4
- package/src/assets/img/time.svg +4 -4
- package/src/assets/img/toolbar-action-addFolder.svg +17 -17
- package/src/assets/img/toolbar-action-calculator.svg +11 -11
- package/src/assets/img/toolbar-action-collapse.svg +7 -7
- package/src/assets/img/toolbar-action-combine.svg +4 -4
- package/src/assets/img/toolbar-action-edit.svg +4 -4
- package/src/assets/img/toolbar-action-expand.svg +7 -7
- package/src/assets/img/toolbar-action-folderMove.svg +8 -8
- package/src/assets/img/toolbar-action-lock.svg +6 -6
- package/src/assets/img/toolbar-action-preview.svg +7 -7
- package/src/assets/img/toolbar-action-publish.svg +5 -5
- package/src/assets/img/toolbar-action-reminders.svg +10 -10
- package/src/assets/img/toolbar-action-rename.svg +7 -7
- package/src/assets/img/toolbar-action-saveSequence.svg +5 -5
- package/src/assets/img/toolbar-action-send-file.svg +5 -5
- package/src/assets/img/toolbar-action-settle.svg +7 -7
- package/src/assets/img/toolbar-action-share.svg +5 -5
- package/src/assets/img/toolbar-action-submitForApproval.svg +4 -4
- package/src/assets/img/toolbar-action-sync.svg +4 -4
- package/src/assets/img/toolbar-action-template.svg +6 -6
- package/src/assets/img/toolbar-action-workflow.svg +9 -9
- package/src/assets/style/reset/grid.scss +2 -1
|
@@ -3,12 +3,13 @@ import { FilteringEventArgs } from "@syncfusion/ej2-angular-dropdowns";
|
|
|
3
3
|
import { FieldItem, SectionItem } from "./constants";
|
|
4
4
|
export declare class DrawerFormComponent implements OnInit, OnChanges, AfterViewInit {
|
|
5
5
|
private ref;
|
|
6
|
+
_form: Record<string, any>;
|
|
6
7
|
_sections: SectionItem[];
|
|
7
8
|
optionsMap: Record<string, any[]>;
|
|
8
|
-
customTemplate: TemplateRef<any>;
|
|
9
|
-
customSectionTemplate: Record<string, TemplateRef<any>>;
|
|
10
9
|
formDisabled: boolean;
|
|
11
10
|
showAnchor: boolean;
|
|
11
|
+
customTemplate: TemplateRef<any>;
|
|
12
|
+
customSectionTemplate: Record<string, TemplateRef<any>>;
|
|
12
13
|
optionFields: {
|
|
13
14
|
text: string;
|
|
14
15
|
value: string;
|
|
@@ -16,7 +17,8 @@ export declare class DrawerFormComponent implements OnInit, OnChanges, AfterView
|
|
|
16
17
|
groupBy: any;
|
|
17
18
|
};
|
|
18
19
|
showFilterNumber: number;
|
|
19
|
-
|
|
20
|
+
numberFormat: string;
|
|
21
|
+
dateFormat: string;
|
|
20
22
|
formChange: EventEmitter<Record<string, any>>;
|
|
21
23
|
fieldChange: EventEmitter<{
|
|
22
24
|
field: FieldItem;
|
|
@@ -26,8 +28,9 @@ export declare class DrawerFormComponent implements OnInit, OnChanges, AfterView
|
|
|
26
28
|
private containers;
|
|
27
29
|
private sectionContainers;
|
|
28
30
|
sections: SectionItem[];
|
|
29
|
-
|
|
31
|
+
form: Record<string, any>;
|
|
30
32
|
fieldValidMap: Record<string, boolean>;
|
|
33
|
+
dateForm: Record<string, Date>;
|
|
31
34
|
dateValidMap: Record<string, boolean>;
|
|
32
35
|
constructor(ref: ChangeDetectorRef);
|
|
33
36
|
ngOnInit(): void;
|
|
@@ -36,7 +39,9 @@ export declare class DrawerFormComponent implements OnInit, OnChanges, AfterView
|
|
|
36
39
|
customTemplateRender(containers: QueryList<ViewContainerRef>): void;
|
|
37
40
|
customSectionRender(containers: QueryList<ViewContainerRef>): void;
|
|
38
41
|
checkFormChange(previous: Record<string, any>, current: Record<string, any>): void;
|
|
42
|
+
syncFormToDateForm(field: FieldItem, value: any): void;
|
|
39
43
|
formatForm(sections: SectionItem[]): void;
|
|
44
|
+
getFormProxy(form: Record<string, any>): Record<string, any>;
|
|
40
45
|
updateForm(value: any, field: FieldItem): void;
|
|
41
46
|
formItemValidator(field: FieldItem, isAuto?: boolean): boolean;
|
|
42
47
|
preCheckFormIsValid(): boolean;
|
|
@@ -50,7 +55,7 @@ export declare class DrawerFormComponent implements OnInit, OnChanges, AfterView
|
|
|
50
55
|
onFocus(field: FieldItem): void;
|
|
51
56
|
onBlur(field: FieldItem): void;
|
|
52
57
|
onFiltering(event: FilteringEventArgs, field: FieldItem): void;
|
|
53
|
-
|
|
58
|
+
getOptions(field: FieldItem): any[];
|
|
54
59
|
getDisabled(field: FieldItem): boolean;
|
|
55
60
|
getOptionFields(field: FieldItem): {
|
|
56
61
|
text: string;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -23,7 +23,6 @@ export * from "./lib/form/switch-input/index.component";
|
|
|
23
23
|
export * from "./lib/form/encrypted-input/index.component";
|
|
24
24
|
export * from "./lib/form/search-input/index.component";
|
|
25
25
|
export * from "./lib/form/drawer-form/drawer-form.component";
|
|
26
|
-
export * from "./lib/form/richtexteditor/index.component";
|
|
27
26
|
export * from "./lib/form/drawer-form/constants";
|
|
28
27
|
export * from "./lib/dialog/common-dialog/index.component";
|
|
29
28
|
export * from "./lib/service/common-function.service";
|
package/raise-common-lib.d.ts
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
4
|
export * from './public-api';
|
|
5
|
-
export { CommonDeleteComponent as
|
|
6
|
-
export { NewActionNotificationComponent as
|
|
7
|
-
export { ConfirmSelectComponent as
|
|
5
|
+
export { CommonDeleteComponent as ɵe } from './lib/dialog/common-delete-dialog/index.component';
|
|
6
|
+
export { NewActionNotificationComponent as ɵd } from './lib/dialog/new-action-notification/new-action-notification.component';
|
|
7
|
+
export { ConfirmSelectComponent as ɵc } from './lib/form/confirm-select/index.component';
|
|
8
|
+
export { RichtexteditorComponent as ɵb } from './lib/form/richtexteditor/index.component';
|
|
8
9
|
export { Debounce as ɵa } from './lib/utils/decorator';
|