@simpleangularcontrols/sac-common 16.0.0-rc.1 → 16.0.0-rc.11
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 +8 -16
- package/common/basedatetimecontrol.d.ts +116 -30
- package/common/basedatetimecontrol.d.ts.map +1 -1
- package/common/baseinputcontrol.d.ts +9 -13
- package/common/baseinputcontrol.d.ts.map +1 -1
- package/common/basemodelcontrol.d.ts +168 -85
- package/common/basemodelcontrol.d.ts.map +1 -1
- package/common/baseuploadcontrol.d.ts +136 -141
- package/common/baseuploadcontrol.d.ts.map +1 -1
- package/components/browser/browser.d.ts +11 -6
- package/components/browser/browser.d.ts.map +1 -1
- package/controls/buttons/button.d.ts +23 -22
- package/controls/buttons/button.d.ts.map +1 -1
- package/controls/checkbox/checkbox.d.ts +18 -5
- package/controls/checkbox/checkbox.d.ts.map +1 -1
- package/controls/checkbox/radiobutton.d.ts +68 -24
- package/controls/checkbox/radiobutton.d.ts.map +1 -1
- package/controls/checkbox/radiobuttons.d.ts +21 -20
- package/controls/checkbox/radiobuttons.d.ts.map +1 -1
- package/controls/confirm/confirm.button.d.ts +14 -8
- package/controls/confirm/confirm.button.d.ts.map +1 -1
- package/controls/confirm/confirm.service.d.ts +24 -19
- package/controls/confirm/confirm.service.d.ts.map +1 -1
- package/controls/contextmenu/contextmenu.d.ts +51 -44
- package/controls/contextmenu/contextmenu.d.ts.map +1 -1
- package/controls/contextmenu/contextmenu.interface.d.ts +4 -0
- package/controls/contextmenu/contextmenu.interface.d.ts.map +1 -0
- package/controls/contextmenu/contextmenuanchor.d.ts +2 -2
- package/controls/contextmenu/contextmenuanchor.d.ts.map +1 -1
- package/controls/contextmenu/contextmenucontainer.d.ts +2 -2
- package/controls/contextmenu/contextmenucontainer.d.ts.map +1 -1
- package/controls/contextmenu/contextmenuitem.d.ts +6 -1
- package/controls/contextmenu/contextmenuitem.d.ts.map +1 -1
- package/controls/contextmenu/contextmenuitembutton.d.ts +22 -21
- package/controls/contextmenu/contextmenuitembutton.d.ts.map +1 -1
- package/controls/datetime/date.d.ts +33 -36
- package/controls/datetime/date.d.ts.map +1 -1
- package/controls/datetime/datetime.d.ts +33 -37
- package/controls/datetime/datetime.d.ts.map +1 -1
- package/controls/datetime/time.d.ts +32 -36
- package/controls/datetime/time.d.ts.map +1 -1
- package/controls/dialog/dialog.d.ts +32 -44
- package/controls/dialog/dialog.d.ts.map +1 -1
- package/controls/form/form.d.ts +7 -43
- package/controls/form/form.d.ts.map +1 -1
- package/controls/grid/grid.d.ts +67 -62
- package/controls/grid/grid.d.ts.map +1 -1
- package/controls/grid/gridbutton.d.ts +14 -14
- package/controls/grid/gridbutton.d.ts.map +1 -1
- package/controls/grid/gridcolumn.d.ts +8 -8
- package/controls/grid/gridcolumn.d.ts.map +1 -1
- package/controls/grid/gridcolumnaction.d.ts +3 -3
- package/controls/grid/gridcolumnaction.d.ts.map +1 -1
- package/controls/grid/gridcolumnbase.d.ts +46 -38
- package/controls/grid/gridcolumnbase.d.ts.map +1 -1
- package/controls/grid/gridimage.d.ts +2 -2
- package/controls/grid/gridimage.d.ts.map +1 -1
- package/controls/grid/model.d.ts +51 -42
- package/controls/grid/model.d.ts.map +1 -1
- package/controls/grid/paging.d.ts +77 -76
- package/controls/grid/paging.d.ts.map +1 -1
- package/controls/input/input.d.ts +11 -11
- package/controls/input/input.d.ts.map +1 -1
- package/controls/input/inputcurrency.d.ts +6 -1
- package/controls/input/inputcurrency.d.ts.map +1 -1
- package/controls/input/inputdecimal.d.ts +21 -21
- package/controls/input/inputdecimal.d.ts.map +1 -1
- package/controls/input/inputemail.d.ts.map +1 -1
- package/controls/input/inputinteger.d.ts +21 -21
- package/controls/input/inputinteger.d.ts.map +1 -1
- package/controls/input/inputpassword.d.ts +5 -5
- package/controls/input/inputpassword.d.ts.map +1 -1
- package/controls/input/inputsearch.d.ts +14 -5
- package/controls/input/inputsearch.d.ts.map +1 -1
- package/controls/layout/formlayout.d.ts +66 -0
- package/controls/layout/formlayout.d.ts.map +1 -0
- package/controls/list/buildvaluestring.d.ts +7 -0
- package/controls/list/buildvaluestring.d.ts.map +1 -0
- package/controls/list/dropdown.d.ts +36 -80
- package/controls/list/dropdown.d.ts.map +1 -1
- package/controls/list/dropdownoptions.d.ts +42 -0
- package/controls/list/dropdownoptions.d.ts.map +1 -0
- package/controls/list/listbox.d.ts +20 -20
- package/controls/list/listbox.d.ts.map +1 -1
- package/controls/multilanguage/multilanguageinput.d.ts +36 -35
- package/controls/multilanguage/multilanguageinput.d.ts.map +1 -1
- package/controls/multilanguage/multilanguageinputarea.d.ts +39 -38
- package/controls/multilanguage/multilanguageinputarea.d.ts.map +1 -1
- package/controls/static/formcontainer.d.ts +8 -4
- package/controls/static/formcontainer.d.ts.map +1 -1
- package/controls/tinymce/tinymce.d.ts +63 -63
- package/controls/tinymce/tinymce.d.ts.map +1 -1
- package/controls/tooltip/tooltip.d.ts +76 -69
- package/controls/tooltip/tooltip.d.ts.map +1 -1
- package/controls/treeview/treeview.d.ts +89 -123
- package/controls/treeview/treeview.d.ts.map +1 -1
- package/controls/upload/dropzonemultiple.d.ts +24 -24
- package/controls/upload/dropzonemultiple.d.ts.map +1 -1
- package/controls/upload/uploadmultiple.d.ts +9 -9
- package/controls/upload/uploadmultiple.d.ts.map +1 -1
- package/controls/validation/validationsummary.d.ts +18 -13
- package/controls/validation/validationsummary.d.ts.map +1 -1
- package/enums/ButtonRoleType.d.ts +2 -0
- package/enums/ButtonRoleType.d.ts.map +1 -0
- package/enums/ControlHeight.d.ts +18 -0
- package/enums/ControlHeight.d.ts.map +1 -0
- package/esm2022/common/basedatetimecontrol.mjs +80 -164
- package/esm2022/common/baseinputcontrol.mjs +21 -80
- package/esm2022/common/baselistcontrol.mjs +11 -56
- package/esm2022/common/basemodelcontrol.mjs +134 -354
- package/esm2022/common/baseselectcontrol.mjs +6 -27
- package/esm2022/common/baseuploadcontrol.mjs +109 -433
- package/esm2022/components/browser/browser.mjs +66 -474
- package/esm2022/components/browser/models/browserfile.mjs +3 -2
- package/esm2022/components/browser/models/browserfiledeleterequest.mjs +5 -10
- package/esm2022/components/browser/models/browserfilerenamerequest.mjs +5 -10
- package/esm2022/components/browser/models/browserfileresponse.mjs +3 -2
- package/esm2022/components/browser/models/browserfilesaverequest.mjs +5 -10
- package/esm2022/components/browser/models/browsernode.mjs +3 -2
- package/esm2022/components/browser/models/browsernodedeleterequest.mjs +5 -10
- package/esm2022/components/browser/models/browsernodenewrequest.mjs +5 -10
- package/esm2022/components/browser/models/browsernoderenamerequest.mjs +5 -10
- package/esm2022/components/browser/models/browsernoderequest.mjs +5 -10
- package/esm2022/components/browser/models/browsernoderesponse.mjs +3 -2
- package/esm2022/controls/buttons/button.mjs +32 -131
- package/esm2022/controls/checkbox/checkbox.mjs +15 -30
- package/esm2022/controls/checkbox/radiobutton.mjs +45 -102
- package/esm2022/controls/checkbox/radiobuttons.mjs +29 -106
- package/esm2022/controls/confirm/confirm.button.mjs +17 -21
- package/esm2022/controls/confirm/confirm.mjs +19 -69
- package/esm2022/controls/confirm/confirm.service.mjs +29 -74
- package/esm2022/controls/contextmenu/contextmenu.interface.mjs +3 -0
- package/esm2022/controls/contextmenu/contextmenu.mjs +43 -171
- package/esm2022/controls/contextmenu/contextmenuanchor.mjs +8 -19
- package/esm2022/controls/contextmenu/contextmenucontainer.mjs +8 -19
- package/esm2022/controls/contextmenu/contextmenuitem.mjs +7 -13
- package/esm2022/controls/contextmenu/contextmenuitembutton.mjs +25 -93
- package/esm2022/controls/datetime/date.mjs +42 -206
- package/esm2022/controls/datetime/dateselector.mjs +65 -409
- package/esm2022/controls/datetime/datetime.mjs +43 -223
- package/esm2022/controls/datetime/time.mjs +40 -204
- package/esm2022/controls/dialog/dialog.mjs +35 -209
- package/esm2022/controls/form/form.mjs +27 -153
- package/esm2022/controls/grid/grid.mjs +48 -155
- package/esm2022/controls/grid/gridbutton.mjs +21 -59
- package/esm2022/controls/grid/gridcolumn.mjs +21 -46
- package/esm2022/controls/grid/gridcolumnaction.mjs +8 -22
- package/esm2022/controls/grid/gridcolumnbase.mjs +35 -124
- package/esm2022/controls/grid/gridimage.mjs +5 -16
- package/esm2022/controls/grid/model.mjs +49 -74
- package/esm2022/controls/grid/paging.mjs +82 -251
- package/esm2022/controls/input/input.mjs +17 -65
- package/esm2022/controls/input/inputarea.mjs +10 -53
- package/esm2022/controls/input/inputcurrency.mjs +9 -14
- package/esm2022/controls/input/inputdecimal.mjs +33 -143
- package/esm2022/controls/input/inputemail.mjs +10 -37
- package/esm2022/controls/input/inputinteger.mjs +32 -127
- package/esm2022/controls/input/inputpassword.mjs +12 -43
- package/esm2022/controls/input/inputsearch.mjs +16 -38
- package/esm2022/controls/layout/formlayout.mjs +31 -0
- package/esm2022/controls/list/buildvaluestring.mjs +10 -0
- package/esm2022/controls/list/dropdown.mjs +45 -236
- package/esm2022/controls/list/dropdownoptions.mjs +22 -0
- package/esm2022/controls/list/listbox.mjs +40 -159
- package/esm2022/controls/multilanguage/multilanguageinput.mjs +48 -215
- package/esm2022/controls/multilanguage/multilanguageinputarea.mjs +51 -217
- package/esm2022/controls/static/formcontainer.mjs +18 -45
- package/esm2022/controls/static/staticlabel.mjs +7 -28
- package/esm2022/controls/tabs/tab.mjs +14 -68
- package/esm2022/controls/tabs/tabitem.mjs +7 -37
- package/esm2022/controls/tinymce/tinymce.mjs +62 -232
- package/esm2022/controls/tinymce/tinymcedialogsettings.mjs +5 -10
- package/esm2022/controls/tinymce/tinymcedialogsettingsmeta.mjs +4 -4
- package/esm2022/controls/tinymce/tinymceinstance.mjs +3 -2
- package/esm2022/controls/tooltip/tooltip.mjs +74 -358
- package/esm2022/controls/treeview/treeview.mjs +79 -343
- package/esm2022/controls/upload/dropzonemultiple.mjs +32 -152
- package/esm2022/controls/upload/dropzonesingle.mjs +12 -91
- package/esm2022/controls/upload/uploadmultiple.mjs +21 -111
- package/esm2022/controls/upload/uploadsingle.mjs +8 -50
- package/esm2022/controls/validation/validationsummary.mjs +23 -120
- package/esm2022/controls/wizard/wizard.mjs +20 -128
- package/esm2022/controls/wizard/wizarditem.mjs +6 -31
- package/esm2022/enums/ButtonRoleType.mjs +3 -0
- package/esm2022/enums/ControlHeight.mjs +11 -0
- package/esm2022/enums/IconType.mjs +4 -8
- package/esm2022/interfaces/ISacConfigurationService.mjs +3 -0
- package/esm2022/interfaces/ISacFileBrowserService.mjs +3 -2
- package/esm2022/interfaces/ISacIconService.mjs +3 -2
- package/esm2022/interfaces/ISacLabelSizes.mjs +3 -0
- package/esm2022/interfaces/ISacLanguageService.mjs +3 -2
- package/esm2022/interfaces/ISacLocalisationService.mjs +3 -2
- package/esm2022/interfaces/ISacValidationKeyService.mjs +3 -0
- package/esm2022/interfaces/iabstractcontrollabel.mjs +3 -2
- package/esm2022/interfaces/iconfirmcomponent.mjs +3 -2
- package/esm2022/interfaces/idatetimecontrol.mjs +3 -2
- package/esm2022/interfaces/iuploadcontrol.mjs +3 -2
- package/esm2022/interfaces/treeviewaction.interface.mjs +3 -0
- package/esm2022/models/languagemodel.mjs +5 -11
- package/esm2022/public_api.mjs +25 -94
- package/esm2022/services/index.mjs +3 -5
- package/esm2022/services/sac-configuration.service.mjs +35 -0
- package/esm2022/services/sac-filebrowser.service.mjs +15 -167
- package/esm2022/services/sac-icon.service.mjs +61 -155
- package/esm2022/services/sac-language.service.mjs +7 -45
- package/esm2022/services/sac-localisation.service.mjs +33 -428
- package/esm2022/services/sac-validationkey.service.mjs +7 -0
- package/esm2022/simpleangularcontrols-sac-common.mjs +4 -4
- package/esm2022/utilities/convertion.mjs +6 -26
- package/esm2022/utilities/datatypes.mjs +4 -6
- package/esm2022/utilities/enums.mjs +10 -15
- package/esm2022/utilities/guid.mjs +8 -0
- package/esm2022/utilities/interpolation.mjs +7 -42
- package/esm2022/utilities/popuphelper.mjs +80 -0
- package/esm2022/utilities/positioning.mjs +23 -266
- package/esm2022/validation/email.validator.mjs +3 -13
- package/esm2022/validation/equals.validator.mjs +3 -0
- package/esm2022/validation/index.mjs +3 -3
- package/esm2022/validation/invaliddate.validator.mjs +3 -14
- package/esm2022/validation/isDateValid.mjs +9 -13
- package/esm2022/validation/maxdate.validator.mjs +4 -21
- package/esm2022/validation/maxtime.validator.mjs +4 -21
- package/esm2022/validation/maxvalue.validator.mjs +3 -16
- package/esm2022/validation/mindate.validator.mjs +4 -21
- package/esm2022/validation/minfiles.validator.mjs +4 -19
- package/esm2022/validation/minlength.validator.mjs +3 -21
- package/esm2022/validation/mintime.validator.mjs +4 -21
- package/esm2022/validation/minvalue.validator.mjs +3 -16
- package/esm2022/validation/multilanguagerequired.validator.mjs +3 -22
- package/esm2022/validation/multilanguagerequiredany.validator.mjs +3 -22
- package/esm2022/validation/notequals.validator.mjs +3 -0
- package/esm2022/validation/pattern.validator.mjs +3 -16
- package/esm2022/validation/required.validator.mjs +3 -13
- package/esm2022/validation/validation.mjs +41 -106
- package/esm2022/validation/validationerrorcreator.mjs +3 -11
- package/esm2022/validation/validationerroritem.mjs +7 -19
- package/fesm2022/simpleangularcontrols-sac-common.mjs +2276 -9240
- package/fesm2022/simpleangularcontrols-sac-common.mjs.map +1 -1
- package/interfaces/ISacConfigurationService.d.ts +59 -0
- package/interfaces/ISacConfigurationService.d.ts.map +1 -0
- package/interfaces/ISacIconService.d.ts +26 -2
- package/interfaces/ISacIconService.d.ts.map +1 -1
- package/interfaces/ISacLabelSizes.d.ts +27 -0
- package/interfaces/ISacLabelSizes.d.ts.map +1 -0
- package/interfaces/ISacValidationKeyService.d.ts +53 -0
- package/interfaces/ISacValidationKeyService.d.ts.map +1 -0
- package/interfaces/treeviewaction.interface.d.ts +5 -0
- package/interfaces/treeviewaction.interface.d.ts.map +1 -0
- package/package.json +2 -2
- package/public_api.d.ts +32 -21
- package/public_api.d.ts.map +1 -1
- package/services/index.d.ts +6 -4
- package/services/index.d.ts.map +1 -1
- package/services/sac-configuration.service.d.ts +127 -0
- package/services/sac-configuration.service.d.ts.map +1 -0
- package/services/sac-icon.service.d.ts +49 -1
- package/services/sac-icon.service.d.ts.map +1 -1
- package/services/sac-localisation.service.d.ts +103 -97
- package/services/sac-localisation.service.d.ts.map +1 -1
- package/services/sac-validationkey.service.d.ts +59 -0
- package/services/sac-validationkey.service.d.ts.map +1 -0
- package/simpleangularcontrols-sac-common-16.0.0-rc.11.tgz +0 -0
- package/utilities/enums.d.ts +3 -1
- package/utilities/enums.d.ts.map +1 -1
- package/utilities/guid.d.ts +5 -0
- package/utilities/guid.d.ts.map +1 -0
- package/utilities/popuphelper.d.ts +84 -0
- package/utilities/popuphelper.d.ts.map +1 -0
- package/validation/equals.validator.d.ts +3 -0
- package/validation/equals.validator.d.ts.map +1 -0
- package/validation/isDateValid.d.ts.map +1 -1
- package/validation/notequals.validator.d.ts +3 -0
- package/validation/notequals.validator.d.ts.map +1 -0
- package/validation/validation.d.ts +24 -6
- package/validation/validation.d.ts.map +1 -1
- package/controls/treeview/ngtreeitemaction.d.ts +0 -44
- package/controls/treeview/ngtreeitemaction.d.ts.map +0 -1
- package/controls/treeview/treeviewchild.d.ts +0 -16
- package/controls/treeview/treeviewchild.d.ts.map +0 -1
- package/esm2022/controls/treeview/ngtreeitemaction.mjs +0 -63
- package/esm2022/controls/treeview/treeviewchild.mjs +0 -22
- package/simpleangularcontrols-sac-common-13.0.0-rc.1.tgz +0 -0
- package/simpleangularcontrols-sac-common-16.0.0-rc.1.tgz +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tinymce.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/tinymce/tinymce.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EAEZ,QAAQ,EAER,MAAM,
|
|
1
|
+
{"version":3,"file":"tinymce.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/tinymce/tinymce.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EAEZ,QAAQ,EAER,MAAM,EAEP,MAAM,eAAe,CAAC;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B,EAAE,qBAAqB,CAAC;IACnD;;OAEG;IACI,mBAAmB,UAAS;IACnC;;OAEG;IACI,QAAQ,EAAE,eAAe,CAAC;IAMjC;;;;;OAKG;gBAEO,UAAU,EAAE,mBAAmB,EACvC,QAAQ,EAAE,QAAQ,EACR,MAAM,EAAE,MAAM;IAqB1B;;;OAGG;IACH,IACW,MAAM,CAAC,CAAC,EAAE,GAAG,EAOvB;IAED;;OAEG;IACH,IAAW,MAAM,IAAI,GAAG,CAEvB;IAMD;;OAEG;IACI,iBAAiB,IAAI,IAAI;IAIhC;;;OAGG;IACI,IAAI,CAAC,OAAO,EAAE,GAAG,GAAG,IAAI;IAI/B;;OAEG;IACI,qBAAqB,IAAI,IAAI;IAgBpC;;;;;OAKG;IACI,gBAAgB,CACrB,QAAQ,KAAA,EACR,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,yBAAyB,GAC9B,IAAI;IA+BP;;;;OAIG;IACI,YAAY,CAAC,CAAC,EAAE,eAAe,GAAG,gBAAgB;IAiBzD;;OAEG;aACa,wBAAwB,IAAI,GAAG;IAM/C;;;OAGG;IACH,OAAO,CAAC,kBAAkB;yCA3RN,gBAAgB;2CAAhB,gBAAgB;CAqSrC"}
|
|
@@ -1,141 +1,148 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
1
|
import { TooltipPosition } from '../../utilities/enums';
|
|
2
|
+
import { AfterViewChecked, ChangeDetectorRef, DoCheck, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* Tooltip Component
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
* - container: Container
|
|
9
|
-
* - tooltip: Container
|
|
7
|
+
* Requires the following identifiers in the HTML markup
|
|
8
|
+
* - container: Container for ng-content in which the element is displayed where the tooltip is attached.
|
|
9
|
+
* - tooltip: Container for tooltip
|
|
10
10
|
*
|
|
11
|
-
* Tooltip
|
|
12
|
-
*
|
|
11
|
+
* Tooltip must be displayed in 2 steps. In a first step the tooltip markup is created with (ngIf). In a 2nd step
|
|
12
|
+
* the tooltip can then be displayed via the CSS visibility. If this is not done, it can lead to a flickering effect in certain browsers.
|
|
13
13
|
*
|
|
14
14
|
*/
|
|
15
|
-
export declare class SacTooltipCommon implements OnInit, OnDestroy {
|
|
16
|
-
private cdRef;
|
|
17
|
-
private ref;
|
|
15
|
+
export declare abstract class SacTooltipCommon implements OnInit, OnDestroy, AfterViewChecked, DoCheck {
|
|
16
|
+
private readonly cdRef;
|
|
17
|
+
private readonly ref;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Helper class to display tooltip on correct position
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
private readonly popupHelper;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Inline mode for tooltip
|
|
24
24
|
*/
|
|
25
|
-
private
|
|
25
|
+
private _inlinemode;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Defines whether the tooltip is visible
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
private _isTooltipVisible;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Containers for the tooltip
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
private tooltipcontainer;
|
|
34
34
|
/**
|
|
35
|
-
* Position
|
|
36
|
-
*
|
|
37
|
-
* Wert 'auto' kann mit einem anderen Wert kombiniert werden.
|
|
35
|
+
* Position of the tooltip on the left
|
|
38
36
|
*/
|
|
39
|
-
|
|
37
|
+
IsTooltipContentVisible: boolean;
|
|
40
38
|
/**
|
|
41
|
-
*
|
|
39
|
+
* Position des Tooltips links
|
|
42
40
|
*/
|
|
43
|
-
|
|
41
|
+
LeftPos: number;
|
|
44
42
|
/**
|
|
45
|
-
*
|
|
43
|
+
* Property for enum in Angular HTML template
|
|
46
44
|
*/
|
|
47
|
-
|
|
45
|
+
TooltipPosition: typeof TooltipPosition;
|
|
48
46
|
/**
|
|
49
|
-
*
|
|
47
|
+
* Position of the tooltip at the top
|
|
50
48
|
*/
|
|
51
|
-
|
|
49
|
+
TopPos: number;
|
|
52
50
|
/**
|
|
53
|
-
*
|
|
51
|
+
* Name of the container for content (e.g. icon) on which the tooltip is displayed.
|
|
54
52
|
*/
|
|
55
|
-
|
|
53
|
+
content: ElementRef<HTMLElement>;
|
|
56
54
|
/**
|
|
57
|
-
*
|
|
55
|
+
* Position of the picker arrow at the left
|
|
58
56
|
*/
|
|
59
|
-
|
|
57
|
+
posArrowLeft: number | null;
|
|
60
58
|
/**
|
|
61
|
-
*
|
|
59
|
+
* Position of the picker arrow at the top
|
|
62
60
|
*/
|
|
63
|
-
|
|
61
|
+
posArrowTop: number | null;
|
|
64
62
|
/**
|
|
65
|
-
*
|
|
63
|
+
* Position of the tooltip. Values: left|top|right|bottom|auto
|
|
64
|
+
*
|
|
65
|
+
* Value 'auto' can be combined with another value.
|
|
66
66
|
*/
|
|
67
|
-
|
|
67
|
+
position: string;
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* Text for ToolTip
|
|
70
70
|
*/
|
|
71
|
-
|
|
71
|
+
tooltiptext: string;
|
|
72
72
|
/**
|
|
73
73
|
* Konstruktor
|
|
74
74
|
* @param ref Element Referenz
|
|
75
75
|
*/
|
|
76
76
|
constructor(cdRef: ChangeDetectorRef, ref: ElementRef);
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
79
|
-
*/
|
|
80
|
-
ngOnInit(): void;
|
|
81
|
-
/**
|
|
82
|
-
* Event wenn das Control zerstört wird.
|
|
78
|
+
* Property for inline mode for tooltip. Sets the display mode on the wrapper element to `inline`
|
|
83
79
|
*/
|
|
84
|
-
|
|
80
|
+
get inlinemode(): boolean;
|
|
85
81
|
/**
|
|
86
|
-
*
|
|
82
|
+
* Setter for inline mode for tooltip
|
|
87
83
|
*/
|
|
88
|
-
|
|
84
|
+
set inlinemode(value: boolean);
|
|
89
85
|
/**
|
|
90
|
-
*
|
|
86
|
+
* Setter for the name of the container for the tooltip. Is required as the tooltip can be hidden via ngIf.
|
|
91
87
|
*/
|
|
92
|
-
|
|
88
|
+
set tooltip(content: ElementRef);
|
|
89
|
+
get tooltop(): ElementRef;
|
|
93
90
|
/**
|
|
94
|
-
*
|
|
91
|
+
* Returns the position of the tooltip
|
|
95
92
|
*/
|
|
96
|
-
|
|
93
|
+
GetTooltipPosition(): TooltipPosition;
|
|
97
94
|
/**
|
|
98
|
-
*
|
|
95
|
+
* Hide tooltip
|
|
99
96
|
*/
|
|
100
|
-
|
|
97
|
+
HideTooltip(): void;
|
|
101
98
|
/**
|
|
102
|
-
*
|
|
99
|
+
* Defines whether the tooltip is present in the markup
|
|
103
100
|
*/
|
|
104
101
|
IsTooltipVisible(): boolean;
|
|
105
102
|
/**
|
|
106
|
-
*
|
|
103
|
+
* Show tooltip
|
|
107
104
|
*/
|
|
108
105
|
ShowTooltip(): void;
|
|
109
106
|
/**
|
|
110
|
-
*
|
|
107
|
+
* Calculates the height of the tooltip
|
|
111
108
|
*/
|
|
112
|
-
|
|
109
|
+
getToolTipHeight(): number;
|
|
113
110
|
/**
|
|
114
|
-
*
|
|
111
|
+
* Calculates the width of the tooltips
|
|
115
112
|
*/
|
|
116
|
-
|
|
113
|
+
getToolTipWidth(): number;
|
|
117
114
|
/**
|
|
118
|
-
*
|
|
115
|
+
* Detect Changes after view checked. Prevent ExpressionChangedAfterItHasBeenCheckedError error
|
|
119
116
|
*/
|
|
120
|
-
|
|
117
|
+
ngAfterViewChecked(): void;
|
|
121
118
|
/**
|
|
122
|
-
*
|
|
119
|
+
* Detect UI Changes to Calculate Tooltip correct
|
|
123
120
|
*/
|
|
124
|
-
|
|
121
|
+
ngDoCheck(): void;
|
|
125
122
|
/**
|
|
126
|
-
*
|
|
123
|
+
* Event when the control is destroyed.
|
|
127
124
|
*/
|
|
128
|
-
|
|
125
|
+
ngOnDestroy(): void;
|
|
129
126
|
/**
|
|
130
|
-
*
|
|
131
|
-
|
|
132
|
-
|
|
127
|
+
* Event when the control is initialized
|
|
128
|
+
*/
|
|
129
|
+
ngOnInit(): void;
|
|
130
|
+
/**
|
|
131
|
+
* Offset for Tooltip. Required for BS4/BS5 to create padding
|
|
133
132
|
*/
|
|
134
|
-
|
|
133
|
+
protected abstract getTooltipOffset(): number;
|
|
134
|
+
/**
|
|
135
|
+
* Calculates the position of the tooltip from links
|
|
136
|
+
*/
|
|
137
|
+
private getLeftPosition;
|
|
138
|
+
/**
|
|
139
|
+
* Calculates the position of the tooltip from the top
|
|
140
|
+
*/
|
|
141
|
+
private getTopPosition;
|
|
135
142
|
/**
|
|
136
|
-
*
|
|
143
|
+
* method if content has changed and proportions need to be reset in the UI.
|
|
137
144
|
*/
|
|
138
|
-
private
|
|
145
|
+
private readonly onContentChange;
|
|
139
146
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacTooltipCommon, never>;
|
|
140
147
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SacTooltipCommon, never, never, { "position": { "alias": "position"; "required": false; }; "tooltiptext": { "alias": "tooltiptext"; "required": false; }; "inlinemode": { "alias": "inlinemode"; "required": false; }; }, {}, never, never, false, never>;
|
|
141
148
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/tooltip/tooltip.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/tooltip/tooltip.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,EACH,gBAAgB,EAChB,iBAAiB,EAEjB,OAAO,EACP,UAAU,EAEV,SAAS,EACT,MAAM,EAET,MAAM,eAAe,CAAC;;AAEvB;;;;;;;;;;GAUG;AACH,8BACsB,gBAAiB,YAAW,MAAM,EAAE,SAAS,EAAE,gB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IhC;;OAEG;IACI,kBAAkB,IAAI,IAAI;IASjC;;OAEG;IACI,SAAS,IAAI,IAAI;IAUxB;;OAEG;IACI,WAAW;IAUlB;;OAEG;IACI,QAAQ;IAcf;;OAEG;IACH,SAAS,CAAC,QAAQ,CAAC,gBAAgB,IAAI,MAAM;IAM7C;;OAEG;IACH,OAAO,CAAC,eAAe;IAsBvB;;OAEG;IACH,OAAO,CAAC,cAAc;IAsBtB;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,eAAe,CAU9B;yCApTgB,gBAAgB;2CAAhB,gBAAgB;CAuTrC"}
|
|
@@ -1,189 +1,155 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SacBaseModelControl } from '../../common/basemodelcontrol';
|
|
2
|
+
import { TreeviewAction } from '../../interfaces/treeviewaction.interface';
|
|
3
|
+
import { SacFormLayoutCommon } from '../layout/formlayout';
|
|
4
|
+
import { EventEmitter, Injector, TemplateRef } from '@angular/core';
|
|
5
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
2
6
|
import * as i0 from "@angular/core";
|
|
3
7
|
/**
|
|
4
8
|
* Basis Komponente für SacTreeView
|
|
5
9
|
*/
|
|
6
|
-
export declare class
|
|
10
|
+
export declare class SacTreeviewCommon extends SacBaseModelControl<any> {
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
12
|
+
* Event when Action is clicked on Node. An object of the type 'TreeviewAction' is returned. In the default case, 'action' in this object is always the value 'default'. The value can be changed via the 'templateaction'.
|
|
9
13
|
*/
|
|
10
|
-
|
|
14
|
+
actionclicked: EventEmitter<TreeviewAction>;
|
|
11
15
|
/**
|
|
12
|
-
*
|
|
16
|
+
* Property on the data object that contains the children of the structure element. Must be an array of objects. The default value is 'children'
|
|
13
17
|
*/
|
|
14
|
-
|
|
18
|
+
attrchildren: string;
|
|
15
19
|
/**
|
|
16
|
-
*
|
|
20
|
+
* Defines the property on the 'data' object with which the actions for a node can be deactivated. A 'disabled' property is used by default.
|
|
17
21
|
*/
|
|
18
|
-
|
|
22
|
+
attrdisableaction: string;
|
|
19
23
|
/**
|
|
20
|
-
*
|
|
24
|
+
* Property on the 'data' object that stores the expanded state. Property must be of type boolean. Default is 'expanded'
|
|
21
25
|
*/
|
|
22
|
-
|
|
26
|
+
attrexanded: string;
|
|
23
27
|
/**
|
|
24
|
-
*
|
|
28
|
+
* Property for saving the HoverState on the field. If the property is not present on the node, it is automatically created and removed again. The value can usually be left at the default value unless there is a conflict with a property on the node that is required for other purposes.
|
|
25
29
|
*/
|
|
26
|
-
|
|
30
|
+
attrhoverstate: string;
|
|
27
31
|
/**
|
|
28
|
-
*
|
|
32
|
+
* Property on 'data' object, which contains the icon for the node. By default, the property is not set, which hides the icon in the node.
|
|
29
33
|
*/
|
|
30
|
-
|
|
34
|
+
attricon: string | null;
|
|
31
35
|
/**
|
|
32
|
-
*
|
|
36
|
+
* property on the 'data' object contains an ID of the node. The default is 'id'. If the property is set to NULL, the selectedId event is no longer triggered.
|
|
33
37
|
*/
|
|
34
|
-
|
|
38
|
+
attrid: string | null;
|
|
35
39
|
/**
|
|
36
|
-
*
|
|
40
|
+
* Property on 'data' object, which contains the label for the node. Default is 'label'
|
|
37
41
|
*/
|
|
38
|
-
|
|
42
|
+
attrlabel: string;
|
|
39
43
|
/**
|
|
40
|
-
*
|
|
44
|
+
* Property on 'data' object, which defines whether the node is selected or not. It should be ensured that only 1 node has the value for Selected set to true. Default is 'selected'.
|
|
41
45
|
*/
|
|
42
|
-
|
|
46
|
+
attrselected: string;
|
|
43
47
|
/**
|
|
44
|
-
*
|
|
48
|
+
* Event when a node is collapsed. Returns the node element as a parameter
|
|
45
49
|
*/
|
|
46
|
-
|
|
50
|
+
collabsed: EventEmitter<any>;
|
|
47
51
|
/**
|
|
48
|
-
*
|
|
52
|
+
* The property contains an array of nodes. The data must already map the tree via child properties.
|
|
49
53
|
*/
|
|
50
|
-
|
|
54
|
+
data: any[];
|
|
51
55
|
/**
|
|
52
|
-
*
|
|
56
|
+
* Activates the 'expand' and 'collabse' event even if a node has no children. This is helpful if node elements are to be reloaded at runtime.
|
|
53
57
|
*/
|
|
54
|
-
|
|
58
|
+
enableasynchload: boolean | string;
|
|
55
59
|
/**
|
|
56
|
-
*
|
|
60
|
+
* Activates Ellipsis on the node labels
|
|
57
61
|
*/
|
|
58
|
-
|
|
62
|
+
enableellipsis: boolean;
|
|
59
63
|
/**
|
|
60
|
-
*
|
|
64
|
+
* Event when a node is expanded. Returns the node element as a parameter
|
|
61
65
|
*/
|
|
62
|
-
|
|
66
|
+
expanded: EventEmitter<any>;
|
|
63
67
|
/**
|
|
64
|
-
*
|
|
68
|
+
* Defines whether an icon for the expanded/collapsed status should be displayed.
|
|
65
69
|
*/
|
|
66
|
-
|
|
70
|
+
expandedstate: boolean | string;
|
|
67
71
|
/**
|
|
68
|
-
*
|
|
72
|
+
* A node must be selected
|
|
69
73
|
*/
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* A flag indicating data is flatten in array and prepare is required.(Default
|
|
73
|
-
* is false).
|
|
74
|
-
*/
|
|
75
|
-
prepareData: boolean;
|
|
76
|
-
/**
|
|
77
|
-
* Attribute for Text in Tree
|
|
78
|
-
*/
|
|
79
|
-
textAttr: string;
|
|
80
|
-
/**
|
|
81
|
-
* Name of ID property in input data.
|
|
82
|
-
*/
|
|
83
|
-
idAttr: string;
|
|
84
|
-
/**
|
|
85
|
-
* Name of parent property in input data.
|
|
86
|
-
*/
|
|
87
|
-
parentAttr: string;
|
|
88
|
-
/**
|
|
89
|
-
* Name of children list property in input data.
|
|
90
|
-
*/
|
|
91
|
-
childrenAttr: string;
|
|
92
|
-
/**
|
|
93
|
-
* Title des Treeview
|
|
94
|
-
*/
|
|
95
|
-
title: any;
|
|
96
|
-
/**
|
|
97
|
-
* Collapse or expand all parent nodes.
|
|
98
|
-
*/
|
|
99
|
-
set collapseall(value: boolean);
|
|
100
|
-
/**
|
|
101
|
-
* Getter für das collapse property. Ergibt boolean Wert, ob die Items collapsed/expand sind.
|
|
102
|
-
*/
|
|
103
|
-
get collapseall(): boolean;
|
|
104
|
-
/**
|
|
105
|
-
* Select or deselect all nodes.
|
|
106
|
-
*/
|
|
107
|
-
set selectall(value: boolean);
|
|
108
|
-
/**
|
|
109
|
-
* Input property - setter. Deffiniert das ID des selektierten Item(node)
|
|
110
|
-
*/
|
|
111
|
-
set selectedid(v: any);
|
|
74
|
+
isrequired: boolean;
|
|
112
75
|
/**
|
|
113
|
-
*
|
|
76
|
+
* Name of the TreeView control
|
|
114
77
|
*/
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* Das Property erhält das selektierte Wert(node). Default value: undefined/null
|
|
118
|
-
*/
|
|
119
|
-
private _selectedNode;
|
|
120
|
-
/**
|
|
121
|
-
* Setter für das selektierte Wert(node). Wenn aufgerufen das ID und TextAttr des selected Node wird emitted
|
|
122
|
-
*/
|
|
123
|
-
set selectedNode(v: any);
|
|
124
|
-
/**
|
|
125
|
-
* Getter für das selektierte Wert(node). Ergibt das selektierte Wert(node).
|
|
126
|
-
*/
|
|
127
|
-
get selectedNode(): any;
|
|
78
|
+
name: string;
|
|
128
79
|
/**
|
|
129
|
-
*
|
|
80
|
+
* Event when a node is selected. Returns the id attribute as a parameter. The event is not triggered if 'attrid' is not set.
|
|
130
81
|
*/
|
|
131
|
-
|
|
82
|
+
selected: EventEmitter<any>;
|
|
132
83
|
/**
|
|
133
|
-
*
|
|
84
|
+
* Event when a node is selected. Returns the node element as a parameter.
|
|
134
85
|
*/
|
|
135
|
-
|
|
86
|
+
selectednode: EventEmitter<any>;
|
|
136
87
|
/**
|
|
137
|
-
*
|
|
88
|
+
* Defines that the action template is displayed independently of the selected state. If the value is 'true', the action template is displayed for every element.
|
|
138
89
|
*/
|
|
139
|
-
|
|
90
|
+
showactionalways: any;
|
|
140
91
|
/**
|
|
141
|
-
*
|
|
142
|
-
* Define an ngOnInit() method to handle any additional initialization tasks.
|
|
92
|
+
* Custom template for actions per node. Template parameters are: 'node'
|
|
143
93
|
*/
|
|
144
|
-
|
|
94
|
+
templateaction: TemplateRef<any>;
|
|
145
95
|
/**
|
|
146
|
-
*
|
|
147
|
-
* auf collapsed = false
|
|
96
|
+
* Custom template for the label area per node. Template parameters are: 'node' and 'label'
|
|
148
97
|
*/
|
|
149
|
-
|
|
98
|
+
templatelabel: TemplateRef<any>;
|
|
150
99
|
/**
|
|
151
|
-
*
|
|
100
|
+
* Resource Key für Validation Message Required bei Control
|
|
152
101
|
*/
|
|
153
|
-
|
|
102
|
+
validationmessagerequired: string;
|
|
154
103
|
/**
|
|
155
|
-
*
|
|
104
|
+
* Resource Key für Validation Message Required in Validation Summary
|
|
156
105
|
*/
|
|
157
|
-
|
|
106
|
+
validationmessagesummaryrequired: string;
|
|
158
107
|
/**
|
|
159
|
-
*
|
|
108
|
+
* Constructor
|
|
109
|
+
* @param injector Service Injector
|
|
160
110
|
*/
|
|
161
|
-
|
|
111
|
+
constructor(formlayout: SacFormLayoutCommon, injector: Injector);
|
|
112
|
+
get iconAction(): string;
|
|
162
113
|
/**
|
|
163
|
-
*
|
|
114
|
+
* CSS icon for folders in tree there are collabsed
|
|
115
|
+
* @returns css class with icon
|
|
164
116
|
*/
|
|
165
|
-
|
|
117
|
+
get iconFolderCollabsed(): string;
|
|
166
118
|
/**
|
|
167
|
-
*
|
|
119
|
+
* CSS icon class for folders without subfolders
|
|
120
|
+
* @returns css class with icon
|
|
168
121
|
*/
|
|
169
|
-
|
|
122
|
+
get iconFolderEmpty(): string;
|
|
170
123
|
/**
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
* @param data Liste der nodes
|
|
174
|
-
* @param searchValue Das gesuchte value
|
|
175
|
-
* @param attr Der namen des Attributs auf dem das value gesucht wird
|
|
124
|
+
* CSS icon for folders in tree there are expanded
|
|
125
|
+
* @returns css class with icon
|
|
176
126
|
*/
|
|
177
|
-
|
|
127
|
+
get iconFolderOpen(): string;
|
|
178
128
|
/**
|
|
179
|
-
*
|
|
129
|
+
* Creates an array of a certain size. Is required for a For in the UI, as Angular does not support counting loops
|
|
130
|
+
* @param size Size of the array
|
|
131
|
+
* @returns Array
|
|
180
132
|
*/
|
|
181
|
-
|
|
133
|
+
count(size: number): Array<void>;
|
|
134
|
+
getChildren(node: any): any[];
|
|
135
|
+
getStringField(node: any, fieldname: string): any;
|
|
136
|
+
hasChildren(node: any): boolean;
|
|
137
|
+
isDisabledState(node: any): boolean;
|
|
138
|
+
isExpandedState(node: any): boolean;
|
|
139
|
+
isHoverState(node: any): boolean;
|
|
140
|
+
isSelectedState(node: any): boolean;
|
|
182
141
|
/**
|
|
183
|
-
*
|
|
142
|
+
* Method is called by clicking an action
|
|
143
|
+
* @param action action and node
|
|
184
144
|
*/
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
145
|
+
onActionClicked(action: TreeviewAction): void;
|
|
146
|
+
onNodeClicked(node: any): void;
|
|
147
|
+
setHoverState(node: any, state: boolean): void;
|
|
148
|
+
setSelectedState(node: any): void;
|
|
149
|
+
validateData(c: AbstractControl): ValidationErrors | null;
|
|
150
|
+
private invertExpandedState;
|
|
151
|
+
private resetSelectedState;
|
|
152
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SacTreeviewCommon, [{ host: true; }, null]>;
|
|
153
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SacTreeviewCommon, never, never, { "attrchildren": { "alias": "attrchildren"; "required": false; }; "attrdisableaction": { "alias": "attrdisableaction"; "required": false; }; "attrexanded": { "alias": "attrexanded"; "required": false; }; "attrhoverstate": { "alias": "attrhoverstate"; "required": false; }; "attricon": { "alias": "attricon"; "required": false; }; "attrid": { "alias": "attrid"; "required": false; }; "attrlabel": { "alias": "attrlabel"; "required": false; }; "attrselected": { "alias": "attrselected"; "required": false; }; "data": { "alias": "data"; "required": false; }; "enableasynchload": { "alias": "enableasynchload"; "required": false; }; "enableellipsis": { "alias": "enableellipsis"; "required": false; }; "expandedstate": { "alias": "expandedstate"; "required": false; }; "isrequired": { "alias": "isrequired"; "required": false; }; "name": { "alias": "name"; "required": false; }; "showactionalways": { "alias": "showactionalways"; "required": false; }; "templateaction": { "alias": "templateaction"; "required": false; }; "templatelabel": { "alias": "templatelabel"; "required": false; }; "validationmessagerequired": { "alias": "validationmessagerequired"; "required": false; }; "validationmessagesummaryrequired": { "alias": "validationmessagesummaryrequired"; "required": false; }; }, { "actionclicked": "actionclicked"; "collabsed": "collabsed"; "expanded": "expanded"; "selected": "selected"; "selectednode": "selectednode"; }, never, never, false, never>;
|
|
188
154
|
}
|
|
189
155
|
//# sourceMappingURL=treeview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"treeview.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/treeview/treeview.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"treeview.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/treeview/treeview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAE3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAa,YAAY,EAAQ,QAAQ,EAAiB,WAAW,EAAE,MAAM,eAAe,CAAC;AACpG,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;;AAEnE;;GAEG;AACH,qBACa,iBAAkB,SAAQ,mBAAmB,CAAC,GAAG,CAAC;IAG3D;;OAEG;IAEI,aAAa,EAAE,YAAY,CAAC,cAAc,CAAC,CAAsC;IAExF;;OAEG;IAEI,YAAY,SAAc;IAEjC;;OAEG;IACa,iBAAiB,SAAc;IAE/C;;OAEG;IAEI,WAAW,SAAc;IAEhC;;OAEG;IAEI,cAAc,SAAgB;IAErC;;OAEG;IAEI,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAQ;I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