@sankhyalabs/sankhyablocks 1.1.25 → 1.2.0

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 (250) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +75 -75
  3. package/package.json +94 -49
  4. package/react/.keepfolder +1 -0
  5. package/dist/cjs/ApplicationUtils-05b74ee9.js +0 -39
  6. package/dist/cjs/AssetsUtils-7e3c38f9.js +0 -24
  7. package/dist/cjs/CSSVarsUtils-75ca9c64.js +0 -19
  8. package/dist/cjs/ez-action-chip.cjs.entry.js +0 -27
  9. package/dist/cjs/ez-application.cjs.entry.js +0 -26
  10. package/dist/cjs/ez-button_4.cjs.entry.js +0 -660
  11. package/dist/cjs/ez-calendar.cjs.entry.js +0 -223
  12. package/dist/cjs/ez-collapsible-box.cjs.entry.js +0 -47
  13. package/dist/cjs/ez-combo-box.cjs.entry.js +0 -278
  14. package/dist/cjs/ez-date-input.cjs.entry.js +0 -102
  15. package/dist/cjs/ez-date-time-input.cjs.entry.js +0 -145
  16. package/dist/cjs/ez-dialog.cjs.entry.js +0 -89
  17. package/dist/cjs/ez-form.cjs.entry.js +0 -463
  18. package/dist/cjs/ez-grid.cjs.entry.js +0 -647
  19. package/dist/cjs/ez-icon.cjs.entry.js +0 -41
  20. package/dist/cjs/ez-label-chip.cjs.entry.js +0 -104
  21. package/dist/cjs/ez-modal_2.cjs.entry.js +0 -316
  22. package/dist/cjs/ez-number-input.cjs.entry.js +0 -86
  23. package/dist/cjs/ez-popover.cjs.entry.js +0 -120
  24. package/dist/cjs/ez-popup.cjs.entry.js +0 -48
  25. package/dist/cjs/ez-search.cjs.entry.js +0 -64
  26. package/dist/cjs/ez-tabselector.cjs.entry.js +0 -198
  27. package/dist/cjs/ez-text-area.cjs.entry.js +0 -114
  28. package/dist/cjs/ez-text-input.cjs.entry.js +0 -201
  29. package/dist/cjs/ez-time-input.cjs.entry.js +0 -118
  30. package/dist/cjs/ez-toast.cjs.entry.js +0 -44
  31. package/dist/cjs/ez-upload.cjs.entry.js +0 -356
  32. package/dist/cjs/index-682c98b2.js +0 -1771
  33. package/dist/cjs/index.cjs.js +0 -2
  34. package/dist/cjs/loader.cjs.js +0 -21
  35. package/dist/cjs/sankhyablocks.cjs.js +0 -19
  36. package/dist/cjs/snk-application.cjs.entry.js +0 -7065
  37. package/dist/cjs/test-du.cjs.entry.js +0 -76
  38. package/dist/collection/collection-manifest.json +0 -47
  39. package/dist/collection/components/snk-application/snk-application.css +0 -5
  40. package/dist/collection/components/snk-application/snk-application.js +0 -495
  41. package/dist/collection/index.js +0 -1
  42. package/dist/collection/lib/http/data-fetcher/DataFetcher.js +0 -158
  43. package/dist/collection/lib/http/data-fetcher/fetchers/application-config-fetcher.js +0 -23
  44. package/dist/collection/lib/http/data-fetcher/fetchers/dataunit-fetcher.js +0 -188
  45. package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js +0 -25
  46. package/dist/collection/lib/http/data-fetcher/fetchers/grid-config-fetcher.js +0 -2
  47. package/dist/collection/lib/http/data-fetcher/fetchers/parameters-fecher.js +0 -59
  48. package/dist/collection/lib/http/data-fetcher/fetchers/resource-fetcher.js +0 -30
  49. package/dist/collection/lib/http/data-fetcher/state/LoadStateManager.js +0 -66
  50. package/dist/collection/lib/utils/pesquisa.js +0 -16
  51. package/dist/collection/lib/utils/urlutils.js +0 -23
  52. package/dist/collection/lib/workspace/workspace.js +0 -7
  53. package/dist/components/ApplicationUtils.js +0 -37
  54. package/dist/components/AssetsUtils.js +0 -22
  55. package/dist/components/CSSVarsUtils.js +0 -17
  56. package/dist/components/ez-action-chip.js +0 -44
  57. package/dist/components/ez-application.js +0 -39
  58. package/dist/components/ez-button.js +0 -6
  59. package/dist/components/ez-button2.js +0 -105
  60. package/dist/components/ez-calendar.js +0 -6
  61. package/dist/components/ez-calendar2.js +0 -242
  62. package/dist/components/ez-check.js +0 -6
  63. package/dist/components/ez-check2.js +0 -94
  64. package/dist/components/ez-collapsible-box.js +0 -67
  65. package/dist/components/ez-combo-box.js +0 -6
  66. package/dist/components/ez-combo-box2.js +0 -311
  67. package/dist/components/ez-date-input.js +0 -135
  68. package/dist/components/ez-date-time-input.js +0 -179
  69. package/dist/components/ez-dialog.js +0 -124
  70. package/dist/components/ez-form.js +0 -6
  71. package/dist/components/ez-form2.js +0 -485
  72. package/dist/components/ez-grid.js +0 -738
  73. package/dist/components/ez-icon.js +0 -6
  74. package/dist/components/ez-icon2.js +0 -56
  75. package/dist/components/ez-label-chip.js +0 -125
  76. package/dist/components/ez-list.js +0 -6
  77. package/dist/components/ez-list2.js +0 -523
  78. package/dist/components/ez-modal.js +0 -6
  79. package/dist/components/ez-modal2.js +0 -82
  80. package/dist/components/ez-number-input.js +0 -115
  81. package/dist/components/ez-popover.js +0 -145
  82. package/dist/components/ez-popup.js +0 -67
  83. package/dist/components/ez-search.js +0 -100
  84. package/dist/components/ez-tabselector.js +0 -6
  85. package/dist/components/ez-tabselector2.js +0 -213
  86. package/dist/components/ez-text-area.js +0 -137
  87. package/dist/components/ez-text-input.js +0 -6
  88. package/dist/components/ez-text-input2.js +0 -223
  89. package/dist/components/ez-time-input.js +0 -153
  90. package/dist/components/ez-toast.js +0 -64
  91. package/dist/components/ez-upload.js +0 -382
  92. package/dist/components/grid-config.js +0 -6
  93. package/dist/components/grid-config2.js +0 -318
  94. package/dist/components/index.d.ts +0 -26
  95. package/dist/components/index.js +0 -1
  96. package/dist/components/select-box.js +0 -6
  97. package/dist/components/select-box2.js +0 -47
  98. package/dist/components/snk-application.d.ts +0 -11
  99. package/dist/components/snk-application.js +0 -7094
  100. package/dist/components/test-du.js +0 -101
  101. package/dist/esm/ApplicationUtils-e0b6d857.js +0 -37
  102. package/dist/esm/AssetsUtils-6e6624dc.js +0 -22
  103. package/dist/esm/CSSVarsUtils-0787c3f3.js +0 -17
  104. package/dist/esm/ez-action-chip.entry.js +0 -23
  105. package/dist/esm/ez-application.entry.js +0 -22
  106. package/dist/esm/ez-button_4.entry.js +0 -653
  107. package/dist/esm/ez-calendar.entry.js +0 -219
  108. package/dist/esm/ez-collapsible-box.entry.js +0 -43
  109. package/dist/esm/ez-combo-box.entry.js +0 -274
  110. package/dist/esm/ez-date-input.entry.js +0 -98
  111. package/dist/esm/ez-date-time-input.entry.js +0 -141
  112. package/dist/esm/ez-dialog.entry.js +0 -85
  113. package/dist/esm/ez-form.entry.js +0 -459
  114. package/dist/esm/ez-grid.entry.js +0 -643
  115. package/dist/esm/ez-icon.entry.js +0 -37
  116. package/dist/esm/ez-label-chip.entry.js +0 -100
  117. package/dist/esm/ez-modal_2.entry.js +0 -311
  118. package/dist/esm/ez-number-input.entry.js +0 -82
  119. package/dist/esm/ez-popover.entry.js +0 -116
  120. package/dist/esm/ez-popup.entry.js +0 -44
  121. package/dist/esm/ez-search.entry.js +0 -60
  122. package/dist/esm/ez-tabselector.entry.js +0 -194
  123. package/dist/esm/ez-text-area.entry.js +0 -110
  124. package/dist/esm/ez-text-input.entry.js +0 -197
  125. package/dist/esm/ez-time-input.entry.js +0 -114
  126. package/dist/esm/ez-toast.entry.js +0 -40
  127. package/dist/esm/ez-upload.entry.js +0 -352
  128. package/dist/esm/index-35088a3f.js +0 -1740
  129. package/dist/esm/index.js +0 -1
  130. package/dist/esm/loader.js +0 -17
  131. package/dist/esm/polyfills/core-js.js +0 -11
  132. package/dist/esm/polyfills/css-shim.js +0 -1
  133. package/dist/esm/polyfills/dom.js +0 -79
  134. package/dist/esm/polyfills/es5-html-element.js +0 -1
  135. package/dist/esm/polyfills/index.js +0 -34
  136. package/dist/esm/polyfills/system.js +0 -6
  137. package/dist/esm/sankhyablocks.js +0 -17
  138. package/dist/esm/snk-application.entry.js +0 -7061
  139. package/dist/esm/test-du.entry.js +0 -72
  140. package/dist/index.cjs.js +0 -1
  141. package/dist/index.js +0 -1
  142. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-action-chip/ez-action-chip.css +0 -67
  143. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-application/ez-application.css +0 -3
  144. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-button/ez-button.css +0 -180
  145. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-calendar/ez-calendar.css +0 -319
  146. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-check/ez-check.css +0 -327
  147. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +0 -162
  148. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-combo-box/ez-combo-box.css +0 -217
  149. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-date-input/ez-date-input.css +0 -49
  150. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-date-time-input/ez-date-time-input.css +0 -44
  151. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-dialog/ez-dialog.css +0 -527
  152. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-form/ez-form.css +0 -5
  153. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-grid/ez-grid.css +0 -31
  154. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-grid/subcomponents/gridconfig/grid-config.css +0 -129
  155. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-grid/subcomponents/select-box/select-box.css +0 -10
  156. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-icon/ez-icon.css +0 -176
  157. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-label-chip/ez-label-chip.css +0 -139
  158. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-list/ez-list.css +0 -335
  159. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-modal/ez-modal.css +0 -358
  160. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-number-input/ez-number-input.css +0 -4
  161. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-popover/ez-popover.css +0 -44
  162. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-popup/ez-popup.css +0 -405
  163. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-search/ez-search.css +0 -3
  164. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-tabselector/ez-tabselector.css +0 -138
  165. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-text-area/ez-text-area.css +0 -165
  166. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-text-input/ez-text-input.css +0 -196
  167. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-time-input/ez-time-input.css +0 -10
  168. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-toast/ez-toast.css +0 -127
  169. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-upload/ez-upload.css +0 -568
  170. package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/test-du/test-du.css +0 -3
  171. package/dist/sankhyablocks/index.esm.js +0 -0
  172. package/dist/sankhyablocks/p-0183d259.entry.js +0 -1
  173. package/dist/sankhyablocks/p-01f23a70.entry.js +0 -1
  174. package/dist/sankhyablocks/p-07c32f68.entry.js +0 -1
  175. package/dist/sankhyablocks/p-0f90499d.entry.js +0 -1
  176. package/dist/sankhyablocks/p-105724a3.entry.js +0 -1
  177. package/dist/sankhyablocks/p-2ac02d48.entry.js +0 -1
  178. package/dist/sankhyablocks/p-35364a97.entry.js +0 -1
  179. package/dist/sankhyablocks/p-3f6aa9a7.entry.js +0 -1
  180. package/dist/sankhyablocks/p-5f9af495.entry.js +0 -1
  181. package/dist/sankhyablocks/p-60967cf0.js +0 -1
  182. package/dist/sankhyablocks/p-6ce33b60.entry.js +0 -57
  183. package/dist/sankhyablocks/p-70ad6c16.entry.js +0 -1
  184. package/dist/sankhyablocks/p-710bfffe.entry.js +0 -1
  185. package/dist/sankhyablocks/p-735440c1.entry.js +0 -1
  186. package/dist/sankhyablocks/p-811b4b9d.js +0 -1
  187. package/dist/sankhyablocks/p-813fe4f7.js +0 -1
  188. package/dist/sankhyablocks/p-85a9446b.js +0 -2
  189. package/dist/sankhyablocks/p-89a1100f.entry.js +0 -1
  190. package/dist/sankhyablocks/p-8b543003.entry.js +0 -1
  191. package/dist/sankhyablocks/p-9750632b.entry.js +0 -1
  192. package/dist/sankhyablocks/p-a96272f7.entry.js +0 -1
  193. package/dist/sankhyablocks/p-ac8842e5.entry.js +0 -1
  194. package/dist/sankhyablocks/p-ba64cc41.entry.js +0 -1
  195. package/dist/sankhyablocks/p-c1ede043.entry.js +0 -1
  196. package/dist/sankhyablocks/p-d90ebb85.entry.js +0 -1
  197. package/dist/sankhyablocks/p-e17dfaae.entry.js +0 -1
  198. package/dist/sankhyablocks/p-e5355a29.entry.js +0 -1
  199. package/dist/sankhyablocks/p-ef04b633.entry.js +0 -1
  200. package/dist/sankhyablocks/p-f6db07fb.entry.js +0 -1
  201. package/dist/sankhyablocks/p-fcd9bd92.entry.js +0 -1
  202. package/dist/sankhyablocks/sankhyablocks.esm.js +0 -1
  203. package/dist/types/components/snk-application/snk-application.d.ts +0 -44
  204. package/dist/types/components.d.ts +0 -66
  205. package/dist/types/index.d.ts +0 -1
  206. package/dist/types/lib/http/data-fetcher/DataFetcher.d.ts +0 -15
  207. package/dist/types/lib/http/data-fetcher/fetchers/application-config-fetcher.d.ts +0 -6
  208. package/dist/types/lib/http/data-fetcher/fetchers/dataunit-fetcher.d.ts +0 -12
  209. package/dist/types/lib/http/data-fetcher/fetchers/form-config-fetcher.d.ts +0 -5
  210. package/dist/types/lib/http/data-fetcher/fetchers/grid-config-fetcher.d.ts +0 -2
  211. package/dist/types/lib/http/data-fetcher/fetchers/parameters-fecher.d.ts +0 -13
  212. package/dist/types/lib/http/data-fetcher/fetchers/resource-fetcher.d.ts +0 -6
  213. package/dist/types/lib/http/data-fetcher/state/LoadStateManager.d.ts +0 -23
  214. package/dist/types/lib/utils/pesquisa.d.ts +0 -2
  215. package/dist/types/lib/utils/urlutils.d.ts +0 -4
  216. package/dist/types/lib/workspace/workspace.d.ts +0 -4
  217. package/dist/types/stencil-public-runtime.d.ts +0 -1565
  218. package/loader/cdn.js +0 -3
  219. package/loader/index.cjs.js +0 -3
  220. package/loader/index.d.ts +0 -12
  221. package/loader/index.es2017.js +0 -3
  222. package/loader/index.js +0 -4
  223. package/loader/package.json +0 -10
  224. package/react/components.d.ts +0 -32
  225. package/react/components.js +0 -35
  226. package/react/components.js.map +0 -1
  227. package/react/react-component-lib/createComponent.d.ts +0 -10
  228. package/react/react-component-lib/createComponent.js +0 -75
  229. package/react/react-component-lib/createComponent.js.map +0 -1
  230. package/react/react-component-lib/createOverlayComponent.d.ts +0 -21
  231. package/react/react-component-lib/createOverlayComponent.js +0 -109
  232. package/react/react-component-lib/createOverlayComponent.js.map +0 -1
  233. package/react/react-component-lib/index.d.ts +0 -2
  234. package/react/react-component-lib/index.js +0 -3
  235. package/react/react-component-lib/index.js.map +0 -1
  236. package/react/react-component-lib/interfaces.d.ts +0 -29
  237. package/react/react-component-lib/interfaces.js +0 -1
  238. package/react/react-component-lib/interfaces.js.map +0 -1
  239. package/react/react-component-lib/utils/attachProps.d.ts +0 -12
  240. package/react/react-component-lib/utils/attachProps.js +0 -98
  241. package/react/react-component-lib/utils/attachProps.js.map +0 -1
  242. package/react/react-component-lib/utils/case.d.ts +0 -2
  243. package/react/react-component-lib/utils/case.js +0 -7
  244. package/react/react-component-lib/utils/case.js.map +0 -1
  245. package/react/react-component-lib/utils/dev.d.ts +0 -2
  246. package/react/react-component-lib/utils/dev.js +0 -13
  247. package/react/react-component-lib/utils/dev.js.map +0 -1
  248. package/react/react-component-lib/utils/index.d.ts +0 -10
  249. package/react/react-component-lib/utils/index.js +0 -34
  250. package/react/react-component-lib/utils/index.js.map +0 -1
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2018
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2018
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,75 +1,75 @@
1
- ![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI%2BCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI%2BCgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU%2BCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MjQuNywzNzMuOWMwLDM3LjYtNTUuMSw2OC42LTkyLjcsNjguNkgxODAuNGMtMzcuOSwwLTkyLjctMzAuNy05Mi43LTY4LjZ2LTMuNmgzMzYuOVYzNzMuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQyNC43LDI5Mi4xSDE4MC40Yy0zNy42LDAtOTIuNy0zMS05Mi43LTY4LjZ2LTMuNkgzMzJjMzcuNiwwLDkyLjcsMzEsOTIuNyw2OC42VjI5Mi4xeiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDI0LjcsMTQxLjdIODcuN3YtMy42YzAtMzcuNiw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D&colorA=16161d&style=flat-square)
2
-
3
- # Stencil Component Starter
4
-
5
- This is a starter project for building a standalone Web Component using Stencil.
6
-
7
- Stencil is also great for building entire apps. For that, use the [stencil-app-starter](https://github.com/ionic-team/stencil-app-starter) instead.
8
-
9
- # Stencil
10
-
11
- Stencil is a compiler for building fast web apps using Web Components.
12
-
13
- Stencil combines the best concepts of the most popular frontend frameworks into a compile-time rather than run-time tool. Stencil takes TypeScript, JSX, a tiny virtual DOM layer, efficient one-way data binding, an asynchronous rendering pipeline (similar to React Fiber), and lazy-loading out of the box, and generates 100% standards-based Web Components that run in any browser supporting the Custom Elements v1 spec.
14
-
15
- Stencil components are just Web Components, so they work in any major framework or with no framework at all.
16
-
17
- ## Getting Started
18
-
19
- To start building a new web component using Stencil, clone this repo to a new directory:
20
-
21
- ```bash
22
- git clone https://github.com/ionic-team/stencil-component-starter.git my-component
23
- cd my-component
24
- git remote rm origin
25
- ```
26
-
27
- and run:
28
-
29
- ```bash
30
- npm install
31
- npm start
32
- ```
33
-
34
- To build the component for production, run:
35
-
36
- ```bash
37
- npm run build
38
- ```
39
-
40
- To run the unit tests for the components, run:
41
-
42
- ```bash
43
- npm test
44
- ```
45
-
46
- Need help? Check out our docs [here](https://stenciljs.com/docs/my-first-component).
47
-
48
-
49
- ## Naming Components
50
-
51
- When creating new component tags, we recommend _not_ using `stencil` in the component name (ex: `<stencil-datepicker>`). This is because the generated component has little to nothing to do with Stencil; it's just a web component!
52
-
53
- Instead, use a prefix that fits your company or any name for a group of related components. For example, all of the Ionic generated web components use the prefix `ion`.
54
-
55
-
56
- ## Using this component
57
-
58
- There are three strategies we recommend for using web components built with Stencil.
59
-
60
- The first step for all three of these strategies is to [publish to NPM](https://docs.npmjs.com/getting-started/publishing-npm-packages).
61
-
62
- ### Script tag
63
-
64
- - Put a script tag similar to this `<script type='module' src='https://unpkg.com/my-component@0.0.1/dist/my-component.esm.js'></script>` in the head of your index.html
65
- - Then you can use the element anywhere in your template, JSX, html etc
66
-
67
- ### Node Modules
68
- - Run `npm install my-component --save`
69
- - Put a script tag similar to this `<script type='module' src='node_modules/my-component/dist/my-component.esm.js'></script>` in the head of your index.html
70
- - Then you can use the element anywhere in your template, JSX, html etc
71
-
72
- ### In a stencil-starter app
73
- - Run `npm install my-component --save`
74
- - Add an import to the npm packages `import my-component;`
75
- - Then you can use the element anywhere in your template, JSX, html etc
1
+ ![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI%2BCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI%2BCgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU%2BCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MjQuNywzNzMuOWMwLDM3LjYtNTUuMSw2OC42LTkyLjcsNjguNkgxODAuNGMtMzcuOSwwLTkyLjctMzAuNy05Mi43LTY4LjZ2LTMuNmgzMzYuOVYzNzMuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQyNC43LDI5Mi4xSDE4MC40Yy0zNy42LDAtOTIuNy0zMS05Mi43LTY4LjZ2LTMuNkgzMzJjMzcuNiwwLDkyLjcsMzEsOTIuNyw2OC42VjI5Mi4xeiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDI0LjcsMTQxLjdIODcuN3YtMy42YzAtMzcuNiw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D&colorA=16161d&style=flat-square)
2
+
3
+ # Stencil Component Starter
4
+
5
+ This is a starter project for building a standalone Web Component using Stencil.
6
+
7
+ Stencil is also great for building entire apps. For that, use the [stencil-app-starter](https://github.com/ionic-team/stencil-app-starter) instead.
8
+
9
+ # Stencil
10
+
11
+ Stencil is a compiler for building fast web apps using Web Components.
12
+
13
+ Stencil combines the best concepts of the most popular frontend frameworks into a compile-time rather than run-time tool. Stencil takes TypeScript, JSX, a tiny virtual DOM layer, efficient one-way data binding, an asynchronous rendering pipeline (similar to React Fiber), and lazy-loading out of the box, and generates 100% standards-based Web Components that run in any browser supporting the Custom Elements v1 spec.
14
+
15
+ Stencil components are just Web Components, so they work in any major framework or with no framework at all.
16
+
17
+ ## Getting Started
18
+
19
+ To start building a new web component using Stencil, clone this repo to a new directory:
20
+
21
+ ```bash
22
+ git clone https://github.com/ionic-team/stencil-component-starter.git my-component
23
+ cd my-component
24
+ git remote rm origin
25
+ ```
26
+
27
+ and run:
28
+
29
+ ```bash
30
+ npm install
31
+ npm start
32
+ ```
33
+
34
+ To build the component for production, run:
35
+
36
+ ```bash
37
+ npm run build
38
+ ```
39
+
40
+ To run the unit tests for the components, run:
41
+
42
+ ```bash
43
+ npm test
44
+ ```
45
+
46
+ Need help? Check out our docs [here](https://stenciljs.com/docs/my-first-component).
47
+
48
+
49
+ ## Naming Components
50
+
51
+ When creating new component tags, we recommend _not_ using `stencil` in the component name (ex: `<stencil-datepicker>`). This is because the generated component has little to nothing to do with Stencil; it's just a web component!
52
+
53
+ Instead, use a prefix that fits your company or any name for a group of related components. For example, all of the Ionic generated web components use the prefix `ion`.
54
+
55
+
56
+ ## Using this component
57
+
58
+ There are three strategies we recommend for using web components built with Stencil.
59
+
60
+ The first step for all three of these strategies is to [publish to NPM](https://docs.npmjs.com/getting-started/publishing-npm-packages).
61
+
62
+ ### Script tag
63
+
64
+ - Put a script tag similar to this `<script type='module' src='https://unpkg.com/my-component@0.0.1/dist/my-component.esm.js'></script>` in the head of your index.html
65
+ - Then you can use the element anywhere in your template, JSX, html etc
66
+
67
+ ### Node Modules
68
+ - Run `npm install my-component --save`
69
+ - Put a script tag similar to this `<script type='module' src='node_modules/my-component/dist/my-component.esm.js'></script>` in the head of your index.html
70
+ - Then you can use the element anywhere in your template, JSX, html etc
71
+
72
+ ### In a stencil-starter app
73
+ - Run `npm install my-component --save`
74
+ - Add an import to the npm packages `import my-component;`
75
+ - Then you can use the element anywhere in your template, JSX, html etc
package/package.json CHANGED
@@ -1,49 +1,94 @@
1
- {
2
- "name": "@sankhyalabs/sankhyablocks",
3
- "version": "1.1.25",
4
- "description": "Stencil Component Starter",
5
- "main": "dist/index.cjs.js",
6
- "module": "dist/index.js",
7
- "es2015": "dist/esm/index.mjs",
8
- "es2017": "dist/esm/index.mjs",
9
- "types": "dist/types/index.d.ts",
10
- "collection": "dist/collection/collection-manifest.json",
11
- "collection:main": "dist/collection/index.js",
12
- "unpkg": "dist/sankhyablocks/sankhyablocks.esm.js",
13
- "repository": {
14
- "type": "git",
15
- "url": "https://github.com/ionic-team/stencil-component-starter.git"
16
- },
17
- "files": [
18
- "dist/",
19
- "loader/",
20
- "react/"
21
- ],
22
- "scripts": {
23
- "build": "stencil build --docs",
24
- "start": "stencil build --dev --watch --serve --force-peer-deps",
25
- "test": "stencil test --spec --e2e",
26
- "test.watch": "stencil test --spec --e2e --watchAll",
27
- "generate": "stencil generate",
28
- "link": "node link.js"
29
- },
30
- "dependencies": {
31
- "graphql-request": "^4.2.0",
32
- "@sankhyalabs/core": "^1.0.42",
33
- "@sankhyalabs/ezui": "^1.1.99"
34
- },
35
- "devDependencies": {
36
- "@sankhyalabs/skippeerdeps": "^1.0.2",
37
- "@stencil/core": "^2.13.0",
38
- "@stencil/react-output-target": "^0.3.1",
39
- "@types/jest": "^27.0.3",
40
- "jest": "^27.4.5",
41
- "jest-cli": "^27.4.5",
42
- "puppeteer": "^10.0.0"
43
- },
44
- "peerDependencies": {
45
- "@sankhyalabs/core": "^1.x",
46
- "@sankhyalabs/ezui": "^1.x"
47
- },
48
- "license": "MIT"
49
- }
1
+ {
2
+ "name": "@sankhyalabs/sankhyablocks",
3
+ "version": "1.2.0",
4
+ "description": "Stencil Component Starter",
5
+ "main": "dist/index.cjs.js",
6
+ "module": "dist/index.js",
7
+ "es2015": "dist/esm/index.mjs",
8
+ "es2017": "dist/esm/index.mjs",
9
+ "types": "dist/types/index.d.ts",
10
+ "collection": "dist/collection/collection-manifest.json",
11
+ "collection:main": "dist/collection/index.js",
12
+ "unpkg": "dist/sankhyablocks/sankhyablocks.esm.js",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://git.sankhya.com.br/sankhyalabs/sankhya-blocks.git"
16
+ },
17
+ "files": [
18
+ "dist/",
19
+ "loader/",
20
+ "react/"
21
+ ],
22
+ "scripts": {
23
+ "build": "stencil build --docs",
24
+ "build.prod": "stencil build --docs --prod",
25
+ "build.with.peerdeps": "stencil build --docs --prod --force-peer-deps",
26
+ "start": "stencil build --dev --watch --serve --force-peer-deps",
27
+ "test": "stencil test --spec --e2e",
28
+ "test.watch": "stencil test --spec --e2e --watchAll",
29
+ "generate": "stencil generate",
30
+ "link": "node link.js",
31
+ "semantic-release": "semantic-release"
32
+ },
33
+ "dependencies": {
34
+ "graphql-request": "^4.2.0"
35
+ },
36
+ "devDependencies": {
37
+ "@babel/preset-env": "^7.18.2",
38
+ "@sankhyalabs/core": "^1.0.43",
39
+ "@sankhyalabs/ezui": "^1.1.111",
40
+ "@sankhyalabs/skippeerdeps": "^1.0.2",
41
+ "@semantic-release/git": "^9.0.0",
42
+ "@semantic-release/gitlab": "^6.1.0",
43
+ "@semantic-release/npm": "^7.1.3",
44
+ "@stencil/core": "^2.13.0",
45
+ "@stencil/react-output-target": "0.0.9",
46
+ "@types/jest": "^27.0.3",
47
+ "ag-grid-community": "^26.2.1",
48
+ "ag-grid-enterprise": "^26.2.1",
49
+ "jest": "^27.4.5",
50
+ "jest-cli": "^27.4.5",
51
+ "puppeteer": "^10.0.0",
52
+ "redux": "^4.1.2",
53
+ "semantic-release": "17.4.3"
54
+ },
55
+ "jest": {
56
+ "verbose": true
57
+ },
58
+ "peerDependencies": {
59
+ "@sankhyalabs/core": "^1.x",
60
+ "@sankhyalabs/ezui": "^1.x"
61
+ },
62
+ "release": {
63
+ "plugins": [
64
+ [
65
+ "@semantic-release/commit-analyzer",
66
+ {
67
+ "preset": "angular",
68
+ "releaseRules": [
69
+ {
70
+ "type": "breaking",
71
+ "scope": "API",
72
+ "release": "major"
73
+ }
74
+ ]
75
+ }
76
+ ],
77
+ "@semantic-release/release-notes-generator",
78
+ [
79
+ "@semantic-release/npm",
80
+ {
81
+ "npmPublish": true
82
+ }
83
+ ],
84
+ [
85
+ "@semantic-release/gitlab",
86
+ {
87
+ "gitlabUrl": "https://git.sankhya.com.br",
88
+ "gitlabApiPathPrefix": "/api/v4"
89
+ }
90
+ ]
91
+ ]
92
+ },
93
+ "license": "MIT"
94
+ }
@@ -0,0 +1 @@
1
+ a
@@ -1,39 +0,0 @@
1
- 'use strict';
2
-
3
- class ApplicationUtils {
4
- static async showDialog(title, message, icon = null, confirm, critical = false) {
5
- return new Promise(resolve => {
6
- let dialog = document.querySelector("ez-dialog");
7
- if (!dialog) {
8
- dialog = document.createElement("ez-dialog");
9
- window.document.body.appendChild(dialog);
10
- }
11
- dialog.show(title, message, critical, confirm, icon).then(ok => resolve(ok));
12
- });
13
- }
14
- static async alert(title, message, icon = null) {
15
- return ApplicationUtils.showDialog(title, message, icon, false, false);
16
- }
17
- static async error(title, message, icon = null) {
18
- return ApplicationUtils.showDialog(title, message, icon, false, true);
19
- }
20
- static async confirm(title, message, icon = null, critical = false) {
21
- return ApplicationUtils.showDialog(title, message, icon, true, critical);
22
- }
23
- static async info(message, options = ApplicationUtils.defaultMessageOptions) {
24
- let toast = document.querySelector("ez-toast");
25
- if (!toast) {
26
- toast = document.createElement("ez-toast");
27
- window.document.body.appendChild(toast);
28
- }
29
- toast.canClose = options.canClose;
30
- toast.message = message;
31
- toast.fadeTime = 4000;
32
- toast.show();
33
- }
34
- }
35
- ApplicationUtils.defaultMessageOptions = {
36
- canClose: true
37
- };
38
-
39
- exports.ApplicationUtils = ApplicationUtils;
@@ -1,24 +0,0 @@
1
- 'use strict';
2
-
3
- const index = require('./index-682c98b2.js');
4
-
5
- const getSpritePath = (sprite) => `${getContextAssetsPath("../assets/actions-sprite.svg")}#${sprite}`;
6
- let ctxLoaded = false;
7
- function getContextAssetsPath(resource) {
8
- if (!ctxLoaded) {
9
- const scriptElem = document.querySelector("script[data-ezui-assets-url]");
10
- if (scriptElem) {
11
- let assetsPath = scriptElem.dataset.ezuiAssetsUrl;
12
- if (assetsPath) {
13
- if (assetsPath.startsWith('/')) {
14
- assetsPath = window.location.origin + assetsPath;
15
- }
16
- index.setAssetPath(assetsPath);
17
- }
18
- }
19
- ctxLoaded = true;
20
- }
21
- return index.getAssetPath(resource);
22
- }
23
-
24
- exports.getSpritePath = getSpritePath;
@@ -1,19 +0,0 @@
1
- 'use strict';
2
-
3
- class CSSVarsUtils {
4
- static applyVarsTextInput(host, child) {
5
- if (child) {
6
- CSSVarsUtils.applyIfExists(host, child, '--ez-text-input__input--background-color');
7
- CSSVarsUtils.applyIfExists(host, child, '--ez-text-input__input--border-color');
8
- CSSVarsUtils.applyIfExists(host, child, '--ez-text-input--height');
9
- }
10
- }
11
- static applyIfExists(host, element, varName) {
12
- const prop = getComputedStyle(host).getPropertyValue(varName);
13
- if (prop) {
14
- element.style.setProperty(varName, prop);
15
- }
16
- }
17
- }
18
-
19
- exports.CSSVarsUtils = CSSVarsUtils;
@@ -1,27 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-682c98b2.js');
6
-
7
- const ezActionChipCss = ":host{--ez-action-chip--height:36px;--ez-action-chip--border-radius:var(--border--radius-large, 24px);--ez-action-chip__border:1px solid;--ez-action-chip__border-color-strokes:var(--color--strokes, #DCE0E8);--ez-action-chip--font-size:var(--text--medium, 14px);--ez-action-chip--font-family:var(--font-pattern, Arial);--ez-action-chip--font-weight:var(--text-weight--large, 500);--ez-action-chip__label--title--primary:var(--title--primary, #919191);--ez-action-chip__label-color--disable-secondary:var(--color--disable-secondary, #F2F5F8);--ez-action-chip__label__default--background-color--hover:var(--color--primary-200, #f2faf8);--ez-action-chip__label__default--border-color--hover:var(--color--primary-600, #007a5a)}.label__container{width:fit-content;display:flex;flex-wrap:wrap;position:relative;background-color:#FFFFFF;align-items:center;align-self:center;cursor:pointer;color:var(--ez-action-chip__label--title--primary);fill:var(--ez-action-chip__label--title--primary);border:var(--ez-action-chip__border);border-radius:var(--ez-action-chip--border-radius);border-color:var(--ez-action-chip__border-color-strokes);padding-right:var(--space--medium, 12px);padding-left:var(--space--medium, 12px)}.label__container:hover{border-color:var(--ez-action-chip__label__default--border-color--hover);background-color:var(--ez-action-chip__label__default--background-color--hover)}label{display:flex;align-items:center;font-weight:var(--text-weight--large, 600);cursor:pointer;height:var(--ez-action-chip--height);font-family:var(--ez-action-chip--font-family);font-size:var(--ez-action-chip--font-size)}";
8
-
9
- const EzLabelChip = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.actionClick = index.createEvent(this, "actionClick", 7);
13
- /**
14
- * Deixa o componente disponível ou não para seleção.
15
- */
16
- this.enabled = true;
17
- }
18
- //---------------------------------------------
19
- // Lifecycle web component
20
- //---------------------------------------------
21
- render() {
22
- return (index.h("div", { onClick: () => this.actionClick.emit(), class: "label__container" }, index.h("slot", { name: "leftIcon" }), index.h("label", null, this.label), index.h("slot", { name: "rightIcon" })));
23
- }
24
- };
25
- EzLabelChip.style = ezActionChipCss;
26
-
27
- exports.ez_action_chip = EzLabelChip;
@@ -1,26 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-682c98b2.js');
6
-
7
- const ezApplicationCss = "";
8
-
9
- const EzApplication = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.applicationLoaded = index.createEvent(this, "applicationLoaded", 7);
13
- }
14
- componentWillLoad() {
15
- //Initizalize application
16
- }
17
- componentDidLoad() {
18
- this.applicationLoaded.emit(true);
19
- }
20
- render() {
21
- return (index.h("div", null));
22
- }
23
- };
24
- EzApplication.style = ezApplicationCss;
25
-
26
- exports.ez_application = EzApplication;