@simpleangularcontrols/sac-common 10.0.0-rc.11 → 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 (86) hide show
  1. package/bundles/simpleangularcontrols-sac-common.umd.js +1425 -1088
  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/basedatetimecontrol.d.ts +99 -13
  6. package/common/basemodelcontrol.d.ts +33 -29
  7. package/controls/checkbox/radiobutton.d.ts +61 -26
  8. package/controls/contextmenu/contextmenu.d.ts +26 -19
  9. package/controls/contextmenu/contextmenu.interface.d.ts +3 -0
  10. package/controls/contextmenu/contextmenuitem.d.ts +5 -0
  11. package/controls/contextmenu/contextmenuitembutton.d.ts +21 -20
  12. package/controls/datetime/date.d.ts +28 -27
  13. package/controls/datetime/datetime.d.ts +27 -27
  14. package/controls/datetime/time.d.ts +26 -26
  15. package/controls/dialog/dialog.d.ts +31 -43
  16. package/controls/layout/formlayout.d.ts +4 -0
  17. package/controls/list/buildvaluestring.d.ts +6 -0
  18. package/controls/list/dropdown.d.ts +9 -51
  19. package/controls/list/dropdownoptions.d.ts +38 -0
  20. package/controls/list/dropdownoptions.ngfactory.d.ts +1 -0
  21. package/controls/static/formcontainer.d.ts +11 -3
  22. package/controls/tooltip/tooltip.d.ts +33 -51
  23. package/controls/treeview/treeview.d.ts +87 -121
  24. package/esm2015/common/basedatetimecontrol.js +178 -30
  25. package/esm2015/common/basemodelcontrol.js +71 -56
  26. package/esm2015/controls/checkbox/radiobutton.js +94 -45
  27. package/esm2015/controls/contextmenu/contextmenu.interface.js +1 -0
  28. package/esm2015/controls/contextmenu/contextmenu.interface.ngfactory.js +7 -0
  29. package/esm2015/controls/contextmenu/contextmenu.js +22 -23
  30. package/esm2015/controls/contextmenu/contextmenuitem.js +13 -2
  31. package/esm2015/controls/contextmenu/contextmenuitembutton.js +34 -25
  32. package/esm2015/controls/datetime/date.js +43 -41
  33. package/esm2015/controls/datetime/datetime.js +42 -41
  34. package/esm2015/controls/datetime/time.js +42 -41
  35. package/esm2015/controls/dialog/dialog.js +41 -83
  36. package/esm2015/controls/layout/formlayout.js +7 -6
  37. package/esm2015/controls/list/buildvaluestring.js +18 -0
  38. package/esm2015/controls/{treeview/ngtreeitemaction.ngfactory.js → list/buildvaluestring.ngfactory.js} +1 -1
  39. package/esm2015/controls/list/dropdown.js +16 -114
  40. package/esm2015/controls/list/dropdownoptions.js +72 -0
  41. package/esm2015/controls/{treeview/treeviewchild.ngfactory.js → list/dropdownoptions.ngfactory.js} +1 -1
  42. package/esm2015/controls/static/formcontainer.js +16 -6
  43. package/esm2015/controls/tooltip/tooltip.js +60 -250
  44. package/esm2015/controls/treeview/treeview.js +232 -247
  45. package/esm2015/interfaces/ISacConfigurationService.js +1 -1
  46. package/esm2015/interfaces/ISacIconService.js +1 -1
  47. package/esm2015/interfaces/treeviewaction.interface.js +1 -0
  48. package/esm2015/interfaces/treeviewaction.interface.ngfactory.js +7 -0
  49. package/esm2015/public_api.js +6 -6
  50. package/esm2015/services/sac-configuration.service.js +7 -5
  51. package/esm2015/services/sac-icon.service.js +25 -1
  52. package/esm2015/utilities/enums.js +5 -1
  53. package/esm2015/utilities/popuphelper.js +343 -0
  54. package/esm2015/utilities/popuphelper.ngfactory.js +7 -0
  55. package/esm2015/validation/equals.validator.js +14 -0
  56. package/esm2015/validation/equals.validator.ngfactory.js +7 -0
  57. package/esm2015/validation/notequals.validator.js +14 -0
  58. package/esm2015/validation/notequals.validator.ngfactory.js +7 -0
  59. package/esm2015/validation/validation.class.js +30 -6
  60. package/fesm2015/simpleangularcontrols-sac-common.js +1398 -1075
  61. package/fesm2015/simpleangularcontrols-sac-common.js.map +1 -1
  62. package/interfaces/ISacConfigurationService.d.ts +4 -0
  63. package/interfaces/ISacIconService.d.ts +16 -0
  64. package/interfaces/treeviewaction.interface.d.ts +4 -0
  65. package/interfaces/treeviewaction.interface.ngfactory.d.ts +1 -0
  66. package/package.json +1 -1
  67. package/public_api.d.ts +5 -5
  68. package/services/sac-configuration.service.d.ts +8 -0
  69. package/services/sac-icon.service.d.ts +33 -1
  70. package/simpleangularcontrols-sac-common-10.0.0-rc.13.tgz +0 -0
  71. package/simpleangularcontrols-sac-common.metadata.json +1 -1
  72. package/utilities/enums.d.ts +3 -1
  73. package/utilities/popuphelper.d.ts +83 -0
  74. package/utilities/popuphelper.ngfactory.d.ts +1 -0
  75. package/validation/equals.validator.d.ts +2 -0
  76. package/validation/equals.validator.ngfactory.d.ts +1 -0
  77. package/validation/notequals.validator.d.ts +2 -0
  78. package/validation/notequals.validator.ngfactory.d.ts +1 -0
  79. package/validation/validation.class.d.ts +19 -0
  80. package/controls/treeview/ngtreeitemaction.d.ts +0 -40
  81. package/controls/treeview/treeviewchild.d.ts +0 -12
  82. package/esm2015/controls/treeview/ngtreeitemaction.js +0 -60
  83. package/esm2015/controls/treeview/treeviewchild.js +0 -18
  84. package/simpleangularcontrols-sac-common-10.0.0-rc.11.tgz +0 -0
  85. /package/controls/{treeview/ngtreeitemaction.ngfactory.d.ts → contextmenu/contextmenu.interface.ngfactory.d.ts} +0 -0
  86. /package/controls/{treeview/treeviewchild.ngfactory.d.ts → list/buildvaluestring.ngfactory.d.ts} +0 -0
