@simpleangularcontrols/sac-common 10.0.0-rc.12 → 10.0.0-rc.13

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 (40) hide show
  1. package/bundles/simpleangularcontrols-sac-common.umd.js +356 -408
  2. package/bundles/simpleangularcontrols-sac-common.umd.js.map +1 -1
  3. package/bundles/simpleangularcontrols-sac-common.umd.min.js +1 -1
  4. package/bundles/simpleangularcontrols-sac-common.umd.min.js.map +1 -1
  5. package/common/basemodelcontrol.d.ts +4 -8
  6. package/controls/contextmenu/contextmenu.d.ts +26 -19
  7. package/controls/contextmenu/contextmenu.interface.d.ts +3 -0
  8. package/controls/contextmenu/contextmenuitem.d.ts +5 -0
  9. package/controls/contextmenu/contextmenuitembutton.d.ts +21 -20
  10. package/controls/treeview/treeview.d.ts +87 -121
  11. package/esm2015/common/basemodelcontrol.js +28 -24
  12. package/esm2015/controls/contextmenu/contextmenu.interface.js +1 -0
  13. package/esm2015/controls/contextmenu/contextmenu.interface.ngfactory.js +7 -0
  14. package/esm2015/controls/contextmenu/contextmenu.js +22 -23
  15. package/esm2015/controls/contextmenu/contextmenuitem.js +13 -2
  16. package/esm2015/controls/contextmenu/contextmenuitembutton.js +34 -25
  17. package/esm2015/controls/treeview/treeview.js +232 -247
  18. package/esm2015/interfaces/ISacIconService.js +1 -1
  19. package/esm2015/interfaces/treeviewaction.interface.js +1 -0
  20. package/esm2015/interfaces/treeviewaction.interface.ngfactory.js +7 -0
  21. package/esm2015/public_api.js +4 -5
  22. package/esm2015/services/sac-icon.service.js +25 -1
  23. package/fesm2015/simpleangularcontrols-sac-common.js +343 -389
  24. package/fesm2015/simpleangularcontrols-sac-common.js.map +1 -1
  25. package/interfaces/ISacIconService.d.ts +16 -0
  26. package/interfaces/treeviewaction.interface.d.ts +4 -0
  27. package/package.json +1 -1
  28. package/public_api.d.ts +3 -4
  29. package/services/sac-icon.service.d.ts +33 -1
  30. package/simpleangularcontrols-sac-common-10.0.0-rc.13.tgz +0 -0
  31. package/simpleangularcontrols-sac-common.metadata.json +1 -1
  32. package/controls/treeview/ngtreeitemaction.d.ts +0 -40
  33. package/controls/treeview/treeviewchild.d.ts +0 -12
  34. package/esm2015/controls/treeview/ngtreeitemaction.js +0 -60
  35. package/esm2015/controls/treeview/ngtreeitemaction.ngfactory.js +0 -7
  36. package/esm2015/controls/treeview/treeviewchild.js +0 -18
  37. package/esm2015/controls/treeview/treeviewchild.ngfactory.js +0 -7
  38. package/simpleangularcontrols-sac-common-10.0.0-rc.12.tgz +0 -0
  39. /package/controls/{treeview/ngtreeitemaction.ngfactory.d.ts → contextmenu/contextmenu.interface.ngfactory.d.ts} +0 -0
  40. /package/{controls/treeview/treeviewchild.ngfactory.d.ts → interfaces/treeviewaction.interface.ngfactory.d.ts} +0 -0
