@sankhyalabs/sankhyablocks 9.0.1 → 9.1.0-dev.1

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 (1096) hide show
  1. package/dist/cjs/{ClientSideExporterProvider-fe52f7cf.js → ClientSideExporterProvider-0ce2bcd9.js} +23 -28
  2. package/dist/cjs/{ConfigStorage-6b633b10.js → ConfigStorage-48ba265b.js} +47 -19
  3. package/dist/cjs/{DataFetcher-875371e9.js → DataFetcher-1afdb18e.js} +14 -2
  4. package/dist/cjs/FormConfigHelper-c664dbae.js +260 -0
  5. package/dist/cjs/{pesquisa-fetcher-30cab386.js → ISave-c76e2c51.js} +35 -3
  6. package/dist/cjs/{PersonalizedFilterUtils-0184ffbb.js → PersonalizedFilterUtils-7259cf65.js} +1 -1
  7. package/dist/cjs/{SnkFormConfigManager-d680be08.js → SnkFormConfigManager-aa4631bd.js} +4 -5
  8. package/dist/cjs/{SnkMessageBuilder-bae64d0d.js → SnkMessageBuilder-e3b7850b.js} +63 -30
  9. package/dist/cjs/{auth-fetcher-24ba4135.js → auth-fetcher-1687ac0a.js} +1 -1
  10. package/dist/cjs/config-header.cjs.entry.js +79 -0
  11. package/dist/cjs/configs-button.cjs.entry.js +61 -0
  12. package/dist/cjs/{constants-241934b3.js → constants-6d82e405.js} +9 -38
  13. package/dist/cjs/{dataunit-fetcher-b95768e8.js → dataunit-fetcher-a723f0dc.js} +12 -8
  14. package/dist/cjs/default-filters-a09bf82b.js +8 -0
  15. package/dist/cjs/field-config_2.cjs.entry.js +324 -0
  16. package/dist/cjs/fields-layout.cjs.entry.js +341 -0
  17. package/dist/cjs/fields-selector.cjs.entry.js +74 -0
  18. package/dist/cjs/{filter-type.enum-b14ce507.js → filter-type.enum-2bb46d2a.js} +1 -0
  19. package/dist/cjs/{form-config-fetcher-e0a512c3.js → form-config-fetcher-40d3f752.js} +15 -1
  20. package/dist/cjs/guides-configurator.cjs.entry.js +164 -0
  21. package/dist/cjs/{index-ab1cfb44.js → index-0ad2baeb.js} +1 -1
  22. package/dist/cjs/{index-f9e81701.js → index-1cf293c1.js} +34 -12
  23. package/dist/cjs/{index-c5771aba.js → index-62760a9c.js} +5 -0
  24. package/dist/cjs/loader.cjs.js +2 -2
  25. package/dist/cjs/pesquisa-grid_2.cjs.entry.js +7 -8
  26. package/dist/cjs/sankhyablocks.cjs.js +2 -2
  27. package/dist/cjs/{snk-actions-button_5.cjs.entry.js → snk-actions-button_8.cjs.entry.js} +132 -10
  28. package/dist/cjs/snk-actions-form.cjs.entry.js +1 -1
  29. package/dist/cjs/snk-application.cjs.entry.js +183 -23
  30. package/dist/cjs/snk-attach.cjs.entry.js +9 -10
  31. package/dist/cjs/snk-client-confirm.cjs.entry.js +1 -1
  32. package/dist/cjs/snk-configurator.cjs.entry.js +10 -3
  33. package/dist/cjs/snk-crud.cjs.entry.js +48 -76
  34. package/dist/cjs/snk-custom-slot-elements.cjs.entry.js +1 -1
  35. package/dist/cjs/snk-data-exporter.cjs.entry.js +8 -9
  36. package/dist/cjs/{snk-data-unit-33937ffe.js → snk-data-unit-3684c96e.js} +227 -13
  37. package/dist/cjs/snk-data-unit.cjs.entry.js +5 -5
  38. package/dist/cjs/snk-default-filter.cjs.entry.js +77 -0
  39. package/dist/cjs/snk-detail-view.cjs.entry.js +68 -16
  40. package/dist/cjs/snk-entity-list.cjs.entry.js +1 -1
  41. package/dist/cjs/snk-exporter-email-sender.cjs.entry.js +1 -1
  42. package/dist/cjs/snk-expression-group_2.cjs.entry.js +10 -8
  43. package/dist/cjs/snk-filter-advanced-mode_2.cjs.entry.js +5 -4
  44. package/dist/cjs/snk-filter-bar_4.cjs.entry.js +84 -30
  45. package/dist/cjs/snk-filter-binary-select.cjs.entry.js +1 -1
  46. package/dist/cjs/snk-filter-checkbox-list.cjs.entry.js +1 -1
  47. package/dist/cjs/snk-filter-detail.cjs.entry.js +3 -3
  48. package/dist/cjs/snk-filter-field-search_2.cjs.entry.js +3 -3
  49. package/dist/cjs/snk-filter-modal-item.cjs.entry.js +5 -5
  50. package/dist/cjs/snk-filter-multi-select.cjs.entry.js +1 -1
  51. package/dist/cjs/snk-filter-number.cjs.entry.js +1 -1
  52. package/dist/cjs/snk-filter-period.cjs.entry.js +1 -1
  53. package/dist/cjs/snk-filter-search.cjs.entry.js +19 -6
  54. package/dist/cjs/snk-filter-text.cjs.entry.js +1 -1
  55. package/dist/cjs/snk-form-summary.cjs.entry.js +1 -1
  56. package/dist/cjs/snk-form-view.cjs.entry.js +20 -8
  57. package/dist/cjs/snk-form_2.cjs.entry.js +433 -0
  58. package/dist/cjs/snk-grid.cjs.entry.js +52 -39
  59. package/dist/cjs/{snk-guides-viewer-b6002ea7.js → snk-guides-viewer-edc0a00a.js} +139 -73
  60. package/dist/cjs/snk-guides-viewer.cjs.entry.js +13 -13
  61. package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js +1 -1
  62. package/dist/cjs/snk-personalized-filter.cjs.entry.js +55 -20
  63. package/dist/cjs/snk-pesquisa.cjs.entry.js +14 -15
  64. package/dist/cjs/snk-print-selector.cjs.entry.js +1 -1
  65. package/dist/cjs/snk-simple-bar.cjs.entry.js +1 -1
  66. package/dist/cjs/snk-simple-crud.cjs.entry.js +148 -114
  67. package/dist/cjs/snk-taskbar.cjs.entry.js +10 -5
  68. package/dist/cjs/sortable.esm-9a110bb7.js +2668 -0
  69. package/dist/cjs/{taskbar-elements-ebddaef4.js → taskbar-elements-3b74cd21.js} +13 -2
  70. package/dist/cjs/{field-search-68e34bf4.js → taskbar-processor-2fba34a8.js} +0 -35
  71. package/dist/cjs/teste-pesquisa.cjs.entry.js +1 -1
  72. package/dist/collection/collection-manifest.json +11 -14
  73. package/dist/collection/components/snk-application/errorhandler/snk-error-handler.js +5 -2
  74. package/dist/collection/components/snk-application/search-strategy/exec-prepared-search-plus.js +107 -0
  75. package/dist/collection/components/snk-application/snk-application.js +131 -12
  76. package/dist/collection/components/snk-configurator/snk-configurator.js +26 -1
  77. package/dist/collection/components/snk-crud/snk-crud.js +76 -67
  78. package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.css +10 -1
  79. package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +82 -4
  80. package/dist/collection/components/snk-crud/subcomponents/snk-form-view.js +54 -7
  81. package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +152 -82
  82. package/dist/collection/components/snk-data-exporter/interfaces/IExporterProvider.js +15 -19
  83. package/dist/collection/components/snk-data-unit/MultipleUpdateHelper.js +128 -0
  84. package/dist/collection/components/snk-data-unit/snk-data-unit.js +107 -12
  85. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +18 -5
  86. package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js +80 -12
  87. package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-default-filter/snk-default-filter.css +34 -0
  88. package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-default-filter/snk-default-filter.js +142 -0
  89. package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +24 -15
  90. package/dist/collection/components/snk-filter-bar/types/default-filters.js +6 -0
  91. package/dist/collection/components/snk-filter-bar/types/filter-type.enum.js +1 -0
  92. package/dist/collection/components/snk-filter-bar/utils/SnkFilterModalFactory.js +4 -4
  93. package/dist/collection/components/snk-form-config/FormConfigHelper.js +245 -0
  94. package/dist/collection/components/snk-form-config/SnkFormConfigManager.js +4 -5
  95. package/dist/collection/components/snk-form-config/config-header/config-header.css +18 -0
  96. package/dist/collection/components/snk-form-config/config-header/config-header.js +236 -0
  97. package/dist/collection/components/snk-form-config/config-header/configs-button/configs-button.css +41 -0
  98. package/dist/collection/components/snk-form-config/config-header/configs-button/configs-button.js +170 -0
  99. package/dist/collection/components/snk-form-config/field-item/field-config/field-config.css +21 -0
  100. package/dist/collection/components/snk-form-config/field-item/field-config/field-config.js +408 -0
  101. package/dist/collection/components/snk-form-config/field-item/field-item.css +108 -0
  102. package/dist/collection/components/snk-form-config/field-item/field-item.js +206 -0
  103. package/dist/collection/components/snk-form-config/fields-layout/fields-layout.css +133 -0
  104. package/dist/collection/components/snk-form-config/fields-layout/fields-layout.js +578 -0
  105. package/dist/collection/components/snk-form-config/fields-selector/fields-selector.css +38 -0
  106. package/dist/collection/components/snk-form-config/fields-selector/fields-selector.js +146 -0
  107. package/dist/collection/components/snk-form-config/guides-configurator/guides-configurator.css +132 -0
  108. package/dist/collection/components/snk-form-config/guides-configurator/guides-configurator.js +317 -0
  109. package/dist/collection/components/snk-form-config/snk-form-config.css +16 -229
  110. package/dist/collection/components/snk-form-config/snk-form-config.js +288 -980
  111. package/dist/collection/components/snk-grid/filtercolumn/SnkMultiSelectionListDataSource.js +2 -2
  112. package/dist/collection/components/snk-grid/snk-grid.js +93 -42
  113. package/dist/collection/components/snk-grid-config/snk-grid-config.js +2 -0
  114. package/dist/collection/components/snk-layout-form-config/snk-layout-form-config.css +3 -0
  115. package/dist/collection/components/snk-layout-form-config/snk-layout-form-config.js +73 -0
  116. package/dist/collection/components/snk-layout-form-config/snk-view-representation/snk-view-representation.css +78 -0
  117. package/dist/collection/components/snk-layout-form-config/snk-view-representation/snk-view-representation.js +57 -0
  118. package/dist/collection/components/snk-personalized-filter/interfaces/index.js +5 -0
  119. package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.js +67 -13
  120. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.css +3 -0
  121. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.js +20 -1
  122. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.js +22 -3
  123. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/snk-filter-assistent-mode.js +20 -1
  124. package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +177 -104
  125. package/dist/collection/components/snk-taskbar/elements/taskbar-actions-button/taskbar-actions-button.css +13 -0
  126. package/dist/collection/components/snk-taskbar/elements/taskbar-actions-button/taskbar-actions-button.js +1 -1
  127. package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +11 -0
  128. package/dist/collection/components/snk-taskbar/elements/taskbar-split-button/taskbar-split-button.css +0 -0
  129. package/dist/collection/components/snk-taskbar/elements/taskbar-split-button/taskbar-split-button.js +220 -0
  130. package/dist/collection/components/snk-taskbar/snk-taskbar.js +30 -4
  131. package/dist/collection/lib/configs/ConfigStorage.js +16 -8
  132. package/dist/collection/lib/configs/LayoutFormConfig.js +25 -0
  133. package/dist/collection/lib/http/data-fetcher/DataFetcher.js +14 -2
  134. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/cache/PreloadManager.js +5 -2
  135. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DatasetStrategy.js +6 -5
  136. package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js +14 -0
  137. package/dist/collection/lib/http/data-fetcher/fetchers/personalized-filter-fetcher.js +29 -9
  138. package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js +26 -2
  139. package/dist/collection/lib/message/SnkMessageBuilder.js +1 -0
  140. package/dist/collection/lib/message/resources/snk-crud.msg.js +1 -1
  141. package/dist/collection/lib/message/resources/snk-data-unit.msg.js +28 -23
  142. package/dist/collection/lib/message/resources/snk-filter-bar.msg.js +6 -0
  143. package/dist/collection/lib/message/resources/snk-form.msg.js +16 -2
  144. package/dist/collection/lib/message/resources/snk-grid.msg.js +1 -1
  145. package/dist/collection/lib/message/resources/snk-personalized-filter.msg.js +6 -1
  146. package/dist/collection/lib/message/resources/snk-simple-crud.msg.js +2 -1
  147. package/dist/collection/lib/message/resources/snk-taskbar.msg.js +1 -0
  148. package/dist/collection/lib/utils/constants.js +8 -1
  149. package/dist/components/ConfigStorage.js +45 -17
  150. package/dist/components/ContinuousInsertUtils.js +19 -54
  151. package/dist/components/DataFetcher.js +14 -2
  152. package/dist/components/ISave.js +26 -2
  153. package/dist/components/PersonalizedFilterUtils.js +6 -1
  154. package/dist/components/SnkFormConfigManager.js +2 -3
  155. package/dist/components/SnkMessageBuilder.js +63 -30
  156. package/dist/components/{snk-tab-config.d.ts → config-header.d.ts} +4 -4
  157. package/dist/components/config-header.js +6 -0
  158. package/dist/components/config-header2.js +103 -0
  159. package/dist/components/configs-button.d.ts +11 -0
  160. package/dist/components/configs-button.js +6 -0
  161. package/dist/components/configs-button2.js +76 -0
  162. package/dist/components/constants.js +9 -34
  163. package/dist/components/dataunit-fetcher.js +11 -7
  164. package/dist/components/field-config.d.ts +11 -0
  165. package/dist/components/field-config.js +6 -0
  166. package/dist/components/field-config2.js +525 -0
  167. package/dist/components/field-item.d.ts +11 -0
  168. package/dist/components/field-item.js +6 -0
  169. package/dist/components/field-item2.js +93 -0
  170. package/dist/components/fields-layout.d.ts +11 -0
  171. package/dist/components/fields-layout.js +6 -0
  172. package/dist/components/fields-layout2.js +370 -0
  173. package/dist/components/{snk-field-config.d.ts → fields-selector.d.ts} +4 -4
  174. package/dist/components/fields-selector.js +6 -0
  175. package/dist/components/fields-selector2.js +98 -0
  176. package/dist/components/form-config-fetcher.js +14 -0
  177. package/dist/components/guides-configurator.d.ts +11 -0
  178. package/dist/components/guides-configurator.js +6 -0
  179. package/dist/components/guides-configurator2.js +182 -0
  180. package/dist/components/index.d.ts +11 -3
  181. package/dist/components/index.js +11 -3
  182. package/dist/components/snk-application2.js +180 -15
  183. package/dist/components/snk-attach2.js +42 -24
  184. package/dist/components/snk-configurator2.js +22 -2
  185. package/dist/components/snk-crud.js +145 -128
  186. package/dist/components/snk-data-unit2.js +225 -11
  187. package/dist/components/{snk-config-options.d.ts → snk-default-filter.d.ts} +4 -4
  188. package/dist/components/snk-default-filter.js +6 -0
  189. package/dist/components/snk-default-filter2.js +97 -0
  190. package/dist/components/snk-detail-view2.js +331 -152
  191. package/dist/components/snk-expression-group2.js +4 -2
  192. package/dist/components/snk-expression-item2.js +5 -3
  193. package/dist/components/snk-filter-assistent-mode2.js +4 -2
  194. package/dist/components/snk-filter-bar2.js +28 -19
  195. package/dist/components/snk-filter-modal-item2.js +1 -0
  196. package/dist/components/snk-filter-modal.js +59 -8
  197. package/dist/components/snk-filter-search.js +18 -5
  198. package/dist/components/snk-form-config2.js +253 -953
  199. package/dist/components/snk-form-view2.js +22 -8
  200. package/dist/components/snk-form.js +33 -9
  201. package/dist/components/snk-grid-config2.js +2 -0
  202. package/dist/components/snk-grid2.js +85 -63
  203. package/dist/components/snk-layout-form-config.d.ts +11 -0
  204. package/dist/components/snk-layout-form-config.js +6 -0
  205. package/dist/components/snk-layout-form-config2.js +73 -0
  206. package/dist/components/snk-personalized-filter2.js +50 -14
  207. package/dist/components/snk-simple-crud2.js +180 -124
  208. package/dist/components/snk-taskbar2.js +33 -10
  209. package/dist/components/snk-view-representation.d.ts +11 -0
  210. package/dist/components/snk-view-representation.js +6 -0
  211. package/dist/components/snk-view-representation2.js +41 -0
  212. package/dist/components/sortable.esm.js +2666 -0
  213. package/dist/components/taskbar-actions-button2.js +2 -2
  214. package/dist/components/taskbar-split-button.d.ts +11 -0
  215. package/dist/components/taskbar-split-button.js +6 -0
  216. package/dist/components/taskbar-split-button2.js +87 -0
  217. package/dist/esm/{ClientSideExporterProvider-bd24a4b3.js → ClientSideExporterProvider-3ed744fd.js} +23 -28
  218. package/dist/esm/{ConfigStorage-e5c1f4c0.js → ConfigStorage-79b9e180.js} +47 -19
  219. package/dist/esm/{DataFetcher-ecf5f903.js → DataFetcher-88e56266.js} +14 -2
  220. package/dist/esm/FormConfigHelper-49fe72ca.js +248 -0
  221. package/dist/esm/{pesquisa-fetcher-e26c3295.js → ISave-5efafc97.js} +36 -4
  222. package/dist/esm/{PersonalizedFilterUtils-e2b38ef7.js → PersonalizedFilterUtils-2db38ff2.js} +1 -1
  223. package/dist/esm/{SnkFormConfigManager-1efd102b.js → SnkFormConfigManager-b4b93298.js} +4 -5
  224. package/dist/esm/{SnkMessageBuilder-6fff4a4c.js → SnkMessageBuilder-9c269caf.js} +63 -30
  225. package/dist/esm/{auth-fetcher-9987c66e.js → auth-fetcher-3510520e.js} +1 -1
  226. package/dist/esm/config-header.entry.js +75 -0
  227. package/dist/esm/configs-button.entry.js +57 -0
  228. package/dist/esm/{constants-75abb876.js → constants-7b422de0.js} +9 -34
  229. package/dist/esm/{dataunit-fetcher-ed6e65ef.js → dataunit-fetcher-0e025732.js} +12 -8
  230. package/dist/esm/default-filters-50105e43.js +8 -0
  231. package/dist/esm/field-config_2.entry.js +319 -0
  232. package/dist/esm/fields-layout.entry.js +337 -0
  233. package/dist/esm/fields-selector.entry.js +70 -0
  234. package/dist/esm/{filter-type.enum-a80c1b6b.js → filter-type.enum-f6a8fe23.js} +1 -0
  235. package/dist/esm/{form-config-fetcher-34becd23.js → form-config-fetcher-fa208a6c.js} +15 -1
  236. package/dist/esm/guides-configurator.entry.js +160 -0
  237. package/dist/esm/{index-a7d3d3f1.js → index-479e1293.js} +34 -12
  238. package/dist/esm/{index-ae591a44.js → index-8acbae97.js} +6 -1
  239. package/dist/esm/{index-c57e49af.js → index-b72af127.js} +1 -1
  240. package/dist/esm/loader.js +3 -3
  241. package/dist/esm/pesquisa-grid_2.entry.js +6 -7
  242. package/dist/esm/sankhyablocks.js +3 -3
  243. package/dist/esm/{snk-actions-button_5.entry.js → snk-actions-button_8.entry.js} +131 -12
  244. package/dist/esm/snk-actions-form.entry.js +1 -1
  245. package/dist/esm/snk-application.entry.js +183 -23
  246. package/dist/esm/snk-attach.entry.js +9 -10
  247. package/dist/esm/snk-client-confirm.entry.js +1 -1
  248. package/dist/esm/snk-configurator.entry.js +10 -3
  249. package/dist/esm/snk-crud.entry.js +49 -77
  250. package/dist/esm/snk-custom-slot-elements.entry.js +1 -1
  251. package/dist/esm/snk-data-exporter.entry.js +8 -9
  252. package/dist/esm/{snk-data-unit-6258b8ae.js → snk-data-unit-027bca56.js} +227 -13
  253. package/dist/esm/snk-data-unit.entry.js +5 -5
  254. package/dist/esm/snk-default-filter.entry.js +73 -0
  255. package/dist/esm/snk-detail-view.entry.js +69 -17
  256. package/dist/esm/snk-entity-list.entry.js +1 -1
  257. package/dist/esm/snk-exporter-email-sender.entry.js +1 -1
  258. package/dist/esm/snk-expression-group_2.entry.js +10 -8
  259. package/dist/esm/snk-filter-advanced-mode_2.entry.js +5 -4
  260. package/dist/esm/snk-filter-bar_4.entry.js +84 -30
  261. package/dist/esm/snk-filter-binary-select.entry.js +1 -1
  262. package/dist/esm/snk-filter-checkbox-list.entry.js +1 -1
  263. package/dist/esm/snk-filter-detail.entry.js +3 -3
  264. package/dist/esm/snk-filter-field-search_2.entry.js +3 -3
  265. package/dist/esm/snk-filter-modal-item.entry.js +5 -5
  266. package/dist/esm/snk-filter-multi-select.entry.js +1 -1
  267. package/dist/esm/snk-filter-number.entry.js +1 -1
  268. package/dist/esm/snk-filter-period.entry.js +1 -1
  269. package/dist/esm/snk-filter-search.entry.js +19 -6
  270. package/dist/esm/snk-filter-text.entry.js +1 -1
  271. package/dist/esm/snk-form-summary.entry.js +1 -1
  272. package/dist/esm/snk-form-view.entry.js +20 -8
  273. package/dist/esm/snk-form_2.entry.js +428 -0
  274. package/dist/esm/snk-grid.entry.js +50 -37
  275. package/dist/esm/{snk-guides-viewer-39fae8d5.js → snk-guides-viewer-32f3d3ab.js} +140 -74
  276. package/dist/esm/snk-guides-viewer.entry.js +13 -13
  277. package/dist/esm/snk-personalized-filter-editor.entry.js +1 -1
  278. package/dist/esm/snk-personalized-filter.entry.js +55 -20
  279. package/dist/esm/snk-pesquisa.entry.js +6 -7
  280. package/dist/esm/snk-print-selector.entry.js +1 -1
  281. package/dist/esm/snk-simple-bar.entry.js +1 -1
  282. package/dist/esm/snk-simple-crud.entry.js +150 -116
  283. package/dist/esm/snk-taskbar.entry.js +10 -5
  284. package/dist/esm/sortable.esm-842f85a3.js +2666 -0
  285. package/dist/esm/{taskbar-elements-ed51e143.js → taskbar-elements-171476d4.js} +13 -2
  286. package/dist/esm/{field-search-f8b1d91e.js → taskbar-processor-3436124c.js} +1 -34
  287. package/dist/esm/teste-pesquisa.entry.js +1 -1
  288. package/dist/sankhyablocks/p-0024d3fd.entry.js +1 -0
  289. package/dist/sankhyablocks/p-09e60995.entry.js +11 -0
  290. package/dist/sankhyablocks/p-0cb295c1.entry.js +1 -0
  291. package/dist/sankhyablocks/p-1456d7cb.entry.js +1 -0
  292. package/dist/sankhyablocks/{p-9531fd46.entry.js → p-180716b2.entry.js} +1 -1
  293. package/dist/sankhyablocks/p-19156e59.entry.js +1 -0
  294. package/dist/sankhyablocks/p-1a0caadb.js +1 -0
  295. package/dist/sankhyablocks/p-21107f0d.entry.js +1 -0
  296. package/dist/sankhyablocks/{p-118e769b.entry.js → p-27482793.entry.js} +1 -1
  297. package/dist/sankhyablocks/p-2bde486e.js +1 -0
  298. package/dist/sankhyablocks/{p-26b0ce3e.entry.js → p-2fdac5e6.entry.js} +1 -1
  299. package/dist/sankhyablocks/p-349d1968.entry.js +1 -0
  300. package/dist/sankhyablocks/p-35e73c5d.js +1 -0
  301. package/dist/sankhyablocks/{p-89c92727.entry.js → p-398cdd67.entry.js} +1 -1
  302. package/dist/sankhyablocks/p-3a48bff3.entry.js +1 -0
  303. package/dist/sankhyablocks/{p-434817f0.entry.js → p-3d41f5a8.entry.js} +1 -1
  304. package/dist/sankhyablocks/p-3f24c9b2.js +1 -0
  305. package/dist/sankhyablocks/{p-8002dcd0.entry.js → p-471b34f4.entry.js} +1 -1
  306. package/dist/sankhyablocks/{p-7e2ded86.entry.js → p-49d968e2.entry.js} +1 -1
  307. package/dist/sankhyablocks/p-4d2ff2fb.entry.js +1 -0
  308. package/dist/sankhyablocks/p-51833248.js +7 -0
  309. package/dist/sankhyablocks/p-601b252b.js +26 -0
  310. package/dist/sankhyablocks/p-60dd1d27.entry.js +1 -0
  311. package/dist/sankhyablocks/p-6416975c.js +56 -0
  312. package/dist/sankhyablocks/p-65c5d430.entry.js +1 -0
  313. package/dist/sankhyablocks/{p-21a81901.entry.js → p-667cab42.entry.js} +1 -1
  314. package/dist/sankhyablocks/p-67d6d0c8.entry.js +1 -0
  315. package/dist/sankhyablocks/p-6a4b21dd.js +1 -0
  316. package/dist/sankhyablocks/p-6dd38d7b.js +6 -0
  317. package/dist/sankhyablocks/p-71a05822.entry.js +1 -0
  318. package/dist/sankhyablocks/p-72c8c847.entry.js +1 -0
  319. package/dist/sankhyablocks/{p-a77bdadc.js → p-73285a8a.js} +1 -1
  320. package/dist/sankhyablocks/{p-ac8d1cd6.entry.js → p-7345782c.entry.js} +1 -1
  321. package/dist/sankhyablocks/p-763b04fa.js +1 -0
  322. package/dist/sankhyablocks/p-7993b2e3.js +60 -0
  323. package/dist/sankhyablocks/p-7de79adf.js +1 -0
  324. package/dist/sankhyablocks/p-7e250432.entry.js +1 -0
  325. package/dist/sankhyablocks/{p-47178038.entry.js → p-83c100f2.entry.js} +1 -1
  326. package/dist/sankhyablocks/p-84345e7a.js +1 -0
  327. package/dist/sankhyablocks/p-86bd4478.entry.js +1 -0
  328. package/dist/sankhyablocks/p-9019a32f.js +1 -0
  329. package/dist/sankhyablocks/{p-54a5d52a.entry.js → p-90805683.entry.js} +1 -1
  330. package/dist/sankhyablocks/{p-c2e468c9.entry.js → p-91a9abb6.entry.js} +1 -1
  331. package/dist/sankhyablocks/p-9751c42f.entry.js +1 -0
  332. package/dist/sankhyablocks/{p-057fad05.js → p-988afe78.js} +1 -1
  333. package/dist/sankhyablocks/{p-16a1dd18.entry.js → p-9a63f3f7.entry.js} +1 -1
  334. package/dist/sankhyablocks/p-9ad3557c.entry.js +1 -0
  335. package/dist/sankhyablocks/p-9fd87bfd.entry.js +1 -0
  336. package/dist/sankhyablocks/p-a06bf7b9.entry.js +1 -0
  337. package/dist/sankhyablocks/{p-5e9fbd76.js → p-a349689a.js} +1 -1
  338. package/dist/sankhyablocks/p-a5bb2f93.entry.js +1 -0
  339. package/dist/sankhyablocks/{p-3ce68be5.js → p-a6513fcb.js} +1 -1
  340. package/dist/sankhyablocks/{p-8c235d4c.entry.js → p-a76e6d51.entry.js} +1 -1
  341. package/dist/sankhyablocks/p-b568c1d4.js +1 -0
  342. package/dist/sankhyablocks/p-bd665460.entry.js +1 -0
  343. package/dist/sankhyablocks/p-c3324d79.entry.js +1 -0
  344. package/dist/sankhyablocks/{p-bf2acf72.entry.js → p-c6a8a8bc.entry.js} +1 -1
  345. package/dist/sankhyablocks/{p-d3b9b377.entry.js → p-c926cf6b.entry.js} +1 -1
  346. package/dist/sankhyablocks/p-cfd0a4c6.entry.js +1 -0
  347. package/dist/sankhyablocks/{p-79f823f3.entry.js → p-d67526b6.entry.js} +1 -1
  348. package/dist/sankhyablocks/{p-d2d301a6.js → p-d8d8169b.js} +1 -1
  349. package/dist/sankhyablocks/p-d9491f6f.entry.js +1 -0
  350. package/dist/sankhyablocks/{p-5f157b09.entry.js → p-dff65083.entry.js} +1 -1
  351. package/dist/sankhyablocks/{p-2746d606.entry.js → p-e3521eae.entry.js} +1 -1
  352. package/dist/sankhyablocks/p-e7cccc45.entry.js +1 -0
  353. package/dist/sankhyablocks/{p-59e5d5d1.entry.js → p-e824d565.entry.js} +1 -1
  354. package/dist/sankhyablocks/{p-5a7e18f4.js → p-fbba7e3d.js} +1 -1
  355. package/dist/sankhyablocks/p-fc0b609e.js +1 -0
  356. package/dist/sankhyablocks/p-ff7060bc.entry.js +1 -0
  357. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  358. package/dist/types/components/snk-application/search-strategy/exec-prepared-search-plus.d.ts +5 -0
  359. package/dist/types/components/snk-application/snk-application.d.ts +17 -2
  360. package/dist/types/components/snk-configurator/snk-configurator.d.ts +6 -0
  361. package/dist/types/components/snk-crud/snk-crud.d.ts +9 -3
  362. package/dist/types/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.d.ts +17 -0
  363. package/dist/types/components/snk-crud/subcomponents/snk-form-view.d.ts +11 -1
  364. package/dist/types/components/snk-crud/subcomponents/snk-guides-viewer.d.ts +16 -7
  365. package/dist/types/components/snk-data-unit/MultipleUpdateHelper.d.ts +9 -0
  366. package/dist/types/components/snk-data-unit/snk-data-unit.d.ts +17 -0
  367. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-search.d.ts +5 -3
  368. package/dist/types/components/snk-filter-bar/filter-modal/snk-filter-modal.d.ts +16 -4
  369. package/dist/types/components/snk-filter-bar/filter-modal/subcomponents/snk-default-filter/snk-default-filter.d.ts +27 -0
  370. package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +4 -3
  371. package/dist/types/components/snk-filter-bar/types/default-filters.d.ts +5 -0
  372. package/dist/types/components/snk-filter-bar/types/filter-type.enum.d.ts +2 -1
  373. package/dist/types/components/snk-filter-bar/utils/SnkFilterModalFactory.d.ts +3 -3
  374. package/dist/types/components/snk-form-config/FormConfigHelper.d.ts +31 -0
  375. package/dist/types/components/snk-form-config/SnkFormConfigManager.d.ts +3 -3
  376. package/dist/types/components/snk-form-config/config-header/config-header.d.ts +23 -0
  377. package/dist/types/components/snk-form-config/config-header/configs-button/configs-button.d.ts +19 -0
  378. package/dist/types/components/snk-form-config/field-item/field-config/field-config.d.ts +56 -0
  379. package/dist/types/components/snk-form-config/fields-layout/fields-layout.d.ts +63 -0
  380. package/dist/types/components/snk-form-config/fields-selector/fields-selector.d.ts +18 -0
  381. package/dist/types/components/snk-form-config/guides-configurator/guides-configurator.d.ts +42 -0
  382. package/dist/types/components/snk-form-config/snk-form-config.d.ts +51 -120
  383. package/dist/types/components/snk-grid/filtercolumn/SnkMultiSelectionListDataSource.d.ts +2 -1
  384. package/dist/types/components/snk-grid/snk-grid.d.ts +16 -5
  385. package/dist/types/components/snk-grid-config/snk-grid-config.d.ts +1 -0
  386. package/dist/types/components/snk-layout-form-config/snk-layout-form-config.d.ts +15 -0
  387. package/dist/types/components/snk-layout-form-config/snk-view-representation/snk-view-representation.d.ts +10 -0
  388. package/dist/types/components/snk-personalized-filter/interfaces/index.d.ts +4 -0
  389. package/dist/types/components/snk-personalized-filter/snk-personalized-filter.d.ts +7 -1
  390. package/dist/types/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.d.ts +4 -0
  391. package/dist/types/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.d.ts +4 -0
  392. package/dist/types/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/snk-filter-assistent-mode.d.ts +4 -0
  393. package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +24 -12
  394. package/dist/types/components/snk-taskbar/elements/taskbar-elements.d.ts +2 -1
  395. package/dist/types/components/snk-taskbar/elements/taskbar-split-button/taskbar-split-button.d.ts +44 -0
  396. package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +6 -0
  397. package/dist/types/components.d.ts +502 -212
  398. package/dist/types/lib/configs/ConfigStorage.d.ts +4 -2
  399. package/dist/types/lib/configs/LayoutFormConfig.d.ts +11 -0
  400. package/dist/types/lib/http/data-fetcher/fetchers/data-unit/cache/PreloadManager.d.ts +1 -1
  401. package/dist/types/lib/http/data-fetcher/fetchers/form-config-fetcher.d.ts +6 -0
  402. package/dist/types/lib/http/data-fetcher/fetchers/personalized-filter-fetcher.d.ts +8 -4
  403. package/dist/types/lib/http/data-fetcher/fetchers/pesquisa-fetcher.d.ts +4 -1
  404. package/dist/types/lib/message/SnkMessageBuilder.d.ts +2 -1
  405. package/dist/types/lib/utils/constants.d.ts +7 -0
  406. package/package.json +4 -2
  407. package/react/components.d.ts +11 -3
  408. package/react/components.js +11 -3
  409. package/react/components.js.map +1 -1
  410. package/dist/cjs/AuthorizationConfig-79ffae4b.js.gz +0 -0
  411. package/dist/cjs/ClientSideExporterProvider-fe52f7cf.js.gz +0 -0
  412. package/dist/cjs/ConfigStorage-6b633b10.js.gz +0 -0
  413. package/dist/cjs/DataFetcher-875371e9.js.gz +0 -0
  414. package/dist/cjs/GetSelectedRecordsIDsInfo-bd50caf1.js.gz +0 -0
  415. package/dist/cjs/IFetchDataExporterParams-e78ec415.js.gz +0 -0
  416. package/dist/cjs/ISave-e91b70a7.js +0 -9
  417. package/dist/cjs/ISave-e91b70a7.js.gz +0 -0
  418. package/dist/cjs/ParamType-90b440a0.js.gz +0 -0
  419. package/dist/cjs/PersonalizedFilterUtils-0184ffbb.js.gz +0 -0
  420. package/dist/cjs/PrintUtils-bcaeb82f.js.gz +0 -0
  421. package/dist/cjs/ResourceIDUtils-5ff86aa7.js.gz +0 -0
  422. package/dist/cjs/SnkFormConfigManager-d680be08.js.gz +0 -0
  423. package/dist/cjs/SnkMessageBuilder-bae64d0d.js.gz +0 -0
  424. package/dist/cjs/Sortable-fb1c4cbb.js +0 -2853
  425. package/dist/cjs/Sortable-fb1c4cbb.js.gz +0 -0
  426. package/dist/cjs/auth-fetcher-24ba4135.js.gz +0 -0
  427. package/dist/cjs/constants-241934b3.js.gz +0 -0
  428. package/dist/cjs/dataunit-fetcher-b95768e8.js.gz +0 -0
  429. package/dist/cjs/field-search-68e34bf4.js.gz +0 -0
  430. package/dist/cjs/filter-item-type.enum-a7ffdaa6.js.gz +0 -0
  431. package/dist/cjs/filter-type.enum-b14ce507.js.gz +0 -0
  432. package/dist/cjs/filterNumberVariation-d65332da.js.gz +0 -0
  433. package/dist/cjs/form-config-fetcher-e0a512c3.js.gz +0 -0
  434. package/dist/cjs/index-8d94b7e0.js.gz +0 -0
  435. package/dist/cjs/index-ab1cfb44.js.gz +0 -0
  436. package/dist/cjs/index-c5771aba.js.gz +0 -0
  437. package/dist/cjs/index-e3e39724.js.gz +0 -0
  438. package/dist/cjs/index-f9e81701.js.gz +0 -0
  439. package/dist/cjs/index.cjs.js.gz +0 -0
  440. package/dist/cjs/loader.cjs.js.gz +0 -0
  441. package/dist/cjs/pesquisa-fetcher-30cab386.js.gz +0 -0
  442. package/dist/cjs/pesquisa-grid_2.cjs.entry.js.gz +0 -0
  443. package/dist/cjs/presentationMode-52ec3bdd.js.gz +0 -0
  444. package/dist/cjs/sankhyablocks.cjs.js.gz +0 -0
  445. package/dist/cjs/snk-actions-button_5.cjs.entry.js.gz +0 -0
  446. package/dist/cjs/snk-actions-form.cjs.entry.js.gz +0 -0
  447. package/dist/cjs/snk-application.cjs.entry.js.gz +0 -0
  448. package/dist/cjs/snk-attach.cjs.entry.js.gz +0 -0
  449. package/dist/cjs/snk-client-confirm.cjs.entry.js.gz +0 -0
  450. package/dist/cjs/snk-config-options_3.cjs.entry.js +0 -1388
  451. package/dist/cjs/snk-config-options_3.cjs.entry.js.gz +0 -0
  452. package/dist/cjs/snk-configurator.cjs.entry.js.gz +0 -0
  453. package/dist/cjs/snk-crud.cjs.entry.js.gz +0 -0
  454. package/dist/cjs/snk-custom-slot-elements.cjs.entry.js.gz +0 -0
  455. package/dist/cjs/snk-data-exporter.cjs.entry.js.gz +0 -0
  456. package/dist/cjs/snk-data-unit-33937ffe.js.gz +0 -0
  457. package/dist/cjs/snk-data-unit.cjs.entry.js.gz +0 -0
  458. package/dist/cjs/snk-detail-view.cjs.entry.js.gz +0 -0
  459. package/dist/cjs/snk-entity-list.cjs.entry.js.gz +0 -0
  460. package/dist/cjs/snk-exporter-email-sender.cjs.entry.js.gz +0 -0
  461. package/dist/cjs/snk-expression-group_2.cjs.entry.js.gz +0 -0
  462. package/dist/cjs/snk-field-config.cjs.entry.js +0 -60
  463. package/dist/cjs/snk-field-config.cjs.entry.js.gz +0 -0
  464. package/dist/cjs/snk-filter-advanced-mode_2.cjs.entry.js.gz +0 -0
  465. package/dist/cjs/snk-filter-bar_4.cjs.entry.js.gz +0 -0
  466. package/dist/cjs/snk-filter-binary-select.cjs.entry.js.gz +0 -0
  467. package/dist/cjs/snk-filter-checkbox-list.cjs.entry.js.gz +0 -0
  468. package/dist/cjs/snk-filter-detail.cjs.entry.js.gz +0 -0
  469. package/dist/cjs/snk-filter-field-search_2.cjs.entry.js.gz +0 -0
  470. package/dist/cjs/snk-filter-modal-item.cjs.entry.js.gz +0 -0
  471. package/dist/cjs/snk-filter-multi-select.cjs.entry.js.gz +0 -0
  472. package/dist/cjs/snk-filter-number.cjs.entry.js.gz +0 -0
  473. package/dist/cjs/snk-filter-period.cjs.entry.js.gz +0 -0
  474. package/dist/cjs/snk-filter-search.cjs.entry.js.gz +0 -0
  475. package/dist/cjs/snk-filter-text.cjs.entry.js.gz +0 -0
  476. package/dist/cjs/snk-form-summary.cjs.entry.js.gz +0 -0
  477. package/dist/cjs/snk-form-view.cjs.entry.js.gz +0 -0
  478. package/dist/cjs/snk-grid.cjs.entry.js.gz +0 -0
  479. package/dist/cjs/snk-guides-viewer-b6002ea7.js.gz +0 -0
  480. package/dist/cjs/snk-guides-viewer.cjs.entry.js.gz +0 -0
  481. package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js.gz +0 -0
  482. package/dist/cjs/snk-personalized-filter.cjs.entry.js.gz +0 -0
  483. package/dist/cjs/snk-pesquisa.cjs.entry.js.gz +0 -0
  484. package/dist/cjs/snk-print-selector.cjs.entry.js.gz +0 -0
  485. package/dist/cjs/snk-simple-bar.cjs.entry.js.gz +0 -0
  486. package/dist/cjs/snk-simple-crud.cjs.entry.js.gz +0 -0
  487. package/dist/cjs/snk-tab-config.cjs.entry.js +0 -332
  488. package/dist/cjs/snk-tab-config.cjs.entry.js.gz +0 -0
  489. package/dist/cjs/snk-taskbar.cjs.entry.js.gz +0 -0
  490. package/dist/cjs/taskbar-elements-ebddaef4.js.gz +0 -0
  491. package/dist/cjs/teste-pesquisa.cjs.entry.js.gz +0 -0
  492. package/dist/collection/components/snk-actions-button/actions/enum/ActionsType.js.gz +0 -0
  493. package/dist/collection/components/snk-actions-button/actions/enum/ParamType.js.gz +0 -0
  494. package/dist/collection/components/snk-actions-button/actions/enum/RefreshType.js.gz +0 -0
  495. package/dist/collection/components/snk-actions-button/actions/executor/java.executor.js.gz +0 -0
  496. package/dist/collection/components/snk-actions-button/actions/executor/javascript.executor.js.gz +0 -0
  497. package/dist/collection/components/snk-actions-button/actions/executor/launch-screen.executor.js.gz +0 -0
  498. package/dist/collection/components/snk-actions-button/actions/executor/procedure.executor.js.gz +0 -0
  499. package/dist/collection/components/snk-actions-button/actions/factory/executor.factory.js.gz +0 -0
  500. package/dist/collection/components/snk-actions-button/actions/index.js.gz +0 -0
  501. package/dist/collection/components/snk-actions-button/actions/interfaces/IAction.js.gz +0 -0
  502. package/dist/collection/components/snk-actions-button/actions/interfaces/IExecSource.js.gz +0 -0
  503. package/dist/collection/components/snk-actions-button/actions/interfaces/IExecuteActions.js.gz +0 -0
  504. package/dist/collection/components/snk-actions-button/actions/interfaces/IExecuteActionsProps.js.gz +0 -0
  505. package/dist/collection/components/snk-actions-button/actions/interfaces/IResultParam.js.gz +0 -0
  506. package/dist/collection/components/snk-actions-button/clientEvent/index.js.gz +0 -0
  507. package/dist/collection/components/snk-actions-button/clientEvent/interfaces/IClientEventConfirm.js.gz +0 -0
  508. package/dist/collection/components/snk-actions-button/interfaces/index.js.gz +0 -0
  509. package/dist/collection/components/snk-actions-button/snk-actions-button.css.gz +0 -0
  510. package/dist/collection/components/snk-actions-button/snk-actions-button.js.gz +0 -0
  511. package/dist/collection/components/snk-actions-button/subcomponents/snk-actions-form.js.gz +0 -0
  512. package/dist/collection/components/snk-actions-button/subcomponents/snk-client-confirm.js.gz +0 -0
  513. package/dist/collection/components/snk-application/__mocks__/snk-application.js.gz +0 -0
  514. package/dist/collection/components/snk-application/errorhandler/snk-error-handler.js.gz +0 -0
  515. package/dist/collection/components/snk-application/request-listener/DebouncedRequestListener.js.gz +0 -0
  516. package/dist/collection/components/snk-application/request-listener/RequestListenerFactory.js.gz +0 -0
  517. package/dist/collection/components/snk-application/request-listener/RequestListenerLoadingBar.js.gz +0 -0
  518. package/dist/collection/components/snk-application/snk-application.css.gz +0 -0
  519. package/dist/collection/components/snk-application/snk-application.js.gz +0 -0
  520. package/dist/collection/components/snk-attach/interfaces/ICrudConfig.js.gz +0 -0
  521. package/dist/collection/components/snk-attach/interfaces/TFetcherType.js.gz +0 -0
  522. package/dist/collection/components/snk-attach/interfaces/index.js.gz +0 -0
  523. package/dist/collection/components/snk-attach/snk-attach.css.gz +0 -0
  524. package/dist/collection/components/snk-attach/snk-attach.js.gz +0 -0
  525. package/dist/collection/components/snk-attach/structure/builder/anexo-sistema-crud-config.builder.js.gz +0 -0
  526. package/dist/collection/components/snk-attach/structure/builder/attach-crud-config.builder.js.gz +0 -0
  527. package/dist/collection/components/snk-attach/structure/builder/taskbar-builder.js.gz +0 -0
  528. package/dist/collection/components/snk-attach/structure/fetcher/facade/fetcher.facade.js.gz +0 -0
  529. package/dist/collection/components/snk-attach/structure/fetcher/factory/anexo-sistema-data-unit.factory.js.gz +0 -0
  530. package/dist/collection/components/snk-attach/structure/fetcher/factory/attach-fetcher-data-unit.factory.js.gz +0 -0
  531. package/dist/collection/components/snk-attach/structure/index.js.gz +0 -0
  532. package/dist/collection/components/snk-configurator/AuthorizationConfig.js.gz +0 -0
  533. package/dist/collection/components/snk-configurator/snk-configurator.css.gz +0 -0
  534. package/dist/collection/components/snk-configurator/snk-configurator.js.gz +0 -0
  535. package/dist/collection/components/snk-crud/interfaces/PropsCustomEditor.js.gz +0 -0
  536. package/dist/collection/components/snk-crud/interfaces/PropsCustomRender.js.gz +0 -0
  537. package/dist/collection/components/snk-crud/snk-crud.css.gz +0 -0
  538. package/dist/collection/components/snk-crud/snk-crud.js.gz +0 -0
  539. package/dist/collection/components/snk-crud/subcomponents/CardFormResizeObserver.js.gz +0 -0
  540. package/dist/collection/components/snk-crud/subcomponents/GuideBuilder.js.gz +0 -0
  541. package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.css.gz +0 -0
  542. package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js.gz +0 -0
  543. package/dist/collection/components/snk-crud/subcomponents/snk-form-summary.css.gz +0 -0
  544. package/dist/collection/components/snk-crud/subcomponents/snk-form-summary.js.gz +0 -0
  545. package/dist/collection/components/snk-crud/subcomponents/snk-form-view.css.gz +0 -0
  546. package/dist/collection/components/snk-crud/subcomponents/snk-form-view.js.gz +0 -0
  547. package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.css.gz +0 -0
  548. package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js.gz +0 -0
  549. package/dist/collection/components/snk-custom-slot-elements/snk-custom-slot-elements.css.gz +0 -0
  550. package/dist/collection/components/snk-custom-slot-elements/snk-custom-slot-elements.js.gz +0 -0
  551. package/dist/collection/components/snk-data-exporter/data/attachment.js.gz +0 -0
  552. package/dist/collection/components/snk-data-exporter/data/email.js.gz +0 -0
  553. package/dist/collection/components/snk-data-exporter/data/export-config.js.gz +0 -0
  554. package/dist/collection/components/snk-data-exporter/data/export-result.js.gz +0 -0
  555. package/dist/collection/components/snk-data-exporter/data/report.js.gz +0 -0
  556. package/dist/collection/components/snk-data-exporter/exporter-email-sender/email-info-step.js.gz +0 -0
  557. package/dist/collection/components/snk-data-exporter/exporter-email-sender/options-step.js.gz +0 -0
  558. package/dist/collection/components/snk-data-exporter/exporter-email-sender/snk-exporter-email-sender.js.gz +0 -0
  559. package/dist/collection/components/snk-data-exporter/exporter-strategy/ClientSideExporterStrategy.js.gz +0 -0
  560. package/dist/collection/components/snk-data-exporter/exporter-strategy/ServerSideExporterStrategy.js.gz +0 -0
  561. package/dist/collection/components/snk-data-exporter/interfaces/IExporterProvider.js.gz +0 -0
  562. package/dist/collection/components/snk-data-exporter/interfaces/IExporterStrategy.js.gz +0 -0
  563. package/dist/collection/components/snk-data-exporter/interfaces/IRecordID.js.gz +0 -0
  564. package/dist/collection/components/snk-data-exporter/interfaces/ISelectedID.js.gz +0 -0
  565. package/dist/collection/components/snk-data-exporter/providers/ClientSideExporterProvider.js.gz +0 -0
  566. package/dist/collection/components/snk-data-exporter/providers/ServerSideExporterProvider.js.gz +0 -0
  567. package/dist/collection/components/snk-data-exporter/snk-data-exporter.css.gz +0 -0
  568. package/dist/collection/components/snk-data-exporter/snk-data-exporter.js.gz +0 -0
  569. package/dist/collection/components/snk-data-exporter/structure/ItemBuilder.js.gz +0 -0
  570. package/dist/collection/components/snk-data-exporter/test/resources/ClientSideExporterStrategyResources.js.gz +0 -0
  571. package/dist/collection/components/snk-data-exporter/utils/ParserExport.js.gz +0 -0
  572. package/dist/collection/components/snk-data-unit/snk-data-unit.js.gz +0 -0
  573. package/dist/collection/components/snk-data-unit/test/resources/metadataMock.js.gz +0 -0
  574. package/dist/collection/components/snk-data-unit/test/resources/parentMetadataMock.js.gz +0 -0
  575. package/dist/collection/components/snk-entity-list/snk-entity-list.css.gz +0 -0
  576. package/dist/collection/components/snk-entity-list/snk-entity-list.js.gz +0 -0
  577. package/dist/collection/components/snk-filter-bar/filter-item/dataunitfilter/data-unit-filter-builder.js.gz +0 -0
  578. package/dist/collection/components/snk-filter-bar/filter-item/editors/enum/filterNumberVariation.js.gz +0 -0
  579. package/dist/collection/components/snk-filter-bar/filter-item/editors/enum/presentationMode.js.gz +0 -0
  580. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.js.gz +0 -0
  581. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-checkbox-list.js.gz +0 -0
  582. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.js.gz +0 -0
  583. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js.gz +0 -0
  584. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-period.js.gz +0 -0
  585. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js.gz +0 -0
  586. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-text.js.gz +0 -0
  587. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.css.gz +0 -0
  588. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.js.gz +0 -0
  589. package/dist/collection/components/snk-filter-bar/filter-item/filter-item-type-mask.enum.js.gz +0 -0
  590. package/dist/collection/components/snk-filter-bar/filter-item/filter-item-type.enum.js.gz +0 -0
  591. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js.gz +0 -0
  592. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js.gz +0 -0
  593. package/dist/collection/components/snk-filter-bar/filter-list/snk-filter-list.js.gz +0 -0
  594. package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.css.gz +0 -0
  595. package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js.gz +0 -0
  596. package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.css.gz +0 -0
  597. package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.js.gz +0 -0
  598. package/dist/collection/components/snk-filter-bar/snk-filter-bar.css.gz +0 -0
  599. package/dist/collection/components/snk-filter-bar/snk-filter-bar.js.gz +0 -0
  600. package/dist/collection/components/snk-filter-bar/types/custom-element-filter.js.gz +0 -0
  601. package/dist/collection/components/snk-filter-bar/types/filter-type.enum.js.gz +0 -0
  602. package/dist/collection/components/snk-filter-bar/utils/SnkFilterModalFactory.js.gz +0 -0
  603. package/dist/collection/components/snk-filter-bar/utils/filters-mock.js.gz +0 -0
  604. package/dist/collection/components/snk-filter-field-search/interfaces/index.js.gz +0 -0
  605. package/dist/collection/components/snk-filter-field-search/snk-filter-field-search.css.gz +0 -0
  606. package/dist/collection/components/snk-filter-field-search/snk-filter-field-search.js.gz +0 -0
  607. package/dist/collection/components/snk-filter-field-search/subcomponents/index.js.gz +0 -0
  608. package/dist/collection/components/snk-filter-field-search/subcomponents/list-item.js.gz +0 -0
  609. package/dist/collection/components/snk-form/snk-form.css.gz +0 -0
  610. package/dist/collection/components/snk-form/snk-form.js.gz +0 -0
  611. package/dist/collection/components/snk-form-config/SnkFormConfigManager.js.gz +0 -0
  612. package/dist/collection/components/snk-form-config/snk-form-config.css.gz +0 -0
  613. package/dist/collection/components/snk-form-config/snk-form-config.js.gz +0 -0
  614. package/dist/collection/components/snk-form-config/subcomponents/snk-config-options/snk-config-options.css +0 -16
  615. package/dist/collection/components/snk-form-config/subcomponents/snk-config-options/snk-config-options.css.gz +0 -0
  616. package/dist/collection/components/snk-form-config/subcomponents/snk-config-options/snk-config-options.js +0 -344
  617. package/dist/collection/components/snk-form-config/subcomponents/snk-config-options/snk-config-options.js.gz +0 -0
  618. package/dist/collection/components/snk-form-config/subcomponents/snk-field-config/snk-field-config.css +0 -219
  619. package/dist/collection/components/snk-form-config/subcomponents/snk-field-config/snk-field-config.css.gz +0 -0
  620. package/dist/collection/components/snk-form-config/subcomponents/snk-field-config/snk-field-config.js +0 -184
  621. package/dist/collection/components/snk-form-config/subcomponents/snk-field-config/snk-field-config.js.gz +0 -0
  622. package/dist/collection/components/snk-form-config/subcomponents/snk-tab-config/snk-tab-config.css +0 -323
  623. package/dist/collection/components/snk-form-config/subcomponents/snk-tab-config/snk-tab-config.css.gz +0 -0
  624. package/dist/collection/components/snk-form-config/subcomponents/snk-tab-config/snk-tab-config.js +0 -527
  625. package/dist/collection/components/snk-form-config/subcomponents/snk-tab-config/snk-tab-config.js.gz +0 -0
  626. package/dist/collection/components/snk-grid/filtercolumn/SnkMultiSelectionListDataSource.js.gz +0 -0
  627. package/dist/collection/components/snk-grid/snk-grid.css.gz +0 -0
  628. package/dist/collection/components/snk-grid/snk-grid.js.gz +0 -0
  629. package/dist/collection/components/snk-grid-config/snk-grid-config.css.gz +0 -0
  630. package/dist/collection/components/snk-grid-config/snk-grid-config.js.gz +0 -0
  631. package/dist/collection/components/snk-grid-config/snk-select-box/snk-select-box.css.gz +0 -0
  632. package/dist/collection/components/snk-grid-config/snk-select-box/snk-select-box.js.gz +0 -0
  633. package/dist/collection/components/snk-personalized-filter/interfaces/IExpressionGroup.js.gz +0 -0
  634. package/dist/collection/components/snk-personalized-filter/interfaces/IExpressionItem.js.gz +0 -0
  635. package/dist/collection/components/snk-personalized-filter/interfaces/IParameter.js.gz +0 -0
  636. package/dist/collection/components/snk-personalized-filter/interfaces/IPersonalizedFilter.js.gz +0 -0
  637. package/dist/collection/components/snk-personalized-filter/interfaces/ISystemFilterConfig.js.gz +0 -0
  638. package/dist/collection/components/snk-personalized-filter/interfaces/IUserFilterConfig.js.gz +0 -0
  639. package/dist/collection/components/snk-personalized-filter/interfaces/index.js.gz +0 -0
  640. package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.css.gz +0 -0
  641. package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.js.gz +0 -0
  642. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.css.gz +0 -0
  643. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.js.gz +0 -0
  644. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/filter-operands/filter-operands.js.gz +0 -0
  645. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.css.gz +0 -0
  646. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.js.gz +0 -0
  647. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-advanced-mode/snk-filter-advanced-mode.css.gz +0 -0
  648. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-advanced-mode/snk-filter-advanced-mode.js.gz +0 -0
  649. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/snk-filter-assistent-mode.css.gz +0 -0
  650. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/snk-filter-assistent-mode.js.gz +0 -0
  651. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/snk-filter-param-config.css.gz +0 -0
  652. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/snk-filter-param-config.js.gz +0 -0
  653. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/utils/PersonalizedFilterUtils.js.gz +0 -0
  654. package/dist/collection/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.css.gz +0 -0
  655. package/dist/collection/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.js.gz +0 -0
  656. package/dist/collection/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.css.gz +0 -0
  657. package/dist/collection/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.js.gz +0 -0
  658. package/dist/collection/components/snk-pesquisa/pesquisaHelper.js.gz +0 -0
  659. package/dist/collection/components/snk-pesquisa/snk-pesquisa.css.gz +0 -0
  660. package/dist/collection/components/snk-pesquisa/snk-pesquisa.js.gz +0 -0
  661. package/dist/collection/components/snk-print-selector/snk-print-selector.css.gz +0 -0
  662. package/dist/collection/components/snk-print-selector/snk-print-selector.js.gz +0 -0
  663. package/dist/collection/components/snk-simple-bar/snk-simple-bar.css.gz +0 -0
  664. package/dist/collection/components/snk-simple-bar/snk-simple-bar.js.gz +0 -0
  665. package/dist/collection/components/snk-simple-crud/regular-buttons.js.gz +0 -0
  666. package/dist/collection/components/snk-simple-crud/snk-simple-crud.css.gz +0 -0
  667. package/dist/collection/components/snk-simple-crud/snk-simple-crud.js.gz +0 -0
  668. package/dist/collection/components/snk-simple-form-config/snk-simple-form-config.css.gz +0 -0
  669. package/dist/collection/components/snk-simple-form-config/snk-simple-form-config.js.gz +0 -0
  670. package/dist/collection/components/snk-taskbar/elements/taskbar-actions-button/taskbar-actions-button.css.gz +0 -0
  671. package/dist/collection/components/snk-taskbar/elements/taskbar-actions-button/taskbar-actions-button.js.gz +0 -0
  672. package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js.gz +0 -0
  673. package/dist/collection/components/snk-taskbar/processor/taskbar-processor.js.gz +0 -0
  674. package/dist/collection/components/snk-taskbar/snk-taskbar.css.gz +0 -0
  675. package/dist/collection/components/snk-taskbar/snk-taskbar.js.gz +0 -0
  676. package/dist/collection/components/snk-taskbar/subcomponents/field-search.js +0 -31
  677. package/dist/collection/components/snk-taskbar/subcomponents/field-search.js.gz +0 -0
  678. package/dist/collection/components/teste-pesquisa/teste-pesquisa.css.gz +0 -0
  679. package/dist/collection/components/teste-pesquisa/teste-pesquisa.js.gz +0 -0
  680. package/dist/collection/index.js.gz +0 -0
  681. package/dist/collection/lib/@types/index.js.gz +0 -0
  682. package/dist/collection/lib/DefaultCustomFormatters/RmPrecisionCustomValueFormatter.js.gz +0 -0
  683. package/dist/collection/lib/applet-caller/applet-caller.js.gz +0 -0
  684. package/dist/collection/lib/auth/mgeauthorization.module.js.gz +0 -0
  685. package/dist/collection/lib/configs/ConfigStorage.js.gz +0 -0
  686. package/dist/collection/lib/dataUnit/InMemoryLoader.js.gz +0 -0
  687. package/dist/collection/lib/dataUnit/ValueFormatter.js.gz +0 -0
  688. package/dist/collection/lib/dataUnit/dataUnitInMemoryUtils.js.gz +0 -0
  689. package/dist/collection/lib/dataUnit/interfaces/InMemoryLoaderConfig.js.gz +0 -0
  690. package/dist/collection/lib/http/data-fetcher/DataFetcher.js.gz +0 -0
  691. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/anexo-sistema-fetcher.js.gz +0 -0
  692. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/attach-fetcher.js.gz +0 -0
  693. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/facade/attach-fetcher.facade.js.gz +0 -0
  694. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/index.js.gz +0 -0
  695. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/interfaces/IDelete.js.gz +0 -0
  696. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/interfaces/IDownloadKey.js.gz +0 -0
  697. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/interfaces/ISave.js.gz +0 -0
  698. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/interfaces/index.js.gz +0 -0
  699. package/dist/collection/lib/http/data-fetcher/fetchers/application-config-fetcher.js.gz +0 -0
  700. package/dist/collection/lib/http/data-fetcher/fetchers/auth-fetcher.js.gz +0 -0
  701. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/DataUnitDataLoader.js.gz +0 -0
  702. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/cache/ArrayRepository.js.gz +0 -0
  703. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/cache/PreloadManager.js.gz +0 -0
  704. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/dataunit-fetcher.js.gz +0 -0
  705. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/helpers/DataUnitDataLoaderHelper.js.gz +0 -0
  706. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/IBuildRequestBodyLoadRowMetadata.js.gz +0 -0
  707. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/ILoadDataResult.js.gz +0 -0
  708. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/ILoadDataStrategy.js.gz +0 -0
  709. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/ILoadingInfo.js.gz +0 -0
  710. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/IRecordField.js.gz +0 -0
  711. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/IResponseRecord.js.gz +0 -0
  712. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/IRowMetadata.js.gz +0 -0
  713. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DataUnitStrategy.js.gz +0 -0
  714. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DatasetStrategy.js.gz +0 -0
  715. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/test/resources/metadataMock.js.gz +0 -0
  716. package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IExporterColumnMetadata.js.gz +0 -0
  717. package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterParams.js.gz +0 -0
  718. package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterResponse.js.gz +0 -0
  719. package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IPersonalizedReport.js.gz +0 -0
  720. package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/permission-export-pdf.js.gz +0 -0
  721. package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/personalized-reports-fetcher.js.gz +0 -0
  722. package/dist/collection/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.js.gz +0 -0
  723. package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js.gz +0 -0
  724. package/dist/collection/lib/http/data-fetcher/fetchers/grid-config-fetcher.js.gz +0 -0
  725. package/dist/collection/lib/http/data-fetcher/fetchers/parameters-fecher.js.gz +0 -0
  726. package/dist/collection/lib/http/data-fetcher/fetchers/personalized-filter-fetcher.js.gz +0 -0
  727. package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js.gz +0 -0
  728. package/dist/collection/lib/http/data-fetcher/fetchers/resource-fetcher.js.gz +0 -0
  729. package/dist/collection/lib/http/data-fetcher/fetchers/totals-fetcher.js.gz +0 -0
  730. package/dist/collection/lib/http/data-fetcher/interfaces/IClientEventResponse.js.gz +0 -0
  731. package/dist/collection/lib/http/data-fetcher/recaller/GraphQLRecaller.js.gz +0 -0
  732. package/dist/collection/lib/http/data-fetcher/recaller/IDataFetcherRecaller.js.gz +0 -0
  733. package/dist/collection/lib/http/data-fetcher/recaller/ServiceBrokerRecaller.js.gz +0 -0
  734. package/dist/collection/lib/http/data-fetcher/state/LoadStateManager.js.gz +0 -0
  735. package/dist/collection/lib/index.js.gz +0 -0
  736. package/dist/collection/lib/licenses/sankhyalicense.module.js.gz +0 -0
  737. package/dist/collection/lib/message/SnkMessageBuilder.js.gz +0 -0
  738. package/dist/collection/lib/message/resources/crud-utils.msg.js.gz +0 -0
  739. package/dist/collection/lib/message/resources/file-viewer.msg.js.gz +0 -0
  740. package/dist/collection/lib/message/resources/snk-actions-button.msg.js.gz +0 -0
  741. package/dist/collection/lib/message/resources/snk-application.msg.js.gz +0 -0
  742. package/dist/collection/lib/message/resources/snk-attach.msg.js.gz +0 -0
  743. package/dist/collection/lib/message/resources/snk-configurator.msg.js.gz +0 -0
  744. package/dist/collection/lib/message/resources/snk-crud.msg.js.gz +0 -0
  745. package/dist/collection/lib/message/resources/snk-data-exporter.msg.js.gz +0 -0
  746. package/dist/collection/lib/message/resources/snk-data-unit.msg.js.gz +0 -0
  747. package/dist/collection/lib/message/resources/snk-entity-list.msg.js.gz +0 -0
  748. package/dist/collection/lib/message/resources/snk-exporter.msg.js.gz +0 -0
  749. package/dist/collection/lib/message/resources/snk-filter-bar.msg.js.gz +0 -0
  750. package/dist/collection/lib/message/resources/snk-filter-field-search.msg.js.gz +0 -0
  751. package/dist/collection/lib/message/resources/snk-filter-param-config.msg.js.gz +0 -0
  752. package/dist/collection/lib/message/resources/snk-form.msg.js.gz +0 -0
  753. package/dist/collection/lib/message/resources/snk-grid.msg.js.gz +0 -0
  754. package/dist/collection/lib/message/resources/snk-personalized-filter.msg.js.gz +0 -0
  755. package/dist/collection/lib/message/resources/snk-print-selector.msg.js.gz +0 -0
  756. package/dist/collection/lib/message/resources/snk-simple-bar.msg.js.gz +0 -0
  757. package/dist/collection/lib/message/resources/snk-simple-crud.msg.js.gz +0 -0
  758. package/dist/collection/lib/message/resources/snk-taskbar.msg.js.gz +0 -0
  759. package/dist/collection/lib/resourceid/ResourceIDUtils.js.gz +0 -0
  760. package/dist/collection/lib/store/index.js.gz +0 -0
  761. package/dist/collection/lib/utils/ContinuousInsertUtils.js.gz +0 -0
  762. package/dist/collection/lib/utils/CrudUtils.js.gz +0 -0
  763. package/dist/collection/lib/utils/GetSelectedRecordsIDsInfo.js.gz +0 -0
  764. package/dist/collection/lib/utils/PrintUtils.js.gz +0 -0
  765. package/dist/collection/lib/utils/constants.js.gz +0 -0
  766. package/dist/collection/lib/utils/fileViewer/index.js.gz +0 -0
  767. package/dist/collection/lib/utils/fileViewer/interfaces/IFileViewerParams.js.gz +0 -0
  768. package/dist/collection/lib/utils/pesquisa.js.gz +0 -0
  769. package/dist/collection/lib/utils/urlutils.js.gz +0 -0
  770. package/dist/collection/lib/workspace/workspace.js.gz +0 -0
  771. package/dist/collection/sw.js.gz +0 -0
  772. package/dist/components/AuthorizationConfig.js.gz +0 -0
  773. package/dist/components/ConfigStorage.js.gz +0 -0
  774. package/dist/components/ContinuousInsertUtils.js.gz +0 -0
  775. package/dist/components/DataFetcher.js.gz +0 -0
  776. package/dist/components/GetSelectedRecordsIDsInfo.js.gz +0 -0
  777. package/dist/components/ISave.js.gz +0 -0
  778. package/dist/components/ParamType.js.gz +0 -0
  779. package/dist/components/PersonalizedFilterUtils.js.gz +0 -0
  780. package/dist/components/PrintUtils.js.gz +0 -0
  781. package/dist/components/ResourceIDUtils.js.gz +0 -0
  782. package/dist/components/SnkFormConfigManager.js.gz +0 -0
  783. package/dist/components/SnkMessageBuilder.js.gz +0 -0
  784. package/dist/components/auth-fetcher.js.gz +0 -0
  785. package/dist/components/constants.js.gz +0 -0
  786. package/dist/components/dataunit-fetcher.js.gz +0 -0
  787. package/dist/components/filter-item-type.enum.js.gz +0 -0
  788. package/dist/components/filterNumberVariation.js.gz +0 -0
  789. package/dist/components/form-config-fetcher.js.gz +0 -0
  790. package/dist/components/index.js.gz +0 -0
  791. package/dist/components/index2.js.gz +0 -0
  792. package/dist/components/pesquisa-grid.js.gz +0 -0
  793. package/dist/components/pesquisa-grid2.js.gz +0 -0
  794. package/dist/components/pesquisa-tree.js.gz +0 -0
  795. package/dist/components/pesquisa-tree2.js.gz +0 -0
  796. package/dist/components/presentationMode.js.gz +0 -0
  797. package/dist/components/snk-actions-button.js.gz +0 -0
  798. package/dist/components/snk-actions-button2.js.gz +0 -0
  799. package/dist/components/snk-actions-form.js.gz +0 -0
  800. package/dist/components/snk-application.js.gz +0 -0
  801. package/dist/components/snk-application2.js.gz +0 -0
  802. package/dist/components/snk-attach.js.gz +0 -0
  803. package/dist/components/snk-attach2.js.gz +0 -0
  804. package/dist/components/snk-client-confirm.js.gz +0 -0
  805. package/dist/components/snk-config-options.js +0 -6
  806. package/dist/components/snk-config-options.js.gz +0 -0
  807. package/dist/components/snk-config-options2.js +0 -255
  808. package/dist/components/snk-config-options2.js.gz +0 -0
  809. package/dist/components/snk-configurator.js.gz +0 -0
  810. package/dist/components/snk-configurator2.js.gz +0 -0
  811. package/dist/components/snk-crud.js.gz +0 -0
  812. package/dist/components/snk-custom-slot-elements.js.gz +0 -0
  813. package/dist/components/snk-data-exporter.js.gz +0 -0
  814. package/dist/components/snk-data-exporter2.js.gz +0 -0
  815. package/dist/components/snk-data-unit.js.gz +0 -0
  816. package/dist/components/snk-data-unit2.js.gz +0 -0
  817. package/dist/components/snk-detail-view.js.gz +0 -0
  818. package/dist/components/snk-detail-view2.js.gz +0 -0
  819. package/dist/components/snk-entity-list.js.gz +0 -0
  820. package/dist/components/snk-exporter-email-sender.js.gz +0 -0
  821. package/dist/components/snk-exporter-email-sender2.js.gz +0 -0
  822. package/dist/components/snk-expression-group.js.gz +0 -0
  823. package/dist/components/snk-expression-group2.js.gz +0 -0
  824. package/dist/components/snk-expression-item.js.gz +0 -0
  825. package/dist/components/snk-expression-item2.js.gz +0 -0
  826. package/dist/components/snk-field-config.js +0 -6
  827. package/dist/components/snk-field-config.js.gz +0 -0
  828. package/dist/components/snk-field-config2.js +0 -76
  829. package/dist/components/snk-field-config2.js.gz +0 -0
  830. package/dist/components/snk-filter-advanced-mode.js.gz +0 -0
  831. package/dist/components/snk-filter-advanced-mode2.js.gz +0 -0
  832. package/dist/components/snk-filter-assistent-mode.js.gz +0 -0
  833. package/dist/components/snk-filter-assistent-mode2.js.gz +0 -0
  834. package/dist/components/snk-filter-bar.js.gz +0 -0
  835. package/dist/components/snk-filter-bar2.js.gz +0 -0
  836. package/dist/components/snk-filter-binary-select.js.gz +0 -0
  837. package/dist/components/snk-filter-checkbox-list.js.gz +0 -0
  838. package/dist/components/snk-filter-detail.js.gz +0 -0
  839. package/dist/components/snk-filter-detail2.js.gz +0 -0
  840. package/dist/components/snk-filter-field-search.js.gz +0 -0
  841. package/dist/components/snk-filter-field-search2.js.gz +0 -0
  842. package/dist/components/snk-filter-item.js.gz +0 -0
  843. package/dist/components/snk-filter-item2.js.gz +0 -0
  844. package/dist/components/snk-filter-list.js.gz +0 -0
  845. package/dist/components/snk-filter-modal-item.js.gz +0 -0
  846. package/dist/components/snk-filter-modal-item2.js.gz +0 -0
  847. package/dist/components/snk-filter-modal.js.gz +0 -0
  848. package/dist/components/snk-filter-multi-select.js.gz +0 -0
  849. package/dist/components/snk-filter-number.js.gz +0 -0
  850. package/dist/components/snk-filter-param-config.js.gz +0 -0
  851. package/dist/components/snk-filter-param-config2.js.gz +0 -0
  852. package/dist/components/snk-filter-period.js.gz +0 -0
  853. package/dist/components/snk-filter-search.js.gz +0 -0
  854. package/dist/components/snk-filter-text.js.gz +0 -0
  855. package/dist/components/snk-form-config.js.gz +0 -0
  856. package/dist/components/snk-form-config2.js.gz +0 -0
  857. package/dist/components/snk-form-summary.js.gz +0 -0
  858. package/dist/components/snk-form-summary2.js.gz +0 -0
  859. package/dist/components/snk-form-view.js.gz +0 -0
  860. package/dist/components/snk-form-view2.js.gz +0 -0
  861. package/dist/components/snk-form.js.gz +0 -0
  862. package/dist/components/snk-grid-config.js.gz +0 -0
  863. package/dist/components/snk-grid-config2.js.gz +0 -0
  864. package/dist/components/snk-grid.js.gz +0 -0
  865. package/dist/components/snk-grid2.js.gz +0 -0
  866. package/dist/components/snk-guides-viewer.js.gz +0 -0
  867. package/dist/components/snk-personalized-filter-editor.js.gz +0 -0
  868. package/dist/components/snk-personalized-filter.js.gz +0 -0
  869. package/dist/components/snk-personalized-filter2.js.gz +0 -0
  870. package/dist/components/snk-pesquisa.js.gz +0 -0
  871. package/dist/components/snk-pesquisa2.js.gz +0 -0
  872. package/dist/components/snk-print-selector.js.gz +0 -0
  873. package/dist/components/snk-select-box.js.gz +0 -0
  874. package/dist/components/snk-select-box2.js.gz +0 -0
  875. package/dist/components/snk-simple-bar.js.gz +0 -0
  876. package/dist/components/snk-simple-bar2.js.gz +0 -0
  877. package/dist/components/snk-simple-crud.js.gz +0 -0
  878. package/dist/components/snk-simple-crud2.js.gz +0 -0
  879. package/dist/components/snk-simple-form-config.js.gz +0 -0
  880. package/dist/components/snk-simple-form-config2.js.gz +0 -0
  881. package/dist/components/snk-tab-config.js +0 -6
  882. package/dist/components/snk-tab-config.js.gz +0 -0
  883. package/dist/components/snk-tab-config2.js +0 -3202
  884. package/dist/components/snk-tab-config2.js.gz +0 -0
  885. package/dist/components/snk-taskbar.js.gz +0 -0
  886. package/dist/components/snk-taskbar2.js.gz +0 -0
  887. package/dist/components/taskbar-actions-button.js.gz +0 -0
  888. package/dist/components/taskbar-actions-button2.js.gz +0 -0
  889. package/dist/components/teste-pesquisa.js.gz +0 -0
  890. package/dist/esm/AuthorizationConfig-dcbd207a.js.gz +0 -0
  891. package/dist/esm/ClientSideExporterProvider-bd24a4b3.js.gz +0 -0
  892. package/dist/esm/ConfigStorage-e5c1f4c0.js.gz +0 -0
  893. package/dist/esm/DataFetcher-ecf5f903.js.gz +0 -0
  894. package/dist/esm/GetSelectedRecordsIDsInfo-9fa41508.js.gz +0 -0
  895. package/dist/esm/IFetchDataExporterParams-d73bed3d.js.gz +0 -0
  896. package/dist/esm/ISave-d8c8bc59.js +0 -9
  897. package/dist/esm/ISave-d8c8bc59.js.gz +0 -0
  898. package/dist/esm/ParamType-d5152b06.js.gz +0 -0
  899. package/dist/esm/PersonalizedFilterUtils-e2b38ef7.js.gz +0 -0
  900. package/dist/esm/PrintUtils-3e4ff0f5.js.gz +0 -0
  901. package/dist/esm/ResourceIDUtils-a114189a.js.gz +0 -0
  902. package/dist/esm/SnkFormConfigManager-1efd102b.js.gz +0 -0
  903. package/dist/esm/SnkMessageBuilder-6fff4a4c.js.gz +0 -0
  904. package/dist/esm/Sortable-83960219.js +0 -2851
  905. package/dist/esm/Sortable-83960219.js.gz +0 -0
  906. package/dist/esm/auth-fetcher-9987c66e.js.gz +0 -0
  907. package/dist/esm/constants-75abb876.js.gz +0 -0
  908. package/dist/esm/dataunit-fetcher-ed6e65ef.js.gz +0 -0
  909. package/dist/esm/field-search-f8b1d91e.js.gz +0 -0
  910. package/dist/esm/filter-item-type.enum-d45e026f.js.gz +0 -0
  911. package/dist/esm/filter-type.enum-a80c1b6b.js.gz +0 -0
  912. package/dist/esm/filterNumberVariation-8cee02ea.js.gz +0 -0
  913. package/dist/esm/form-config-fetcher-34becd23.js.gz +0 -0
  914. package/dist/esm/index-620ac460.js.gz +0 -0
  915. package/dist/esm/index-a7d3d3f1.js.gz +0 -0
  916. package/dist/esm/index-ae591a44.js.gz +0 -0
  917. package/dist/esm/index-b40568ff.js.gz +0 -0
  918. package/dist/esm/index-c57e49af.js.gz +0 -0
  919. package/dist/esm/index.js.gz +0 -0
  920. package/dist/esm/loader.js.gz +0 -0
  921. package/dist/esm/pesquisa-fetcher-e26c3295.js.gz +0 -0
  922. package/dist/esm/pesquisa-grid_2.entry.js.gz +0 -0
  923. package/dist/esm/polyfills/core-js.js.gz +0 -0
  924. package/dist/esm/polyfills/css-shim.js.gz +0 -0
  925. package/dist/esm/polyfills/dom.js.gz +0 -0
  926. package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
  927. package/dist/esm/polyfills/index.js.gz +0 -0
  928. package/dist/esm/polyfills/system.js.gz +0 -0
  929. package/dist/esm/presentationMode-783bbf9d.js.gz +0 -0
  930. package/dist/esm/sankhyablocks.js.gz +0 -0
  931. package/dist/esm/snk-actions-button_5.entry.js.gz +0 -0
  932. package/dist/esm/snk-actions-form.entry.js.gz +0 -0
  933. package/dist/esm/snk-application.entry.js.gz +0 -0
  934. package/dist/esm/snk-attach.entry.js.gz +0 -0
  935. package/dist/esm/snk-client-confirm.entry.js.gz +0 -0
  936. package/dist/esm/snk-config-options_3.entry.js +0 -1382
  937. package/dist/esm/snk-config-options_3.entry.js.gz +0 -0
  938. package/dist/esm/snk-configurator.entry.js.gz +0 -0
  939. package/dist/esm/snk-crud.entry.js.gz +0 -0
  940. package/dist/esm/snk-custom-slot-elements.entry.js.gz +0 -0
  941. package/dist/esm/snk-data-exporter.entry.js.gz +0 -0
  942. package/dist/esm/snk-data-unit-6258b8ae.js.gz +0 -0
  943. package/dist/esm/snk-data-unit.entry.js.gz +0 -0
  944. package/dist/esm/snk-detail-view.entry.js.gz +0 -0
  945. package/dist/esm/snk-entity-list.entry.js.gz +0 -0
  946. package/dist/esm/snk-exporter-email-sender.entry.js.gz +0 -0
  947. package/dist/esm/snk-expression-group_2.entry.js.gz +0 -0
  948. package/dist/esm/snk-field-config.entry.js +0 -56
  949. package/dist/esm/snk-field-config.entry.js.gz +0 -0
  950. package/dist/esm/snk-filter-advanced-mode_2.entry.js.gz +0 -0
  951. package/dist/esm/snk-filter-bar_4.entry.js.gz +0 -0
  952. package/dist/esm/snk-filter-binary-select.entry.js.gz +0 -0
  953. package/dist/esm/snk-filter-checkbox-list.entry.js.gz +0 -0
  954. package/dist/esm/snk-filter-detail.entry.js.gz +0 -0
  955. package/dist/esm/snk-filter-field-search_2.entry.js.gz +0 -0
  956. package/dist/esm/snk-filter-modal-item.entry.js.gz +0 -0
  957. package/dist/esm/snk-filter-multi-select.entry.js.gz +0 -0
  958. package/dist/esm/snk-filter-number.entry.js.gz +0 -0
  959. package/dist/esm/snk-filter-period.entry.js.gz +0 -0
  960. package/dist/esm/snk-filter-search.entry.js.gz +0 -0
  961. package/dist/esm/snk-filter-text.entry.js.gz +0 -0
  962. package/dist/esm/snk-form-summary.entry.js.gz +0 -0
  963. package/dist/esm/snk-form-view.entry.js.gz +0 -0
  964. package/dist/esm/snk-grid.entry.js.gz +0 -0
  965. package/dist/esm/snk-guides-viewer-39fae8d5.js.gz +0 -0
  966. package/dist/esm/snk-guides-viewer.entry.js.gz +0 -0
  967. package/dist/esm/snk-personalized-filter-editor.entry.js.gz +0 -0
  968. package/dist/esm/snk-personalized-filter.entry.js.gz +0 -0
  969. package/dist/esm/snk-pesquisa.entry.js.gz +0 -0
  970. package/dist/esm/snk-print-selector.entry.js.gz +0 -0
  971. package/dist/esm/snk-simple-bar.entry.js.gz +0 -0
  972. package/dist/esm/snk-simple-crud.entry.js.gz +0 -0
  973. package/dist/esm/snk-tab-config.entry.js +0 -328
  974. package/dist/esm/snk-tab-config.entry.js.gz +0 -0
  975. package/dist/esm/snk-taskbar.entry.js.gz +0 -0
  976. package/dist/esm/taskbar-elements-ed51e143.js.gz +0 -0
  977. package/dist/esm/teste-pesquisa.entry.js.gz +0 -0
  978. package/dist/index.cjs.js.gz +0 -0
  979. package/dist/index.js.gz +0 -0
  980. package/dist/sankhyablocks/index.esm.js.gz +0 -0
  981. package/dist/sankhyablocks/p-057fad05.js.gz +0 -0
  982. package/dist/sankhyablocks/p-0f3698af.js.gz +0 -0
  983. package/dist/sankhyablocks/p-118e769b.entry.js.gz +0 -0
  984. package/dist/sankhyablocks/p-11afea24.entry.js +0 -1
  985. package/dist/sankhyablocks/p-11afea24.entry.js.gz +0 -0
  986. package/dist/sankhyablocks/p-16a1dd18.entry.js.gz +0 -0
  987. package/dist/sankhyablocks/p-17425c72.js +0 -1
  988. package/dist/sankhyablocks/p-17425c72.js.gz +0 -0
  989. package/dist/sankhyablocks/p-18389343.entry.js +0 -1
  990. package/dist/sankhyablocks/p-18389343.entry.js.gz +0 -0
  991. package/dist/sankhyablocks/p-1a68fb59.js.gz +0 -0
  992. package/dist/sankhyablocks/p-1d19a5b0.js +0 -1
  993. package/dist/sankhyablocks/p-1d19a5b0.js.gz +0 -0
  994. package/dist/sankhyablocks/p-1db45d26.entry.js +0 -1
  995. package/dist/sankhyablocks/p-1db45d26.entry.js.gz +0 -0
  996. package/dist/sankhyablocks/p-21749402.js +0 -1
  997. package/dist/sankhyablocks/p-21749402.js.gz +0 -0
  998. package/dist/sankhyablocks/p-21a81901.entry.js.gz +0 -0
  999. package/dist/sankhyablocks/p-22ddc147.js +0 -26
  1000. package/dist/sankhyablocks/p-22ddc147.js.gz +0 -0
  1001. package/dist/sankhyablocks/p-23736d75.js +0 -1
  1002. package/dist/sankhyablocks/p-23736d75.js.gz +0 -0
  1003. package/dist/sankhyablocks/p-23cd6abf.entry.js +0 -1
  1004. package/dist/sankhyablocks/p-23cd6abf.entry.js.gz +0 -0
  1005. package/dist/sankhyablocks/p-240ac47f.entry.js +0 -1
  1006. package/dist/sankhyablocks/p-240ac47f.entry.js.gz +0 -0
  1007. package/dist/sankhyablocks/p-26b0ce3e.entry.js.gz +0 -0
  1008. package/dist/sankhyablocks/p-2746d606.entry.js.gz +0 -0
  1009. package/dist/sankhyablocks/p-2953c481.entry.js +0 -1
  1010. package/dist/sankhyablocks/p-2953c481.entry.js.gz +0 -0
  1011. package/dist/sankhyablocks/p-3ab6df3d.entry.js +0 -1
  1012. package/dist/sankhyablocks/p-3ab6df3d.entry.js.gz +0 -0
  1013. package/dist/sankhyablocks/p-3ce68be5.js.gz +0 -0
  1014. package/dist/sankhyablocks/p-3fcb90d6.js +0 -56
  1015. package/dist/sankhyablocks/p-3fcb90d6.js.gz +0 -0
  1016. package/dist/sankhyablocks/p-434817f0.entry.js.gz +0 -0
  1017. package/dist/sankhyablocks/p-43769aa9.js +0 -1
  1018. package/dist/sankhyablocks/p-43769aa9.js.gz +0 -0
  1019. package/dist/sankhyablocks/p-47178038.entry.js.gz +0 -0
  1020. package/dist/sankhyablocks/p-4c9adf1c.entry.js +0 -1
  1021. package/dist/sankhyablocks/p-4c9adf1c.entry.js.gz +0 -0
  1022. package/dist/sankhyablocks/p-517efc93.js +0 -1
  1023. package/dist/sankhyablocks/p-517efc93.js.gz +0 -0
  1024. package/dist/sankhyablocks/p-54a5d52a.entry.js.gz +0 -0
  1025. package/dist/sankhyablocks/p-59e5d5d1.entry.js.gz +0 -0
  1026. package/dist/sankhyablocks/p-5a7e18f4.js.gz +0 -0
  1027. package/dist/sankhyablocks/p-5e9fbd76.js.gz +0 -0
  1028. package/dist/sankhyablocks/p-5f157b09.entry.js.gz +0 -0
  1029. package/dist/sankhyablocks/p-688dcb4c.js.gz +0 -0
  1030. package/dist/sankhyablocks/p-6b898a51.entry.js +0 -1
  1031. package/dist/sankhyablocks/p-6b898a51.entry.js.gz +0 -0
  1032. package/dist/sankhyablocks/p-77168ab4.entry.js +0 -1
  1033. package/dist/sankhyablocks/p-77168ab4.entry.js.gz +0 -0
  1034. package/dist/sankhyablocks/p-79f823f3.entry.js.gz +0 -0
  1035. package/dist/sankhyablocks/p-7dd49d15.js.gz +0 -0
  1036. package/dist/sankhyablocks/p-7e0a0aae.js +0 -60
  1037. package/dist/sankhyablocks/p-7e0a0aae.js.gz +0 -0
  1038. package/dist/sankhyablocks/p-7e2ded86.entry.js.gz +0 -0
  1039. package/dist/sankhyablocks/p-8002dcd0.entry.js.gz +0 -0
  1040. package/dist/sankhyablocks/p-81f5e44b.entry.js +0 -11
  1041. package/dist/sankhyablocks/p-81f5e44b.entry.js.gz +0 -0
  1042. package/dist/sankhyablocks/p-89c92727.entry.js.gz +0 -0
  1043. package/dist/sankhyablocks/p-8c235d4c.entry.js.gz +0 -0
  1044. package/dist/sankhyablocks/p-8d884fab.js.gz +0 -0
  1045. package/dist/sankhyablocks/p-8f3f2306.js.gz +0 -0
  1046. package/dist/sankhyablocks/p-91708c3d.entry.js +0 -1
  1047. package/dist/sankhyablocks/p-91708c3d.entry.js.gz +0 -0
  1048. package/dist/sankhyablocks/p-933c0c0b.js +0 -1
  1049. package/dist/sankhyablocks/p-933c0c0b.js.gz +0 -0
  1050. package/dist/sankhyablocks/p-9523fc40.entry.js +0 -1
  1051. package/dist/sankhyablocks/p-9523fc40.entry.js.gz +0 -0
  1052. package/dist/sankhyablocks/p-9531fd46.entry.js.gz +0 -0
  1053. package/dist/sankhyablocks/p-9887a437.entry.js +0 -1
  1054. package/dist/sankhyablocks/p-9887a437.entry.js.gz +0 -0
  1055. package/dist/sankhyablocks/p-a5bdcb3f.entry.js +0 -1
  1056. package/dist/sankhyablocks/p-a5bdcb3f.entry.js.gz +0 -0
  1057. package/dist/sankhyablocks/p-a61bbe18.entry.js +0 -1
  1058. package/dist/sankhyablocks/p-a61bbe18.entry.js.gz +0 -0
  1059. package/dist/sankhyablocks/p-a77bdadc.js.gz +0 -0
  1060. package/dist/sankhyablocks/p-abd9681c.js +0 -1
  1061. package/dist/sankhyablocks/p-abd9681c.js.gz +0 -0
  1062. package/dist/sankhyablocks/p-ac8d1cd6.entry.js.gz +0 -0
  1063. package/dist/sankhyablocks/p-bf2acf72.entry.js.gz +0 -0
  1064. package/dist/sankhyablocks/p-bfdf92e9.entry.js +0 -1
  1065. package/dist/sankhyablocks/p-bfdf92e9.entry.js.gz +0 -0
  1066. package/dist/sankhyablocks/p-c2e468c9.entry.js.gz +0 -0
  1067. package/dist/sankhyablocks/p-c8622597.entry.js +0 -1
  1068. package/dist/sankhyablocks/p-c8622597.entry.js.gz +0 -0
  1069. package/dist/sankhyablocks/p-cb1e77e0.entry.js +0 -1
  1070. package/dist/sankhyablocks/p-cb1e77e0.entry.js.gz +0 -0
  1071. package/dist/sankhyablocks/p-d2d301a6.js.gz +0 -0
  1072. package/dist/sankhyablocks/p-d3b9b377.entry.js.gz +0 -0
  1073. package/dist/sankhyablocks/p-d9804798.js +0 -1
  1074. package/dist/sankhyablocks/p-d9804798.js.gz +0 -0
  1075. package/dist/sankhyablocks/p-dc36cfbf.js.gz +0 -0
  1076. package/dist/sankhyablocks/p-e289826a.js +0 -1
  1077. package/dist/sankhyablocks/p-e289826a.js.gz +0 -0
  1078. package/dist/sankhyablocks/p-e51c52cf.entry.js +0 -1
  1079. package/dist/sankhyablocks/p-e51c52cf.entry.js.gz +0 -0
  1080. package/dist/sankhyablocks/p-e66bcb5c.entry.js +0 -1
  1081. package/dist/sankhyablocks/p-e66bcb5c.entry.js.gz +0 -0
  1082. package/dist/sankhyablocks/p-eaad0aa8.js.gz +0 -0
  1083. package/dist/sankhyablocks/p-ef076eea.js +0 -6
  1084. package/dist/sankhyablocks/p-ef076eea.js.gz +0 -0
  1085. package/dist/sankhyablocks/p-f4184ce7.js.gz +0 -0
  1086. package/dist/sankhyablocks/p-fa80e546.js.gz +0 -0
  1087. package/dist/sankhyablocks/p-fa816fb2.js +0 -1
  1088. package/dist/sankhyablocks/p-fa816fb2.js.gz +0 -0
  1089. package/dist/sankhyablocks/p-fde71e26.entry.js +0 -1
  1090. package/dist/sankhyablocks/p-fde71e26.entry.js.gz +0 -0
  1091. package/dist/sankhyablocks/p-ff1990ad.js.gz +0 -0
  1092. package/dist/sankhyablocks/sankhyablocks.esm.js.gz +0 -0
  1093. package/dist/types/components/snk-form-config/subcomponents/snk-config-options/snk-config-options.d.ts +0 -57
  1094. package/dist/types/components/snk-form-config/subcomponents/snk-field-config/snk-field-config.d.ts +0 -43
  1095. package/dist/types/components/snk-form-config/subcomponents/snk-tab-config/snk-tab-config.d.ts +0 -105
  1096. package/dist/types/components/snk-taskbar/subcomponents/field-search.d.ts +0 -4
