@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
@@ -1,568 +0,0 @@
1
- :host {
2
-
3
- /* dimensions */
4
- /*@doc Define a altura do componente.*/
5
- --ez-upload--height: 42px;
6
- /*@doc Define a largura do componente.*/
7
- --ez-upload--width: 100%;
8
- /*@doc Define a largura do slot que contém o ícone.*/
9
- --ez-upload__icon--width: 48px;
10
-
11
- /* box--container */
12
- /*@doc Define a cor de fundo do container.*/
13
- --ez-upload__container--background-color: var(--background--medium, #d2dce9);
14
-
15
- /* colors */
16
- /*@doc Define a cor de fundo do container.*/
17
- --ez-upload__color--primary: var(--color--primary, #008561);
18
-
19
- /* espaçamento */
20
- /*@doc Define os espaçamentos extra pequenos no componente.*/
21
- --ez-upload--padding--extra-small: var(--space--extra-small, 3px);
22
- /*@doc Define os espaçamentos pequenos no componente.*/
23
- --ez-upload--padding--small: var(--space--small, 6px);
24
- /*@doc Define os espaçamentos médios no componente.*/
25
- --ez-upload--padding--medium: var(--space--medium, 12px);
26
- /*@doc Define os espaçamentos grandes no componente.*/
27
- --ez-upload--padding--large: var(--space--large, 24px);
28
-
29
- /* border */
30
- /*@doc Define a cor das bordas no componente.*/
31
- --ez-upload__border--color: var(--color-strokes, #DCE0E8);
32
-
33
- /* text */
34
- /*@doc Define as sombras dos textos do componente.*/
35
- --ez-upload--text-shadow: var(--text-shadow, 0 0 0 #353535, 0 0 1px transparent);
36
- /*@doc Define a cor dos textos do componente.*/
37
- --ez-upload--text--primary: var(--text-primary, #626e82);
38
- /*@doc Define o tamanho dos textos do componente.*/
39
- --ez-upload--font-size: var(--text--medium, 14px);
40
- /*@doc Define a família dos textos do componente.*/
41
- --ez-upload--font-family: var(--font-pattern, Arial);
42
- /*@doc Define o peso dos textos do componente.*/
43
- --ez-upload--font-weight: var(--text-weight--large, 500);
44
-
45
- /*@doc Contém o ícone de cancelamento.*/
46
- --ez-upload__btn__cancel-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="8x" width="8px"><path d="M 8,0.8 7.2,0 4,3.2 0.8,0 0,0.8 3.2,4 0,7.2 0.8,8 4,4.8 7.2,8 8,7.2 4.8,4 Z"/></svg>');
47
- /*@doc Contém o ícone de arquivo.*/
48
- --ez-upload__file-icon-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="11x" width="9px"><path d="M 1.2272719,8.4999999 V 2.75 c 0,-1.1045695 1.4652499,-2 3.2727273,-2 1.8074777,0 3.2727281,0.8954305 3.2727281,2 V 8.9999999 C 7.7727273,9.690356 6.8569456,10.25 5.7272719,10.25 4.5975985,10.25 3.6818174,9.690356 3.6818174,8.9999999 V 3.75 c 0,-0.2761425 0.3663125,-0.5 0.8181818,-0.5 0.4518694,0 0.8181818,0.2238575 0.8181818,0.5 V 8.4999999 H 6.5454537 V 3.75 C 6.5454537,3.059644 5.6296725,2.5 4.4999992,2.5 3.3703258,2.5 2.4545446,3.059644 2.4545446,3.75 V 8.9999999 C 2.4545446,10.10457 3.9197945,11 5.7272719,11 7.5347496,11 9,10.10457 9,8.9999999 V 2.75 C 9,1.231217 6.9852809,0 4.4999992,0 2.0147181,5e-7 0,1.231217 0,2.75 v 5.7499999 z"/></svg>');
49
-
50
- /*private*/
51
- display: flex;
52
- flex-wrap: wrap;
53
- position: relative;
54
-
55
- /*public*/
56
- font-family: var(--ez-upload--font-family);
57
- font-size: var(--ez-upload--font-size);
58
- width: var(--ez-upload--width);
59
- font-weight: var(--ez-upload--font-weight);
60
- }
61
-
62
- .iu {
63
- display: flex;
64
- flex-wrap: wrap;
65
- background-color: var(--ez-upload__container--background-color);
66
- padding: var(--ez-upload--padding--small);
67
- width: 100%;
68
- border-radius: 12px;
69
- box-sizing: border-box;
70
- }
71
-
72
- .iu__container {
73
- width: 100%;
74
- display: flex;
75
- flex-wrap: wrap;
76
- justify-content: center;
77
- align-items: center;
78
- border: 2px dashed var(--ez-upload__border--color);
79
- border-radius: 6px;
80
- box-sizing: border-box;
81
- }
82
-
83
- .iu__footer {
84
- display: flex;
85
- flex-wrap: wrap;
86
- justify-content: flex-start;
87
- width: 100%;
88
- padding: 0 var(--ez-upload--padding--medium) var(--ez-upload--padding--medium) var(--ez-upload--padding--medium);
89
- box-sizing: border-box;
90
- }
91
-
92
- .iu__item {
93
- display: flex;
94
- width: 100%;
95
- justify-content: flex-start;
96
- align-items: center;
97
- align-self: center;
98
- padding-bottom: var(--ez-upload--padding--extra-small);
99
- box-sizing: border-box;
100
- white-space: nowrap;
101
- overflow: hidden;
102
- text-overflow: ellipsis;
103
- }
104
-
105
- .iu__item-label {
106
- display: flex;
107
- max-width: 80%;
108
- align-self: stretch;
109
- align-items: center;
110
- }
111
-
112
- .file__name {
113
- font-weight: 200;
114
- }
115
-
116
- .box__content {
117
- width: 100%;
118
- justify-content: center;
119
- align-items: center;
120
- height: 100%;
121
- border: 1px dashed var(--ez-upload__border--color);
122
- border-radius: 6px;
123
- box-sizing: border-box;
124
- }
125
-
126
- .box__container {
127
- display: flex;
128
- flex-wrap: wrap;
129
- background-color: var(--ez-upload__container--background-color);
130
- padding: 6px;
131
- width: 100%;
132
- border-radius: 12px;
133
- }
134
-
135
- /* LINK WITH DOWNLOAD URL */
136
- a:-webkit-any-link {
137
- color: #008561;
138
- fill: #008561;
139
- cursor: pointer;
140
- text-decoration: none;
141
- }
142
-
143
- /* PROGRESS BAR */
144
- progress[value] {
145
- display: flex;
146
- width: 100%;
147
- appearance: none;
148
- border: 1px solid var(--ez-upload__border--color);
149
- height: 12px;
150
- justify-content: flex-start;
151
- align-items: center;
152
- border-radius: 3px;
153
- position: relative;
154
- }
155
-
156
- progress[value]::-webkit-progress-bar {
157
- display: flex;
158
- -webkit-appearance: none;
159
- width: 100%;
160
- background-color: rgb(255, 255, 255);
161
- border-radius: 2px;
162
- padding: 2px;
163
- }
164
-
165
- progress[value]::-webkit-progress-value {
166
- display: flex;
167
- width: 100%;
168
- background-color: var(--ez-upload__color--primary);
169
- }
170
-
171
- .text--center {
172
- text-align: center;
173
- }
174
-
175
- .align--middle {
176
- align-self: center;
177
- align-items: center;
178
- }
179
-
180
- .text {
181
- font-family: "Sora", "Algerian";
182
- text-shadow: 0 0 0 #353535, 0 0 1px transparent;
183
- }
184
-
185
- .text--primary {
186
- color: var(--ez-upload--text--primary);
187
- text-shadow: var(--ez-upload--text-shadow);
188
- }
189
-
190
- .text--ellipsis {
191
- white-space: nowrap;
192
- overflow: hidden;
193
- text-overflow: ellipsis;
194
- }
195
-
196
- .text--medium {
197
- font-size: 14px;
198
- }
199
-
200
- .text--small {
201
- font-size: 12px;
202
- }
203
-
204
- .btn-cancel {
205
- outline: none;
206
- border: none;
207
- background-color: unset;
208
- cursor: pointer;
209
- }
210
-
211
- .btn-cancel::after {
212
- content: '';
213
- display: flex;
214
- background-color: var(--text--primary, #008561);
215
- width: 8px;
216
- height: 8px;
217
- -webkit-mask-image: var(--ez-upload__btn__cancel-image);
218
- mask-image: var(--ez-upload__btn__cancel-image);
219
- }
220
-
221
- .iu_header {
222
- display: flex;
223
- flex-direction: column;
224
- width: 100%;
225
- }
226
-
227
- .iu__label {
228
- padding: var(--space--small);
229
- box-sizing: border-box;
230
- overflow: hidden;
231
- text-overflow: ellipsis;
232
- white-space: nowrap;
233
-
234
- /*public*/
235
- font-family: var(--ez-upload--font-family);
236
- font-size: var(--text--extra-small);
237
- font-weight: var(--ez-upload--font-weight);
238
- color: var(--ez-upload--text--primary);
239
- text-shadow: var(--ez-upload--text-shadow);
240
- }
241
-
242
- .iu__file-icon {
243
- outline: none;
244
- border: none;
245
- background-color: unset;
246
- cursor: pointer;
247
- }
248
-
249
- .iu__file-icon:disabled {
250
- cursor: unset;
251
- }
252
-
253
- .iu__file-icon::after {
254
- content: '';
255
- display: flex;
256
- background-color: var(--text--primary, #626e82);
257
- width: 9px;
258
- height: 11px;
259
- -webkit-mask-image: var(--ez-upload__file-icon-image);
260
- mask-image: var(--ez-upload__file-icon-image);
261
- }
262
-
263
- .iu__file-icon:disabled::after {
264
- background-color: var(--text--disable, #AFB6C0);
265
- }
266
-
267
- .iu__icon-label {
268
- justify-content: center;
269
- display: flex;
270
- cursor: pointer;
271
- padding: var(--ez-upload--padding--large) 0px;
272
- box-sizing: border-box;
273
- }
274
-
275
- .background--disabled {
276
- background-color: var(--color--disable-secondary, #F2F5F8);
277
- }
278
-
279
- .text--disabled {
280
- color: var(--text--disable, #AFB6C0);
281
- }
282
-
283
- .mouse-pointer--disabled {
284
- cursor: unset;
285
- }
286
-
287
- .appearanceNone{
288
- width: 0px;
289
- height: 0px;
290
- }
291
-
292
-
293
- /* //////// GRID SYSTEM //////// */
294
-
295
- .row {
296
- width: 100%;
297
- display: flex;
298
- flex-wrap: wrap;
299
- }
300
-
301
- .col {
302
- display: flex;
303
- flex-wrap: wrap;
304
- align-self: flex-start;
305
- box-sizing: border-box;
306
- }
307
-
308
- .col--stretch {
309
- align-self: stretch;
310
- }
311
-
312
- .col--undefined {
313
- width: unset;
314
- }
315
-
316
- .col--nowrap {
317
- flex-wrap: nowrap;
318
- }
319
-
320
- @media screen and (min-width: 320px) {
321
- .col--sd-1 {
322
- width: 8.33333%;
323
- }
324
-
325
- .col--sd-2 {
326
- width: 16.66667%;
327
- }
328
-
329
- .col--sd-3 {
330
- width: 25%;
331
- }
332
-
333
- .col--sd-4 {
334
- width: 33.33333%;
335
- }
336
-
337
- .col--sd-5 {
338
- width: 41.66667%;
339
- }
340
-
341
- .col--sd-6 {
342
- width: 50%;
343
- }
344
-
345
- .col--sd-7 {
346
- width: 58.33333%;
347
- }
348
-
349
- .col--sd-8 {
350
- width: 66.66667%;
351
- }
352
-
353
- .col--sd-9 {
354
- width: 75%;
355
- }
356
-
357
- .col--sd-10 {
358
- width: 83.33333%;
359
- }
360
-
361
- .col--sd-11 {
362
- width: 91.66667%;
363
- }
364
-
365
- .col--sd-12 {
366
- width: 100%;
367
- }
368
- }
369
-
370
- @media screen and (min-width: 480px) {
371
- .col--pn-1 {
372
- width: 8.33333%;
373
- }
374
-
375
- .col--pn-2 {
376
- width: 16.66667%;
377
- }
378
-
379
- .col--pn-3 {
380
- width: 25%;
381
- }
382
-
383
- .col--pn-4 {
384
- width: 33.33333%;
385
- }
386
-
387
- .col--pn-5 {
388
- width: 41.66667%;
389
- }
390
-
391
- .col--pn-6 {
392
- width: 50%;
393
- }
394
-
395
- .col--pn-7 {
396
- width: 58.33333%;
397
- }
398
-
399
- .col--pn-8 {
400
- width: 66.66667%;
401
- }
402
-
403
- .col--pn-9 {
404
- width: 75%;
405
- }
406
-
407
- .col--pn-10 {
408
- width: 83.33333%;
409
- }
410
-
411
- .col--pn-11 {
412
- width: 91.66667%;
413
- }
414
-
415
- .col--pn-12 {
416
- width: 100%;
417
- }
418
- }
419
-
420
- @media screen and (min-width: 768px) {
421
- .col--tb-1 {
422
- width: 8.33333%;
423
- }
424
-
425
- .col--tb-2 {
426
- width: 16.66667%;
427
- }
428
-
429
- .col--tb-3 {
430
- width: 25%;
431
- }
432
-
433
- .col--tb-4 {
434
- width: 33.33333%;
435
- }
436
-
437
- .col--tb-5 {
438
- width: 41.66667%;
439
- }
440
-
441
- .col--tb-6 {
442
- width: 50%;
443
- }
444
-
445
- .col--tb-7 {
446
- width: 58.33333%;
447
- }
448
-
449
- .col--tb-8 {
450
- width: 66.66667%;
451
- }
452
-
453
- .col--tb-9 {
454
- width: 75%;
455
- }
456
-
457
- .col--tb-10 {
458
- width: 83.33333%;
459
- }
460
-
461
- .col--tb-11 {
462
- width: 91.66667%;
463
- }
464
-
465
- .col--tb-12 {
466
- width: 100%;
467
- }
468
- }
469
-
470
- @media screen and (min-width: 992px) {
471
- .col--md-1 {
472
- width: 8.33333%;
473
- }
474
-
475
- .col--md-2 {
476
- width: 16.66667%;
477
- }
478
-
479
- .col--md-3 {
480
- width: 25%;
481
- }
482
-
483
- .col--md-4 {
484
- width: 33.33333%;
485
- }
486
-
487
- .col--md-5 {
488
- width: 41.66667%;
489
- }
490
-
491
- .col--md-6 {
492
- width: 50%;
493
- }
494
-
495
- .col--md-7 {
496
- width: 58.33333%;
497
- }
498
-
499
- .col--md-8 {
500
- width: 66.66667%;
501
- }
502
-
503
- .col--md-9 {
504
- width: 75%;
505
- }
506
-
507
- .col--md-10 {
508
- width: 83.33333%;
509
- }
510
-
511
- .col--md-11 {
512
- width: 91.66667%;
513
- }
514
-
515
- .col--md-12 {
516
- width: 100%;
517
- }
518
- }
519
-
520
- @media screen and (min-width: 1200px) {
521
- .col--ld-1 {
522
- width: 8.33333%;
523
- }
524
-
525
- .col--ld-2 {
526
- width: 16.66667%;
527
- }
528
-
529
- .col--ld-3 {
530
- width: 25%;
531
- }
532
-
533
- .col--ld-4 {
534
- width: 33.33333%;
535
- }
536
-
537
- .col--ld-5 {
538
- width: 41.66667%;
539
- }
540
-
541
- .col--ld-6 {
542
- width: 50%;
543
- }
544
-
545
- .col--ld-7 {
546
- width: 58.33333%;
547
- }
548
-
549
- .col--ld-8 {
550
- width: 66.66667%;
551
- }
552
-
553
- .col--ld-9 {
554
- width: 75%;
555
- }
556
-
557
- .col--ld-10 {
558
- width: 83.33333%;
559
- }
560
-
561
- .col--ld-11 {
562
- width: 91.66667%;
563
- }
564
-
565
- .col--ld-12 {
566
- width: 100%;
567
- }
568
- }
File without changes
@@ -1 +0,0 @@
1
- import{r as s,c as t,h as e,g as h}from"./p-85a9446b.js";import{C as i}from"./p-811b4b9d.js";const o=class{constructor(e){s(this,e),this.ezChange=t(this,"ezChange",7),this.showPopup=t(this,"showPopup",7),this.enabled=!0,this.showSelectedValue=!0,this.showOptionValue=!0}updateValue(){this._comboElement&&(this._comboElement.value=this.value)}async setFocus(){this._comboElement.setFocus()}async setBlur(){this._comboElement.setBlur()}onComboChange(s){s.stopPropagation(),this.value=s.detail,this.ezChange.emit(s.detail)}componentDidLoad(){i.applyVarsTextInput(this._elem,this._comboElement)}render(){return e("ez-combo-box",{ref:s=>this._comboElement=s,value:this.value,label:this.label,enabled:this.enabled,errorMessage:this.errorMessage,optionLoader:this.optionLoader,searchMode:!0,onEzChange:s=>this.onComboChange(s),showSelectedValue:this.showSelectedValue,showOptionValue:this.showOptionValue})}get _elem(){return h(this)}static get watchers(){return{value:["updateValue"]}}};o.style=":host{width:100%}";export{o as ez_search}
@@ -1 +0,0 @@
1
- import{r as a,c as e,f as r,h as l}from"./p-85a9446b.js";import{FloatingManager as t}from"@sankhyalabs/core";const i=class{constructor(r){a(this,r),this.ezChange=e(this,"ezChange",7),this._firstRender=!0,this._todayLabel="Hoje",this._weekDayLabels=["D","S","T","Q","Q","S","S"],this._monthLabels=["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],this._hoursLabel=["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23"],this._minutosLabel=["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59"],this.value=new Date,this.floating=!1,this.time=!1,this.showSeconds=!1}async show(a,e,r,l){this.floating&&(this._floatingID=t.float(this._box,this._container,{autoClose:!0,top:a,left:e,bottom:r,right:l}),window.requestAnimationFrame((()=>{this._box.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})})),this.scroll())}async fitVertical(a,e){const r=this._container.getBoundingClientRect().bottom+this._calendarHeight;(window.innerHeight||document.documentElement.clientHeight)>r?this.show(a+"px",void 0,"unset"):this.show("unset",void 0,e+"px")}async hide(){void 0!==this._floatingID&&(t.close(this._floatingID),this._floatingID=void 0)}valueChanged(){this.value&&(this._currentPosition.setTime(this.value.getTime()),this._currentPosition.setDate(1))}getMonthLabel(){return this._monthLabels[this._currentPosition.getMonth()]+" "+this._currentPosition.getFullYear()}isSelectedDate(a){return!!this.value&&this.value.getDate()==a.getDate()&&this.value.getMonth()==a.getMonth()&&this.value.getFullYear()==a.getFullYear()}changeMonth(a){this._currentPosition.setMonth(this._currentPosition.getMonth()+a),r(this)}selectDate(a){let e=a;this.value&&(this.time||this.showSeconds)&&(e.setHours(this.value.getHours()),e.setMinutes(this.value.getMinutes()),e.setSeconds(this.showSeconds?this.value.getSeconds():0)),this.value=e,this.ezChange.emit(this.value)}selectHours(a){this.value||(this.value=new Date),this.value=new Date(this.value.getFullYear(),this.value.getMonth(),this.value.getDate(),a,this.value.getMinutes(),this.value.getSeconds()),this.ezChange.emit(this.value)}selectMinutes(a){this.value||(this.value=new Date),this.value=new Date(this.value.getFullYear(),this.value.getMonth(),this.value.getDate(),this.value.getHours(),a,this.value.getSeconds()),this.ezChange.emit(this.value)}selectSeconds(a){this.value||(this.value=new Date),this.value=new Date(this.value.getFullYear(),this.value.getMonth(),this.value.getDate(),this.value.getHours(),this.value.getMinutes(),a),this.ezChange.emit(this.value)}updateScroll(a){if(a){const{scrollHeight:e,clientHeight:r,scrollTop:l}=a;e-r-Math.ceil(l)>0?a.classList.add("endHidden"):a.classList.remove("endHidden")}}componentDidRender(){this.floating&&this._firstRender&&(this._calendarHeight=this._box.clientHeight,this._box.remove(),this._firstRender=!1),this.updateScroll(this._hoursScroll),this.updateScroll(this._minutesScroll),this.updateScroll(this._secondsScroll)}componentDidLoad(){this.scroll()}scroll(){(this.time||this.showSeconds)&&(this._hoursScroll.scrollTop=this._hoursSelect.offsetTop-64,this._minutesScroll.scrollTop=this._minutesSelect.offsetTop-64,this.updateScroll(this._hoursScroll),this.updateScroll(this._minutesScroll),this.showSeconds&&(this._secondsScroll.scrollTop=this._secondsSelect.offsetTop-64,this.updateScroll(this._secondsScroll)))}render(){null==this._currentPosition&&(this._currentPosition=new Date,this.value&&this._currentPosition.setTime(this.value.getTime()),this._currentPosition.setDate(1));const a=new Date;return a.setTime(this._currentPosition.getTime()),a.setDate(1-a.getDay()),l("section",{ref:a=>this._container=a},l("div",{ref:a=>this._box=a,class:"calendar__container"},l("div",{class:"calendar"},l("div",{class:"calendar__header"},l("button",{class:"calendar__btn-previous",onClick:()=>this.changeMonth(-1)}),l("label",{class:"calendar__lbl-month"},this.getMonthLabel()),l("button",{class:"calendar__btn-next",onClick:()=>this.changeMonth(1)})),l("div",{class:"calendar__body"},l("div",{class:"calendar__line"},this._weekDayLabels.map((a=>l("div",{class:"calendar__cell calendar__cell--unselectable"},a)))),[0,7,14,21,28,35].map((e=>l("div",{class:"calendar__line"},[0,1,2,3,4,5,6].map((r=>{const t=new Date;t.setTime(a.getTime()),t.setDate(t.getDate()+e+r);let i="calendar__cell";return this._currentPosition.getMonth()!=t.getMonth()?i+=" calendar__cell--secondary":this.isSelectedDate(t)&&(i+=" calendar__cell--selected"),l("div",{class:i,onClick:()=>this.selectDate(t)},t.getDate())})))))),l("div",{class:"calendar__footer"},l("button",{class:"calendar__btn-today",onClick:()=>this.selectDate(new Date)},this._todayLabel))),(this.time||this.showSeconds)&&l("div",{class:"calendar-time"},l("div",{class:"calendar-time__header"},l("div",null,"H"),l("div",{class:"separatorTime"},":"),l("div",null,"M"),this.showSeconds&&l("div",{class:"separatorTime"},":"),this.showSeconds&&l("div",null,"S")),l("div",{class:"calendar__body ",style:{display:"flex",paddingLeft:"12px",paddingRight:"12px"}},l("div",{class:"calendar__column",ref:a=>this._hoursScroll=a,onScroll:()=>this.updateScroll(this._hoursScroll)},this._hoursLabel.map(((a,e)=>e===this.value.getHours()?l("div",{style:{display:"flex"},ref:a=>this._hoursSelect=a},l("div",{class:"calendar__cell calendar__cell--selected",onClick:()=>this.selectHours(e)},a),l("div",{class:"separatorTime"},":")):l("div",{style:{display:"flex"}},l("div",{class:"calendar__cell",onClick:()=>this.selectHours(e)},a),l("div",{class:"separatorTime"},":"))))),l("div",{class:"calendar__column",ref:a=>this._minutesScroll=a,onScroll:()=>this.updateScroll(this._minutesScroll)},this._minutosLabel.map(((a,e)=>e===this.value.getMinutes()?l("div",{style:{display:"flex"},ref:a=>this._minutesSelect=a},l("div",{class:"calendar__cell calendar__cell--selected",onClick:()=>this.selectMinutes(e)},a),this.showSeconds&&l("div",{class:"separatorTime"},":")):l("div",{style:{display:"flex"}},l("div",{class:"calendar__cell",onClick:()=>this.selectMinutes(e)},a),this.showSeconds&&l("div",{class:"separatorTime"},":"))))),this.showSeconds&&l("div",{class:"calendar__column",ref:a=>this._secondsScroll=a,onScroll:()=>this.updateScroll(this._secondsScroll)},this._minutosLabel.map(((a,e)=>e===this.value.getSeconds()?l("div",{class:"calendar__cell calendar__cell--selected",onClick:()=>this.selectSeconds(e),ref:a=>this._secondsSelect=a},a):l("div",{class:"calendar__cell",onClick:()=>this.selectSeconds(e)},a))))))))}static get watchers(){return{value:["valueChanged"]}}};i.style=':host{--ez-calendar--font-family:var(--font-pattern, Arial);--ez-calendar--color:var(--title--primary, #626e82);--ez-calendar--text-shadow:var(--text-shadow, 0 0 0 #353535, 0 0 1px transparent);--ez-calendar__body--background-color:var(--background--xlight, #FFF);--ez-calendar__time--background-color:var(--background--xlight, #FAFAFA);--ez-calendar__body--padding:var(--space--medium, 12px) var(--space--small, 6px);--ez-calendar__body--border-radius:var(--border--radius-medium, 12px);--ez-calendar__body--shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-container--z-index:var(--more-visible, 2);--ez-calendar__header-line--stroke:1px;--ez-calendar__header-line--color:var(--color--strokes, #C0C0C0);--ez-calendar__nav-btn--fill:var(--text--primary, #008561);--ez-calendar__nav-btn--hover--fill:var(--color--primary, #350404);--ez-calendar__nav-btn--width:10px;--ez-calendar__nav-btn--height:16px;--ez-calendar__nav-btn--previous-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z"/></svg>\');--ez-calendar__nav-btn--next-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z"/></svg>\');--ez-calendar__cell--margin:0px 1.5px;--ez-calendar__cell--width:var(--space--large, 24px);--ez-calendar__cell--padding:1.5px 0px;--ez-calendar__cell--border-radius:var(--border--radius-small, 6px);--ez-calendar__cell--over--background-color:var(--color--primary, #E2F4EF);--ez-calendar__cell--over--color:var(--color--primary-300, #008561);--ez-calendar__cell--outset--color:var(--color--disable-primary, #E5EAF0);--ez-calendar__cell--selected--background-color:var(--color--primary, #008561);--ez-calendar__cell--selected--color:var(--color--inverted, #FFF);--ez-calendar__btn-today--color:var(--color--primary);--ez-calendar__btn-today--hover--background-color:var(--color--primary-300, #E2F4EF);--ez-calendar__btn-today--border-radius:var(--border--radius-small, 6px);position:relative;display:flex;user-select:none}.calendar__container{display:flex;z-index:var(--more-visible, 2)}.calendar{z-index:var(--more-visible, 2);display:flex;flex-direction:column;background-color:var(--ez-calendar__body--background-color);padding:var(--ez-calendar__body--padding);border-radius:var(--ez-calendar__body--border-radius);box-shadow:var(--ez-calendar__body--shadow)}.calendar__header{display:flex;justify-content:space-between;padding-bottom:var(--space--small, 6px);margin:0px var(--space--, 12px) var(--space--small, 6px) var(--space--, 12px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);border-bottom:solid var(--ez-calendar__header-line--stroke) var(--ez-calendar__header-line--color)}.calendar__btn-next,.calendar__btn-previous{outline:none;border:none;background-color:unset;cursor:pointer;padding:0px}.calendar__btn-next::after,.calendar__btn-previous::after{content:\'\';display:flex;background-color:var(--ez-calendar__nav-btn--fill);width:var(--ez-calendar__nav-btn--width);height:var(--ez-calendar__nav-btn--height)}.calendar__btn-previous::after{-webkit-mask-image:var(--ez-calendar__nav-btn--previous-image);mask-image:var(--ez-calendar__nav-btn--previous-image)}.calendar__btn-next::after{-webkit-mask-image:var(--ez-calendar__nav-btn--next-image);mask-image:var(--ez-calendar__nav-btn--next-image)}.calendar__btn-next:hover::after,.calendar__btn-previous:hover::after{background-color:var(--ez-calendar__nav-btn--hover--fill)}.calendar__lbl-month{font-weight:var(--text-weight--extra-large, 700);font-size:var(--title--small, 14px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.calendar__line{display:flex;padding:0px;margin:0px}.calendar__cell{display:flex;justify-content:center;align-content:center;cursor:pointer;font-size:var(--text--extra-small, 10px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);padding:var(--ez-calendar__cell--padding);margin:var(--ez-calendar__cell--margin);min-width:var(--ez-calendar__cell--width);border-radius:var(--ez-calendar__cell--border-radius)}.calendar__cell:hover{background-color:var(--ez-calendar__cell--over--background-color);color:var(--ez-calendar__cell--over--color)}.calendar__cell--secondary{color:var(--ez-calendar__cell--outset--color)}.calendar__cell--unselectable:hover{background-color:unset;border-radius:unset;cursor:unset}.calendar__cell--unselectable{font-weight:var(--text-weight--large, 600);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.calendar__cell--selected,.calendar__cell--selected:hover{background-color:var(--ez-calendar__cell--selected--background-color);color:var(--ez-calendar__cell--selected--color)}.calendar__footer{display:flex;flex-direction:column}.calendar__btn-today{border:none;background-color:unset;cursor:pointer;font-weight:var(--text-weight--large, 600);font-size:var(--title--extra-small, 12px);padding:0px;font-family:var(--ez-calendar--font-family);text-shadow:var(--ez-calendar--text-shadow);color:var(--ez-calendar__btn-today--color);border-radius:var(--ez-calendar__btn-today--border-radius)}.calendar__btn-today:hover{background-color:var(--ez-calendar__btn-today--hover--background-color)}section{display:flex}.calendar-time{margin-left:-10px;display:flex;flex-direction:column;padding:12px 0px 0px 10px;background-color:var(--ez-calendar__time--background-color);border-top-right-radius:var(--ez-calendar__body--border-radius);border-bottom-right-radius:var(--ez-calendar__body--border-radius);box-shadow:var(--ez-calendar__body--shadow)}.calendar__column{height:136px;padding:0px;margin:0px;overflow:auto}.calendar__column::-webkit-scrollbar{width:0px;max-width:0px;min-width:0px}.calendar-time__header{padding-left:var(--space--small, 6px);padding-right:var(--space--small, 6px);display:flex;justify-content:space-between;padding-bottom:var(--space--small, 6px);margin:0px var(--space--, 12px) var(--space--small, 6px) var(--space--, 12px);font-weight:var(--text-weight--extra-large, 700);font-size:var(--title--small, 14px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);border-bottom:solid var(--ez-calendar__header-line--stroke) var(--ez-calendar__header-line--color);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.separatorTime{color:#A2ABB9;padding:0px 1px;line-height:16px;font-size:17px;font-weight:normal}.endHidden{-webkit-mask-image:linear-gradient(180deg, #000 calc(100% - 48px), transparent 100%)}.calendar__column .calendar__cell{margin:0px;padding:1.5px 1.5px}';export{i as ez_calendar}
@@ -1 +0,0 @@
1
- import{r,c as e,h as a}from"./p-85a9446b.js";const o=class{constructor(a){r(this,a),this.actionClick=e(this,"actionClick",7),this.enabled=!0}render(){return a("div",{onClick:()=>this.actionClick.emit(),class:"label__container"},a("slot",{name:"leftIcon"}),a("label",null,this.label),a("slot",{name:"rightIcon"}))}};o.style=":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)}";export{o as ez_action_chip}
@@ -1 +0,0 @@
1
- import{r as o,c as t,h as a}from"./p-85a9446b.js";const i=class{constructor(a){o(this,a),this.applicationLoaded=t(this,"applicationLoaded",7)}componentWillLoad(){}componentDidLoad(){this.applicationLoaded.emit(!0)}render(){return a("div",null)}};i.style="";export{i as ez_application}
@@ -1 +0,0 @@
1
- import{r as t,c as o,h as i,H as e}from"./p-85a9446b.js";const l=class{constructor(i){t(this,i),this.ezClosePopup=o(this,"ezClosePopup",7),this.sizeClasses={"x-small":"col--sd-3",small:"col--sd-5",medium:"col--sd-6",large:"col--sd-9","x-large":"col--sd-11"},this.size="medium",this.opened=!1,this.useHeader=!1}getGridSize(){return this.sizeClasses[this.size]||this.sizeClasses.medium}render(){return this.opened?i(e,null,i("div",{class:"overlay"},i("div",{class:"popup col "+this.getGridSize()},i("div",{class:"popup__container"},i("div",{class:"popup__content"},i("div",{class:"popup__header"},this.ezTitle?i("div",{class:"popup__title"},this.ezTitle):void 0,i("button",{class:this.ezTitle?"btn-close":"btn-close btn-close--solo",onClick:()=>{this.opened=!1,this.ezClosePopup.emit()}})),i("div",{class:"popup__expandable-content"},i("slot",null))))))):null}};l.style=':host{display:flex;--ez-popup-z-index:var(--most-visible, 3);--ez-popup__container--color:var(--title--primary, #2b3a54);--ez-popup__container--padding:var(--space--large, 24px);--ez-popup__header--padding-bottom:var(--space--medium, 12px);--ez-popup__title--font-family:var(--font-pattern, "\'Sora\', \'Algerian\'");--ez-popup__title--font-size:var(--title--extra-large, 24px);--ez-popup__title--color:var(--title--primary, #2b3a54);--ez-popup__title--font-weight:var(--text-weight--large, 600);--ez-popup__btn__close--icon-color:var(--title--primary, #2b3a54);--ez-popup__btn__close--icon:url(\'data:image/svg+xml;utf8,<svg width="14" height="14" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"><path d="M 8.2421753,6.9944578 13.743748,1.4930784 C 13.907781,1.3290628 14,1.1065946 14,0.87462511 14,0.64266712 13.907782,0.42019873 13.743748,0.25617155 13.579712,0.09215597 13.35727,6.48e-8 13.125266,6.48e-8 12.89338,6.48e-8 12.670821,0.09215634 12.506787,0.25617155 L 7.005215,5.7575508 1.5035972,0.25617155 C 1.3395631,0.09215597 1.1170968,6.48e-8 0.88511716,6.48e-8 0.65314917,6.48e-8 0.4306712,0.09215597 0.26663695,0.25617155 0.10260271,0.42019873 0.01045441,0.64266712 0.01045441,0.87462511 c 0,0.23196949 0.0921483,0.45443769 0.25618254,0.61845329 L 5.7682546,6.9944578 0.26663695,12.497027 c -0.0834745,0.08067 -0.15003245,0.1772 -0.19581514,0.283871 C 0.02505077,12.887561 9.831648e-4,13.002399 2.950369e-5,13.118395 -9.2415746e-4,13.234504 0.02125019,13.349689 0.06527245,13.457057 c 0.04401053,0.107479 0.10898307,0.205064 0.1911168,0.287137 0.0821454,0.08208 0.17979645,0.146888 0.28727561,0.190839 0.10747906,0.04395 0.22262954,0.06598 0.33872417,0.06493 0.116095,-10e-4 0.23082547,-0.0253 0.33747687,-0.07112 0.1066637,-0.04593 0.2031133,-0.112615 0.2837313,-0.196086 L 7.005215,8.2313646 12.506787,13.732768 c 0.164034,0.164027 0.386593,0.256125 0.618479,0.256125 0.232004,0 0.454446,-0.09209 0.618482,-0.256125 C 13.907781,13.568741 14,13.346308 14,13.114315 14,12.882323 13.90779,12.659888 13.743748,12.495861 Z"/></svg>\')}.overlay{position:fixed;display:flex;top:0px;z-index:var(--ez-popup-z-index);left:0px;width:100%;align-items:center;justify-content:center;box-sizing:border-box;height:100vh;backdrop-filter:blur(4px);background:rgba(0, 4, 12, 0.4)}.popup{display:flex;height:100%;align-items:center;justify-content:center;box-sizing:border-box}.popup__container{width:100%;max-height:90%;height:100%;display:flex;flex-wrap:wrap;overflow:hidden;background:#FFFF;color:var(--ez-popup__container--color);border-radius:12px;box-shadow:0px 0px 16px rgba(0, 38, 111, 0.122);box-sizing:border-box;padding:var(--ez-popup__container--padding)}.popup__content{box-sizing:border-box;max-height:100%;width:100%;display:grid;grid-template-rows:auto 1fr}.popup__expandable-content{box-sizing:border-box;overflow-y:auto;height:100%;width:100%}.popup__header{padding-bottom:var(--ez-popup__header--padding-bottom);width:100%;display:flex}.popup__title{display:flex;margin:0;width:100%;font-family:var(--ez-popup__title--font-family);font-size:var(--ez-popup__title--font-size);font-weight:var(--ez-popup__title--font-weight);color:var(--ez-popup__title--color);line-height:1.3}.btn-close{justify-content:flex-end;align-self:flex-start;align-items:flex-start;display:flex;outline:none;border:none;background-color:unset;cursor:pointer}.btn-close::after{content:\'\';display:flex;background-color:var(--ez-popup__btn__close--icon-color);width:14px;height:14px;-webkit-mask-image:var(--ez-popup__btn__close--icon);mask-image:var(--ez-popup__btn__close--icon)}.btn-close--solo{width:100%}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}';export{l as ez_popup}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as i,H as n,g as a}from"./p-85a9446b.js";import{TimeFormatter as s,DateUtils as r}from"@sankhyalabs/core";import{C as o}from"./p-811b4b9d.js";const c=class{constructor(i){t(this,i),this.ezChange=e(this,"ezChange",7),this.enabled=!0,this.showSeconds=!1}setLabel(){this._textInput.label=this.label}setErrorMessage(){this._textInput.errorMessage=this.errorMessage}applyValueToInput(){this._textInput&&(this._textInput.value=this.getTextValue(this.value))}async setFocus(){this._textInput.setFocus()}async setBlur(){this._textInput.setBlur()}onChangeKeyDown(t){const e=this._textInput.shadowRoot.querySelector("input");if("H"===t.key||"h"===t.key)this.changeValue(new Date);else if(t.shiftKey&&"Tab"===t.key){if(e.selectionStart>0){let i=e.value.lastIndexOf(" ",e.selectionStart);-1!==i&&(e.setSelectionRange(0,i),t.preventDefault())}}else if("Tab"===t.key&&e.value.length!==e.selectionEnd){let i=e.value.indexOf(" ",e.selectionEnd);i=-1===i?e.selectionEnd:i+1,e.setSelectionRange(i,e.value.length),t.preventDefault()}}onFocused(){const t=this._textInput.shadowRoot.querySelector("input");if(t.selectionStart!==t.selectionEnd){let e=t.value.indexOf(" ",t.selectionStart);e=-1===e?t.value.length:e,t.setSelectionRange(0,e)}}onClicked(){const t=this._textInput.shadowRoot.querySelector("input");let e=t.value.lastIndexOf(" ",t.selectionEnd);e=-1===e?0:e+1,e=e>t.selectionEnd?0:e;let i=0===e?t.value.indexOf(" "):t.value.length;t.setSelectionRange(e,i)}changeValue(t){var e;this._textInput.errorMessage="",(null==t?void 0:t.toString())!==(null===(e=this.value)||void 0===e?void 0:e.toString())&&(this.value=t,this.ezChange.emit(this.value))}showCalendar(){this._calendar.fitVertical(this._textInput.errorMessage?0:-17,this._elem.clientHeight),this._calendar.style.visibility="inherit"}parseDate(){const t=this._textInput.value,e=t&&t.length>0?t.split(" "):[],i=e.length>0?e[0]:t,n=s.prepareValue(e[1]?e[1]:"",this.showSeconds),a=r.strToDate(i+(n&&" "+n));a||!t?this.changeValue(this.value===a?this.value:a):this._textInput.errorMessage="O valor digitado não é uma data válida"}getTextValue(t){return t?new Intl.DateTimeFormat("pt-BR",this.showSeconds?{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}:{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"}).format(t):null}componentDidLoad(){o.applyVarsTextInput(this._elem,this._textInput)}render(){return i(n,null,i("ez-text-input",{ref:t=>this._textInput=t,onBlur:()=>this.parseDate(),onKeyDown:t=>{this.onChangeKeyDown(t)},label:this.label,onEzChange:t=>t.stopPropagation(),value:this.getTextValue(this.value),restrict:"0123456789/: ",enabled:this.enabled,errorMessage:this.errorMessage,onFocus:()=>this.onFocused(),onClick:()=>this.onClicked()},i("button",{disabled:!this.enabled,tabindex:-1,class:"btn-open-cal",onClick:()=>this.showCalendar(),slot:"leftIcon"})),i("ez-calendar",{onEzChange:t=>{this.changeValue(this._calendar.value),t.stopPropagation()},floating:!0,ref:t=>this._calendar=t,time:!0,showSeconds:this.showSeconds}))}get _elem(){return a(this)}static get watchers(){return{label:["setLabel"],errorMessage:["setErrorMessage"],value:["applyValueToInput"]}}};c.style=':host{display:block;width:100%;--ez-date-input__input--background-color:var(--background--medium, #e0e0e0);--ez-date-input__input--border-color:var(--ez-date-input__input--background-color);--ez-date-input__calendar-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="15px"><path d="M 3.171875,5.25 C 2.6485088,5.25 2.21875,5.6797588 2.21875,6.203125 2.21875,6.7264912 2.6485088,7.15625 3.171875,7.15625 3.6952412,7.15625 4.125,6.7264912 4.125,6.203125 4.125,5.6797588 3.6952412,5.25 3.171875,5.25 Z m 2.875,0 C 5.5235088,5.25 5.09375,5.6797588 5.09375,6.203125 5.09375,6.7264912 5.5235088,7.15625 6.046875,7.15625 6.5702412,7.15625 7,6.7264912 7,6.203125 7,5.6797588 6.5702412,5.25 6.046875,5.25 Z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.9511719,-0.4297588 0.9511719,-0.953125 C 9.8730469,5.6797588 9.4452412,5.25 8.921875,5.25 Z m 2.873047,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.953125 0.953125,0.953125 0.523366,0 0.953125,-0.4297588 0.953125,-0.953125 C 12.748047,5.6797588 12.318288,5.25 11.794922,5.25 Z M 3.171875,8.1230469 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 0.5233662,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 C 6.5702412,10.029297 7,9.5995381 7,9.0761719 7,8.5528057 6.5702412,8.1230469 6.046875,8.1230469 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297587,0.9531251 0.953125,0.9531251 0.5233661,0 0.9531249,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.9531251 0.953125,0.9531251 0.523367,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.171875,10.998047 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 C 6.5702412,12.904297 7,12.474538 7,11.951172 7,11.427806 6.5702412,10.998047 6.046875,10.998047 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297587,0.953125 0.953125,0.953125 0.5233661,0 0.9531249,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.429759,0.953125 0.953125,0.953125 0.523367,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.5,0 c -0.554,0 -1,0.446 -1,1 v 0.050781 C 1.0853217,1.2909766 0,2.5186658 0,4 v 9 c 0,1.652487 1.3475134,3 3,3 h 9 c 1.652487,0 3,-1.347513 3,-3 V 4 C 15,2.5186658 13.914678,1.2909766 12.5,1.0507812 V 1 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 C 4.5,0.446 4.054,0 3.5,0 Z m 1,2.0996094 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 v -0.640625 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 V 2.1738281 C 13.311725,2.3905225 13.900391,3.11278 13.900391,4 v 9 c 0,1.062113 -0.838278,1.900391 -1.900391,1.900391 H 3 C 1.9378864,14.900391 1.0996094,14.062113 1.0996094,13 V 4 C 1.0996094,3.11278 1.6882747,2.3905225 2.5,2.1738281 v 0.5664063 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 z"/></svg>\')}.btn-open-cal{outline:none;border:none;background-color:unset;cursor:pointer}.btn-open-cal:disabled{cursor:unset}.btn-open-cal::after{content:\'\';display:flex;background-color:var(--text--primary, #008561);width:15px;height:16px;-webkit-mask-image:var(--ez-date-input__calendar-image);mask-image:var(--ez-date-input__calendar-image)}.btn-open-cal:disabled:after{background-color:var(--text--disable, #AFB6C0)}.btn-open-cal:enabled:hover::after{background-color:var(--color--primary, #4e4e4e)}ez-text-input{--text-input__input--background-color:var(--ez-date-input__input--background-color, #FFFFFF);--text-input__input--border-color:var(--ez-date-input__input--border-color, #DCE0E8)}';export{c as ez_date_time_input}
@@ -1 +0,0 @@
1
- import{r as e,c as l,h as a}from"./p-85a9446b.js";const r=class{constructor(a){e(this,a),this.valueChange=l(this,"valueChange",7),this.removeChip=l(this,"removeChip",7),this.enabled=!0,this.removable=!1,this.value=!1}async setFocus(){this._labelElem.focus()}async setBlur(){this._labelElem.blur()}handleClick(e){const l=e.target;null!==l.assignedSlot||l.classList.contains("label__icon")||(this.valueChange.emit(this.value),this.swichState())}swichState(){this.enabled&&(this.value=!this.value)}reflectChange(){this._divElem&&(this._divElem.classList.remove("label__container--active"),this._divElem.classList.remove("label__container"),this._divElem.classList.add(this.value?"label__container--active":"label__container"))}componentDidLoad(){this._divElem&&(this.value?this._divElem.classList.add("label__container--active"):this.handleEnabledState())}handleEnabledState(){this._divElem.classList.remove("label__container--disabled"),this.enabled||(this._divElem.classList.remove("label__container"),this._divElem.classList.add("label__container--disabled"),this._labelElem&&(this._labelElem.style.cursor="default"))}render(){return a("div",{onClick:e=>this.handleClick(e),class:this.value?"label__container--active":"label__container",ref:e=>this._divElem=e},a("slot",{name:"leftIcon"}),a("label",{ref:e=>this._labelElem=e},this.label),this.removable?a("button",{class:"btn-close",onClick:()=>{this.removeChip.emit()}}):null,a("slot",{name:"rightIcon"}))}static get watchers(){return{value:["reflectChange"],enabled:["handleEnabledState"]}}};r.style=':host{--ez-label-chip--height:36px;--ez-label-chip__label--font-size:var(--text--medium, 14px);--ez-label-chip__label--font-family:var(--font-pattern, Arial);--ez-label-chip__label--font-weight:var(--text-weight--large, 600);--ez-label-chip__label--space--medium:var(--space--medium, 12px);--ez-label-chip__label--title--primary:var(--title--primary, #919191);--ez-label-chip__label__container--border-radius:var(--border--radius-large, 24px);--ez-label-chip__label__container--border:1px solid;--ez-label-chip__label__container--border-color-strokes:var(--color--strokes, #DCE0E8);--ez-label-chip__label__container--color-primary:var(--color--primary, #008561);--ez-label-chip__label__container-color--disable-secondary:var(--color--disable-secondary, #F2F5F8);--ez-label-chip__label__container--background-color:#0085610F;--ez-label-chip__label__container--border-color:#0085610F;--ez-label-chip__label__container--default--border-color--hover:var(--color--primary-600, #007a5a);--ez-label-chip__label__container--default--background-color--hover:var(--color--primary-200, #f2faf8);--ez-label-chip__label__container--text--disabled:var(--text--disable, #AFB6C0);--ez-label-chip__btn__close--image:url(\'data:image/svg+xml;utf8,<svg width="8" height="8" viewBox="0 0 8 8" xmlns="http://www.w3.org/2000/svg"><path d="M 4.7098145,3.9968334 7.8535703,0.85318776 C 7.9473034,0.75946455 8,0.63233985 8,0.49978585 8,0.36723841 7.947304,0.24011361 7.8535703,0.14638378 7.7598354,0.05266059 7.6327257,6.48e-8 7.500152,6.48e-8 7.3676457,6.48e-8 7.2404691,0.0526608 7.1467354,0.14638378 L 4.00298,3.2900293 0.8591984,0.14638378 C 0.76546463,0.05266059 0.63834103,6.48e-8 0.50578123,6.48e-8 0.3732281,6.48e-8 0.24609783,0.05266059 0.15236397,0.14638378 0.05863012,0.24011361 0.00597395,0.36723841 0.00597395,0.49978585 c 0,0.132554 0.05265617,0.2596787 0.14639002,0.35340191 L 3.2961455,3.9968334 0.15236397,7.1411589 C 0.10466427,7.1872561 0.06663114,7.2424161 0.04046961,7.303371 0.01431473,7.3643212 5.6180845e-4,7.429943 1.6859246e-5,7.4962264 -5.2808998e-4,7.5625744 0.01214297,7.6283944 0.03729854,7.6897476 c 0.02514888,0.061416 0.06227604,0.1171794 0.1092096,0.1640783 0.0469402,0.046903 0.10274083,0.083936 0.16415749,0.1090508 0.0614166,0.025114 0.12721688,0.037703 0.19355667,0.037103 0.06634,-5.714e-4 0.13190027,-0.014457 0.19284393,-0.04064 0.0609507,-0.026246 0.11606474,-0.064351 0.16213217,-0.1120492 L 4.00298,4.7036374 7.1467354,7.8472967 c 0.093734,0.09373 0.2209103,0.1463572 0.3534166,0.1463572 0.1325737,0 0.2596834,-0.052623 0.3534183,-0.1463572 C 7.9473034,7.753567 8,7.6264624 8,7.493895 8,7.3613281 7.9473086,7.2342224 7.8535703,7.1404927 Z"/></svg>\')}.btn-close{align-items:flex-start;display:flex;outline:none;border:none;padding:0px 0px 0px 6px;background-color:unset;cursor:pointer}.btn-close::after{content:\'\';display:flex;background-color:var(--ez-label-chip__label__container--color-primary);width:8px;height:8px;-webkit-mask-image:var(--ez-label-chip__btn__close--image);mask-image:var(--ez-label-chip__btn__close--image)}.label__container{width:fit-content;display:flex;flex-wrap:wrap;position:relative;align-items:center;background-color:#FFFFFF;align-self:center;color:var(--ez-label-chip__label--title--primary);fill:var(--ez-label-chip__label--title--primary);border:var(--ez-label-chip__label__container--border);border-radius:var(--ez-label-chip__label__container--border-radius);border-color:var(--ez-label-chip__label__container--border-color-strokes);padding-right:var(--ez-label-chip__label--space--medium);padding-left:var(--ez-label-chip__label--space--medium)}.label__container:hover{border-color:var(--ez-label-chip__label__container--default--border-color--hover);background-color:var(--ez-label-chip__label__container--default--background-color--hover)}.label__container--active{width:fit-content;display:flex;flex-wrap:wrap;position:relative;align-items:center;align-self:center;border:var(--ez-label-chip__label__container--border);border-radius:var(--ez-label-chip__label__container--border-radius);padding-right:var(--ez-label-chip__label--space--medium);padding-left:var(--ez-label-chip__label--space--medium);fill:var(--ez-label-chip__label__container--color-primary);color:var(--ez-label-chip__label__container--color-primary);border-color:var(--ez-label-chip__label__container--border-color);background-color:var(--ez-label-chip__label__container--background-color)}.label__container--disabled{width:fit-content;display:flex;flex-wrap:wrap;position:relative;align-items:center;align-self:center;border:var(--ez-label-chip__label__container--border);border-color:var(--ez-label-chip__label__container-color--disable-secondary);border-radius:var(--ez-label-chip__label__container--border-radius);padding-right:var(--ez-label-chip__label--space--medium);padding-left:var(--ez-label-chip__label--space--medium);fill:var(--ez-label-chip__label__container--text--disabled);color:var(--ez-label-chip__label__container--text--disabled);background-color:var(--ez-label-chip__label__container-color--disable-secondary)}label{display:flex;align-items:center;font-weight:var(--ez-label-chip__label--font-weight);cursor:pointer;height:var(--ez-label-chip--height);font-family:var(--ez-label-chip__label--font-family);font-size:var(--ez-label-chip__label--font-size)}.label__icon{display:flex;cursor:pointer}';export{r as ez_label_chip}
@@ -1 +0,0 @@
1
- import{r as e,h as a}from"./p-85a9446b.js";import{DataUnit as r,DataType as s,UserInterface as o}from"@sankhyalabs/core";const t=class{constructor(a){e(this,a)}componentWillLoad(){this.dataUnit=new r("testes_com_formulario"),this.dataUnit.metadata={name:"dd://br.com.sankhya.fin.cad.movimentacaoFinanceira/Financeiro",label:"Parceiro",fields:[{name:"CODPARC",label:"Parceiro",dataType:s.NUMBER,userInterface:o.SEARCH,required:!0,properties:{}},{name:"RECDESP",label:"Receita/Despesa",dataType:s.TEXT,userInterface:o.OPTIONSELECTOR,required:!0,properties:{options:'{"-1": "Despesa", "1": "Receita"}'}},{name:"P",label:"pera",dataType:s.TEXT,userInterface:o.OPTIONSELECTOR,properties:{options:'{"M": "Madura", "V": "Verde", "P": "Passada"}'}},{name:"ME",label:"ME",dataType:s.NUMBER,userInterface:o.DECIMALNUMBER,properties:{precision:4,prettyPrecision:1}}]},this.dataUnit.dataLoader=()=>new Promise((e=>e([{__record__id__:"1321321321321321",CODPARC:10,NOMEPARC:"Parceiro 10",P:"M",L:"Bagaço",LI:"Azedo"}])))}render(){return a("ez-form",{dataUnit:this.dataUnit})}};t.style=":host{display:block}";export{t as test_du}
@@ -1 +0,0 @@
1
- import{r as t,h as s,H as i,g as h}from"./p-85a9446b.js";import{MaskFormatter as e,TimeFormatter as r,NumberUtils as a}from"@sankhyalabs/core";import{C as o}from"./p-811b4b9d.js";import{g as n}from"./p-60967cf0.js";const l=class{constructor(s){t(this,s),this.enabled=!0,this.showSeconds=!1}prepareMask(){this.showSeconds?null==this._maskFormatter?this._maskFormatter=new e("##:##:##"):this._maskFormatter.mask="##:##:##":null==this._maskFormatter?this._maskFormatter=new e("##:##"):this._maskFormatter.mask="##:##"}onValueChanged(){NaN===this.value&&(this.value=void 0,this.handleFocusout())}async setFocus(){this._inputElem.focus()}async setBlur(){this._inputElem.blur()}handleFocusout(){this.errorMessage="",this.prepareValue(this.viewValue),r.validateTime(this.viewValue,this.showSeconds)||(this.clearField(),this.errorMessage="Favor inserir um horário válido.")}prepareValue(t){try{this.viewValue=r.prepareValue(t,this.showSeconds)}catch(t){this.clearField(),this.errorMessage=t.message}}clearField(){this.viewValue=this.value=void 0}handleChange(){this.viewValue=this._inputElem.value,this.value=a.stringToNumber(this.viewValue.replace(/\D/g,""))}componentDidLoad(){this.onValueChanged(),o.applyVarsTextInput(this._elem,this._inputElem)}componentWillLoad(){this.prepareMask(),this.value?this.prepareValue(this.value.toString()):this.viewValue&&this.prepareValue(this.viewValue)}render(){return s(i,null,s("ez-text-input",{ref:t=>this._inputElem=t,value:this.viewValue,enabled:this.enabled,label:this.label,onInput:()=>{this.handleChange()},onFocusout:()=>{this.handleFocusout()},errorMessage:this.errorMessage},s("ez-icon",{slot:"leftIcon",href:n("timer-outline")})))}static get assetsDirs(){return["../assets"]}get _elem(){return h(this)}static get watchers(){return{showSeconds:["prepareMask"],value:["onValueChanged"]}}};l.style=":host{display:flex;flex-wrap:wrap;position:relative;width:100%}";export{l as ez_time_input}