@sankhyalabs/ezui 1.1.75 → 1.1.78

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 (195) hide show
  1. package/dist/cjs/ApplicationUtils-d1c1db56.js +35 -0
  2. package/dist/cjs/AssetsUtils-dd585fba.js +24 -0
  3. package/dist/cjs/CSSVarsUtils-66e86394.js +18 -0
  4. package/dist/cjs/DataUnit-fdd7c70e.js +474 -0
  5. package/dist/cjs/DateUtils-716769e0.js +46 -0
  6. package/dist/cjs/ez-action-chip.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-application.cjs.entry.js +26 -0
  8. package/dist/cjs/ez-button_11.cjs.entry.js +111771 -0
  9. package/dist/cjs/ez-calendar.cjs.entry.js +217 -0
  10. package/dist/cjs/ez-collapsible-box_6.cjs.entry.js +634 -0
  11. package/dist/cjs/ez-combo-box.cjs.entry.js +254 -0
  12. package/dist/cjs/ez-date-time-input.cjs.entry.js +133 -0
  13. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  14. package/dist/cjs/ez-form.cjs.entry.js +1838 -0
  15. package/dist/cjs/ez-label-chip.cjs.entry.js +1 -1
  16. package/dist/cjs/ez-number-input.cjs.entry.js +36 -212
  17. package/dist/cjs/ez-popover.cjs.entry.js +3 -3
  18. package/dist/cjs/ez-popup.cjs.entry.js +2 -2
  19. package/dist/cjs/ez-time-input.cjs.entry.js +10 -9
  20. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  21. package/dist/cjs/ezui.cjs.js +3 -3
  22. package/dist/cjs/form-metadata.cjs.entry.js +129 -0
  23. package/dist/cjs/index-40ebb2be.js +7422 -0
  24. package/dist/cjs/{index-4d2896bb.js → index-4e4bae01.js} +3 -5
  25. package/dist/cjs/loader.cjs.js +3 -3
  26. package/dist/collection/collection-manifest.json +8 -3
  27. package/dist/collection/components/ez-application/ez-application.css +3 -0
  28. package/dist/collection/components/ez-application/ez-application.js +35 -0
  29. package/dist/collection/components/ez-button/ez-button.css +78 -44
  30. package/dist/collection/components/ez-button/ez-button.js +36 -4
  31. package/dist/collection/components/ez-calendar/ez-calendar.css +70 -3
  32. package/dist/collection/components/ez-calendar/ez-calendar.js +173 -24
  33. package/dist/collection/components/ez-check/ez-check.css +78 -78
  34. package/dist/collection/components/ez-check/ez-check.js +3 -3
  35. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +34 -34
  36. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js +12 -12
  37. package/dist/collection/components/ez-combo-box/ez-combo-box.css +65 -54
  38. package/dist/collection/components/ez-combo-box/ez-combo-box.js +5 -0
  39. package/dist/collection/components/ez-date-input/ez-date-input.css +17 -3
  40. package/dist/collection/components/ez-date-input/ez-date-input.js +3 -3
  41. package/dist/collection/components/ez-date-time-input/ez-date-time-input.css +44 -0
  42. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +243 -0
  43. package/dist/collection/components/ez-form/ez-form.js +37 -35
  44. package/dist/collection/components/ez-form/store/Form.actions.js +16 -16
  45. package/dist/collection/components/ez-form/store/Form.reducer.js +17 -17
  46. package/dist/collection/components/ez-form/subcomponents/DataUnit.js +11 -11
  47. package/dist/collection/components/ez-form/subcomponents/form-metadata.js +12 -12
  48. package/dist/collection/components/ez-form/subcomponents/place-holder.js +1 -1
  49. package/dist/collection/components/ez-form/subcomponents/structure/Field.js +21 -21
  50. package/dist/collection/components/ez-form/subcomponents/structure/FormSheet.js +1 -1
  51. package/dist/collection/components/ez-form/subcomponents/structure/NavigationBar.js +9 -9
  52. package/dist/collection/components/ez-grid/controller/DataUnitBridge.js +21 -0
  53. package/dist/collection/components/ez-grid/controller/EzGridController.js +1 -0
  54. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +203 -0
  55. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +41 -0
  56. package/dist/collection/components/ez-grid/controller/ag-grid/i18n/pt-BR.js +75 -0
  57. package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js +69 -0
  58. package/dist/collection/components/ez-grid/controller/ag-grid/template/HeaderColumnTemplate.js +12 -0
  59. package/dist/collection/components/ez-grid/ez-grid.css +15 -0
  60. package/dist/collection/components/ez-grid/ez-grid.js +414 -0
  61. package/dist/collection/components/ez-grid/subcomponents/gridconfig/grid-config.css +105 -0
  62. package/dist/collection/components/ez-grid/subcomponents/gridconfig/grid-config.js +354 -0
  63. package/dist/collection/components/ez-grid/subcomponents/select-box/select-box.css +7 -0
  64. package/dist/collection/components/ez-grid/subcomponents/select-box/select-box.js +66 -0
  65. package/dist/collection/components/ez-icon/ez-icon.css +1 -1
  66. package/dist/collection/components/ez-list/ez-list.css +227 -44
  67. package/dist/collection/components/ez-list/ez-list.js +529 -149
  68. package/dist/collection/components/ez-modal/ez-modal.css +4 -4
  69. package/dist/collection/components/ez-modal/ez-modal.js +1 -1
  70. package/dist/collection/components/ez-number-input/ez-number-input.css +1 -165
  71. package/dist/collection/components/ez-number-input/ez-number-input.js +53 -339
  72. package/dist/collection/components/ez-popover/ez-popover.css +10 -6
  73. package/dist/collection/components/ez-popup/ez-popup.css +25 -27
  74. package/dist/collection/components/ez-search/ez-search.js +6 -1
  75. package/dist/collection/components/ez-tabselector/ez-tabselector.css +0 -1
  76. package/dist/collection/components/ez-tabselector/ez-tabselector.js +3 -3
  77. package/dist/collection/components/ez-text-area/ez-text-area.js +1 -0
  78. package/dist/collection/components/ez-text-input/ez-text-input.css +60 -60
  79. package/dist/collection/components/ez-text-input/ez-text-input.js +17 -16
  80. package/dist/collection/components/ez-time-input/ez-time-input.js +3 -2
  81. package/dist/collection/components/ez-upload/ez-upload.js +3 -3
  82. package/dist/collection/components/test-du/test-du.css +3 -0
  83. package/dist/collection/components/test-du/test-du.js +45 -0
  84. package/dist/collection/servidor.js +94 -94
  85. package/dist/collection/utils/{Application.js → ApplicationUtils.js} +4 -4
  86. package/dist/collection/utils/AssetsUtils.js +19 -0
  87. package/dist/collection/utils/CSSVarsUtils.js +6 -6
  88. package/dist/custom-elements/index.d.ts +36 -6
  89. package/dist/custom-elements/index.js +120886 -2964
  90. package/dist/esm/ApplicationUtils-01280a9d.js +33 -0
  91. package/dist/esm/AssetsUtils-3803e935.js +22 -0
  92. package/dist/esm/CSSVarsUtils-aeee9825.js +16 -0
  93. package/dist/esm/DataUnit-1cd45202.js +464 -0
  94. package/dist/esm/DateUtils-0a1bbd7a.js +44 -0
  95. package/dist/esm/ez-action-chip.entry.js +1 -1
  96. package/dist/esm/ez-application.entry.js +22 -0
  97. package/dist/esm/ez-button_11.entry.js +111757 -0
  98. package/dist/esm/ez-calendar.entry.js +213 -0
  99. package/dist/esm/ez-collapsible-box_6.entry.js +625 -0
  100. package/dist/esm/ez-combo-box.entry.js +250 -0
  101. package/dist/esm/ez-date-time-input.entry.js +129 -0
  102. package/dist/esm/ez-dialog.entry.js +1 -1
  103. package/dist/esm/ez-form.entry.js +1834 -0
  104. package/dist/esm/ez-label-chip.entry.js +1 -1
  105. package/dist/esm/ez-number-input.entry.js +36 -212
  106. package/dist/esm/ez-popover.entry.js +3 -3
  107. package/dist/esm/ez-popup.entry.js +2 -2
  108. package/dist/esm/ez-time-input.entry.js +5 -4
  109. package/dist/esm/ez-toast.entry.js +1 -1
  110. package/dist/esm/ezui.js +3 -3
  111. package/dist/esm/form-metadata.entry.js +125 -0
  112. package/dist/esm/{index-33153059.js → index-1dacecd3.js} +3 -6
  113. package/dist/esm/index-ca8700cb.js +7414 -0
  114. package/dist/esm/loader.js +3 -3
  115. package/dist/ezui/ezui.esm.js +1 -1
  116. package/dist/ezui/p-14bee38e.entry.js +1 -0
  117. package/dist/ezui/p-37a611ea.js +1 -0
  118. package/dist/ezui/p-3a09c678.entry.js +1 -0
  119. package/dist/ezui/p-43c15c94.entry.js +1 -0
  120. package/dist/ezui/{p-34d288d0.entry.js → p-516d0e0f.entry.js} +1 -1
  121. package/dist/ezui/{p-0d476efb.entry.js → p-5a86e18a.entry.js} +1 -1
  122. package/dist/ezui/{p-47406a6e.entry.js → p-5da66d3e.entry.js} +1 -1
  123. package/dist/ezui/p-7107d7ef.js +1 -0
  124. package/dist/ezui/p-72ff3c95.entry.js +1 -0
  125. package/dist/ezui/p-74f978db.entry.js +369 -0
  126. package/dist/ezui/p-88f45a83.entry.js +1 -0
  127. package/dist/ezui/p-8b099482.js +1 -0
  128. package/dist/ezui/p-8d6cdd3e.entry.js +1 -0
  129. package/dist/ezui/p-8f4851a6.js +1 -0
  130. package/dist/ezui/p-9dfd537e.js +1 -0
  131. package/dist/ezui/p-a0331955.entry.js +1 -0
  132. package/dist/ezui/p-a15093e3.entry.js +1 -0
  133. package/dist/ezui/{p-8818da66.entry.js → p-a18a2d7b.entry.js} +1 -1
  134. package/dist/ezui/p-a19f2af3.entry.js +1 -0
  135. package/dist/ezui/p-c6d469fc.entry.js +1 -0
  136. package/dist/ezui/p-c89629eb.js +1 -0
  137. package/dist/ezui/p-da929c01.js +1 -0
  138. package/dist/ezui/p-f3c5f27e.entry.js +1 -0
  139. package/dist/types/components/ez-application/ez-application.d.ts +10 -0
  140. package/dist/types/components/ez-button/ez-button.d.ts +5 -0
  141. package/dist/types/components/ez-calendar/ez-calendar.d.ts +21 -0
  142. package/dist/types/components/ez-check/ez-check.d.ts +1 -1
  143. package/dist/types/components/ez-collapsible-box/ez-collapsible-box.d.ts +3 -3
  144. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +1 -0
  145. package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +42 -0
  146. package/dist/types/components/ez-form/ez-form.d.ts +9 -9
  147. package/dist/types/components/ez-form/subcomponents/DataUnit.d.ts +1 -1
  148. package/dist/types/components/ez-form/subcomponents/form-metadata.d.ts +1 -1
  149. package/dist/types/components/ez-grid/controller/DataUnitBridge.d.ts +8 -0
  150. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +195 -0
  151. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +34 -0
  152. package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +11 -0
  153. package/dist/types/components/ez-grid/controller/ag-grid/i18n/pt-BR.d.ts +2 -0
  154. package/dist/types/components/ez-grid/controller/ag-grid/mock/Server.d.ts +8 -0
  155. package/dist/types/components/ez-grid/ez-grid.d.ts +78 -0
  156. package/dist/types/components/ez-grid/subcomponents/gridconfig/grid-config.d.ts +30 -0
  157. package/dist/types/components/ez-grid/subcomponents/select-box/select-box.d.ts +9 -0
  158. package/dist/types/components/ez-list/ez-list.d.ts +70 -17
  159. package/dist/types/components/ez-number-input/ez-number-input.d.ts +29 -63
  160. package/dist/types/components/ez-search/ez-search.d.ts +2 -0
  161. package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +1 -1
  162. package/dist/types/components/ez-text-input/ez-text-input.d.ts +1 -1
  163. package/dist/types/components/test-du/test-du.d.ts +6 -0
  164. package/dist/types/components.d.ts +289 -139
  165. package/dist/types/stencil-public-runtime.d.ts +6 -4
  166. package/dist/types/utils/{Application.d.ts → ApplicationUtils.d.ts} +1 -1
  167. package/dist/types/utils/AssetsUtils.d.ts +1 -0
  168. package/dist/types/utils/CSSVarsUtils.d.ts +1 -1
  169. package/package.json +10 -8
  170. package/react/components.d.ts +6 -1
  171. package/react/components.js +6 -1
  172. package/react/components.js.map +1 -1
  173. package/dist/cjs/CSSVarsUtils-f8827674.js +0 -18
  174. package/dist/cjs/RequestMetadata-2cd01e8a.js +0 -531
  175. package/dist/cjs/ez-button_16.cjs.entry.js +0 -4071
  176. package/dist/cjs/ez-list.cjs.entry.js +0 -174
  177. package/dist/cjs/ez-modal.cjs.entry.js +0 -65
  178. package/dist/collection/components/ez-numeric-input/ez-numeric-input.css +0 -13
  179. package/dist/collection/components/ez-numeric-input/ez-numeric-input.js +0 -185
  180. package/dist/esm/CSSVarsUtils-e0128b01.js +0 -16
  181. package/dist/esm/RequestMetadata-c265c9d5.js +0 -527
  182. package/dist/esm/ez-button_16.entry.js +0 -4052
  183. package/dist/esm/ez-list.entry.js +0 -170
  184. package/dist/esm/ez-modal.entry.js +0 -61
  185. package/dist/ezui/p-061d21ba.entry.js +0 -1
  186. package/dist/ezui/p-15743b09.entry.js +0 -1
  187. package/dist/ezui/p-46d07e59.entry.js +0 -1
  188. package/dist/ezui/p-4df6f855.js +0 -1
  189. package/dist/ezui/p-50464bdf.entry.js +0 -1
  190. package/dist/ezui/p-67410dfa.entry.js +0 -1
  191. package/dist/ezui/p-7be54779.entry.js +0 -1
  192. package/dist/ezui/p-7f3bc6d9.entry.js +0 -1
  193. package/dist/ezui/p-9dfccb16.js +0 -1
  194. package/dist/ezui/p-d1889704.js +0 -1
  195. package/dist/types/components/ez-numeric-input/ez-numeric-input.d.ts +0 -45