@@ -1,2851 +0,0 @@
1
- class AbstractEvent {
2
-
3
- constructor(data) {
4
-
5
- this._canceled = false;
6
- this.data = data;
7
- }
8
-
9
- get type() {
10
- return this.constructor.type;
11
- }
12
-
13
- get cancelable() {
14
- return this.constructor.cancelable;
15
- }
16
-
17
- cancel() {
18
- this._canceled = true;
19
- }
20
-
21
- canceled() {
22
- return this._canceled;
23
- }
24
-
25
- clone(data) {
26
- return new this.constructor({
27
- ...this.data,
28
- ...data
29
- });
30
- }
31
- }
32
-
33
- AbstractEvent.type = 'event';
34
-
35
- AbstractEvent.cancelable = false;
36
-
37
- class AbstractPlugin {
38
-
39
- constructor(draggable) {
40
- this.draggable = draggable;
41
- }
42
-
43
- attach() {
44
- throw new Error('Not Implemented');
45
- }
46
-
47
- detach() {
48
- throw new Error('Not Implemented');
49
- }
50
- }
51
-
52
- const defaultDelay = {
53
- mouse: 0,
54
- drag: 0,
55
- touch: 100
56
- };
57
-
58
- class Sensor {
59
-
60
- constructor(containers = [], options = {}) {
61
-
62
- this.containers = [...containers];
63
-
64
- this.options = {
65
- ...options
66
- };
67
-
68
- this.dragging = false;
69
-
70
- this.currentContainer = null;
71
-
72
- this.originalSource = null;
73
-
74
- this.startEvent = null;
75
-
76
- this.delay = calcDelay(options.delay);
77
- }
78
-
79
- attach() {
80
- return this;
81
- }
82
-
83
- detach() {
84
- return this;
85
- }
86
-
87
- addContainer(...containers) {
88
- this.containers = [...this.containers, ...containers];
89
- }
90
-
91
- removeContainer(...containers) {
92
- this.containers = this.containers.filter(container => !containers.includes(container));
93
- }
94
-
95
- trigger(element, sensorEvent) {
96
- const event = document.createEvent('Event');
97
- event.detail = sensorEvent;
98
- event.initEvent(sensorEvent.type, true, true);
99
- element.dispatchEvent(event);
100
- this.lastEvent = sensorEvent;
101
- return sensorEvent;
102
- }
103
- }
104
-
105
- function calcDelay(optionsDelay) {
106
- const delay = {};
107
- if (optionsDelay === undefined) {
108
- return {
109
- ...defaultDelay
110
- };
111
- }
112
- if (typeof optionsDelay === 'number') {
113
- for (const key in defaultDelay) {
114
- if (Object.prototype.hasOwnProperty.call(defaultDelay, key)) {
115
- delay[key] = optionsDelay;
116
- }
117
- }
118
- return delay;
119
- }
120
- for (const key in defaultDelay) {
121
- if (Object.prototype.hasOwnProperty.call(defaultDelay, key)) {
122
- if (optionsDelay[key] === undefined) {
123
- delay[key] = defaultDelay[key];
124
- } else {
125
- delay[key] = optionsDelay[key];
126
- }
127
- }
128
- }
129
- return delay;
130
- }
131
-
132
- function closest(node, value) {
133
- if (node == null) {
134
- return null;
135
- }
136
- function conditionFn(currentNode) {
137
- if (currentNode == null || value == null) {
138
- return false;
139
- } else if (isSelector(value)) {
140
- return Element.prototype.matches.call(currentNode, value);
141
- } else if (isNodeList(value)) {
142
- return [...value].includes(currentNode);
143
- } else if (isElement(value)) {
144
- return value === currentNode;
145
- } else if (isFunction(value)) {
146
- return value(currentNode);
147
- } else {
148
- return false;
149
- }
150
- }
151
- let current = node;
152
- do {
153
- current = current.correspondingUseElement || current.correspondingElement || current;
154
- if (conditionFn(current)) {
155
- return current;
156
- }
157
- current = current?.parentNode || null;
158
- } while (current != null && current !== document.body && current !== document);
159
- return null;
160
- }
161
- function isSelector(value) {
162
- return Boolean(typeof value === 'string');
163
- }
164
- function isNodeList(value) {
165
- return Boolean(value instanceof NodeList || value instanceof Array);
166
- }
167
- function isElement(value) {
168
- return Boolean(value instanceof Node);
169
- }
170
- function isFunction(value) {
171
- return Boolean(typeof value === 'function');
172
- }
173
-
174
- function distance(x1, y1, x2, y2) {
175
- return Math.sqrt((x2 - x1) ** 2 + (y2 - y1) ** 2);
176
- }
177
-
178
- class SensorEvent extends AbstractEvent {
179
-
180
- get originalEvent() {
181
- return this.data.originalEvent;
182
- }
183
-
184
- get clientX() {
185
- return this.data.clientX;
186
- }
187
-
188
- get clientY() {
189
- return this.data.clientY;
190
- }
191
-
192
- get target() {
193
- return this.data.target;
194
- }
195
-
196
- get container() {
197
- return this.data.container;
198
- }
199
-
200
- get originalSource() {
201
- return this.data.originalSource;
202
- }
203
-
204
- get pressure() {
205
- return this.data.pressure;
206
- }
207
- }
208
-
209
- class DragStartSensorEvent extends SensorEvent {}
210
-
211
- DragStartSensorEvent.type = 'drag:start';
212
- class DragMoveSensorEvent extends SensorEvent {}
213
-
214
- DragMoveSensorEvent.type = 'drag:move';
215
- class DragStopSensorEvent extends SensorEvent {}
216
-
217
- DragStopSensorEvent.type = 'drag:stop';
218
-
219
- const onContextMenuWhileDragging = Symbol('onContextMenuWhileDragging');
220
- const onMouseDown = Symbol('onMouseDown');
221
- const onMouseMove = Symbol('onMouseMove');
222
- const onMouseUp = Symbol('onMouseUp');
223
- const startDrag$1 = Symbol('startDrag');
224
- const onDistanceChange$1 = Symbol('onDistanceChange');
225
-
226
- class MouseSensor extends Sensor {
227
-
228
- constructor(containers = [], options = {}) {
229
- super(containers, options);
230
-
231
- this.mouseDownTimeout = null;
232
-
233
- this.pageX = null;
234
-
235
- this.pageY = null;
236
- this[onContextMenuWhileDragging] = this[onContextMenuWhileDragging].bind(this);
237
- this[onMouseDown] = this[onMouseDown].bind(this);
238
- this[onMouseMove] = this[onMouseMove].bind(this);
239
- this[onMouseUp] = this[onMouseUp].bind(this);
240
- this[startDrag$1] = this[startDrag$1].bind(this);
241
- this[onDistanceChange$1] = this[onDistanceChange$1].bind(this);
242
- }
243
-
244
- attach() {
245
- document.addEventListener('mousedown', this[onMouseDown], true);
246
- }
247
-
248
- detach() {
249
- document.removeEventListener('mousedown', this[onMouseDown], true);
250
- }
251
-
252
- [onMouseDown](event) {
253
- if (event.button !== 0 || event.ctrlKey || event.metaKey) {
254
- return;
255
- }
256
- const container = closest(event.target, this.containers);
257
- if (!container) {
258
- return;
259
- }
260
- if (this.options.handle && event.target && !closest(event.target, this.options.handle)) {
261
- return;
262
- }
263
- const originalSource = closest(event.target, this.options.draggable);
264
- if (!originalSource) {
265
- return;
266
- }
267
- const {
268
- delay
269
- } = this;
270
- const {
271
- pageX,
272
- pageY
273
- } = event;
274
- Object.assign(this, {
275
- pageX,
276
- pageY
277
- });
278
- this.onMouseDownAt = Date.now();
279
- this.startEvent = event;
280
- this.currentContainer = container;
281
- this.originalSource = originalSource;
282
- document.addEventListener('mouseup', this[onMouseUp]);
283
- document.addEventListener('dragstart', preventNativeDragStart);
284
- document.addEventListener('mousemove', this[onDistanceChange$1]);
285
- this.mouseDownTimeout = window.setTimeout(() => {
286
- this[onDistanceChange$1]({
287
- pageX: this.pageX,
288
- pageY: this.pageY
289
- });
290
- }, delay.mouse);
291
- }
292
-
293
- [startDrag$1]() {
294
- const startEvent = this.startEvent;
295
- const container = this.currentContainer;
296
- const originalSource = this.originalSource;
297
- const dragStartEvent = new DragStartSensorEvent({
298
- clientX: startEvent.clientX,
299
- clientY: startEvent.clientY,
300
- target: startEvent.target,
301
- container,
302
- originalSource,
303
- originalEvent: startEvent
304
- });
305
- this.trigger(this.currentContainer, dragStartEvent);
306
- this.dragging = !dragStartEvent.canceled();
307
- if (this.dragging) {
308
- document.addEventListener('contextmenu', this[onContextMenuWhileDragging], true);
309
- document.addEventListener('mousemove', this[onMouseMove]);
310
- }
311
- }
312
-
313
- [onDistanceChange$1](event) {
314
- const {
315
- pageX,
316
- pageY
317
- } = event;
318
- const {
319
- distance: distance$1
320
- } = this.options;
321
- const {
322
- startEvent,
323
- delay
324
- } = this;
325
- Object.assign(this, {
326
- pageX,
327
- pageY
328
- });
329
- if (!this.currentContainer) {
330
- return;
331
- }
332
- const timeElapsed = Date.now() - this.onMouseDownAt;
333
- const distanceTravelled = distance(startEvent.pageX, startEvent.pageY, pageX, pageY) || 0;
334
- clearTimeout(this.mouseDownTimeout);
335
- if (timeElapsed < delay.mouse) {
336
-
337
- document.removeEventListener('mousemove', this[onDistanceChange$1]);
338
- } else if (distanceTravelled >= distance$1) {
339
- document.removeEventListener('mousemove', this[onDistanceChange$1]);
340
- this[startDrag$1]();
341
- }
342
- }
343
-
344
- [onMouseMove](event) {
345
- if (!this.dragging) {
346
- return;
347
- }
348
- const target = document.elementFromPoint(event.clientX, event.clientY);
349
- const dragMoveEvent = new DragMoveSensorEvent({
350
- clientX: event.clientX,
351
- clientY: event.clientY,
352
- target,
353
- container: this.currentContainer,
354
- originalEvent: event
355
- });
356
- this.trigger(this.currentContainer, dragMoveEvent);
357
- }
358
-
359
- [onMouseUp](event) {
360
- clearTimeout(this.mouseDownTimeout);
361
- if (event.button !== 0) {
362
- return;
363
- }
364
- document.removeEventListener('mouseup', this[onMouseUp]);
365
- document.removeEventListener('dragstart', preventNativeDragStart);
366
- document.removeEventListener('mousemove', this[onDistanceChange$1]);
367
- if (!this.dragging) {
368
- return;
369
- }
370
- const target = document.elementFromPoint(event.clientX, event.clientY);
371
- const dragStopEvent = new DragStopSensorEvent({
372
- clientX: event.clientX,
373
- clientY: event.clientY,
374
- target,
375
- container: this.currentContainer,
376
- originalEvent: event
377
- });
378
- this.trigger(this.currentContainer, dragStopEvent);
379
- document.removeEventListener('contextmenu', this[onContextMenuWhileDragging], true);
380
- document.removeEventListener('mousemove', this[onMouseMove]);
381
- this.currentContainer = null;
382
- this.dragging = false;
383
- this.startEvent = null;
384
- }
385
-
386
- [onContextMenuWhileDragging](event) {
387
- event.preventDefault();
388
- }
389
- }
390
- function preventNativeDragStart(event) {
391
- event.preventDefault();
392
- }
393
-
394
- function touchCoords(event) {
395
- const {
396
- touches,
397
- changedTouches
398
- } = event;
399
- return touches && touches[0] || changedTouches && changedTouches[0];
400
- }
401
-
402
- const onTouchStart = Symbol('onTouchStart');
403
- const onTouchEnd = Symbol('onTouchEnd');
404
- const onTouchMove = Symbol('onTouchMove');
405
- const startDrag = Symbol('startDrag');
406
- const onDistanceChange = Symbol('onDistanceChange');
407
-
408
- let preventScrolling = false;
409
-
410
- window.addEventListener('touchmove', event => {
411
- if (!preventScrolling) {
412
- return;
413
- }
414
-
415
- event.preventDefault();
416
- }, {
417
- passive: false
418
- });
419
-
420
- class TouchSensor extends Sensor {
421
-
422
- constructor(containers = [], options = {}) {
423
- super(containers, options);
424
-
425
- this.currentScrollableParent = null;
426
-
427
- this.tapTimeout = null;
428
-
429
- this.touchMoved = false;
430
-
431
- this.pageX = null;
432
-
433
- this.pageY = null;
434
- this[onTouchStart] = this[onTouchStart].bind(this);
435
- this[onTouchEnd] = this[onTouchEnd].bind(this);
436
- this[onTouchMove] = this[onTouchMove].bind(this);
437
- this[startDrag] = this[startDrag].bind(this);
438
- this[onDistanceChange] = this[onDistanceChange].bind(this);
439
- }
440
-
441
- attach() {
442
- document.addEventListener('touchstart', this[onTouchStart]);
443
- }
444
-
445
- detach() {
446
- document.removeEventListener('touchstart', this[onTouchStart]);
447
- }
448
-
449
- [onTouchStart](event) {
450
- const container = closest(event.target, this.containers);
451
- if (!container) {
452
- return;
453
- }
454
- if (this.options.handle && event.target && !closest(event.target, this.options.handle)) {
455
- return;
456
- }
457
- const originalSource = closest(event.target, this.options.draggable);
458
- if (!originalSource) {
459
- return;
460
- }
461
- const {
462
- distance = 0
463
- } = this.options;
464
- const {
465
- delay
466
- } = this;
467
- const {
468
- pageX,
469
- pageY
470
- } = touchCoords(event);
471
- Object.assign(this, {
472
- pageX,
473
- pageY
474
- });
475
- this.onTouchStartAt = Date.now();
476
- this.startEvent = event;
477
- this.currentContainer = container;
478
- this.originalSource = originalSource;
479
- document.addEventListener('touchend', this[onTouchEnd]);
480
- document.addEventListener('touchcancel', this[onTouchEnd]);
481
- document.addEventListener('touchmove', this[onDistanceChange]);
482
- container.addEventListener('contextmenu', onContextMenu);
483
- if (distance) {
484
- preventScrolling = true;
485
- }
486
- this.tapTimeout = window.setTimeout(() => {
487
- this[onDistanceChange]({
488
- touches: [{
489
- pageX: this.pageX,
490
- pageY: this.pageY
491
- }]
492
- });
493
- }, delay.touch);
494
- }
495
-
496
- [startDrag]() {
497
- const startEvent = this.startEvent;
498
- const container = this.currentContainer;
499
- const touch = touchCoords(startEvent);
500
- const originalSource = this.originalSource;
501
- const dragStartEvent = new DragStartSensorEvent({
502
- clientX: touch.pageX,
503
- clientY: touch.pageY,
504
- target: startEvent.target,
505
- container,
506
- originalSource,
507
- originalEvent: startEvent
508
- });
509
- this.trigger(this.currentContainer, dragStartEvent);
510
- this.dragging = !dragStartEvent.canceled();
511
- if (this.dragging) {
512
- document.addEventListener('touchmove', this[onTouchMove]);
513
- }
514
- preventScrolling = this.dragging;
515
- }
516
-
517
- [onDistanceChange](event) {
518
- const {
519
- distance: distance$1
520
- } = this.options;
521
- const {
522
- startEvent,
523
- delay
524
- } = this;
525
- const start = touchCoords(startEvent);
526
- const current = touchCoords(event);
527
- const timeElapsed = Date.now() - this.onTouchStartAt;
528
- const distanceTravelled = distance(start.pageX, start.pageY, current.pageX, current.pageY);
529
- Object.assign(this, current);
530
- clearTimeout(this.tapTimeout);
531
- if (timeElapsed < delay.touch) {
532
-
533
- document.removeEventListener('touchmove', this[onDistanceChange]);
534
- } else if (distanceTravelled >= distance$1) {
535
- document.removeEventListener('touchmove', this[onDistanceChange]);
536
- this[startDrag]();
537
- }
538
- }
539
-
540
- [onTouchMove](event) {
541
- if (!this.dragging) {
542
- return;
543
- }
544
- const {
545
- pageX,
546
- pageY
547
- } = touchCoords(event);
548
- const target = document.elementFromPoint(pageX - window.scrollX, pageY - window.scrollY);
549
- const dragMoveEvent = new DragMoveSensorEvent({
550
- clientX: pageX,
551
- clientY: pageY,
552
- target,
553
- container: this.currentContainer,
554
- originalEvent: event
555
- });
556
- this.trigger(this.currentContainer, dragMoveEvent);
557
- }
558
-
559
- [onTouchEnd](event) {
560
- clearTimeout(this.tapTimeout);
561
- preventScrolling = false;
562
- document.removeEventListener('touchend', this[onTouchEnd]);
563
- document.removeEventListener('touchcancel', this[onTouchEnd]);
564
- document.removeEventListener('touchmove', this[onDistanceChange]);
565
- if (this.currentContainer) {
566
- this.currentContainer.removeEventListener('contextmenu', onContextMenu);
567
- }
568
- if (!this.dragging) {
569
- return;
570
- }
571
- document.removeEventListener('touchmove', this[onTouchMove]);
572
- const {
573
- pageX,
574
- pageY
575
- } = touchCoords(event);
576
- const target = document.elementFromPoint(pageX - window.scrollX, pageY - window.scrollY);
577
- event.preventDefault();
578
- const dragStopEvent = new DragStopSensorEvent({
579
- clientX: pageX,
580
- clientY: pageY,
581
- target,
582
- container: this.currentContainer,
583
- originalEvent: event
584
- });
585
- this.trigger(this.currentContainer, dragStopEvent);
586
- this.currentContainer = null;
587
- this.dragging = false;
588
- this.startEvent = null;
589
- }
590
- }
591
- function onContextMenu(event) {
592
- event.preventDefault();
593
- event.stopPropagation();
594
- }
595
-
596
- function createAddInitializerMethod(e, t) {
597
- return function (r) {
598
- assertNotFinished(t, "addInitializer"), assertCallable(r, "An initializer"), e.push(r);
599
- };
600
- }
601
- function assertInstanceIfPrivate(e, t) {
602
- if (!e(t)) throw new TypeError("Attempted to access private element on non-instance");
603
- }
604
- function memberDec(e, t, r, a, n, i, s, o, c, l, u) {
605
- var f;
606
- switch (i) {
607
- case 1:
608
- f = "accessor";
609
- break;
610
- case 2:
611
- f = "method";
612
- break;
613
- case 3:
614
- f = "getter";
615
- break;
616
- case 4:
617
- f = "setter";
618
- break;
619
- default:
620
- f = "field";
621
- }
622
- var d,
623
- p,
624
- h = {
625
- kind: f,
626
- name: o ? "#" + r : r,
627
- static: s,
628
- private: o,
629
- metadata: u
630
- },
631
- v = {
632
- v: !1
633
- };
634
- if (0 !== i && (h.addInitializer = createAddInitializerMethod(n, v)), o || 0 !== i && 2 !== i) {
635
- if (2 === i) d = function (e) {
636
- return assertInstanceIfPrivate(l, e), a.value;
637
- };else {
638
- var y = 0 === i || 1 === i;
639
- (y || 3 === i) && (d = o ? function (e) {
640
- return assertInstanceIfPrivate(l, e), a.get.call(e);
641
- } : function (e) {
642
- return a.get.call(e);
643
- }), (y || 4 === i) && (p = o ? function (e, t) {
644
- assertInstanceIfPrivate(l, e), a.set.call(e, t);
645
- } : function (e, t) {
646
- a.set.call(e, t);
647
- });
648
- }
649
- } else d = function (e) {
650
- return e[r];
651
- }, 0 === i && (p = function (e, t) {
652
- e[r] = t;
653
- });
654
- var m = o ? l.bind() : function (e) {
655
- return r in e;
656
- };
657
- h.access = d && p ? {
658
- get: d,
659
- set: p,
660
- has: m
661
- } : d ? {
662
- get: d,
663
- has: m
664
- } : {
665
- set: p,
666
- has: m
667
- };
668
- try {
669
- return e.call(t, c, h);
670
- } finally {
671
- v.v = !0;
672
- }
673
- }
674
- function assertNotFinished(e, t) {
675
- if (e.v) throw new Error("attempted to call " + t + " after decoration was finished");
676
- }
677
- function assertCallable(e, t) {
678
- if ("function" != typeof e) throw new TypeError(t + " must be a function");
679
- }
680
- function assertValidReturnValue(e, t) {
681
- var r = typeof t;
682
- if (1 === e) {
683
- if ("object" !== r || null === t) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
684
- void 0 !== t.get && assertCallable(t.get, "accessor.get"), void 0 !== t.set && assertCallable(t.set, "accessor.set"), void 0 !== t.init && assertCallable(t.init, "accessor.init");
685
- } else if ("function" !== r) {
686
- var a;
687
- throw a = 0 === e ? "field" : 5 === e ? "class" : "method", new TypeError(a + " decorators must return a function or void 0");
688
- }
689
- }
690
- function curryThis1(e) {
691
- return function () {
692
- return e(this);
693
- };
694
- }
695
- function curryThis2(e) {
696
- return function (t) {
697
- e(this, t);
698
- };
699
- }
700
- function applyMemberDec(e, t, r, a, n, i, s, o, c, l, u) {
701
- var f,
702
- d,
703
- p,
704
- h,
705
- v,
706
- y,
707
- m = r[0];
708
- a || Array.isArray(m) || (m = [m]), o ? f = 0 === i || 1 === i ? {
709
- get: curryThis1(r[3]),
710
- set: curryThis2(r[4])
711
- } : 3 === i ? {
712
- get: r[3]
713
- } : 4 === i ? {
714
- set: r[3]
715
- } : {
716
- value: r[3]
717
- } : 0 !== i && (f = Object.getOwnPropertyDescriptor(t, n)), 1 === i ? p = {
718
- get: f.get,
719
- set: f.set
720
- } : 2 === i ? p = f.value : 3 === i ? p = f.get : 4 === i && (p = f.set);
721
- for (var g = a ? 2 : 1, b = m.length - 1; b >= 0; b -= g) {
722
- var I;
723
- if (void 0 !== (h = memberDec(m[b], a ? m[b - 1] : void 0, n, f, c, i, s, o, p, l, u))) assertValidReturnValue(i, h), 0 === i ? I = h : 1 === i ? (I = h.init, v = h.get || p.get, y = h.set || p.set, p = {
724
- get: v,
725
- set: y
726
- }) : p = h, void 0 !== I && (void 0 === d ? d = I : "function" == typeof d ? d = [d, I] : d.push(I));
727
- }
728
- if (0 === i || 1 === i) {
729
- if (void 0 === d) d = function (e, t) {
730
- return t;
731
- };else if ("function" != typeof d) {
732
- var w = d;
733
- d = function (e, t) {
734
- for (var r = t, a = w.length - 1; a >= 0; a--) r = w[a].call(e, r);
735
- return r;
736
- };
737
- } else {
738
- var M = d;
739
- d = function (e, t) {
740
- return M.call(e, t);
741
- };
742
- }
743
- e.push(d);
744
- }
745
- 0 !== i && (1 === i ? (f.get = p.get, f.set = p.set) : 2 === i ? f.value = p : 3 === i ? f.get = p : 4 === i && (f.set = p), o ? 1 === i ? (e.push(function (e, t) {
746
- return p.get.call(e, t);
747
- }), e.push(function (e, t) {
748
- return p.set.call(e, t);
749
- })) : 2 === i ? e.push(p) : e.push(function (e, t) {
750
- return p.call(e, t);
751
- }) : Object.defineProperty(t, n, f));
752
- }
753
- function applyMemberDecs(e, t, r, a) {
754
- for (var n, i, s, o = [], c = new Map(), l = new Map(), u = 0; u < t.length; u++) {
755
- var f = t[u];
756
- if (Array.isArray(f)) {
757
- var d,
758
- p,
759
- h = f[1],
760
- v = f[2],
761
- y = f.length > 3,
762
- m = 16 & h,
763
- g = !!(8 & h),
764
- b = r;
765
- if (h &= 7, g ? (d = e, 0 !== h && (p = i = i || []), y && !s && (s = function (t) {
766
- return _checkInRHS(t) === e;
767
- }), b = s) : (d = e.prototype, 0 !== h && (p = n = n || [])), 0 !== h && !y) {
768
- var I = g ? l : c,
769
- w = I.get(v) || 0;
770
- if (!0 === w || 3 === w && 4 !== h || 4 === w && 3 !== h) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + v);
771
- I.set(v, !(!w && h > 2) || h);
772
- }
773
- applyMemberDec(o, d, f, m, v, h, g, y, p, b, a);
774
- }
775
- }
776
- return pushInitializers(o, n), pushInitializers(o, i), o;
777
- }
778
- function pushInitializers(e, t) {
779
- t && e.push(function (e) {
780
- for (var r = 0; r < t.length; r++) t[r].call(e);
781
- return e;
782
- });
783
- }
784
- function applyClassDecs(e, t, r, a) {
785
- if (t.length) {
786
- for (var n = [], i = e, s = e.name, o = r ? 2 : 1, c = t.length - 1; c >= 0; c -= o) {
787
- var l = {
788
- v: !1
789
- };
790
- try {
791
- var u = t[c].call(r ? t[c - 1] : void 0, i, {
792
- kind: "class",
793
- name: s,
794
- addInitializer: createAddInitializerMethod(n, l),
795
- metadata: a
796
- });
797
- } finally {
798
- l.v = !0;
799
- }
800
- void 0 !== u && (assertValidReturnValue(5, u), i = u);
801
- }
802
- return [defineMetadata(i, a), function () {
803
- for (var e = 0; e < n.length; e++) n[e].call(i);
804
- }];
805
- }
806
- }
807
- function defineMetadata(e, t) {
808
- return Object.defineProperty(e, Symbol.metadata || Symbol.for("Symbol.metadata"), {
809
- configurable: !0,
810
- enumerable: !0,
811
- value: t
812
- });
813
- }
814
- function _applyDecs2305(e, t, r, a, n, i) {
815
- if (arguments.length >= 6) var s = i[Symbol.metadata || Symbol.for("Symbol.metadata")];
816
- var o = Object.create(void 0 === s ? null : s),
817
- c = applyMemberDecs(e, t, n, o);
818
- return r.length || defineMetadata(e, o), {
819
- e: c,
820
- get c() {
821
- return applyClassDecs(e, r, a, o);
822
- }
823
- };
824
- }
825
- function _checkInRHS(e) {
826
- if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== e ? typeof e : "null"));
827
- return e;
828
- }
829
-
830
- function AutoBind(originalMethod, {
831
- name,
832
- addInitializer
833
- }) {
834
- addInitializer(function () {
835
-
836
- this[name] = originalMethod.bind(this);
837
-
838
- });
839
- }
840
-
841
- function requestNextAnimationFrame(callback) {
842
- return requestAnimationFrame(() => {
843
- requestAnimationFrame(callback);
844
- });
845
- }
846
-
847
- class DragEvent extends AbstractEvent {
848
-
849
- constructor(data) {
850
- super(data);
851
- this.data = data;
852
- }
853
-
854
- get source() {
855
- return this.data.source;
856
- }
857
-
858
- get originalSource() {
859
- return this.data.originalSource;
860
- }
861
-
862
- get mirror() {
863
- return this.data.mirror;
864
- }
865
-
866
- get sourceContainer() {
867
- return this.data.sourceContainer;
868
- }
869
-
870
- get sensorEvent() {
871
- return this.data.sensorEvent;
872
- }
873
-
874
- get originalEvent() {
875
- if (this.sensorEvent) {
876
- return this.sensorEvent.originalEvent;
877
- }
878
- return null;
879
- }
880
- }
881
-
882
- DragEvent.type = 'drag';
883
- class DragStartEvent extends DragEvent {}
884
-
885
- DragStartEvent.type = 'drag:start';
886
- DragStartEvent.cancelable = true;
887
- class DragMoveEvent extends DragEvent {}
888
-
889
- DragMoveEvent.type = 'drag:move';
890
-
891
- class DragOverEvent extends DragEvent {
892
-
893
- get overContainer() {
894
- return this.data.overContainer;
895
- }
896
-
897
- get over() {
898
- return this.data.over;
899
- }
900
- }
901
- DragOverEvent.type = 'drag:over';
902
- DragOverEvent.cancelable = true;
903
- function isDragOverEvent(event) {
904
- return event.type === DragOverEvent.type;
905
- }
906
-
907
- class DragOutEvent extends DragEvent {
908
-
909
- get overContainer() {
910
- return this.data.overContainer;
911
- }
912
-
913
- get over() {
914
- return this.data.over;
915
- }
916
- }
917
-
918
- DragOutEvent.type = 'drag:out';
919
-
920
- class DragOverContainerEvent extends DragEvent {
921
-
922
- get overContainer() {
923
- return this.data.overContainer;
924
- }
925
- }
926
-
927
- DragOverContainerEvent.type = 'drag:over:container';
928
-
929
- class DragOutContainerEvent extends DragEvent {
930
-
931
- get overContainer() {
932
- return this.data.overContainer;
933
- }
934
- }
935
-
936
- DragOutContainerEvent.type = 'drag:out:container';
937
-
938
- class DragPressureEvent extends DragEvent {
939
-
940
- get pressure() {
941
- return this.data.pressure;
942
- }
943
- }
944
-
945
- DragPressureEvent.type = 'drag:pressure';
946
- class DragStopEvent extends DragEvent {}
947
-
948
- DragStopEvent.type = 'drag:stop';
949
- DragStopEvent.cancelable = true;
950
- class DragStoppedEvent extends DragEvent {}
951
- DragStoppedEvent.type = 'drag:stopped';
952
-
953
- var _initProto$1, _class$1;
954
-
955
- class ResizeMirror extends AbstractPlugin {
956
-
957
- constructor(draggable) {
958
- _initProto$1(super(draggable));
959
-
960
- this.lastWidth = 0;
961
-
962
- this.lastHeight = 0;
963
-
964
- this.mirror = null;
965
- }
966
-
967
- attach() {
968
- this.draggable.on('mirror:created', this.onMirrorCreated).on('drag:over', this.onDragOver).on('drag:over:container', this.onDragOver);
969
- }
970
-
971
- detach() {
972
- this.draggable.off('mirror:created', this.onMirrorCreated).off('mirror:destroy', this.onMirrorDestroy).off('drag:over', this.onDragOver).off('drag:over:container', this.onDragOver);
973
- }
974
-
975
- getOptions() {
976
- return this.draggable.options.resizeMirror || {};
977
- }
978
-
979
- onMirrorCreated({
980
- mirror
981
- }) {
982
- this.mirror = mirror;
983
- }
984
-
985
- onMirrorDestroy() {
986
- this.mirror = null;
987
- }
988
-
989
- onDragOver(dragEvent) {
990
- this.resize(dragEvent);
991
- }
992
-
993
- resize(dragEvent) {
994
- requestAnimationFrame(() => {
995
- let over = null;
996
- const {
997
- overContainer
998
- } = dragEvent;
999
- if (this.mirror == null || this.mirror.parentNode == null) {
1000
- return;
1001
- }
1002
- if (this.mirror.parentNode !== overContainer) {
1003
- overContainer.appendChild(this.mirror);
1004
- }
1005
- if (isDragOverEvent(dragEvent)) {
1006
- over = dragEvent.over;
1007
- }
1008
- const overElement = over || this.draggable.getDraggableElementsForContainer(overContainer)[0];
1009
- if (!overElement) {
1010
- return;
1011
- }
1012
- requestNextAnimationFrame(() => {
1013
- const overRect = overElement.getBoundingClientRect();
1014
- if (this.mirror == null || this.lastHeight === overRect.height && this.lastWidth === overRect.width) {
1015
- return;
1016
- }
1017
- this.mirror.style.width = `${overRect.width}px`;
1018
- this.mirror.style.height = `${overRect.height}px`;
1019
- this.lastWidth = overRect.width;
1020
- this.lastHeight = overRect.height;
1021
- });
1022
- });
1023
- }
1024
- }
1025
- _class$1 = ResizeMirror;
1026
- [_initProto$1] = _applyDecs2305(_class$1, [[AutoBind, 2, "onMirrorCreated"], [AutoBind, 2, "onMirrorDestroy"], [AutoBind, 2, "onDragOver"]], [], 0, void 0, AbstractPlugin).e;
1027
-
1028
- var _initProto, _class;
1029
-
1030
- const defaultOptions$5 = {
1031
- duration: 150,
1032
- easingFunction: 'ease-in-out',
1033
- horizontal: false
1034
- };
1035
-
1036
- class SwapAnimation extends AbstractPlugin {
1037
-
1038
- constructor(draggable) {
1039
- _initProto(super(draggable));
1040
-
1041
- this.options = {
1042
- ...defaultOptions$5,
1043
- ...this.getOptions()
1044
- };
1045
-
1046
- this.lastAnimationFrame = null;
1047
- }
1048
-
1049
- attach() {
1050
- this.draggable.on('sortable:sorted', this.onSortableSorted);
1051
- }
1052
-
1053
- detach() {
1054
- this.draggable.off('sortable:sorted', this.onSortableSorted);
1055
- }
1056
-
1057
- getOptions() {
1058
- return this.draggable.options.swapAnimation || {};
1059
- }
1060
-
1061
- onSortableSorted({
1062
- oldIndex,
1063
- newIndex,
1064
- dragEvent
1065
- }) {
1066
- const {
1067
- source,
1068
- over
1069
- } = dragEvent;
1070
- if (this.lastAnimationFrame) {
1071
- cancelAnimationFrame(this.lastAnimationFrame);
1072
- }
1073
-
1074
- this.lastAnimationFrame = requestAnimationFrame(() => {
1075
- if (oldIndex >= newIndex) {
1076
- animate(source, over, this.options);
1077
- } else {
1078
- animate(over, source, this.options);
1079
- }
1080
- });
1081
- }
1082
- }
1083
-
1084
- _class = SwapAnimation;
1085
- [_initProto] = _applyDecs2305(_class, [[AutoBind, 2, "onSortableSorted"]], [], 0, void 0, AbstractPlugin).e;
1086
- function animate(from, to, {
1087
- duration,
1088
- easingFunction,
1089
- horizontal
1090
- }) {
1091
- for (const element of [from, to]) {
1092
- element.style.pointerEvents = 'none';
1093
- }
1094
- if (horizontal) {
1095
- const width = from.offsetWidth;
1096
- from.style.transform = `translate3d(${width}px, 0, 0)`;
1097
- to.style.transform = `translate3d(-${width}px, 0, 0)`;
1098
- } else {
1099
- const height = from.offsetHeight;
1100
- from.style.transform = `translate3d(0, ${height}px, 0)`;
1101
- to.style.transform = `translate3d(0, -${height}px, 0)`;
1102
- }
1103
- requestAnimationFrame(() => {
1104
- for (const element of [from, to]) {
1105
- element.addEventListener('transitionend', resetElementOnTransitionEnd);
1106
- element.style.transition = `transform ${duration}ms ${easingFunction}`;
1107
- element.style.transform = '';
1108
- }
1109
- });
1110
- }
1111
-
1112
- function resetElementOnTransitionEnd(event) {
1113
- if (event.target == null || !isHTMLElement(event.target)) {
1114
- return;
1115
- }
1116
- event.target.style.transition = '';
1117
- event.target.style.pointerEvents = '';
1118
- event.target.removeEventListener('transitionend', resetElementOnTransitionEnd);
1119
- }
1120
- function isHTMLElement(eventTarget) {
1121
- return Boolean('style' in eventTarget);
1122
- }
1123
-
1124
- const onInitialize$1 = Symbol('onInitialize');
1125
- const onDestroy$1 = Symbol('onDestroy');
1126
- const announceEvent = Symbol('announceEvent');
1127
- const announceMessage = Symbol('announceMessage');
1128
- const ARIA_RELEVANT = 'aria-relevant';
1129
- const ARIA_ATOMIC = 'aria-atomic';
1130
- const ARIA_LIVE = 'aria-live';
1131
- const ROLE = 'role';
1132
-
1133
- const defaultOptions$4 = {
1134
- expire: 7000
1135
- };
1136
-
1137
- class Announcement extends AbstractPlugin {
1138
-
1139
- constructor(draggable) {
1140
- super(draggable);
1141
-
1142
- this.options = {
1143
- ...defaultOptions$4,
1144
- ...this.getOptions()
1145
- };
1146
-
1147
- this.originalTriggerMethod = this.draggable.trigger;
1148
- this[onInitialize$1] = this[onInitialize$1].bind(this);
1149
- this[onDestroy$1] = this[onDestroy$1].bind(this);
1150
- }
1151
-
1152
- attach() {
1153
- this.draggable.on('draggable:initialize', this[onInitialize$1]);
1154
- }
1155
-
1156
- detach() {
1157
- this.draggable.off('draggable:destroy', this[onDestroy$1]);
1158
- }
1159
-
1160
- getOptions() {
1161
- return this.draggable.options.announcements || {};
1162
- }
1163
-
1164
- [announceEvent](event) {
1165
- const message = this.options[event.type];
1166
- if (message && typeof message === 'string') {
1167
- this[announceMessage](message);
1168
- }
1169
- if (message && typeof message === 'function') {
1170
- this[announceMessage](message(event));
1171
- }
1172
- }
1173
-
1174
- [announceMessage](message) {
1175
- announce(message, {
1176
- expire: this.options.expire
1177
- });
1178
- }
1179
-
1180
- [onInitialize$1]() {
1181
-
1182
- this.draggable.trigger = event => {
1183
- try {
1184
- this[announceEvent](event);
1185
- } finally {
1186
-
1187
- this.originalTriggerMethod.call(this.draggable, event);
1188
- }
1189
- };
1190
- }
1191
-
1192
- [onDestroy$1]() {
1193
- this.draggable.trigger = this.originalTriggerMethod;
1194
- }
1195
- }
1196
-
1197
- const liveRegion = createRegion();
1198
-
1199
- function announce(message, {
1200
- expire
1201
- }) {
1202
- const element = document.createElement('div');
1203
- element.textContent = message;
1204
- liveRegion.appendChild(element);
1205
- return setTimeout(() => {
1206
- liveRegion.removeChild(element);
1207
- }, expire);
1208
- }
1209
-
1210
- function createRegion() {
1211
- const element = document.createElement('div');
1212
- element.setAttribute('id', 'draggable-live-region');
1213
- element.setAttribute(ARIA_RELEVANT, 'additions');
1214
- element.setAttribute(ARIA_ATOMIC, 'true');
1215
- element.setAttribute(ARIA_LIVE, 'assertive');
1216
- element.setAttribute(ROLE, 'log');
1217
- element.style.position = 'fixed';
1218
- element.style.width = '1px';
1219
- element.style.height = '1px';
1220
- element.style.top = '-1px';
1221
- element.style.overflow = 'hidden';
1222
- return element;
1223
- }
1224
-
1225
- document.addEventListener('DOMContentLoaded', () => {
1226
- document.body.appendChild(liveRegion);
1227
- });
1228
-
1229
- const onInitialize = Symbol('onInitialize');
1230
- const onDestroy = Symbol('onDestroy');
1231
-
1232
- const defaultOptions$3 = {};
1233
-
1234
- class Focusable extends AbstractPlugin {
1235
-
1236
- constructor(draggable) {
1237
- super(draggable);
1238
-
1239
- this.options = {
1240
- ...defaultOptions$3,
1241
- ...this.getOptions()
1242
- };
1243
- this[onInitialize] = this[onInitialize].bind(this);
1244
- this[onDestroy] = this[onDestroy].bind(this);
1245
- }
1246
-
1247
- attach() {
1248
- this.draggable.on('draggable:initialize', this[onInitialize]).on('draggable:destroy', this[onDestroy]);
1249
- }
1250
-
1251
- detach() {
1252
- this.draggable.off('draggable:initialize', this[onInitialize]).off('draggable:destroy', this[onDestroy]);
1253
-
1254
- this[onDestroy]();
1255
- }
1256
-
1257
- getOptions() {
1258
- return this.draggable.options.focusable || {};
1259
- }
1260
-
1261
- getElements() {
1262
- return [...this.draggable.containers, ...this.draggable.getDraggableElements()];
1263
- }
1264
-
1265
- [onInitialize]() {
1266
-
1267
- requestAnimationFrame(() => {
1268
- this.getElements().forEach(element => decorateElement(element));
1269
- });
1270
- }
1271
-
1272
- [onDestroy]() {
1273
-
1274
- requestAnimationFrame(() => {
1275
- this.getElements().forEach(element => stripElement(element));
1276
- });
1277
- }
1278
- }
1279
-
1280
- const elementsWithMissingTabIndex = [];
1281
-
1282
- function decorateElement(element) {
1283
- const hasMissingTabIndex = Boolean(!element.getAttribute('tabindex') && element.tabIndex === -1);
1284
- if (hasMissingTabIndex) {
1285
- elementsWithMissingTabIndex.push(element);
1286
- element.tabIndex = 0;
1287
- }
1288
- }
1289
-
1290
- function stripElement(element) {
1291
- const tabIndexElementPosition = elementsWithMissingTabIndex.indexOf(element);
1292
- if (tabIndexElementPosition !== -1) {
1293
- element.tabIndex = -1;
1294
- elementsWithMissingTabIndex.splice(tabIndexElementPosition, 1);
1295
- }
1296
- }
1297
-
1298
- class MirrorEvent extends AbstractEvent {
1299
-
1300
- constructor(data) {
1301
- super(data);
1302
- this.data = data;
1303
- }
1304
-
1305
- get source() {
1306
- return this.data.source;
1307
- }
1308
-
1309
- get originalSource() {
1310
- return this.data.originalSource;
1311
- }
1312
-
1313
- get sourceContainer() {
1314
- return this.data.sourceContainer;
1315
- }
1316
-
1317
- get sensorEvent() {
1318
- return this.data.sensorEvent;
1319
- }
1320
-
1321
- get dragEvent() {
1322
- return this.data.dragEvent;
1323
- }
1324
-
1325
- get originalEvent() {
1326
- if (this.sensorEvent) {
1327
- return this.sensorEvent.originalEvent;
1328
- }
1329
- return null;
1330
- }
1331
- }
1332
-
1333
- class MirrorCreateEvent extends MirrorEvent {}
1334
- MirrorCreateEvent.type = 'mirror:create';
1335
-
1336
- class MirrorCreatedEvent extends MirrorEvent {
1337
-
1338
- get mirror() {
1339
- return this.data.mirror;
1340
- }
1341
- }
1342
- MirrorCreatedEvent.type = 'mirror:created';
1343
-
1344
- class MirrorAttachedEvent extends MirrorEvent {
1345
-
1346
- get mirror() {
1347
- return this.data.mirror;
1348
- }
1349
- }
1350
- MirrorAttachedEvent.type = 'mirror:attached';
1351
-
1352
- class MirrorMoveEvent extends MirrorEvent {
1353
-
1354
- get mirror() {
1355
- return this.data.mirror;
1356
- }
1357
-
1358
- get passedThreshX() {
1359
- return this.data.passedThreshX;
1360
- }
1361
-
1362
- get passedThreshY() {
1363
- return this.data.passedThreshY;
1364
- }
1365
- }
1366
- MirrorMoveEvent.type = 'mirror:move';
1367
- MirrorMoveEvent.cancelable = true;
1368
-
1369
- class MirrorMovedEvent extends MirrorEvent {
1370
-
1371
- get mirror() {
1372
- return this.data.mirror;
1373
- }
1374
-
1375
- get passedThreshX() {
1376
- return this.data.passedThreshX;
1377
- }
1378
-
1379
- get passedThreshY() {
1380
- return this.data.passedThreshY;
1381
- }
1382
- }
1383
- MirrorMovedEvent.type = 'mirror:moved';
1384
-
1385
- class MirrorDestroyEvent extends MirrorEvent {
1386
-
1387
- get mirror() {
1388
- return this.data.mirror;
1389
- }
1390
- }
1391
- MirrorDestroyEvent.type = 'mirror:destroy';
1392
- MirrorDestroyEvent.cancelable = true;
1393
-
1394
- const onDragStart$3 = Symbol('onDragStart');
1395
- const onDragMove$2 = Symbol('onDragMove');
1396
- const onDragStop$3 = Symbol('onDragStop');
1397
- const onMirrorCreated = Symbol('onMirrorCreated');
1398
- const onMirrorMove = Symbol('onMirrorMove');
1399
- const onScroll = Symbol('onScroll');
1400
- const getAppendableContainer = Symbol('getAppendableContainer');
1401
-
1402
- const defaultOptions$2 = {
1403
- constrainDimensions: false,
1404
- xAxis: true,
1405
- yAxis: true,
1406
- cursorOffsetX: null,
1407
- cursorOffsetY: null,
1408
- thresholdX: null,
1409
- thresholdY: null
1410
- };
1411
-
1412
- class Mirror extends AbstractPlugin {
1413
-
1414
- constructor(draggable) {
1415
- super(draggable);
1416
-
1417
- this.options = {
1418
- ...defaultOptions$2,
1419
- ...this.getOptions()
1420
- };
1421
-
1422
- this.scrollOffset = {
1423
- x: 0,
1424
- y: 0
1425
- };
1426
-
1427
- this.initialScrollOffset = {
1428
- x: window.scrollX,
1429
- y: window.scrollY
1430
- };
1431
- this[onDragStart$3] = this[onDragStart$3].bind(this);
1432
- this[onDragMove$2] = this[onDragMove$2].bind(this);
1433
- this[onDragStop$3] = this[onDragStop$3].bind(this);
1434
- this[onMirrorCreated] = this[onMirrorCreated].bind(this);
1435
- this[onMirrorMove] = this[onMirrorMove].bind(this);
1436
- this[onScroll] = this[onScroll].bind(this);
1437
- }
1438
-
1439
- attach() {
1440
- this.draggable.on('drag:start', this[onDragStart$3]).on('drag:move', this[onDragMove$2]).on('drag:stop', this[onDragStop$3]).on('mirror:created', this[onMirrorCreated]).on('mirror:move', this[onMirrorMove]);
1441
- }
1442
-
1443
- detach() {
1444
- this.draggable.off('drag:start', this[onDragStart$3]).off('drag:move', this[onDragMove$2]).off('drag:stop', this[onDragStop$3]).off('mirror:created', this[onMirrorCreated]).off('mirror:move', this[onMirrorMove]);
1445
- }
1446
-
1447
- getOptions() {
1448
- return this.draggable.options.mirror || {};
1449
- }
1450
- [onDragStart$3](dragEvent) {
1451
- if (dragEvent.canceled()) {
1452
- return;
1453
- }
1454
- if ('ontouchstart' in window) {
1455
- document.addEventListener('scroll', this[onScroll], true);
1456
- }
1457
- this.initialScrollOffset = {
1458
- x: window.scrollX,
1459
- y: window.scrollY
1460
- };
1461
- const {
1462
- source,
1463
- originalSource,
1464
- sourceContainer,
1465
- sensorEvent
1466
- } = dragEvent;
1467
-
1468
- this.lastMirrorMovedClient = {
1469
- x: sensorEvent.clientX,
1470
- y: sensorEvent.clientY
1471
- };
1472
- const mirrorCreateEvent = new MirrorCreateEvent({
1473
- source,
1474
- originalSource,
1475
- sourceContainer,
1476
- sensorEvent,
1477
- dragEvent
1478
- });
1479
- this.draggable.trigger(mirrorCreateEvent);
1480
- if (isNativeDragEvent(sensorEvent) || mirrorCreateEvent.canceled()) {
1481
- return;
1482
- }
1483
- const appendableContainer = this[getAppendableContainer](source) || sourceContainer;
1484
- this.mirror = source.cloneNode(true);
1485
- const mirrorCreatedEvent = new MirrorCreatedEvent({
1486
- source,
1487
- originalSource,
1488
- sourceContainer,
1489
- sensorEvent,
1490
- dragEvent,
1491
- mirror: this.mirror
1492
- });
1493
- const mirrorAttachedEvent = new MirrorAttachedEvent({
1494
- source,
1495
- originalSource,
1496
- sourceContainer,
1497
- sensorEvent,
1498
- dragEvent,
1499
- mirror: this.mirror
1500
- });
1501
- this.draggable.trigger(mirrorCreatedEvent);
1502
- appendableContainer.appendChild(this.mirror);
1503
- this.draggable.trigger(mirrorAttachedEvent);
1504
- }
1505
- [onDragMove$2](dragEvent) {
1506
- if (!this.mirror || dragEvent.canceled()) {
1507
- return;
1508
- }
1509
- const {
1510
- source,
1511
- originalSource,
1512
- sourceContainer,
1513
- sensorEvent
1514
- } = dragEvent;
1515
- let passedThreshX = true;
1516
- let passedThreshY = true;
1517
- if (this.options.thresholdX || this.options.thresholdY) {
1518
- const {
1519
- x: lastX,
1520
- y: lastY
1521
- } = this.lastMirrorMovedClient;
1522
- if (Math.abs(lastX - sensorEvent.clientX) < this.options.thresholdX) {
1523
- passedThreshX = false;
1524
- } else {
1525
- this.lastMirrorMovedClient.x = sensorEvent.clientX;
1526
- }
1527
- if (Math.abs(lastY - sensorEvent.clientY) < this.options.thresholdY) {
1528
- passedThreshY = false;
1529
- } else {
1530
- this.lastMirrorMovedClient.y = sensorEvent.clientY;
1531
- }
1532
- if (!passedThreshX && !passedThreshY) {
1533
- return;
1534
- }
1535
- }
1536
- const mirrorMoveEvent = new MirrorMoveEvent({
1537
- source,
1538
- originalSource,
1539
- sourceContainer,
1540
- sensorEvent,
1541
- dragEvent,
1542
- mirror: this.mirror,
1543
- passedThreshX,
1544
- passedThreshY
1545
- });
1546
- this.draggable.trigger(mirrorMoveEvent);
1547
- }
1548
- [onDragStop$3](dragEvent) {
1549
- if ('ontouchstart' in window) {
1550
- document.removeEventListener('scroll', this[onScroll], true);
1551
- }
1552
- this.initialScrollOffset = {
1553
- x: 0,
1554
- y: 0
1555
- };
1556
- this.scrollOffset = {
1557
- x: 0,
1558
- y: 0
1559
- };
1560
- if (!this.mirror) {
1561
- return;
1562
- }
1563
- const {
1564
- source,
1565
- sourceContainer,
1566
- sensorEvent
1567
- } = dragEvent;
1568
- const mirrorDestroyEvent = new MirrorDestroyEvent({
1569
- source,
1570
- mirror: this.mirror,
1571
- sourceContainer,
1572
- sensorEvent,
1573
- dragEvent
1574
- });
1575
- this.draggable.trigger(mirrorDestroyEvent);
1576
- if (!mirrorDestroyEvent.canceled()) {
1577
- this.mirror.remove();
1578
- }
1579
- }
1580
- [onScroll]() {
1581
- this.scrollOffset = {
1582
- x: window.scrollX - this.initialScrollOffset.x,
1583
- y: window.scrollY - this.initialScrollOffset.y
1584
- };
1585
- }
1586
-
1587
- [onMirrorCreated]({
1588
- mirror,
1589
- source,
1590
- sensorEvent
1591
- }) {
1592
- const mirrorClasses = this.draggable.getClassNamesFor('mirror');
1593
- const setState = ({
1594
- mirrorOffset,
1595
- initialX,
1596
- initialY,
1597
- ...args
1598
- }) => {
1599
- this.mirrorOffset = mirrorOffset;
1600
- this.initialX = initialX;
1601
- this.initialY = initialY;
1602
- this.lastMovedX = initialX;
1603
- this.lastMovedY = initialY;
1604
- return {
1605
- mirrorOffset,
1606
- initialX,
1607
- initialY,
1608
- ...args
1609
- };
1610
- };
1611
- mirror.style.display = 'none';
1612
- const initialState = {
1613
- mirror,
1614
- source,
1615
- sensorEvent,
1616
- mirrorClasses,
1617
- scrollOffset: this.scrollOffset,
1618
- options: this.options,
1619
- passedThreshX: true,
1620
- passedThreshY: true
1621
- };
1622
- return Promise.resolve(initialState)
1623
-
1624
- .then(computeMirrorDimensions).then(calculateMirrorOffset).then(resetMirror).then(addMirrorClasses).then(positionMirror({
1625
- initial: true
1626
- })).then(removeMirrorID).then(setState);
1627
- }
1628
-
1629
- [onMirrorMove](mirrorEvent) {
1630
- if (mirrorEvent.canceled()) {
1631
- return null;
1632
- }
1633
- const setState = ({
1634
- lastMovedX,
1635
- lastMovedY,
1636
- ...args
1637
- }) => {
1638
- this.lastMovedX = lastMovedX;
1639
- this.lastMovedY = lastMovedY;
1640
- return {
1641
- lastMovedX,
1642
- lastMovedY,
1643
- ...args
1644
- };
1645
- };
1646
- const triggerMoved = args => {
1647
- const mirrorMovedEvent = new MirrorMovedEvent({
1648
- source: mirrorEvent.source,
1649
- originalSource: mirrorEvent.originalSource,
1650
- sourceContainer: mirrorEvent.sourceContainer,
1651
- sensorEvent: mirrorEvent.sensorEvent,
1652
- dragEvent: mirrorEvent.dragEvent,
1653
- mirror: this.mirror,
1654
- passedThreshX: mirrorEvent.passedThreshX,
1655
- passedThreshY: mirrorEvent.passedThreshY
1656
- });
1657
- this.draggable.trigger(mirrorMovedEvent);
1658
- return args;
1659
- };
1660
- const initialState = {
1661
- mirror: mirrorEvent.mirror,
1662
- sensorEvent: mirrorEvent.sensorEvent,
1663
- mirrorOffset: this.mirrorOffset,
1664
- options: this.options,
1665
- initialX: this.initialX,
1666
- initialY: this.initialY,
1667
- scrollOffset: this.scrollOffset,
1668
- passedThreshX: mirrorEvent.passedThreshX,
1669
- passedThreshY: mirrorEvent.passedThreshY,
1670
- lastMovedX: this.lastMovedX,
1671
- lastMovedY: this.lastMovedY
1672
- };
1673
- return Promise.resolve(initialState).then(positionMirror({
1674
- raf: true
1675
- })).then(setState).then(triggerMoved);
1676
- }
1677
-
1678
- [getAppendableContainer](source) {
1679
- const appendTo = this.options.appendTo;
1680
- if (typeof appendTo === 'string') {
1681
- return document.querySelector(appendTo);
1682
- } else if (appendTo instanceof HTMLElement) {
1683
- return appendTo;
1684
- } else if (typeof appendTo === 'function') {
1685
- return appendTo(source);
1686
- } else {
1687
- return source.parentNode;
1688
- }
1689
- }
1690
- }
1691
-
1692
- function computeMirrorDimensions({
1693
- source,
1694
- ...args
1695
- }) {
1696
- return withPromise(resolve => {
1697
- const sourceRect = source.getBoundingClientRect();
1698
- resolve({
1699
- source,
1700
- sourceRect,
1701
- ...args
1702
- });
1703
- });
1704
- }
1705
-
1706
- function calculateMirrorOffset({
1707
- sensorEvent,
1708
- sourceRect,
1709
- options,
1710
- ...args
1711
- }) {
1712
- return withPromise(resolve => {
1713
- const top = options.cursorOffsetY === null ? sensorEvent.clientY - sourceRect.top : options.cursorOffsetY;
1714
- const left = options.cursorOffsetX === null ? sensorEvent.clientX - sourceRect.left : options.cursorOffsetX;
1715
- const mirrorOffset = {
1716
- top,
1717
- left
1718
- };
1719
- resolve({
1720
- sensorEvent,
1721
- sourceRect,
1722
- mirrorOffset,
1723
- options,
1724
- ...args
1725
- });
1726
- });
1727
- }
1728
-
1729
- function resetMirror({
1730
- mirror,
1731
- source,
1732
- options,
1733
- ...args
1734
- }) {
1735
- return withPromise(resolve => {
1736
- let offsetHeight;
1737
- let offsetWidth;
1738
- if (options.constrainDimensions) {
1739
- const computedSourceStyles = getComputedStyle(source);
1740
- offsetHeight = computedSourceStyles.getPropertyValue('height');
1741
- offsetWidth = computedSourceStyles.getPropertyValue('width');
1742
- }
1743
- mirror.style.display = null;
1744
- mirror.style.position = 'fixed';
1745
- mirror.style.pointerEvents = 'none';
1746
- mirror.style.top = 0;
1747
- mirror.style.left = 0;
1748
- mirror.style.margin = 0;
1749
- if (options.constrainDimensions) {
1750
- mirror.style.height = offsetHeight;
1751
- mirror.style.width = offsetWidth;
1752
- }
1753
- resolve({
1754
- mirror,
1755
- source,
1756
- options,
1757
- ...args
1758
- });
1759
- });
1760
- }
1761
-
1762
- function addMirrorClasses({
1763
- mirror,
1764
- mirrorClasses,
1765
- ...args
1766
- }) {
1767
- return withPromise(resolve => {
1768
- mirror.classList.add(...mirrorClasses);
1769
- resolve({
1770
- mirror,
1771
- mirrorClasses,
1772
- ...args
1773
- });
1774
- });
1775
- }
1776
-
1777
- function removeMirrorID({
1778
- mirror,
1779
- ...args
1780
- }) {
1781
- return withPromise(resolve => {
1782
- mirror.removeAttribute('id');
1783
- delete mirror.id;
1784
- resolve({
1785
- mirror,
1786
- ...args
1787
- });
1788
- });
1789
- }
1790
-
1791
- function positionMirror({
1792
- withFrame = false,
1793
- initial = false
1794
- } = {}) {
1795
- return ({
1796
- mirror,
1797
- sensorEvent,
1798
- mirrorOffset,
1799
- initialY,
1800
- initialX,
1801
- scrollOffset,
1802
- options,
1803
- passedThreshX,
1804
- passedThreshY,
1805
- lastMovedX,
1806
- lastMovedY,
1807
- ...args
1808
- }) => {
1809
- return withPromise(resolve => {
1810
- const result = {
1811
- mirror,
1812
- sensorEvent,
1813
- mirrorOffset,
1814
- options,
1815
- ...args
1816
- };
1817
- if (mirrorOffset) {
1818
- const x = passedThreshX ? Math.round((sensorEvent.clientX - mirrorOffset.left - scrollOffset.x) / (options.thresholdX || 1)) * (options.thresholdX || 1) : Math.round(lastMovedX);
1819
- const y = passedThreshY ? Math.round((sensorEvent.clientY - mirrorOffset.top - scrollOffset.y) / (options.thresholdY || 1)) * (options.thresholdY || 1) : Math.round(lastMovedY);
1820
- if (options.xAxis && options.yAxis || initial) {
1821
- mirror.style.transform = `translate3d(${x}px, ${y}px, 0)`;
1822
- } else if (options.xAxis && !options.yAxis) {
1823
- mirror.style.transform = `translate3d(${x}px, ${initialY}px, 0)`;
1824
- } else if (options.yAxis && !options.xAxis) {
1825
- mirror.style.transform = `translate3d(${initialX}px, ${y}px, 0)`;
1826
- }
1827
- if (initial) {
1828
- result.initialX = x;
1829
- result.initialY = y;
1830
- }
1831
- result.lastMovedX = x;
1832
- result.lastMovedY = y;
1833
- }
1834
- resolve(result);
1835
- }, {
1836
- frame: withFrame
1837
- });
1838
- };
1839
- }
1840
-
1841
- function withPromise(callback, {
1842
- raf = false
1843
- } = {}) {
1844
- return new Promise((resolve, reject) => {
1845
- if (raf) {
1846
- requestAnimationFrame(() => {
1847
- callback(resolve, reject);
1848
- });
1849
- } else {
1850
- callback(resolve, reject);
1851
- }
1852
- });
1853
- }
1854
-
1855
- function isNativeDragEvent(sensorEvent) {
1856
- return /^drag/.test(sensorEvent.originalEvent.type);
1857
- }
1858
-
1859
- const onDragStart$2 = Symbol('onDragStart');
1860
- const onDragMove$1 = Symbol('onDragMove');
1861
- const onDragStop$2 = Symbol('onDragStop');
1862
- const scroll = Symbol('scroll');
1863
-
1864
- const defaultOptions$1 = {
1865
- speed: 6,
1866
- sensitivity: 50,
1867
- scrollableElements: []
1868
- };
1869
-
1870
- class Scrollable extends AbstractPlugin {
1871
-
1872
- constructor(draggable) {
1873
- super(draggable);
1874
-
1875
- this.options = {
1876
- ...defaultOptions$1,
1877
- ...this.getOptions()
1878
- };
1879
-
1880
- this.currentMousePosition = null;
1881
-
1882
- this.scrollAnimationFrame = null;
1883
-
1884
- this.scrollableElement = null;
1885
-
1886
- this.findScrollableElementFrame = null;
1887
- this[onDragStart$2] = this[onDragStart$2].bind(this);
1888
- this[onDragMove$1] = this[onDragMove$1].bind(this);
1889
- this[onDragStop$2] = this[onDragStop$2].bind(this);
1890
- this[scroll] = this[scroll].bind(this);
1891
- }
1892
-
1893
- attach() {
1894
- this.draggable.on('drag:start', this[onDragStart$2]).on('drag:move', this[onDragMove$1]).on('drag:stop', this[onDragStop$2]);
1895
- }
1896
-
1897
- detach() {
1898
- this.draggable.off('drag:start', this[onDragStart$2]).off('drag:move', this[onDragMove$1]).off('drag:stop', this[onDragStop$2]);
1899
- }
1900
-
1901
- getOptions() {
1902
- return this.draggable.options.scrollable || {};
1903
- }
1904
-
1905
- getScrollableElement(target) {
1906
- if (this.hasDefinedScrollableElements()) {
1907
- return closest(target, this.options.scrollableElements) || document.documentElement;
1908
- } else {
1909
- return closestScrollableElement(target);
1910
- }
1911
- }
1912
-
1913
- hasDefinedScrollableElements() {
1914
- return Boolean(this.options.scrollableElements.length !== 0);
1915
- }
1916
-
1917
- [onDragStart$2](dragEvent) {
1918
- this.findScrollableElementFrame = requestAnimationFrame(() => {
1919
- this.scrollableElement = this.getScrollableElement(dragEvent.source);
1920
- });
1921
- }
1922
-
1923
- [onDragMove$1](dragEvent) {
1924
- this.findScrollableElementFrame = requestAnimationFrame(() => {
1925
- this.scrollableElement = this.getScrollableElement(dragEvent.sensorEvent.target);
1926
- });
1927
- if (!this.scrollableElement) {
1928
- return;
1929
- }
1930
- const sensorEvent = dragEvent.sensorEvent;
1931
- const scrollOffset = {
1932
- x: 0,
1933
- y: 0
1934
- };
1935
- if ('ontouchstart' in window) {
1936
- scrollOffset.y = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;
1937
- scrollOffset.x = window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0;
1938
- }
1939
- this.currentMousePosition = {
1940
- clientX: sensorEvent.clientX - scrollOffset.x,
1941
- clientY: sensorEvent.clientY - scrollOffset.y
1942
- };
1943
- this.scrollAnimationFrame = requestAnimationFrame(this[scroll]);
1944
- }
1945
-
1946
- [onDragStop$2]() {
1947
- cancelAnimationFrame(this.scrollAnimationFrame);
1948
- cancelAnimationFrame(this.findScrollableElementFrame);
1949
- this.scrollableElement = null;
1950
- this.scrollAnimationFrame = null;
1951
- this.findScrollableElementFrame = null;
1952
- this.currentMousePosition = null;
1953
- }
1954
-
1955
- [scroll]() {
1956
- if (!this.scrollableElement || !this.currentMousePosition) {
1957
- return;
1958
- }
1959
- cancelAnimationFrame(this.scrollAnimationFrame);
1960
- const {
1961
- speed,
1962
- sensitivity
1963
- } = this.options;
1964
- const rect = this.scrollableElement.getBoundingClientRect();
1965
- const bottomCutOff = rect.bottom > window.innerHeight;
1966
- const topCutOff = rect.top < 0;
1967
- const cutOff = topCutOff || bottomCutOff;
1968
- const documentScrollingElement = getDocumentScrollingElement();
1969
- const scrollableElement = this.scrollableElement;
1970
- const clientX = this.currentMousePosition.clientX;
1971
- const clientY = this.currentMousePosition.clientY;
1972
- if (scrollableElement !== document.body && scrollableElement !== document.documentElement && !cutOff) {
1973
- const {
1974
- offsetHeight,
1975
- offsetWidth
1976
- } = scrollableElement;
1977
- if (rect.top + offsetHeight - clientY < sensitivity) {
1978
- scrollableElement.scrollTop += speed;
1979
- } else if (clientY - rect.top < sensitivity) {
1980
- scrollableElement.scrollTop -= speed;
1981
- }
1982
- if (rect.left + offsetWidth - clientX < sensitivity) {
1983
- scrollableElement.scrollLeft += speed;
1984
- } else if (clientX - rect.left < sensitivity) {
1985
- scrollableElement.scrollLeft -= speed;
1986
- }
1987
- } else {
1988
- const {
1989
- innerHeight,
1990
- innerWidth
1991
- } = window;
1992
- if (clientY < sensitivity) {
1993
- documentScrollingElement.scrollTop -= speed;
1994
- } else if (innerHeight - clientY < sensitivity) {
1995
- documentScrollingElement.scrollTop += speed;
1996
- }
1997
- if (clientX < sensitivity) {
1998
- documentScrollingElement.scrollLeft -= speed;
1999
- } else if (innerWidth - clientX < sensitivity) {
2000
- documentScrollingElement.scrollLeft += speed;
2001
- }
2002
- }
2003
- this.scrollAnimationFrame = requestAnimationFrame(this[scroll]);
2004
- }
2005
- }
2006
-
2007
- function hasOverflow(element) {
2008
- const overflowRegex = /(auto|scroll)/;
2009
- const computedStyles = getComputedStyle(element, null);
2010
- const overflow = computedStyles.getPropertyValue('overflow') + computedStyles.getPropertyValue('overflow-y') + computedStyles.getPropertyValue('overflow-x');
2011
- return overflowRegex.test(overflow);
2012
- }
2013
-
2014
- function isStaticallyPositioned(element) {
2015
- const position = getComputedStyle(element).getPropertyValue('position');
2016
- return position === 'static';
2017
- }
2018
-
2019
- function closestScrollableElement(element) {
2020
- if (!element) {
2021
- return getDocumentScrollingElement();
2022
- }
2023
- const position = getComputedStyle(element).getPropertyValue('position');
2024
- const excludeStaticParents = position === 'absolute';
2025
- const scrollableElement = closest(element, parent => {
2026
- if (excludeStaticParents && isStaticallyPositioned(parent)) {
2027
- return false;
2028
- }
2029
- return hasOverflow(parent);
2030
- });
2031
- if (position === 'fixed' || !scrollableElement) {
2032
- return getDocumentScrollingElement();
2033
- } else {
2034
- return scrollableElement;
2035
- }
2036
- }
2037
-
2038
- function getDocumentScrollingElement() {
2039
- return document.scrollingElement || document.documentElement;
2040
- }
2041
-
2042
- class Emitter {
2043
- constructor() {
2044
- this.callbacks = {};
2045
- }
2046
-
2047
- on(type, ...callbacks) {
2048
- if (!this.callbacks[type]) {
2049
- this.callbacks[type] = [];
2050
- }
2051
- this.callbacks[type].push(...callbacks);
2052
- return this;
2053
- }
2054
-
2055
- off(type, callback) {
2056
- if (!this.callbacks[type]) {
2057
- return null;
2058
- }
2059
- const copy = this.callbacks[type].slice(0);
2060
- for (let i = 0; i < copy.length; i++) {
2061
- if (callback === copy[i]) {
2062
- this.callbacks[type].splice(i, 1);
2063
- }
2064
- }
2065
- return this;
2066
- }
2067
-
2068
- trigger(event) {
2069
- if (!this.callbacks[event.type]) {
2070
- return null;
2071
- }
2072
- const callbacks = [...this.callbacks[event.type]];
2073
- const caughtErrors = [];
2074
- for (let i = callbacks.length - 1; i >= 0; i--) {
2075
- const callback = callbacks[i];
2076
- try {
2077
- callback(event);
2078
- } catch (error) {
2079
- caughtErrors.push(error);
2080
- }
2081
- }
2082
- if (caughtErrors.length) {
2083
-
2084
- console.error(`Draggable caught errors while triggering '${event.type}'`, caughtErrors);
2085
-
2086
- }
2087
-
2088
- return this;
2089
- }
2090
- }
2091
-
2092
- class DraggableEvent extends AbstractEvent {
2093
-
2094
- get draggable() {
2095
- return this.data.draggable;
2096
- }
2097
- }
2098
-
2099
- DraggableEvent.type = 'draggable';
2100
- class DraggableInitializedEvent extends DraggableEvent {}
2101
-
2102
- DraggableInitializedEvent.type = 'draggable:initialize';
2103
- class DraggableDestroyEvent extends DraggableEvent {}
2104
- DraggableDestroyEvent.type = 'draggable:destroy';
2105
-
2106
- const onDragStart$1 = Symbol('onDragStart');
2107
- const onDragMove = Symbol('onDragMove');
2108
- const onDragStop$1 = Symbol('onDragStop');
2109
- const onDragPressure = Symbol('onDragPressure');
2110
- const dragStop = Symbol('dragStop');
2111
-
2112
- const defaultAnnouncements$1 = {
2113
- 'drag:start': event => `Picked up ${event.source.textContent.trim() || event.source.id || 'draggable element'}`,
2114
- 'drag:stop': event => `Released ${event.source.textContent.trim() || event.source.id || 'draggable element'}`
2115
- };
2116
- const defaultClasses = {
2117
- 'container:dragging': 'draggable-container--is-dragging',
2118
- 'source:dragging': 'draggable-source--is-dragging',
2119
- 'source:placed': 'draggable-source--placed',
2120
- 'container:placed': 'draggable-container--placed',
2121
- 'body:dragging': 'draggable--is-dragging',
2122
- 'draggable:over': 'draggable--over',
2123
- 'container:over': 'draggable-container--over',
2124
- 'source:original': 'draggable--original',
2125
- mirror: 'draggable-mirror'
2126
- };
2127
- const defaultOptions = {
2128
- draggable: '.draggable-source',
2129
- handle: null,
2130
- delay: {},
2131
- distance: 0,
2132
- placedTimeout: 800,
2133
- plugins: [],
2134
- sensors: [],
2135
- exclude: {
2136
- plugins: [],
2137
- sensors: []
2138
- }
2139
- };
2140
-
2141
- class Draggable {
2142
-
2143
- constructor(containers = [document.body], options = {}) {
2144
-
2145
- if (containers instanceof NodeList || containers instanceof Array) {
2146
- this.containers = [...containers];
2147
- } else if (containers instanceof HTMLElement) {
2148
- this.containers = [containers];
2149
- } else {
2150
- throw new Error('Draggable containers are expected to be of type `NodeList`, `HTMLElement[]` or `HTMLElement`');
2151
- }
2152
- this.options = {
2153
- ...defaultOptions,
2154
- ...options,
2155
- classes: {
2156
- ...defaultClasses,
2157
- ...(options.classes || {})
2158
- },
2159
- announcements: {
2160
- ...defaultAnnouncements$1,
2161
- ...(options.announcements || {})
2162
- },
2163
- exclude: {
2164
- plugins: options.exclude && options.exclude.plugins || [],
2165
- sensors: options.exclude && options.exclude.sensors || []
2166
- }
2167
- };
2168
-
2169
- this.emitter = new Emitter();
2170
-
2171
- this.dragging = false;
2172
-
2173
- this.plugins = [];
2174
-
2175
- this.sensors = [];
2176
- this[onDragStart$1] = this[onDragStart$1].bind(this);
2177
- this[onDragMove] = this[onDragMove].bind(this);
2178
- this[onDragStop$1] = this[onDragStop$1].bind(this);
2179
- this[onDragPressure] = this[onDragPressure].bind(this);
2180
- this[dragStop] = this[dragStop].bind(this);
2181
- document.addEventListener('drag:start', this[onDragStart$1], true);
2182
- document.addEventListener('drag:move', this[onDragMove], true);
2183
- document.addEventListener('drag:stop', this[onDragStop$1], true);
2184
- document.addEventListener('drag:pressure', this[onDragPressure], true);
2185
- const defaultPlugins = Object.values(Draggable.Plugins).filter(Plugin => !this.options.exclude.plugins.includes(Plugin));
2186
- const defaultSensors = Object.values(Draggable.Sensors).filter(sensor => !this.options.exclude.sensors.includes(sensor));
2187
- this.addPlugin(...[...defaultPlugins, ...this.options.plugins]);
2188
- this.addSensor(...[...defaultSensors, ...this.options.sensors]);
2189
- const draggableInitializedEvent = new DraggableInitializedEvent({
2190
- draggable: this
2191
- });
2192
- this.on('mirror:created', ({
2193
- mirror
2194
- }) => this.mirror = mirror);
2195
- this.on('mirror:destroy', () => this.mirror = null);
2196
- this.trigger(draggableInitializedEvent);
2197
- }
2198
-
2199
- destroy() {
2200
- document.removeEventListener('drag:start', this[onDragStart$1], true);
2201
- document.removeEventListener('drag:move', this[onDragMove], true);
2202
- document.removeEventListener('drag:stop', this[onDragStop$1], true);
2203
- document.removeEventListener('drag:pressure', this[onDragPressure], true);
2204
- const draggableDestroyEvent = new DraggableDestroyEvent({
2205
- draggable: this
2206
- });
2207
- this.trigger(draggableDestroyEvent);
2208
- this.removePlugin(...this.plugins.map(plugin => plugin.constructor));
2209
- this.removeSensor(...this.sensors.map(sensor => sensor.constructor));
2210
- }
2211
-
2212
- addPlugin(...plugins) {
2213
- const activePlugins = plugins.map(Plugin => new Plugin(this));
2214
- activePlugins.forEach(plugin => plugin.attach());
2215
- this.plugins = [...this.plugins, ...activePlugins];
2216
- return this;
2217
- }
2218
-
2219
- removePlugin(...plugins) {
2220
- const removedPlugins = this.plugins.filter(plugin => plugins.includes(plugin.constructor));
2221
- removedPlugins.forEach(plugin => plugin.detach());
2222
- this.plugins = this.plugins.filter(plugin => !plugins.includes(plugin.constructor));
2223
- return this;
2224
- }
2225
-
2226
- addSensor(...sensors) {
2227
- const activeSensors = sensors.map(Sensor => new Sensor(this.containers, this.options));
2228
- activeSensors.forEach(sensor => sensor.attach());
2229
- this.sensors = [...this.sensors, ...activeSensors];
2230
- return this;
2231
- }
2232
-
2233
- removeSensor(...sensors) {
2234
- const removedSensors = this.sensors.filter(sensor => sensors.includes(sensor.constructor));
2235
- removedSensors.forEach(sensor => sensor.detach());
2236
- this.sensors = this.sensors.filter(sensor => !sensors.includes(sensor.constructor));
2237
- return this;
2238
- }
2239
-
2240
- addContainer(...containers) {
2241
- this.containers = [...this.containers, ...containers];
2242
- this.sensors.forEach(sensor => sensor.addContainer(...containers));
2243
- return this;
2244
- }
2245
-
2246
- removeContainer(...containers) {
2247
- this.containers = this.containers.filter(container => !containers.includes(container));
2248
- this.sensors.forEach(sensor => sensor.removeContainer(...containers));
2249
- return this;
2250
- }
2251
-
2252
- on(type, ...callbacks) {
2253
- this.emitter.on(type, ...callbacks);
2254
- return this;
2255
- }
2256
-
2257
- off(type, callback) {
2258
- this.emitter.off(type, callback);
2259
- return this;
2260
- }
2261
-
2262
- trigger(event) {
2263
- this.emitter.trigger(event);
2264
- return this;
2265
- }
2266
-
2267
- getClassNameFor(name) {
2268
- return this.getClassNamesFor(name)[0];
2269
- }
2270
-
2271
- getClassNamesFor(name) {
2272
- const classNames = this.options.classes[name];
2273
- if (classNames instanceof Array) {
2274
- return classNames;
2275
- } else if (typeof classNames === 'string' || classNames instanceof String) {
2276
- return [classNames];
2277
- } else {
2278
- return [];
2279
- }
2280
- }
2281
-
2282
- isDragging() {
2283
- return Boolean(this.dragging);
2284
- }
2285
-
2286
- getDraggableElements() {
2287
- return this.containers.reduce((current, container) => {
2288
- return [...current, ...this.getDraggableElementsForContainer(container)];
2289
- }, []);
2290
- }
2291
-
2292
- getDraggableElementsForContainer(container) {
2293
- const allDraggableElements = container.querySelectorAll(this.options.draggable);
2294
- return [...allDraggableElements].filter(childElement => {
2295
- return childElement !== this.originalSource && childElement !== this.mirror;
2296
- });
2297
- }
2298
-
2299
- cancel() {
2300
- this[dragStop]();
2301
- }
2302
-
2303
- [onDragStart$1](event) {
2304
- const sensorEvent = getSensorEvent(event);
2305
- const {
2306
- target,
2307
- container,
2308
- originalSource
2309
- } = sensorEvent;
2310
- if (!this.containers.includes(container)) {
2311
- return;
2312
- }
2313
- if (this.options.handle && target && !closest(target, this.options.handle)) {
2314
- sensorEvent.cancel();
2315
- return;
2316
- }
2317
- this.originalSource = originalSource;
2318
- this.sourceContainer = container;
2319
- if (this.lastPlacedSource && this.lastPlacedContainer) {
2320
- clearTimeout(this.placedTimeoutID);
2321
- this.lastPlacedSource.classList.remove(...this.getClassNamesFor('source:placed'));
2322
- this.lastPlacedContainer.classList.remove(...this.getClassNamesFor('container:placed'));
2323
- }
2324
- this.source = this.originalSource.cloneNode(true);
2325
- this.originalSource.parentNode.insertBefore(this.source, this.originalSource);
2326
- this.originalSource.style.display = 'none';
2327
- const dragStartEvent = new DragStartEvent({
2328
- source: this.source,
2329
- originalSource: this.originalSource,
2330
- sourceContainer: container,
2331
- sensorEvent
2332
- });
2333
- this.trigger(dragStartEvent);
2334
- this.dragging = !dragStartEvent.canceled();
2335
- if (dragStartEvent.canceled()) {
2336
- this.source.remove();
2337
- this.originalSource.style.display = null;
2338
- return;
2339
- }
2340
- this.originalSource.classList.add(...this.getClassNamesFor('source:original'));
2341
- this.source.classList.add(...this.getClassNamesFor('source:dragging'));
2342
- this.sourceContainer.classList.add(...this.getClassNamesFor('container:dragging'));
2343
- document.body.classList.add(...this.getClassNamesFor('body:dragging'));
2344
- applyUserSelect(document.body, 'none');
2345
- requestAnimationFrame(() => {
2346
- const oldSensorEvent = getSensorEvent(event);
2347
- const newSensorEvent = oldSensorEvent.clone({
2348
- target: this.source
2349
- });
2350
- this[onDragMove]({
2351
- ...event,
2352
- detail: newSensorEvent
2353
- });
2354
- });
2355
- }
2356
-
2357
- [onDragMove](event) {
2358
- if (!this.dragging) {
2359
- return;
2360
- }
2361
- const sensorEvent = getSensorEvent(event);
2362
- const {
2363
- container
2364
- } = sensorEvent;
2365
- let target = sensorEvent.target;
2366
- const dragMoveEvent = new DragMoveEvent({
2367
- source: this.source,
2368
- originalSource: this.originalSource,
2369
- sourceContainer: container,
2370
- sensorEvent
2371
- });
2372
- this.trigger(dragMoveEvent);
2373
- if (dragMoveEvent.canceled()) {
2374
- sensorEvent.cancel();
2375
- }
2376
- target = closest(target, this.options.draggable);
2377
- const withinCorrectContainer = closest(sensorEvent.target, this.containers);
2378
- const overContainer = sensorEvent.overContainer || withinCorrectContainer;
2379
- const isLeavingContainer = this.currentOverContainer && overContainer !== this.currentOverContainer;
2380
- const isLeavingDraggable = this.currentOver && target !== this.currentOver;
2381
- const isOverContainer = overContainer && this.currentOverContainer !== overContainer;
2382
- const isOverDraggable = withinCorrectContainer && target && this.currentOver !== target;
2383
- if (isLeavingDraggable) {
2384
- const dragOutEvent = new DragOutEvent({
2385
- source: this.source,
2386
- originalSource: this.originalSource,
2387
- sourceContainer: container,
2388
- sensorEvent,
2389
- over: this.currentOver,
2390
- overContainer: this.currentOverContainer
2391
- });
2392
- this.currentOver.classList.remove(...this.getClassNamesFor('draggable:over'));
2393
- this.currentOver = null;
2394
- this.trigger(dragOutEvent);
2395
- }
2396
- if (isLeavingContainer) {
2397
- const dragOutContainerEvent = new DragOutContainerEvent({
2398
- source: this.source,
2399
- originalSource: this.originalSource,
2400
- sourceContainer: container,
2401
- sensorEvent,
2402
- overContainer: this.currentOverContainer
2403
- });
2404
- this.currentOverContainer.classList.remove(...this.getClassNamesFor('container:over'));
2405
- this.currentOverContainer = null;
2406
- this.trigger(dragOutContainerEvent);
2407
- }
2408
- if (isOverContainer) {
2409
- overContainer.classList.add(...this.getClassNamesFor('container:over'));
2410
- const dragOverContainerEvent = new DragOverContainerEvent({
2411
- source: this.source,
2412
- originalSource: this.originalSource,
2413
- sourceContainer: container,
2414
- sensorEvent,
2415
- overContainer
2416
- });
2417
- this.currentOverContainer = overContainer;
2418
- this.trigger(dragOverContainerEvent);
2419
- }
2420
- if (isOverDraggable) {
2421
- target.classList.add(...this.getClassNamesFor('draggable:over'));
2422
- const dragOverEvent = new DragOverEvent({
2423
- source: this.source,
2424
- originalSource: this.originalSource,
2425
- sourceContainer: container,
2426
- sensorEvent,
2427
- overContainer,
2428
- over: target
2429
- });
2430
- this.currentOver = target;
2431
- this.trigger(dragOverEvent);
2432
- }
2433
- }
2434
-
2435
- [dragStop](event) {
2436
- if (!this.dragging) {
2437
- return;
2438
- }
2439
- this.dragging = false;
2440
- const dragStopEvent = new DragStopEvent({
2441
- source: this.source,
2442
- originalSource: this.originalSource,
2443
- sensorEvent: event ? event.sensorEvent : null,
2444
- sourceContainer: this.sourceContainer
2445
- });
2446
- this.trigger(dragStopEvent);
2447
- if (!dragStopEvent.canceled()) this.source.parentNode.insertBefore(this.originalSource, this.source);
2448
- this.source.remove();
2449
- this.originalSource.style.display = '';
2450
- this.source.classList.remove(...this.getClassNamesFor('source:dragging'));
2451
- this.originalSource.classList.remove(...this.getClassNamesFor('source:original'));
2452
- this.originalSource.classList.add(...this.getClassNamesFor('source:placed'));
2453
- this.sourceContainer.classList.add(...this.getClassNamesFor('container:placed'));
2454
- this.sourceContainer.classList.remove(...this.getClassNamesFor('container:dragging'));
2455
- document.body.classList.remove(...this.getClassNamesFor('body:dragging'));
2456
- applyUserSelect(document.body, '');
2457
- if (this.currentOver) {
2458
- this.currentOver.classList.remove(...this.getClassNamesFor('draggable:over'));
2459
- }
2460
- if (this.currentOverContainer) {
2461
- this.currentOverContainer.classList.remove(...this.getClassNamesFor('container:over'));
2462
- }
2463
- this.lastPlacedSource = this.originalSource;
2464
- this.lastPlacedContainer = this.sourceContainer;
2465
- this.placedTimeoutID = setTimeout(() => {
2466
- if (this.lastPlacedSource) {
2467
- this.lastPlacedSource.classList.remove(...this.getClassNamesFor('source:placed'));
2468
- }
2469
- if (this.lastPlacedContainer) {
2470
- this.lastPlacedContainer.classList.remove(...this.getClassNamesFor('container:placed'));
2471
- }
2472
- this.lastPlacedSource = null;
2473
- this.lastPlacedContainer = null;
2474
- }, this.options.placedTimeout);
2475
- const dragStoppedEvent = new DragStoppedEvent({
2476
- source: this.source,
2477
- originalSource: this.originalSource,
2478
- sensorEvent: event ? event.sensorEvent : null,
2479
- sourceContainer: this.sourceContainer
2480
- });
2481
- this.trigger(dragStoppedEvent);
2482
- this.source = null;
2483
- this.originalSource = null;
2484
- this.currentOverContainer = null;
2485
- this.currentOver = null;
2486
- this.sourceContainer = null;
2487
- }
2488
-
2489
- [onDragStop$1](event) {
2490
- this[dragStop](event);
2491
- }
2492
-
2493
- [onDragPressure](event) {
2494
- if (!this.dragging) {
2495
- return;
2496
- }
2497
- const sensorEvent = getSensorEvent(event);
2498
- const source = this.source || closest(sensorEvent.originalEvent.target, this.options.draggable);
2499
- const dragPressureEvent = new DragPressureEvent({
2500
- sensorEvent,
2501
- source,
2502
- pressure: sensorEvent.pressure
2503
- });
2504
- this.trigger(dragPressureEvent);
2505
- }
2506
- }
2507
-
2508
- Draggable.Plugins = {
2509
- Announcement,
2510
- Focusable,
2511
- Mirror,
2512
- Scrollable
2513
- };
2514
-
2515
- Draggable.Sensors = {
2516
- MouseSensor,
2517
- TouchSensor
2518
- };
2519
- function getSensorEvent(event) {
2520
- return event.detail;
2521
- }
2522
- function applyUserSelect(element, value) {
2523
- element.style.webkitUserSelect = value;
2524
- element.style.mozUserSelect = value;
2525
- element.style.msUserSelect = value;
2526
- element.style.oUserSelect = value;
2527
- element.style.userSelect = value;
2528
- }
2529
-
2530
- class SortableEvent extends AbstractEvent {
2531
-
2532
- constructor(data) {
2533
- super(data);
2534
- this.data = data;
2535
- }
2536
-
2537
- get dragEvent() {
2538
- return this.data.dragEvent;
2539
- }
2540
- }
2541
- SortableEvent.type = 'sortable';
2542
-
2543
- class SortableStartEvent extends SortableEvent {
2544
-
2545
- get startIndex() {
2546
- return this.data.startIndex;
2547
- }
2548
-
2549
- get startContainer() {
2550
- return this.data.startContainer;
2551
- }
2552
- }
2553
- SortableStartEvent.type = 'sortable:start';
2554
- SortableStartEvent.cancelable = true;
2555
-
2556
- class SortableSortEvent extends SortableEvent {
2557
-
2558
- get currentIndex() {
2559
- return this.data.currentIndex;
2560
- }
2561
-
2562
- get over() {
2563
- return this.data.over;
2564
- }
2565
-
2566
- get overContainer() {
2567
- return this.data.dragEvent.overContainer;
2568
- }
2569
- }
2570
- SortableSortEvent.type = 'sortable:sort';
2571
- SortableSortEvent.cancelable = true;
2572
-
2573
- class SortableSortedEvent extends SortableEvent {
2574
-
2575
- get oldIndex() {
2576
- return this.data.oldIndex;
2577
- }
2578
-
2579
- get newIndex() {
2580
- return this.data.newIndex;
2581
- }
2582
-
2583
- get oldContainer() {
2584
- return this.data.oldContainer;
2585
- }
2586
-
2587
- get newContainer() {
2588
- return this.data.newContainer;
2589
- }
2590
- }
2591
- SortableSortedEvent.type = 'sortable:sorted';
2592
-
2593
- class SortableStopEvent extends SortableEvent {
2594
-
2595
- get oldIndex() {
2596
- return this.data.oldIndex;
2597
- }
2598
-
2599
- get newIndex() {
2600
- return this.data.newIndex;
2601
- }
2602
-
2603
- get oldContainer() {
2604
- return this.data.oldContainer;
2605
- }
2606
-
2607
- get newContainer() {
2608
- return this.data.newContainer;
2609
- }
2610
- }
2611
- SortableStopEvent.type = 'sortable:stop';
2612
-
2613
- const onDragStart = Symbol('onDragStart');
2614
- const onDragOverContainer = Symbol('onDragOverContainer');
2615
- const onDragOver = Symbol('onDragOver');
2616
- const onDragStop = Symbol('onDragStop');
2617
-
2618
- function onSortableSortedDefaultAnnouncement({
2619
- dragEvent
2620
- }) {
2621
- const sourceText = dragEvent.source.textContent.trim() || dragEvent.source.id || 'sortable element';
2622
- if (dragEvent.over) {
2623
- const overText = dragEvent.over.textContent.trim() || dragEvent.over.id || 'sortable element';
2624
- const isFollowing = dragEvent.source.compareDocumentPosition(dragEvent.over) & Node.DOCUMENT_POSITION_FOLLOWING;
2625
- if (isFollowing) {
2626
- return `Placed ${sourceText} after ${overText}`;
2627
- } else {
2628
- return `Placed ${sourceText} before ${overText}`;
2629
- }
2630
- } else {
2631
-
2632
- return `Placed ${sourceText} into a different container`;
2633
- }
2634
- }
2635
-
2636
- const defaultAnnouncements = {
2637
- 'sortable:sorted': onSortableSortedDefaultAnnouncement
2638
- };
2639
-
2640
- class Sortable extends Draggable {
2641
-
2642
- constructor(containers = [], options = {}) {
2643
- super(containers, {
2644
- ...options,
2645
- announcements: {
2646
- ...defaultAnnouncements,
2647
- ...(options.announcements || {})
2648
- }
2649
- });
2650
-
2651
- this.startIndex = null;
2652
-
2653
- this.startContainer = null;
2654
- this[onDragStart] = this[onDragStart].bind(this);
2655
- this[onDragOverContainer] = this[onDragOverContainer].bind(this);
2656
- this[onDragOver] = this[onDragOver].bind(this);
2657
- this[onDragStop] = this[onDragStop].bind(this);
2658
- this.on('drag:start', this[onDragStart]).on('drag:over:container', this[onDragOverContainer]).on('drag:over', this[onDragOver]).on('drag:stop', this[onDragStop]);
2659
- }
2660
-
2661
- destroy() {
2662
- super.destroy();
2663
- this.off('drag:start', this[onDragStart]).off('drag:over:container', this[onDragOverContainer]).off('drag:over', this[onDragOver]).off('drag:stop', this[onDragStop]);
2664
- }
2665
-
2666
- index(element) {
2667
- return this.getSortableElementsForContainer(element.parentNode).indexOf(element);
2668
- }
2669
-
2670
- getSortableElementsForContainer(container) {
2671
- const allSortableElements = container.querySelectorAll(this.options.draggable);
2672
- return [...allSortableElements].filter(childElement => {
2673
- return childElement !== this.originalSource && childElement !== this.mirror && childElement.parentNode === container;
2674
- });
2675
- }
2676
-
2677
- [onDragStart](event) {
2678
- this.startContainer = event.source.parentNode;
2679
- this.startIndex = this.index(event.source);
2680
- const sortableStartEvent = new SortableStartEvent({
2681
- dragEvent: event,
2682
- startIndex: this.startIndex,
2683
- startContainer: this.startContainer
2684
- });
2685
- this.trigger(sortableStartEvent);
2686
- if (sortableStartEvent.canceled()) {
2687
- event.cancel();
2688
- }
2689
- }
2690
-
2691
- [onDragOverContainer](event) {
2692
- if (event.canceled()) {
2693
- return;
2694
- }
2695
- const {
2696
- source,
2697
- over,
2698
- overContainer
2699
- } = event;
2700
- const oldIndex = this.index(source);
2701
- const sortableSortEvent = new SortableSortEvent({
2702
- dragEvent: event,
2703
- currentIndex: oldIndex,
2704
- source,
2705
- over
2706
- });
2707
- this.trigger(sortableSortEvent);
2708
- if (sortableSortEvent.canceled()) {
2709
- return;
2710
- }
2711
- const children = this.getSortableElementsForContainer(overContainer);
2712
- const moves = move({
2713
- source,
2714
- over,
2715
- overContainer,
2716
- children
2717
- });
2718
- if (!moves) {
2719
- return;
2720
- }
2721
- const {
2722
- oldContainer,
2723
- newContainer
2724
- } = moves;
2725
- const newIndex = this.index(event.source);
2726
- const sortableSortedEvent = new SortableSortedEvent({
2727
- dragEvent: event,
2728
- oldIndex,
2729
- newIndex,
2730
- oldContainer,
2731
- newContainer
2732
- });
2733
- this.trigger(sortableSortedEvent);
2734
- }
2735
-
2736
- [onDragOver](event) {
2737
- if (event.over === event.originalSource || event.over === event.source) {
2738
- return;
2739
- }
2740
- const {
2741
- source,
2742
- over,
2743
- overContainer
2744
- } = event;
2745
- const oldIndex = this.index(source);
2746
- const sortableSortEvent = new SortableSortEvent({
2747
- dragEvent: event,
2748
- currentIndex: oldIndex,
2749
- source,
2750
- over
2751
- });
2752
- this.trigger(sortableSortEvent);
2753
- if (sortableSortEvent.canceled()) {
2754
- return;
2755
- }
2756
- const children = this.getDraggableElementsForContainer(overContainer);
2757
- const moves = move({
2758
- source,
2759
- over,
2760
- overContainer,
2761
- children
2762
- });
2763
- if (!moves) {
2764
- return;
2765
- }
2766
- const {
2767
- oldContainer,
2768
- newContainer
2769
- } = moves;
2770
- const newIndex = this.index(source);
2771
- const sortableSortedEvent = new SortableSortedEvent({
2772
- dragEvent: event,
2773
- oldIndex,
2774
- newIndex,
2775
- oldContainer,
2776
- newContainer
2777
- });
2778
- this.trigger(sortableSortedEvent);
2779
- }
2780
-
2781
- [onDragStop](event) {
2782
- const sortableStopEvent = new SortableStopEvent({
2783
- dragEvent: event,
2784
- oldIndex: this.startIndex,
2785
- newIndex: this.index(event.source),
2786
- oldContainer: this.startContainer,
2787
- newContainer: event.source.parentNode
2788
- });
2789
- this.trigger(sortableStopEvent);
2790
- this.startIndex = null;
2791
- this.startContainer = null;
2792
- }
2793
- }
2794
- function index(element) {
2795
- return Array.prototype.indexOf.call(element.parentNode.children, element);
2796
- }
2797
- function move({
2798
- source,
2799
- over,
2800
- overContainer,
2801
- children
2802
- }) {
2803
- const emptyOverContainer = !children.length;
2804
- const differentContainer = source.parentNode !== overContainer;
2805
- const sameContainer = over && source.parentNode === over.parentNode;
2806
- if (emptyOverContainer) {
2807
- return moveInsideEmptyContainer(source, overContainer);
2808
- } else if (sameContainer) {
2809
- return moveWithinContainer(source, over);
2810
- } else if (differentContainer) {
2811
- return moveOutsideContainer(source, over, overContainer);
2812
- } else {
2813
- return null;
2814
- }
2815
- }
2816
- function moveInsideEmptyContainer(source, overContainer) {
2817
- const oldContainer = source.parentNode;
2818
- overContainer.appendChild(source);
2819
- return {
2820
- oldContainer,
2821
- newContainer: overContainer
2822
- };
2823
- }
2824
- function moveWithinContainer(source, over) {
2825
- const oldIndex = index(source);
2826
- const newIndex = index(over);
2827
- if (oldIndex < newIndex) {
2828
- source.parentNode.insertBefore(source, over.nextElementSibling);
2829
- } else {
2830
- source.parentNode.insertBefore(source, over);
2831
- }
2832
- return {
2833
- oldContainer: source.parentNode,
2834
- newContainer: source.parentNode
2835
- };
2836
- }
2837
- function moveOutsideContainer(source, over, overContainer) {
2838
- const oldContainer = source.parentNode;
2839
- if (over) {
2840
- over.parentNode.insertBefore(source, over);
2841
- } else {
2842
-
2843
- overContainer.appendChild(source);
2844
- }
2845
- return {
2846
- oldContainer,
2847
- newContainer: source.parentNode
2848
- };
2849
- }
2850
-
2851
- export { Sortable as S };