@@ -51,4 +51,8 @@ export interface ISacConfigurationService {
51
51
  * default label size for extra extra large devices
52
52
  */
53
53
  LabelSizeXxl: number | null;
54
+ /**
55
+ * Detach label text and tooltip from each other in Label so that label and tooltip can be aligned differently. This is in Bootstrap 3 not supported!
56
+ */
57
+ SplitLabelAndHelptext: boolean;
54
58
  }
@@ -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
+ }
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simpleangularcontrols/sac-common",
3
- "version": "10.0.0-rc.11",
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
@@ -5,8 +5,9 @@ export { SacRadiobuttonsCommon } from './controls/checkbox/radiobuttons';
5
5
  export { SacDialogCommon } from './controls/dialog/dialog';
6
6
  export { SacFormCommon } from './controls/form/form';
7
7
  export { SacFormLayoutCommon } from './controls/layout/formlayout';
8
- export { SacDropdownCommon, SacDropdownOptionCommon, } from './controls/list/dropdown';
9
- export { SacListboxCommon, SacListboxOptionCommon, } from './controls/list/listbox';
8
+ export { SacDropdownCommon } from './controls/list/dropdown';
9
+ export { SacDropdownOptionCommon } from './controls/list/dropdownoptions';
10
+ export { SacListboxCommon, SacListboxOptionCommon } from './controls/list/listbox';
10
11
  export { SacTabCommon } from './controls/tabs/tab';
11
12
  export { SacTabItemCommon } from './controls/tabs/tabitem';
12
13
  export { SacValidationSummaryCommon } from './controls/validation/validationsummary';
@@ -35,9 +36,7 @@ export { SacStaticLabelCommon } from './controls/static/staticlabel';
35
36
  export { SacWizardCommon } from './controls/wizard/wizard';
36
37
  export { SacWizardItemCommon } from './controls/wizard/wizarditem';
37
38
  export { SacTinyMceCommon } from './controls/tinymce/tinymce';
38
- export { SacTreeItemActionCommon } from './controls/treeview/ngtreeitemaction';
39
- export { SacTreeViewCommon } from './controls/treeview/treeview';
40
- export { SacTreeViewChildCommon } from './controls/treeview/treeviewchild';
39
+ export { SacTreeviewCommon } from './controls/treeview/treeview';
41
40
  export { SacTooltipCommon } from './controls/tooltip/tooltip';
42
41
  export { SacUploadFile } from './common/baseuploadcontrol';
43
42
  export { SacDropzoneMultipleCommon } from './controls/upload/dropzonemultiple';
@@ -66,6 +65,7 @@ export * from './interfaces/ISacValidationKeyService';
66
65
  export { SACCONFIGURATION_SERVICE, SACFILEBROWSER_SERVICE, SACICON_SERVICE, SACLANGUAGE_SERVICE, SACLOCALISATION_SERVICE, SACVALIDATIONKEY_SERVICE, SacAbstractConfigurationService, SacAbstractFileBrowserService, SacAbstractIconService, SacAbstractLanguageService, SacAbstractLocalisationService, } from './services';
67
66
  export * from './interfaces/iabstractcontrollabel';
68
67
  export * from './interfaces/ISacLabelSizes';
68
+ export * from './interfaces/treeviewaction.interface';
69
69
  export * from './models/languagemodel';
70
70
  export * from './enums/ButtonRoleType';
71
71
  export * from './enums/ControlHeight';
@@ -53,6 +53,10 @@ export declare abstract class SacAbstractConfigurationService implements ISacCon
53
53
  * @inheritdoc
54
54
  */
55
55
  abstract get LabelSizeXxl(): number | null;
56
+ /**
57
+ * @inheritdoc
58
+ */
59
+ abstract get SplitLabelAndHelptext(): boolean;
56
60
  }
57
61
  /**
58
62
  * default configuration service for components
@@ -106,6 +110,10 @@ export declare class SacDefaultConfigurationService extends SacAbstractConfigura
106
110
  * @inheritdoc
107
111
  */
108
112
  get LabelSizeXxl(): number | null;
113
+ /**
114
+ * @inheritdoc
115
+ */
116
+ get SplitLabelAndHelptext(): boolean;
109
117
  }
110
118
  /**
111
119
  * injection token for component configuration service
@@ -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
  */