@@ -74,6 +74,22 @@ export interface ISacIconService {
74
74
  * icon for select button in time component
75
75
  */
76
76
  TimeComponentSelectorIcon: string;
77
+ /**
78
+ * Icon for the standard actions per node
79
+ */
80
+ TreeviewNodeActionIcon: string;
81
+ /**
82
+ * Icon if node is closed in Treeview and the child elements are not visible.
83
+ */
84
+ TreeviewNodeClosedIcon: string;
85
+ /**
86
+ * Icon if node in treeview has no child elements
87
+ */
88
+ TreeviewNodeEmptyIcon: string;
89
+ /**
90
+ * Icon when Node is open in Treeview and the child elements are visible.
91
+ */
92
+ TreeviewNodeOpenIcon: string;
77
93
  /**
78
94
  * browse icon in upload component
79
95
  */
@@ -0,0 +1,4 @@
1
+ export interface TreeviewAction {
2
+ action: string;
3
+ node: any;
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simpleangularcontrols/sac-common",
3
- "version": "10.0.0-rc.12",
3
+ "version": "10.0.0-rc.13",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^10.1.5",
6
6
  "@angular/core": "^10.1.5",
package/public_api.d.ts CHANGED
@@ -7,7 +7,7 @@ export { SacFormCommon } from './controls/form/form';
7
7
  export { SacFormLayoutCommon } from './controls/layout/formlayout';
8
8
  export { SacDropdownCommon } from './controls/list/dropdown';
9
9
  export { SacDropdownOptionCommon } from './controls/list/dropdownoptions';
10
- export { SacListboxCommon, SacListboxOptionCommon, } from './controls/list/listbox';
10
+ export { SacListboxCommon, SacListboxOptionCommon } from './controls/list/listbox';
11
11
  export { SacTabCommon } from './controls/tabs/tab';
12
12
  export { SacTabItemCommon } from './controls/tabs/tabitem';
13
13
  export { SacValidationSummaryCommon } from './controls/validation/validationsummary';
@@ -36,9 +36,7 @@ export { SacStaticLabelCommon } from './controls/static/staticlabel';
36
36
  export { SacWizardCommon } from './controls/wizard/wizard';
37
37
  export { SacWizardItemCommon } from './controls/wizard/wizarditem';
38
38
  export { SacTinyMceCommon } from './controls/tinymce/tinymce';
39
- export { SacTreeItemActionCommon } from './controls/treeview/ngtreeitemaction';
40
- export { SacTreeViewCommon } from './controls/treeview/treeview';
41
- export { SacTreeViewChildCommon } from './controls/treeview/treeviewchild';
39
+ export { SacTreeviewCommon } from './controls/treeview/treeview';
42
40
  export { SacTooltipCommon } from './controls/tooltip/tooltip';
43
41
  export { SacUploadFile } from './common/baseuploadcontrol';
44
42
  export { SacDropzoneMultipleCommon } from './controls/upload/dropzonemultiple';
@@ -67,6 +65,7 @@ export * from './interfaces/ISacValidationKeyService';
67
65
  export { SACCONFIGURATION_SERVICE, SACFILEBROWSER_SERVICE, SACICON_SERVICE, SACLANGUAGE_SERVICE, SACLOCALISATION_SERVICE, SACVALIDATIONKEY_SERVICE, SacAbstractConfigurationService, SacAbstractFileBrowserService, SacAbstractIconService, SacAbstractLanguageService, SacAbstractLocalisationService, } from './services';
68
66
  export * from './interfaces/iabstractcontrollabel';
69
67
  export * from './interfaces/ISacLabelSizes';
68
+ export * from './interfaces/treeviewaction.interface';
70
69
  export * from './models/languagemodel';
71
70
  export * from './enums/ButtonRoleType';
72
71
  export * from './enums/ControlHeight';
@@ -1,5 +1,5 @@
1
- import { InjectionToken } from '@angular/core';
2
1
  import { ISacIconService } from '../interfaces/ISacIconService';
2
+ import { InjectionToken } from '@angular/core';
3
3
  /**
4
4
  * abstract class for icon providing in components
5
5
  */
@@ -76,6 +76,22 @@ export declare abstract class SacAbstractIconService implements ISacIconService
76
76
  * @inheritdoc
77
77
  */
78
78
  abstract get TimeComponentSelectorIcon(): string;
79
+ /**
80
+ * @inheritdoc
81
+ */
82
+ abstract get TreeviewNodeActionIcon(): string;
83
+ /**
84
+ * @inheritdoc
85
+ */
86
+ abstract get TreeviewNodeClosedIcon(): string;
87
+ /**
88
+ * @inheritdoc
89
+ */
90
+ abstract get TreeviewNodeEmptyIcon(): string;
91
+ /**
92
+ * @inheritdoc
93
+ */
94
+ abstract get TreeviewNodeOpenIcon(): string;
79
95
  /**
80
96
  * @inheritdoc
81
97
  */
@@ -173,6 +189,22 @@ export declare class SacDefaultIconService extends SacAbstractIconService {
173
189
  * @inheritdoc
174
190
  */
175
191
  get TimeComponentSelectorIcon(): string;
192
+ /**
193
+ * @inheritdoc
194
+ */
195
+ get TreeviewNodeActionIcon(): string;
196
+ /**
197
+ * @inheritdoc
198
+ */
199
+ get TreeviewNodeClosedIcon(): string;
200
+ /**
201
+ * @inheritdoc
202
+ */
203
+ get TreeviewNodeEmptyIcon(): string;
204
+ /**
205
+ * @inheritdoc
206
+ */
207
+ get TreeviewNodeOpenIcon(): string;
176
208
  /**
177
209
  * @inheritdoc
178
210
  */