@@ -1,101 +1,101 @@
1
- function carregarMetadados(){
2
- return [
3
- {
4
- "name": "AD_TWFSOLLICJUR",
5
- "label": "Análise de Licitações",
6
- "items": [],
7
- "dataUnit": {
8
- "name": "AD_TWFSOLLICJUR",
9
- "cardinality": "N",
10
- "records": [
11
- {
12
- "record__id": "SURJTlNUUFJOPTc3MTYwMiZJRElOU1RUQVI9MCZDT0RSRUdJU1RSTz0x",
13
- "EDITAL": null,
14
- "RESUMO": "algo escrito Pela NOVA lista de Tarefassdf",
15
- "DTHAB": new Date(1978, 5, 18),
16
- "COMITE": null,
17
- "DEMANDA": null,
18
- "DUVIDAS": null
19
- },
20
- {
21
- "record__id": "SURJTlNUUFJOPTc3MTYwMiZJRElOU1RUQVI9MCZDT0RSRUdJU1RSTz0xOutro",
22
- "EDITAL": null,
23
- "RESUMO": "Um resumicho",
24
- "DTHAB": new Date(1988, 5, 18),
25
- "COMITE": null,
26
- "DEMANDA": null,
27
- "DUVIDAS": null
28
- }
29
- ]
1
+ function carregarMetadados() {
2
+ return [
3
+ {
4
+ "name": "AD_TWFSOLLICJUR",
5
+ "label": "Análise de Licitações",
6
+ "items": [],
7
+ "dataUnit": {
8
+ "name": "AD_TWFSOLLICJUR",
9
+ "cardinality": "N",
10
+ "records": [
11
+ {
12
+ "record__id": "SURJTlNUUFJOPTc3MTYwMiZJRElOU1RUQVI9MCZDT0RSRUdJU1RSTz0x",
13
+ "EDITAL": null,
14
+ "RESUMO": "algo escrito Pela NOVA lista de Tarefassdf",
15
+ "DTHAB": new Date(1978, 5, 18),
16
+ "COMITE": null,
17
+ "DEMANDA": null,
18
+ "DUVIDAS": null
30
19
  },
31
- "subForms": [
20
+ {
21
+ "record__id": "SURJTlNUUFJOPTc3MTYwMiZJRElOU1RUQVI9MCZDT0RSRUdJU1RSTz0xOutro",
22
+ "EDITAL": null,
23
+ "RESUMO": "Um resumicho",
24
+ "DTHAB": new Date(1988, 5, 18),
25
+ "COMITE": null,
26
+ "DEMANDA": null,
27
+ "DUVIDAS": null
28
+ }
29
+ ]
30
+ },
31
+ "subForms": [
32
+ {
33
+ "name": "AD_TWFSOLLICJUR#Geral",
34
+ "label": "Geral",
35
+ "items": [
32
36
  {
33
- "name": "AD_TWFSOLLICJUR#Geral",
34
- "label": "Geral",
35
- "items": [
36
- {
37
- "name": "EDITAL",
38
- "label": "Por gentileza, anexe o edital de licitação completo e outros anexos caso houver no formato .zip.",
39
- "readOnly": false,
40
- "required": false,
41
- "defaultValue": null,
42
- "userInterface": "IMAGE",
43
- "properties": []
44
- },
45
- {
46
- "name": "RESUMO",
47
- "label": "Resumo do edital:",
48
- "readOnly": false,
49
- "required": false,
50
- "defaultValue": null,
51
- "userInterface": "LONGTEXT",
52
- "properties": []
53
- },
54
- {
55
- "name": "DTHAB",
56
- "label": "Informe a data de habilitação do processo licitatório:",
57
- "readOnly": false,
58
- "required": false,
59
- "defaultValue": null,
60
- "userInterface": "DATE",
61
- "properties": []
62
- },
63
- {
64
- "name": "COMITE",
65
- "label": "Necessário acionar comitê? Se sim, adicione os comentários relacionados ao comitê:",
66
- "readOnly": false,
67
- "required": false,
68
- "defaultValue": null,
69
- "userInterface": "LONGTEXT",
70
- "properties": []
71
- },
72
- {
73
- "name": "DEMANDA",
74
- "label": "Duvidas se iremos conseguir atender as demandas?",
75
- "readOnly": false,
76
- "required": false,
77
- "defaultValue": null,
78
- "userInterface": "OPTIONSELECTOR",
79
- "properties": [
80
- {
81
- "name": "options",
82
- "value": "{\"SIM\":\"Sim\",\"NAO\":\"Não\"}"
83
- }
84
- ]
85
- },
37
+ "name": "EDITAL",
38
+ "label": "Por gentileza, anexe o edital de licitação completo e outros anexos caso houver no formato .zip.",
39
+ "readOnly": false,
40
+ "required": false,
41
+ "defaultValue": null,
42
+ "userInterface": "IMAGE",
43
+ "properties": []
44
+ },
45
+ {
46
+ "name": "RESUMO",
47
+ "label": "Resumo do edital:",
48
+ "readOnly": false,
49
+ "required": false,
50
+ "defaultValue": null,
51
+ "userInterface": "LONGTEXT",
52
+ "properties": []
53
+ },
54
+ {
55
+ "name": "DTHAB",
56
+ "label": "Informe a data de habilitação do processo licitatório:",
57
+ "readOnly": false,
58
+ "required": false,
59
+ "defaultValue": null,
60
+ "userInterface": "DATE",
61
+ "properties": []
62
+ },
63
+ {
64
+ "name": "COMITE",
65
+ "label": "Necessário acionar comitê? Se sim, adicione os comentários relacionados ao comitê:",
66
+ "readOnly": false,
67
+ "required": false,
68
+ "defaultValue": null,
69
+ "userInterface": "LONGTEXT",
70
+ "properties": []
71
+ },
72
+ {
73
+ "name": "DEMANDA",
74
+ "label": "Duvidas se iremos conseguir atender as demandas?",
75
+ "readOnly": false,
76
+ "required": false,
77
+ "defaultValue": null,
78
+ "userInterface": "OPTIONSELECTOR",
79
+ "properties": [
86
80
  {
87
- "name": "DUVIDAS",
88
- "label": "Informe as dúvidas que o executivo comercial deverá verificar com as áreas correspondentes:",
89
- "readOnly": false,
90
- "required": false,
91
- "defaultValue": null,
92
- "userInterface": "LONGTEXT",
93
- "properties": []
81
+ "name": "options",
82
+ "value": "{\"SIM\":\"Sim\",\"NAO\":\"Não\"}"
94
83
  }
95
- ],
96
- "dataUnit": null
84
+ ]
85
+ },
86
+ {
87
+ "name": "DUVIDAS",
88
+ "label": "Informe as dúvidas que o executivo comercial deverá verificar com as áreas correspondentes:",
89
+ "readOnly": false,
90
+ "required": false,
91
+ "defaultValue": null,
92
+ "userInterface": "LONGTEXT",
93
+ "properties": []
97
94
  }
98
- ]
95
+ ],
96
+ "dataUnit": null
99
97
  }
100
98
  ]
101
- }
99
+ }
100
+ ]
101
+ }
@@ -1,4 +1,4 @@
1
- export default class Application {
1
+ export default class ApplicationUtils {
2
2
  static async showDialog(title, message, icon = null, confirm, critical = false) {
3
3
  return new Promise(resolve => {
4
4
  let dialog = document.querySelector("ez-dialog");
@@ -10,13 +10,13 @@ export default class Application {
10
10
  });
11
11
  }
12
12
  static async alert(title, message, icon = null) {
13
- return Application.showDialog(title, message, icon, false, false);
13
+ return ApplicationUtils.showDialog(title, message, icon, false, false);
14
14
  }
15
15
  static async error(title, message, icon = null) {
16
- return Application.showDialog(title, message, icon, false, true);
16
+ return ApplicationUtils.showDialog(title, message, icon, false, true);
17
17
  }
18
18
  static async confirm(title, message, icon = null, critical = false) {
19
- return Application.showDialog(title, message, icon, true, critical);
19
+ return ApplicationUtils.showDialog(title, message, icon, true, critical);
20
20
  }
21
21
  static async info(message) {
22
22
  let toast = document.querySelector("ez-toast");
@@ -0,0 +1,19 @@
1
+ import { getAssetPath, setAssetPath } from "@stencil/core";
2
+ export const getSpritePath = (sprite) => `${getContextAssetsPath("../assets/actions-sprite.svg")}#${sprite}`;
3
+ let ctxLoaded = false;
4
+ function getContextAssetsPath(resource) {
5
+ if (!ctxLoaded) {
6
+ const scriptElem = document.querySelector("script[data-ezui-assets-url]");
7
+ if (scriptElem) {
8
+ let assetsPath = scriptElem.dataset.ezuiAssetsUrl;
9
+ if (assetsPath) {
10
+ if (assetsPath.startsWith('/')) {
11
+ assetsPath = window.location.origin + assetsPath;
12
+ }
13
+ setAssetPath(assetsPath);
14
+ }
15
+ }
16
+ ctxLoaded = true;
17
+ }
18
+ return getAssetPath(resource);
19
+ }
@@ -1,14 +1,14 @@
1
1
  export default class CSSVarsUtils {
2
- static applyVarsTextInput(host, textInput) {
3
- if (textInput) {
4
- CSSVarsUtils.applyIfExists(host, textInput, '--text-input__input--background-color');
5
- CSSVarsUtils.applyIfExists(host, textInput, '--text-input__input--border-color');
2
+ static applyVarsTextInput(host, child) {
3
+ if (child) {
4
+ CSSVarsUtils.applyIfExists(host, child, '--ez-text-input__input--background-color');
5
+ CSSVarsUtils.applyIfExists(host, child, '--ez-text-input__input--border-color');
6
6
  }
7
7
  }
8
- static applyIfExists(host, textInput, varName) {
8
+ static applyIfExists(host, element, varName) {
9
9
  const prop = getComputedStyle(host).getPropertyValue(varName);
10
10
  if (prop) {
11
- textInput.style.setProperty(varName, prop);
11
+ element.style.setProperty(varName, prop);
12
12
  }
13
13
  }
14
14
  }
@@ -8,6 +8,12 @@ export const EzActionChip: {
8
8
  new (): EzActionChip;
9
9
  };
10
10
 
11
+ interface EzApplication extends Components.EzApplication, HTMLElement {}
12
+ export const EzApplication: {
13
+ prototype: EzApplication;
14
+ new (): EzApplication;
15
+ };
16
+
11
17
  interface EzButton extends Components.EzButton, HTMLElement {}
12
18
  export const EzButton: {
13
19
  prototype: EzButton;
@@ -44,6 +50,12 @@ export const EzDateInput: {
44
50
  new (): EzDateInput;
45
51
  };
46
52
 
53
+ interface EzDateTimeInput extends Components.EzDateTimeInput, HTMLElement {}
54
+ export const EzDateTimeInput: {
55
+ prototype: EzDateTimeInput;
56
+ new (): EzDateTimeInput;
57
+ };
58
+
47
59
  interface EzDialog extends Components.EzDialog, HTMLElement {}
48
60
  export const EzDialog: {
49
61
  prototype: EzDialog;
@@ -56,6 +68,12 @@ export const EzForm: {
56
68
  new (): EzForm;
57
69
  };
58
70
 
71
+ interface EzGrid extends Components.EzGrid, HTMLElement {}
72
+ export const EzGrid: {
73
+ prototype: EzGrid;
74
+ new (): EzGrid;
75
+ };
76
+
59
77
  interface EzIcon extends Components.EzIcon, HTMLElement {}
60
78
  export const EzIcon: {
61
79
  prototype: EzIcon;
@@ -86,12 +104,6 @@ export const EzNumberInput: {
86
104
  new (): EzNumberInput;
87
105
  };
88
106
 
89
- interface EzNumericInput extends Components.EzNumericInput, HTMLElement {}
90
- export const EzNumericInput: {
91
- prototype: EzNumericInput;
92
- new (): EzNumericInput;
93
- };
94
-
95
107
  interface EzPopover extends Components.EzPopover, HTMLElement {}
96
108
  export const EzPopover: {
97
109
  prototype: EzPopover;
@@ -152,12 +164,30 @@ export const FormMetadata: {
152
164
  new (): FormMetadata;
153
165
  };
154
166
 
167
+ interface GridConfig extends Components.GridConfig, HTMLElement {}
168
+ export const GridConfig: {
169
+ prototype: GridConfig;
170
+ new (): GridConfig;
171
+ };
172
+
155
173
  interface PlaceHolder extends Components.PlaceHolder, HTMLElement {}
156
174
  export const PlaceHolder: {
157
175
  prototype: PlaceHolder;
158
176
  new (): PlaceHolder;
159
177
  };
160
178
 
179
+ interface SelectBox extends Components.SelectBox, HTMLElement {}
180
+ export const SelectBox: {
181
+ prototype: SelectBox;
182
+ new (): SelectBox;
183
+ };
184
+
185
+ interface TestDu extends Components.TestDu, HTMLElement {}
186
+ export const TestDu: {
187
+ prototype: TestDu;
188
+ new (): TestDu;
189
+ };
190
+
161
191
  /**
162
192
  * Utility to define all custom elements within this package using the tag name provided in the component's source.
163
193
  * When defining each custom element, it will also check it's safe to define by: