@sankhyalabs/sankhyablocks 8.16.0-dev.114 → 8.16.0-dev.116

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 (282) hide show
  1. package/dist/cjs/{ClientSideExporterProvider-a2753c93.js → ClientSideExporterProvider-0ce2bcd9.js} +2 -2
  2. package/dist/cjs/FormConfigHelper-c664dbae.js +260 -0
  3. package/dist/cjs/{SnkFormConfigManager-ce7b0951.js → SnkFormConfigManager-aa4631bd.js} +2 -3
  4. package/dist/cjs/{SnkMessageBuilder-21cc7f09.js → SnkMessageBuilder-e3b7850b.js} +16 -2
  5. package/dist/cjs/config-header.cjs.entry.js +79 -0
  6. package/dist/cjs/configs-button.cjs.entry.js +61 -0
  7. package/dist/cjs/{constants-77c1b8bd.js → constants-6d82e405.js} +8 -38
  8. package/dist/cjs/field-config_2.cjs.entry.js +324 -0
  9. package/dist/cjs/fields-layout.cjs.entry.js +341 -0
  10. package/dist/cjs/fields-selector.cjs.entry.js +74 -0
  11. package/dist/cjs/guides-configurator.cjs.entry.js +164 -0
  12. package/dist/cjs/{index-102ba62d.js → index-0ad2baeb.js} +4 -5
  13. package/dist/cjs/{index-f9e81701.js → index-1cf293c1.js} +28 -10
  14. package/dist/cjs/loader.cjs.js +2 -2
  15. package/dist/cjs/pesquisa-grid_2.cjs.entry.js +2 -2
  16. package/dist/cjs/sankhyablocks.cjs.js +2 -2
  17. package/dist/cjs/snk-actions-button_8.cjs.entry.js +2 -2
  18. package/dist/cjs/snk-actions-form.cjs.entry.js +1 -1
  19. package/dist/cjs/snk-application.cjs.entry.js +3 -3
  20. package/dist/cjs/snk-attach.cjs.entry.js +4 -4
  21. package/dist/cjs/snk-client-confirm.cjs.entry.js +1 -1
  22. package/dist/cjs/snk-configurator.cjs.entry.js +2 -2
  23. package/dist/cjs/snk-crud.cjs.entry.js +4 -4
  24. package/dist/cjs/snk-custom-slot-elements.cjs.entry.js +1 -1
  25. package/dist/cjs/snk-data-exporter.cjs.entry.js +4 -4
  26. package/dist/cjs/{snk-data-unit-7913a033.js → snk-data-unit-3684c96e.js} +2 -2
  27. package/dist/cjs/snk-data-unit.cjs.entry.js +3 -3
  28. package/dist/cjs/snk-default-filter.cjs.entry.js +1 -1
  29. package/dist/cjs/snk-detail-view.cjs.entry.js +7 -7
  30. package/dist/cjs/snk-entity-list.cjs.entry.js +1 -1
  31. package/dist/cjs/snk-exporter-email-sender.cjs.entry.js +1 -1
  32. package/dist/cjs/snk-expression-group_2.cjs.entry.js +2 -2
  33. package/dist/cjs/snk-filter-advanced-mode_2.cjs.entry.js +1 -1
  34. package/dist/cjs/snk-filter-bar_4.cjs.entry.js +2 -2
  35. package/dist/cjs/snk-filter-binary-select.cjs.entry.js +1 -1
  36. package/dist/cjs/snk-filter-checkbox-list.cjs.entry.js +1 -1
  37. package/dist/cjs/snk-filter-detail.cjs.entry.js +1 -1
  38. package/dist/cjs/snk-filter-field-search_2.cjs.entry.js +1 -1
  39. package/dist/cjs/snk-filter-modal-item.cjs.entry.js +1 -1
  40. package/dist/cjs/snk-filter-multi-select.cjs.entry.js +1 -1
  41. package/dist/cjs/snk-filter-number.cjs.entry.js +1 -1
  42. package/dist/cjs/snk-filter-period.cjs.entry.js +1 -1
  43. package/dist/cjs/snk-filter-search.cjs.entry.js +1 -1
  44. package/dist/cjs/snk-filter-text.cjs.entry.js +1 -1
  45. package/dist/cjs/snk-form-summary.cjs.entry.js +1 -1
  46. package/dist/cjs/snk-form-view.cjs.entry.js +1 -1
  47. package/dist/cjs/snk-form_2.cjs.entry.js +433 -0
  48. package/dist/cjs/snk-grid.cjs.entry.js +5 -5
  49. package/dist/cjs/{snk-guides-viewer-450baf6a.js → snk-guides-viewer-edc0a00a.js} +5 -5
  50. package/dist/cjs/snk-guides-viewer.cjs.entry.js +6 -6
  51. package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js +1 -1
  52. package/dist/cjs/snk-personalized-filter.cjs.entry.js +2 -2
  53. package/dist/cjs/snk-pesquisa.cjs.entry.js +2 -2
  54. package/dist/cjs/snk-print-selector.cjs.entry.js +1 -1
  55. package/dist/cjs/snk-simple-bar.cjs.entry.js +1 -1
  56. package/dist/cjs/snk-simple-crud.cjs.entry.js +6 -6
  57. package/dist/cjs/snk-taskbar.cjs.entry.js +3 -3
  58. package/dist/cjs/sortable.esm-9a110bb7.js +2668 -0
  59. package/dist/cjs/{taskbar-elements-6f4e06af.js → taskbar-elements-3b74cd21.js} +2 -2
  60. package/dist/cjs/teste-pesquisa.cjs.entry.js +1 -1
  61. package/dist/collection/collection-manifest.json +7 -14
  62. package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +1 -1
  63. package/dist/collection/components/snk-filter-bar/snk-filter-bar.css +1 -0
  64. package/dist/collection/components/snk-form-config/FormConfigHelper.js +245 -0
  65. package/dist/collection/components/snk-form-config/SnkFormConfigManager.js +4 -5
  66. package/dist/collection/components/snk-form-config/config-header/config-header.css +18 -0
  67. package/dist/collection/components/snk-form-config/config-header/config-header.js +236 -0
  68. package/dist/collection/components/snk-form-config/config-header/configs-button/configs-button.css +41 -0
  69. package/dist/collection/components/snk-form-config/config-header/configs-button/configs-button.js +170 -0
  70. package/dist/collection/components/snk-form-config/field-item/field-config/field-config.css +21 -0
  71. package/dist/collection/components/snk-form-config/field-item/field-config/field-config.js +408 -0
  72. package/dist/collection/components/snk-form-config/field-item/field-item.css +108 -0
  73. package/dist/collection/components/snk-form-config/field-item/field-item.js +206 -0
  74. package/dist/collection/components/snk-form-config/fields-layout/fields-layout.css +133 -0
  75. package/dist/collection/components/snk-form-config/fields-layout/fields-layout.js +578 -0
  76. package/dist/collection/components/snk-form-config/fields-selector/fields-selector.css +38 -0
  77. package/dist/collection/components/snk-form-config/fields-selector/fields-selector.js +146 -0
  78. package/dist/collection/components/snk-form-config/guides-configurator/guides-configurator.css +132 -0
  79. package/dist/collection/components/snk-form-config/guides-configurator/guides-configurator.js +317 -0
  80. package/dist/collection/components/snk-form-config/snk-form-config.css +16 -229
  81. package/dist/collection/components/snk-form-config/snk-form-config.js +288 -980
  82. package/dist/collection/lib/message/resources/snk-form.msg.js +16 -2
  83. package/dist/collection/lib/utils/constants.js +7 -1
  84. package/dist/components/SnkFormConfigManager.js +2 -3
  85. package/dist/components/SnkMessageBuilder.js +16 -2
  86. package/dist/components/{snk-tab-config.d.ts → config-header.d.ts} +4 -4
  87. package/dist/components/config-header.js +6 -0
  88. package/dist/components/config-header2.js +103 -0
  89. package/dist/components/{snk-config-options.d.ts → configs-button.d.ts} +4 -4
  90. package/dist/components/configs-button.js +6 -0
  91. package/dist/components/configs-button2.js +76 -0
  92. package/dist/components/constants.js +8 -34
  93. package/dist/components/field-config.d.ts +11 -0
  94. package/dist/components/field-config.js +6 -0
  95. package/dist/components/field-config2.js +525 -0
  96. package/dist/components/field-item.d.ts +11 -0
  97. package/dist/components/field-item.js +6 -0
  98. package/dist/components/field-item2.js +93 -0
  99. package/dist/components/fields-layout.d.ts +11 -0
  100. package/dist/components/fields-layout.js +6 -0
  101. package/dist/components/fields-layout2.js +370 -0
  102. package/dist/components/{snk-field-config.d.ts → fields-selector.d.ts} +4 -4
  103. package/dist/components/fields-selector.js +6 -0
  104. package/dist/components/fields-selector2.js +98 -0
  105. package/dist/components/guides-configurator.d.ts +11 -0
  106. package/dist/components/guides-configurator.js +6 -0
  107. package/dist/components/guides-configurator2.js +182 -0
  108. package/dist/components/index.d.ts +7 -3
  109. package/dist/components/index.js +7 -3
  110. package/dist/components/index2.js +3 -4
  111. package/dist/components/snk-application2.js +1 -1
  112. package/dist/components/snk-crud.js +86 -62
  113. package/dist/components/snk-detail-view2.js +113 -89
  114. package/dist/components/snk-filter-bar2.js +1 -1
  115. package/dist/components/snk-form-config2.js +253 -953
  116. package/dist/components/snk-form.js +33 -9
  117. package/dist/components/sortable.esm.js +2666 -0
  118. package/dist/esm/{ClientSideExporterProvider-b3871edb.js → ClientSideExporterProvider-3ed744fd.js} +2 -2
  119. package/dist/esm/FormConfigHelper-49fe72ca.js +248 -0
  120. package/dist/esm/{SnkFormConfigManager-327dfdd4.js → SnkFormConfigManager-b4b93298.js} +2 -3
  121. package/dist/esm/{SnkMessageBuilder-0f112c19.js → SnkMessageBuilder-9c269caf.js} +16 -2
  122. package/dist/esm/config-header.entry.js +75 -0
  123. package/dist/esm/configs-button.entry.js +57 -0
  124. package/dist/esm/{constants-7db1128a.js → constants-7b422de0.js} +8 -34
  125. package/dist/esm/field-config_2.entry.js +319 -0
  126. package/dist/esm/fields-layout.entry.js +337 -0
  127. package/dist/esm/fields-selector.entry.js +70 -0
  128. package/dist/esm/guides-configurator.entry.js +160 -0
  129. package/dist/esm/{index-a7d3d3f1.js → index-479e1293.js} +28 -10
  130. package/dist/esm/{index-bdf75557.js → index-b72af127.js} +4 -5
  131. package/dist/esm/loader.js +3 -3
  132. package/dist/esm/pesquisa-grid_2.entry.js +2 -2
  133. package/dist/esm/sankhyablocks.js +3 -3
  134. package/dist/esm/snk-actions-button_8.entry.js +2 -2
  135. package/dist/esm/snk-actions-form.entry.js +1 -1
  136. package/dist/esm/snk-application.entry.js +3 -3
  137. package/dist/esm/snk-attach.entry.js +4 -4
  138. package/dist/esm/snk-client-confirm.entry.js +1 -1
  139. package/dist/esm/snk-configurator.entry.js +2 -2
  140. package/dist/esm/snk-crud.entry.js +4 -4
  141. package/dist/esm/snk-custom-slot-elements.entry.js +1 -1
  142. package/dist/esm/snk-data-exporter.entry.js +4 -4
  143. package/dist/esm/{snk-data-unit-a95dc9fe.js → snk-data-unit-027bca56.js} +2 -2
  144. package/dist/esm/snk-data-unit.entry.js +3 -3
  145. package/dist/esm/snk-default-filter.entry.js +1 -1
  146. package/dist/esm/snk-detail-view.entry.js +7 -7
  147. package/dist/esm/snk-entity-list.entry.js +1 -1
  148. package/dist/esm/snk-exporter-email-sender.entry.js +1 -1
  149. package/dist/esm/snk-expression-group_2.entry.js +2 -2
  150. package/dist/esm/snk-filter-advanced-mode_2.entry.js +1 -1
  151. package/dist/esm/snk-filter-bar_4.entry.js +2 -2
  152. package/dist/esm/snk-filter-binary-select.entry.js +1 -1
  153. package/dist/esm/snk-filter-checkbox-list.entry.js +1 -1
  154. package/dist/esm/snk-filter-detail.entry.js +1 -1
  155. package/dist/esm/snk-filter-field-search_2.entry.js +1 -1
  156. package/dist/esm/snk-filter-modal-item.entry.js +1 -1
  157. package/dist/esm/snk-filter-multi-select.entry.js +1 -1
  158. package/dist/esm/snk-filter-number.entry.js +1 -1
  159. package/dist/esm/snk-filter-period.entry.js +1 -1
  160. package/dist/esm/snk-filter-search.entry.js +1 -1
  161. package/dist/esm/snk-filter-text.entry.js +1 -1
  162. package/dist/esm/snk-form-summary.entry.js +1 -1
  163. package/dist/esm/snk-form-view.entry.js +1 -1
  164. package/dist/esm/snk-form_2.entry.js +428 -0
  165. package/dist/esm/snk-grid.entry.js +5 -5
  166. package/dist/esm/{snk-guides-viewer-ebb40908.js → snk-guides-viewer-32f3d3ab.js} +5 -5
  167. package/dist/esm/snk-guides-viewer.entry.js +6 -6
  168. package/dist/esm/snk-personalized-filter-editor.entry.js +1 -1
  169. package/dist/esm/snk-personalized-filter.entry.js +2 -2
  170. package/dist/esm/snk-pesquisa.entry.js +2 -2
  171. package/dist/esm/snk-print-selector.entry.js +1 -1
  172. package/dist/esm/snk-simple-bar.entry.js +1 -1
  173. package/dist/esm/snk-simple-crud.entry.js +6 -6
  174. package/dist/esm/snk-taskbar.entry.js +3 -3
  175. package/dist/esm/sortable.esm-842f85a3.js +2666 -0
  176. package/dist/esm/{taskbar-elements-f2cb4922.js → taskbar-elements-171476d4.js} +2 -2
  177. package/dist/esm/teste-pesquisa.entry.js +1 -1
  178. package/dist/sankhyablocks/{p-24a0dbd2.entry.js → p-0024d3fd.entry.js} +1 -1
  179. package/dist/sankhyablocks/{p-e6d90f89.entry.js → p-09e60995.entry.js} +1 -1
  180. package/dist/sankhyablocks/{p-7effe55f.entry.js → p-0cb295c1.entry.js} +1 -1
  181. package/dist/sankhyablocks/p-11f099ea.entry.js +1 -0
  182. package/dist/sankhyablocks/{p-b0ab5066.entry.js → p-1456d7cb.entry.js} +1 -1
  183. package/dist/sankhyablocks/{p-9531fd46.entry.js → p-180716b2.entry.js} +1 -1
  184. package/dist/sankhyablocks/{p-6a03b190.entry.js → p-1ea34488.entry.js} +1 -1
  185. package/dist/sankhyablocks/{p-5182513e.entry.js → p-21107f0d.entry.js} +1 -1
  186. package/dist/sankhyablocks/{p-118e769b.entry.js → p-27482793.entry.js} +1 -1
  187. package/dist/sankhyablocks/{p-794840bd.entry.js → p-295aa209.entry.js} +1 -1
  188. package/dist/sankhyablocks/{p-bd6a6203.js → p-2bde486e.js} +1 -1
  189. package/dist/sankhyablocks/{p-26b0ce3e.entry.js → p-2fdac5e6.entry.js} +1 -1
  190. package/dist/sankhyablocks/p-349d1968.entry.js +1 -0
  191. package/dist/sankhyablocks/p-35e73c5d.js +1 -0
  192. package/dist/sankhyablocks/{p-89c92727.entry.js → p-398cdd67.entry.js} +1 -1
  193. package/dist/sankhyablocks/{p-39f3b02d.entry.js → p-3a48bff3.entry.js} +1 -1
  194. package/dist/sankhyablocks/{p-434817f0.entry.js → p-3d41f5a8.entry.js} +1 -1
  195. package/dist/sankhyablocks/p-3f24c9b2.js +1 -0
  196. package/dist/sankhyablocks/{p-def1fe2d.entry.js → p-471b34f4.entry.js} +1 -1
  197. package/dist/sankhyablocks/{p-7e2ded86.entry.js → p-49d968e2.entry.js} +1 -1
  198. package/dist/sankhyablocks/p-4d2ff2fb.entry.js +1 -0
  199. package/dist/sankhyablocks/p-51833248.js +7 -0
  200. package/dist/sankhyablocks/{p-814d99ec.entry.js → p-60dd1d27.entry.js} +1 -1
  201. package/dist/sankhyablocks/{p-bd7ccf60.entry.js → p-65c5d430.entry.js} +1 -1
  202. package/dist/sankhyablocks/{p-21a81901.entry.js → p-667cab42.entry.js} +1 -1
  203. package/dist/sankhyablocks/{p-a9813a81.entry.js → p-71a05822.entry.js} +1 -1
  204. package/dist/sankhyablocks/{p-ac8d1cd6.entry.js → p-7345782c.entry.js} +1 -1
  205. package/dist/sankhyablocks/{p-885802c3.js → p-763b04fa.js} +1 -1
  206. package/dist/sankhyablocks/{p-d07b18a4.js → p-7de79adf.js} +1 -1
  207. package/dist/sankhyablocks/p-7e250432.entry.js +1 -0
  208. package/dist/sankhyablocks/{p-47178038.entry.js → p-83c100f2.entry.js} +1 -1
  209. package/dist/sankhyablocks/p-86bd4478.entry.js +1 -0
  210. package/dist/sankhyablocks/p-9019a32f.js +1 -0
  211. package/dist/sankhyablocks/{p-70da6817.entry.js → p-90805683.entry.js} +1 -1
  212. package/dist/sankhyablocks/{p-c2e468c9.entry.js → p-91a9abb6.entry.js} +1 -1
  213. package/dist/sankhyablocks/p-9751c42f.entry.js +1 -0
  214. package/dist/sankhyablocks/{p-16a1dd18.entry.js → p-9a63f3f7.entry.js} +1 -1
  215. package/dist/sankhyablocks/{p-90684a75.entry.js → p-9ad3557c.entry.js} +1 -1
  216. package/dist/sankhyablocks/{p-b6200d32.entry.js → p-9fd87bfd.entry.js} +1 -1
  217. package/dist/sankhyablocks/p-a06bf7b9.entry.js +1 -0
  218. package/dist/sankhyablocks/{p-33718dfc.entry.js → p-a227b650.entry.js} +1 -1
  219. package/dist/sankhyablocks/p-a349689a.js +1 -0
  220. package/dist/sankhyablocks/{p-13a0ead0.entry.js → p-a5bb2f93.entry.js} +1 -1
  221. package/dist/sankhyablocks/{p-088d7e7b.js → p-a6513fcb.js} +1 -1
  222. package/dist/sankhyablocks/{p-8c235d4c.entry.js → p-a76e6d51.entry.js} +1 -1
  223. package/dist/sankhyablocks/{p-ce94e6c4.entry.js → p-bd665460.entry.js} +1 -1
  224. package/dist/sankhyablocks/p-c3324d79.entry.js +1 -0
  225. package/dist/sankhyablocks/{p-bf2acf72.entry.js → p-c6a8a8bc.entry.js} +1 -1
  226. package/dist/sankhyablocks/{p-043bef5f.entry.js → p-c926cf6b.entry.js} +1 -1
  227. package/dist/sankhyablocks/{p-79f823f3.entry.js → p-d67526b6.entry.js} +1 -1
  228. package/dist/sankhyablocks/{p-d2d301a6.js → p-d8d8169b.js} +1 -1
  229. package/dist/sankhyablocks/{p-5f157b09.entry.js → p-dff65083.entry.js} +1 -1
  230. package/dist/sankhyablocks/{p-ab12216c.entry.js → p-e2988bb1.entry.js} +1 -1
  231. package/dist/sankhyablocks/{p-6a5f061b.entry.js → p-e3521eae.entry.js} +1 -1
  232. package/dist/sankhyablocks/{p-34f7a3ab.entry.js → p-e7cccc45.entry.js} +1 -1
  233. package/dist/sankhyablocks/{p-1f80174b.entry.js → p-f4e31122.entry.js} +1 -1
  234. package/dist/sankhyablocks/{p-c7492861.js → p-fc0b609e.js} +1 -1
  235. package/dist/sankhyablocks/{p-a14a09c3.entry.js → p-ff7060bc.entry.js} +1 -1
  236. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  237. package/dist/types/components/snk-form-config/FormConfigHelper.d.ts +31 -0
  238. package/dist/types/components/snk-form-config/SnkFormConfigManager.d.ts +3 -3
  239. package/dist/types/components/snk-form-config/config-header/config-header.d.ts +23 -0
  240. package/dist/types/components/snk-form-config/config-header/configs-button/configs-button.d.ts +19 -0
  241. package/dist/types/components/snk-form-config/field-item/field-config/field-config.d.ts +56 -0
  242. package/dist/types/components/snk-form-config/fields-layout/fields-layout.d.ts +63 -0
  243. package/dist/types/components/snk-form-config/fields-selector/fields-selector.d.ts +18 -0
  244. package/dist/types/components/snk-form-config/guides-configurator/guides-configurator.d.ts +42 -0
  245. package/dist/types/components/snk-form-config/snk-form-config.d.ts +51 -120
  246. package/dist/types/components.d.ts +197 -199
  247. package/dist/types/lib/utils/constants.d.ts +6 -0
  248. package/package.json +4 -2
  249. package/react/components.d.ts +7 -3
  250. package/react/components.js +7 -3
  251. package/react/components.js.map +1 -1
  252. package/dist/cjs/Sortable-fb1c4cbb.js +0 -2853
  253. package/dist/cjs/snk-config-options_3.cjs.entry.js +0 -1390
  254. package/dist/cjs/snk-field-config.cjs.entry.js +0 -60
  255. package/dist/cjs/snk-tab-config.cjs.entry.js +0 -332
  256. package/dist/collection/components/snk-form-config/subcomponents/snk-config-options/snk-config-options.css +0 -16
  257. package/dist/collection/components/snk-form-config/subcomponents/snk-config-options/snk-config-options.js +0 -346
  258. package/dist/collection/components/snk-form-config/subcomponents/snk-field-config/snk-field-config.css +0 -219
  259. package/dist/collection/components/snk-form-config/subcomponents/snk-field-config/snk-field-config.js +0 -184
  260. package/dist/collection/components/snk-form-config/subcomponents/snk-tab-config/snk-tab-config.css +0 -323
  261. package/dist/collection/components/snk-form-config/subcomponents/snk-tab-config/snk-tab-config.js +0 -527
  262. package/dist/components/snk-config-options.js +0 -6
  263. package/dist/components/snk-config-options2.js +0 -257
  264. package/dist/components/snk-field-config.js +0 -6
  265. package/dist/components/snk-field-config2.js +0 -76
  266. package/dist/components/snk-tab-config.js +0 -6
  267. package/dist/components/snk-tab-config2.js +0 -3202
  268. package/dist/esm/Sortable-83960219.js +0 -2851
  269. package/dist/esm/snk-config-options_3.entry.js +0 -1384
  270. package/dist/esm/snk-field-config.entry.js +0 -56
  271. package/dist/esm/snk-tab-config.entry.js +0 -328
  272. package/dist/sankhyablocks/p-3749dffb.entry.js +0 -1
  273. package/dist/sankhyablocks/p-6dc031de.js +0 -1
  274. package/dist/sankhyablocks/p-79b3cccc.js +0 -1
  275. package/dist/sankhyablocks/p-9261d8a0.js +0 -1
  276. package/dist/sankhyablocks/p-c0eb761b.entry.js +0 -1
  277. package/dist/sankhyablocks/p-d257ff20.entry.js +0 -1
  278. package/dist/sankhyablocks/p-e3c71e43.entry.js +0 -1
  279. package/dist/sankhyablocks/p-fa816fb2.js +0 -1
  280. package/dist/types/components/snk-form-config/subcomponents/snk-config-options/snk-config-options.d.ts +0 -57
  281. package/dist/types/components/snk-form-config/subcomponents/snk-field-config/snk-field-config.d.ts +0 -43
  282. package/dist/types/components/snk-form-config/subcomponents/snk-tab-config/snk-tab-config.d.ts +0 -105
@@ -0,0 +1,170 @@
1
+ import { h, Host } from '@stencil/core';
2
+ import { ObjectUtils } from '@sankhyalabs/core';
3
+ import { ApplicationUtils } from '@sankhyalabs/ezui/dist/collection/utils';
4
+ export class ConfigsButton {
5
+ constructor() {
6
+ this.configOptions = [];
7
+ this.selectedConfig = undefined;
8
+ this.hasChanges = false;
9
+ this.messagesBuilder = undefined;
10
+ }
11
+ getMessage(key, params) {
12
+ return this.messagesBuilder.getMessage(key, params);
13
+ }
14
+ async showShareConfigOptions() {
15
+ if (this._refOptionsPopover && this._refShareConfigBtn) {
16
+ await this._refOptionsPopover.showUnder(this._refShareConfigBtn);
17
+ }
18
+ }
19
+ async handleSelectOption(option) {
20
+ if (ObjectUtils.equals(option, this.selectedConfig))
21
+ return;
22
+ if (this.hasChanges) {
23
+ const title = this.getMessage('snkFormConfig.confirm.title');
24
+ const msg = this.getMessage('snkFormConfig.confirm.cancel');
25
+ const confirm = await ApplicationUtils.confirm(title, msg);
26
+ if (!confirm)
27
+ return;
28
+ }
29
+ this.selectedConfig = option;
30
+ this.formConfigOptionSelected.emit(option);
31
+ await this._refOptionsPopover.hide();
32
+ }
33
+ getButtonLabel() {
34
+ var _a, _b;
35
+ return (_b = (_a = this.selectedConfig) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : this.getMessage('snkFormConfig.configs.buttonLabel');
36
+ }
37
+ renderConfigOptions() {
38
+ return this.configOptions.map((option) => {
39
+ return (h("div", { class: `main-item`, onClick: async () => await this.handleSelectOption(option) }, h("span", { class: 'item-label' }, " ", option.name), this.renderCheckIcon(option)));
40
+ });
41
+ }
42
+ renderCheckIcon(option) {
43
+ if (this.selectedConfig && this.selectedConfig.origin === option.origin)
44
+ return h("ez-icon", { iconName: "check" });
45
+ }
46
+ render() {
47
+ return (h(Host, null, h("ez-button", { ref: ref => this._refShareConfigBtn = ref, label: this.getButtonLabel(), onClick: async () => await this.showShareConfigOptions() }, h("ez-icon", { slot: "rightIcon", iconName: "chevron-down" })), h("ez-popover-plus", { ref: ref => this._refOptionsPopover = ref, autoClose: true, overlayType: "none" }, h("div", { class: 'dropdown-container' }, this.renderConfigOptions()))));
48
+ }
49
+ static get is() { return "configs-button"; }
50
+ static get encapsulation() { return "scoped"; }
51
+ static get originalStyleUrls() {
52
+ return {
53
+ "$": ["configs-button.css"]
54
+ };
55
+ }
56
+ static get styleUrls() {
57
+ return {
58
+ "$": ["configs-button.css"]
59
+ };
60
+ }
61
+ static get properties() {
62
+ return {
63
+ "configOptions": {
64
+ "type": "unknown",
65
+ "mutable": false,
66
+ "complexType": {
67
+ "original": "Array<IUserConfig>",
68
+ "resolved": "IUserConfig[]",
69
+ "references": {
70
+ "Array": {
71
+ "location": "global"
72
+ },
73
+ "IUserConfig": {
74
+ "location": "import",
75
+ "path": "../../../../lib/http/data-fetcher/fetchers/form-config-fetcher"
76
+ }
77
+ }
78
+ },
79
+ "required": false,
80
+ "optional": false,
81
+ "docs": {
82
+ "tags": [],
83
+ "text": ""
84
+ },
85
+ "defaultValue": "[]"
86
+ },
87
+ "selectedConfig": {
88
+ "type": "unknown",
89
+ "mutable": false,
90
+ "complexType": {
91
+ "original": "IUserConfig",
92
+ "resolved": "IUserConfig",
93
+ "references": {
94
+ "IUserConfig": {
95
+ "location": "import",
96
+ "path": "../../../../lib/http/data-fetcher/fetchers/form-config-fetcher"
97
+ }
98
+ }
99
+ },
100
+ "required": false,
101
+ "optional": false,
102
+ "docs": {
103
+ "tags": [],
104
+ "text": ""
105
+ }
106
+ },
107
+ "hasChanges": {
108
+ "type": "boolean",
109
+ "mutable": false,
110
+ "complexType": {
111
+ "original": "boolean",
112
+ "resolved": "boolean",
113
+ "references": {}
114
+ },
115
+ "required": false,
116
+ "optional": false,
117
+ "docs": {
118
+ "tags": [],
119
+ "text": ""
120
+ },
121
+ "attribute": "has-changes",
122
+ "reflect": false,
123
+ "defaultValue": "false"
124
+ },
125
+ "messagesBuilder": {
126
+ "type": "unknown",
127
+ "mutable": true,
128
+ "complexType": {
129
+ "original": "SnkMessageBuilder",
130
+ "resolved": "SnkMessageBuilder",
131
+ "references": {
132
+ "SnkMessageBuilder": {
133
+ "location": "import",
134
+ "path": "../../../../lib/message/SnkMessageBuilder"
135
+ }
136
+ }
137
+ },
138
+ "required": false,
139
+ "optional": false,
140
+ "docs": {
141
+ "tags": [],
142
+ "text": ""
143
+ }
144
+ }
145
+ };
146
+ }
147
+ static get events() {
148
+ return [{
149
+ "method": "formConfigOptionSelected",
150
+ "name": "formConfigOptionSelected",
151
+ "bubbles": true,
152
+ "cancelable": true,
153
+ "composed": true,
154
+ "docs": {
155
+ "tags": [],
156
+ "text": ""
157
+ },
158
+ "complexType": {
159
+ "original": "IUserConfig",
160
+ "resolved": "IUserConfig",
161
+ "references": {
162
+ "IUserConfig": {
163
+ "location": "import",
164
+ "path": "../../../../lib/http/data-fetcher/fetchers/form-config-fetcher"
165
+ }
166
+ }
167
+ }
168
+ }];
169
+ }
170
+ }
@@ -0,0 +1,21 @@
1
+ .field-config-container {
2
+ font-family: 'Roboto';
3
+ color: #2b3a54;
4
+ display: flex;
5
+ flex-direction: column;
6
+ gap: 10px;
7
+ width: 330px;
8
+ justify-content: space-between;
9
+ }
10
+
11
+ .header {
12
+ display: flex;
13
+ font-weight: 500;
14
+ font-size: 16px;
15
+ }
16
+
17
+ .actions {
18
+ display: flex;
19
+ align-items: flex-end;
20
+ gap: 12px;
21
+ }
@@ -0,0 +1,408 @@
1
+ import { h, forceUpdate } from '@stencil/core';
2
+ import { ApplicationContext, ObjectUtils, StringUtils, UserInterface, } from '@sankhyalabs/core';
3
+ import { DEFAULT_TYPE, TAGS_BY_TYPE, VARS_BY_TYPE } from '../../../../lib/utils/constants';
4
+ import { getConvertedValue } from '@sankhyalabs/core/dist/dataunit/metadata/DataType';
5
+ import { CheckMode } from '@sankhyalabs/ezui/dist/collection/utils';
6
+ import { getEnabledByProperty, getValidatedFieldValue, getValueByProperty } from '../../FormConfigHelper';
7
+ export class FieldConfig {
8
+ constructor() {
9
+ this.fieldLabel = undefined;
10
+ this.fieldLabelErrorMessage = undefined;
11
+ this.fieldDefaultValue = undefined;
12
+ this.fieldCleanOnCopy = undefined;
13
+ this.fieldRequired = undefined;
14
+ this.fieldReadOnly = undefined;
15
+ this._defaultType = undefined;
16
+ this.dataUnit = undefined;
17
+ this.fieldConfig = undefined;
18
+ this.fieldDescriptor = undefined;
19
+ this.messagesBuilder = undefined;
20
+ }
21
+ observeFieldLabel() {
22
+ if (this.validateFieldLabel) {
23
+ this.fieldLabelErrorMessage = undefined;
24
+ }
25
+ }
26
+ async show(_anchorElement) {
27
+ this._popoupElement.opened = true;
28
+ this.initializeValues();
29
+ forceUpdate(this);
30
+ }
31
+ validateFieldLabel() {
32
+ var _a;
33
+ if ((_a = this.fieldLabel) === null || _a === void 0 ? void 0 : _a.trim())
34
+ return true;
35
+ this.applyErrorMessage();
36
+ return false;
37
+ }
38
+ getMessage(key, params) {
39
+ return this.messagesBuilder.getMessage(key, params);
40
+ }
41
+ isAllowDefault() {
42
+ var _a;
43
+ const allowDefault = (_a = this.fieldDescriptor.properties) === null || _a === void 0 ? void 0 : _a.allowDefault;
44
+ if (allowDefault == undefined) {
45
+ return true;
46
+ }
47
+ return allowDefault === 'true';
48
+ }
49
+ enabledValueDefault() {
50
+ var _a, _b, _c;
51
+ const allowDefault = (_a = this.fieldDescriptor.properties) === null || _a === void 0 ? void 0 : _a.allowDefault;
52
+ const hasVariableVar = (VARS_BY_TYPE.UserInterface.hasOwnProperty((_b = this.fieldDescriptor) === null || _b === void 0 ? void 0 : _b.userInterface)
53
+ || ((_c = this.fieldDescriptor) === null || _c === void 0 ? void 0 : _c.userInterface) === UserInterface.SEARCH);
54
+ return hasVariableVar && (allowDefault == undefined || allowDefault === 'true');
55
+ }
56
+ getDefaultType() {
57
+ var _a, _b;
58
+ return (_b = (_a = this.fieldDefaultValue) === null || _a === void 0 ? void 0 : _a.type) !== null && _b !== void 0 ? _b : DEFAULT_TYPE.fixed;
59
+ }
60
+ emitFieldChanged() {
61
+ this.fieldConfigChanged.emit(this.fieldConfig);
62
+ }
63
+ handleLabelChanged({ detail }) {
64
+ this.fieldLabel = detail;
65
+ }
66
+ handleDefaultTypeChanged({ detail }) {
67
+ const optionSelected = detail.value;
68
+ if (optionSelected == undefined)
69
+ return;
70
+ this._defaultType = optionSelected;
71
+ this.fieldDefaultValue = { type: this._defaultType };
72
+ }
73
+ handleDefaultValueChanged({ detail }) {
74
+ this.fieldDefaultValue.value = detail === null || detail === void 0 ? void 0 : detail.value;
75
+ }
76
+ onChangeDefaultValue(fieldValue) {
77
+ this.fieldDefaultValue.value = getValidatedFieldValue(fieldValue, this.dataUnit, this.fieldConfig.name);
78
+ }
79
+ handleClearDuplicateChanged({ detail }) {
80
+ this.fieldCleanOnCopy = detail;
81
+ }
82
+ handleRequiredChanged({ detail }) {
83
+ this.fieldRequired = detail;
84
+ }
85
+ handleReadOnlyChanged({ detail }) {
86
+ this.fieldReadOnly = detail;
87
+ }
88
+ loadDefaultValue() {
89
+ var _a;
90
+ if ((_a = this.fieldConfig.defaultValue) === null || _a === void 0 ? void 0 : _a.type) {
91
+ this._defaultType = this.fieldConfig.defaultValue.type;
92
+ return;
93
+ }
94
+ this._defaultType = DEFAULT_TYPE.fixed;
95
+ this.fieldConfig.defaultValue = { type: this._defaultType };
96
+ }
97
+ buildOptions() {
98
+ let interfaceField = this.fieldDescriptor.userInterface;
99
+ if (interfaceField === UserInterface.SEARCH) {
100
+ interfaceField = UserInterface.INTEGERNUMBER;
101
+ }
102
+ return VARS_BY_TYPE.UserInterface[interfaceField];
103
+ }
104
+ renderDefaultValueEditor() {
105
+ if (this._defaultType === DEFAULT_TYPE.variable) {
106
+ return (h("ez-combo-box", { label: this.getMessage('snkConfigOptions.label.valueDefault'), enabled: this.isAllowDefault(), onEzChange: (e) => this.handleDefaultValueChanged(e), value: this.fieldDefaultValue.value, options: this.buildOptions() }));
107
+ }
108
+ return this.fieldDescriptor.userInterface &&
109
+ this.buildFieldDefaultValueElement();
110
+ }
111
+ buildFieldDefaultValueElement() {
112
+ var _a;
113
+ const { userInterface, properties, dataType } = this.fieldDescriptor;
114
+ const allowDefault = properties === null || properties === void 0 ? void 0 : properties.allowDefault;
115
+ let value;
116
+ let enabled = StringUtils.getBooleanValue(allowDefault, !this.fieldReadOnly);
117
+ if (userInterface === UserInterface.FILE) {
118
+ enabled = false;
119
+ }
120
+ if (enabled) {
121
+ value = (_a = this.fieldDefaultValue) === null || _a === void 0 ? void 0 : _a.value;
122
+ if (value != undefined) {
123
+ value = getConvertedValue(dataType, value);
124
+ }
125
+ }
126
+ const configField = {
127
+ value,
128
+ enabled,
129
+ label: this.fieldConfig.label,
130
+ name: this.fieldConfig.name,
131
+ required: this.fieldRequired,
132
+ userInterface,
133
+ };
134
+ switch (userInterface) {
135
+ case UserInterface.SWITCH:
136
+ return this.buildInputDefault(configField, undefined, CheckMode.SWITCH);
137
+ case UserInterface.CHECKBOX:
138
+ return this.buildInputDefault(configField, undefined, CheckMode.REGULAR);
139
+ case UserInterface.OPTIONSELECTOR:
140
+ case UserInterface.DECIMALNUMBER:
141
+ return this.buildInputDefault(configField, properties);
142
+ default:
143
+ return this.buildInputDefault(configField);
144
+ }
145
+ }
146
+ buildInputDefault({ value, enabled, label, name, required, userInterface }, properties = undefined, mode = undefined) {
147
+ let options;
148
+ let precision = 0;
149
+ let prettyPrecision = 0;
150
+ const TagName = userInterface == undefined || TAGS_BY_TYPE[userInterface] == undefined
151
+ ? TAGS_BY_TYPE.DEFAULT
152
+ : TAGS_BY_TYPE[userInterface];
153
+ if (userInterface === UserInterface.OPTIONSELECTOR) {
154
+ const prop = properties === null || properties === void 0 ? void 0 : properties.options;
155
+ if (typeof prop === 'string') {
156
+ const parsed = ObjectUtils.stringToObject(prop);
157
+ options = Object.keys(parsed).map(key => {
158
+ return { value: key, label: parsed[key] };
159
+ });
160
+ }
161
+ else {
162
+ options = prop;
163
+ }
164
+ }
165
+ else if (userInterface === UserInterface.DECIMALNUMBER) {
166
+ precision = Number((properties === null || properties === void 0 ? void 0 : properties.precision) || 2);
167
+ prettyPrecision = Number((properties === null || properties === void 0 ? void 0 : properties.prettyPrecision) || precision);
168
+ }
169
+ return h(TagName, Object.assign({ value: value, enabled: enabled, label: label, "data-field-name": name, key: name, onEzChange: (evt) => this.onChangeDefaultValue(evt === null || evt === void 0 ? void 0 : evt.detail) }, (this.getConditionalAttributes(userInterface, required, options, precision, prettyPrecision, mode))));
170
+ }
171
+ getConditionalAttributes(userInterface, required, options, precision, prettyPrecision, mode) {
172
+ const useSearchPlus = userInterface == UserInterface.SEARCHPLUS;
173
+ switch (userInterface) {
174
+ case UserInterface.SEARCH:
175
+ case UserInterface.SEARCHPLUS:
176
+ return {
177
+ suppressEmptyOption: required,
178
+ optionLoader: (searchArgument) => this.onSearchDefaultValue(searchArgument, { useSearchPlus }),
179
+ };
180
+ case UserInterface.OPTIONSELECTOR:
181
+ return {
182
+ suppressEmptyOption: required,
183
+ options,
184
+ };
185
+ case UserInterface.CHECKBOX:
186
+ case UserInterface.SWITCH:
187
+ return {
188
+ mode,
189
+ };
190
+ case UserInterface.INTEGERNUMBER:
191
+ case UserInterface.DECIMALNUMBER:
192
+ return {
193
+ precision,
194
+ prettyPrecision,
195
+ onEzStartChange: (evt) => this.onChangeDefaultValue(evt === null || evt === void 0 ? void 0 : evt.detail),
196
+ };
197
+ case UserInterface.DATE:
198
+ case UserInterface.DATETIME:
199
+ case UserInterface.TIME:
200
+ return {
201
+ onEzStartChange: (evt) => this.onChangeDefaultValue(evt === null || evt === void 0 ? void 0 : evt.detail),
202
+ };
203
+ default:
204
+ return {};
205
+ }
206
+ }
207
+ onSearchDefaultValue(searchArgument, ctxOptions) {
208
+ if (this._application && this.fieldConfig) {
209
+ return this._application.executeSearch(searchArgument, this.fieldConfig.name, this.dataUnit, ctxOptions);
210
+ }
211
+ }
212
+ initializeValues() {
213
+ this.fieldLabel = this.fieldConfig.label;
214
+ this.fieldDefaultValue = this.fieldConfig.defaultValue;
215
+ this.fieldRequired = this.fieldConfig.required;
216
+ this.fieldReadOnly = this.fieldConfig.readOnly;
217
+ this.fieldCleanOnCopy = this.fieldConfig.cleanOnCopy;
218
+ }
219
+ handleApplyChanges() {
220
+ if (!this.validateFieldLabel())
221
+ return;
222
+ this.fieldConfig.label = this.fieldLabel;
223
+ this.fieldConfig.defaultValue = this.fieldDefaultValue;
224
+ this.fieldConfig.required = this.fieldRequired;
225
+ this.fieldConfig.readOnly = this.fieldReadOnly;
226
+ this.fieldConfig.cleanOnCopy = this.fieldCleanOnCopy;
227
+ this.emitFieldChanged();
228
+ this._popoupElement.opened = false;
229
+ }
230
+ applyErrorMessage() {
231
+ this.fieldLabelErrorMessage = `Informe um valor para ${this.getMessage('snkConfigOptions.label.nameField')}`;
232
+ }
233
+ handleDiscardChanges() {
234
+ this.initializeValues();
235
+ this._popoupElement.opened = false;
236
+ }
237
+ componentWillLoad() {
238
+ this.loadDefaultValue();
239
+ this._application = ApplicationContext.getContextValue('__SNK__APPLICATION__');
240
+ }
241
+ render() {
242
+ return (h("ez-popup", { heightMode: 'auto', size: 'auto', "ez-title": 'Configuração do campo', onEzClosePopup: () => this.handleDiscardChanges(), ref: ref => this._popoupElement = ref }, h("div", { class: 'field-config-container' }, h("ez-text-input", { label: this.getMessage('snkConfigOptions.label.nameField'), value: this.fieldLabel, errorMessage: this.fieldLabelErrorMessage, hasInvalid: !!this.fieldLabelErrorMessage, onEzChange: (e) => this.handleLabelChanged(e) }), h("ez-combo-box", { label: this.getMessage('snkConfigOptions.label.typeValueDefault'), suppressEmptyOption: true, enabled: this.enabledValueDefault(), onEzChange: (e) => this.handleDefaultTypeChanged(e), value: this.getDefaultType() }, h("option", { value: DEFAULT_TYPE.fixed }, this.getMessage('snkConfigOptions.options.valueFixed')), h("option", { value: DEFAULT_TYPE.variable }, this.getMessage('snkConfigOptions.options.variable'))), this.renderDefaultValueEditor(), h("ez-check", { label: this.getMessage('snkConfigOptions.label.clearDuplicate'), value: this.fieldCleanOnCopy, onEzChange: (e) => this.handleClearDuplicateChanged(e) }), h("ez-check", { label: this.getMessage('snkConfigOptions.label.requiredField'), enabled: getEnabledByProperty('required', 'systemRequired', this.fieldDescriptor), value: getValueByProperty('required', this.fieldDescriptor, this.fieldRequired), onEzChange: (e) => this.handleRequiredChanged(e) }), h("ez-check", { label: this.getMessage('snkConfigOptions.label.protectedField'), enabled: getEnabledByProperty('readOnly', 'systemReadOnly', this.fieldDescriptor), value: getValueByProperty('readOnly', this.fieldDescriptor, this.fieldReadOnly), onEzChange: (e) => this.handleReadOnlyChanged(e) }), h("div", { class: 'actions' }, h("ez-button", { label: 'Cancelar', onClick: () => this.handleDiscardChanges() }), h("ez-button", { label: 'Confirmar', class: "ez-button--primary", onClick: () => this.handleApplyChanges() })))));
243
+ }
244
+ static get is() { return "field-config"; }
245
+ static get encapsulation() { return "scoped"; }
246
+ static get originalStyleUrls() {
247
+ return {
248
+ "$": ["field-config.css"]
249
+ };
250
+ }
251
+ static get styleUrls() {
252
+ return {
253
+ "$": ["field-config.css"]
254
+ };
255
+ }
256
+ static get properties() {
257
+ return {
258
+ "dataUnit": {
259
+ "type": "unknown",
260
+ "mutable": false,
261
+ "complexType": {
262
+ "original": "DataUnit",
263
+ "resolved": "DataUnit",
264
+ "references": {
265
+ "DataUnit": {
266
+ "location": "import",
267
+ "path": "@sankhyalabs/core"
268
+ }
269
+ }
270
+ },
271
+ "required": false,
272
+ "optional": true,
273
+ "docs": {
274
+ "tags": [],
275
+ "text": ""
276
+ }
277
+ },
278
+ "fieldConfig": {
279
+ "type": "any",
280
+ "mutable": true,
281
+ "complexType": {
282
+ "original": "IFieldConfig",
283
+ "resolved": "IFieldConfig",
284
+ "references": {
285
+ "IFieldConfig": {
286
+ "location": "import",
287
+ "path": "@sankhyalabs/ezui/src/utils/interfaces/IFieldConfig"
288
+ }
289
+ }
290
+ },
291
+ "required": false,
292
+ "optional": false,
293
+ "docs": {
294
+ "tags": [],
295
+ "text": ""
296
+ },
297
+ "attribute": "field-config",
298
+ "reflect": true
299
+ },
300
+ "fieldDescriptor": {
301
+ "type": "unknown",
302
+ "mutable": false,
303
+ "complexType": {
304
+ "original": "FieldDescriptor",
305
+ "resolved": "FieldDescriptor",
306
+ "references": {
307
+ "FieldDescriptor": {
308
+ "location": "import",
309
+ "path": "@sankhyalabs/core"
310
+ }
311
+ }
312
+ },
313
+ "required": false,
314
+ "optional": false,
315
+ "docs": {
316
+ "tags": [],
317
+ "text": ""
318
+ }
319
+ },
320
+ "messagesBuilder": {
321
+ "type": "unknown",
322
+ "mutable": true,
323
+ "complexType": {
324
+ "original": "SnkMessageBuilder",
325
+ "resolved": "SnkMessageBuilder",
326
+ "references": {
327
+ "SnkMessageBuilder": {
328
+ "location": "import",
329
+ "path": "../../../../lib/message/SnkMessageBuilder"
330
+ }
331
+ }
332
+ },
333
+ "required": false,
334
+ "optional": true,
335
+ "docs": {
336
+ "tags": [],
337
+ "text": ""
338
+ }
339
+ }
340
+ };
341
+ }
342
+ static get states() {
343
+ return {
344
+ "fieldLabel": {},
345
+ "fieldLabelErrorMessage": {},
346
+ "fieldDefaultValue": {},
347
+ "fieldCleanOnCopy": {},
348
+ "fieldRequired": {},
349
+ "fieldReadOnly": {},
350
+ "_defaultType": {}
351
+ };
352
+ }
353
+ static get events() {
354
+ return [{
355
+ "method": "fieldConfigChanged",
356
+ "name": "fieldConfigChanged",
357
+ "bubbles": true,
358
+ "cancelable": true,
359
+ "composed": true,
360
+ "docs": {
361
+ "tags": [],
362
+ "text": ""
363
+ },
364
+ "complexType": {
365
+ "original": "IFieldConfig",
366
+ "resolved": "IFieldConfig",
367
+ "references": {
368
+ "IFieldConfig": {
369
+ "location": "import",
370
+ "path": "@sankhyalabs/ezui/src/utils/interfaces/IFieldConfig"
371
+ }
372
+ }
373
+ }
374
+ }];
375
+ }
376
+ static get methods() {
377
+ return {
378
+ "show": {
379
+ "complexType": {
380
+ "signature": "(_anchorElement: HTMLElement) => Promise<void>",
381
+ "parameters": [{
382
+ "tags": [],
383
+ "text": ""
384
+ }],
385
+ "references": {
386
+ "Promise": {
387
+ "location": "global"
388
+ },
389
+ "HTMLElement": {
390
+ "location": "global"
391
+ }
392
+ },
393
+ "return": "Promise<void>"
394
+ },
395
+ "docs": {
396
+ "text": "",
397
+ "tags": []
398
+ }
399
+ }
400
+ };
401
+ }
402
+ static get watchers() {
403
+ return [{
404
+ "propName": "fieldLabel",
405
+ "methodName": "observeFieldLabel"
406
+ }];
407
+ }
408
+ }