@limetech/lime-crm-building-blocks 1.116.0 → 1.116.2

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 (480) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/{_Map-60aae0ed.js → _Map-BlpAtLvq.js} +12 -24
  3. package/dist/cjs/{_MapCache-8b125fbb.js → _MapCache-De1Fwe0H.js} +5 -7
  4. package/dist/cjs/{_Uint8Array-95263550.js → _Uint8Array-C_lvn5HO.js} +6 -14
  5. package/dist/cjs/{_baseIsEqual-f2d60d3e.js → _baseIsEqual-BtwicGmu.js} +4 -4
  6. package/dist/cjs/{_defineProperty-40a6ad5d.js → _defineProperty-eImBwVFM.js} +2 -4
  7. package/dist/cjs/{_getTag-8809c5c6.js → _getTag-CdUodI28.js} +18 -39
  8. package/dist/cjs/{get-932b213e.js → get-BRGtX379.js} +6 -14
  9. package/dist/cjs/{index-519b904a.js → index-C_OnxXhP.js} +541 -322
  10. package/dist/cjs/index.esm-DhBVH875.js +838 -0
  11. package/dist/cjs/{isSymbol-5b36aeee.js → isSymbol-D8S28StA.js} +1 -1
  12. package/dist/cjs/lime-crm-building-blocks.cjs.js +7 -7
  13. package/dist/cjs/{lime-query-validation-c118b96d.js → lime-query-validation-CWlZPm8m.js} +8 -8
  14. package/dist/cjs/limebb-alert-dialog.cjs.entry.js +5 -8
  15. package/dist/cjs/limebb-browser.cjs.entry.js +11 -14
  16. package/dist/cjs/limebb-chat-icon-list_3.cjs.entry.js +15 -20
  17. package/dist/cjs/limebb-chat-list.cjs.entry.js +11 -12
  18. package/dist/cjs/limebb-component-config.cjs.entry.js +17 -16
  19. package/dist/cjs/limebb-component-picker.cjs.entry.js +9 -12
  20. package/dist/cjs/limebb-composer-toolbar.cjs.entry.js +9 -12
  21. package/dist/cjs/limebb-currency-picker.cjs.entry.js +1907 -1790
  22. package/dist/cjs/limebb-dashboard-widget.cjs.entry.js +4 -7
  23. package/dist/cjs/limebb-data-cells.cjs.entry.js +5 -8
  24. package/dist/cjs/limebb-date-picker.cjs.entry.js +7 -9
  25. package/dist/cjs/limebb-date-range.cjs.entry.js +6 -9
  26. package/dist/cjs/limebb-document-chips.cjs.entry.js +10 -11
  27. package/dist/cjs/limebb-document-item.cjs.entry.js +6 -9
  28. package/dist/cjs/limebb-document-picker.cjs.entry.js +6 -9
  29. package/dist/cjs/limebb-empty-state.cjs.entry.js +3 -6
  30. package/dist/cjs/limebb-feed-item-thumbnail-file-info.cjs.entry.js +4 -7
  31. package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +8 -11
  32. package/dist/cjs/limebb-feed.cjs.entry.js +430 -168
  33. package/dist/cjs/limebb-icon-picker.cjs.entry.js +4 -6
  34. package/dist/cjs/limebb-info-tile-currency-format.cjs.entry.js +2 -4
  35. package/dist/cjs/limebb-info-tile-date-format.cjs.entry.js +4 -7
  36. package/dist/cjs/limebb-info-tile-decimal-format.cjs.entry.js +2 -4
  37. package/dist/cjs/limebb-info-tile-format.cjs.entry.js +5 -8
  38. package/dist/cjs/limebb-info-tile-relative-date-format.cjs.entry.js +2 -4
  39. package/dist/cjs/limebb-info-tile-unit-format.cjs.entry.js +2 -4
  40. package/dist/cjs/limebb-info-tile.cjs.entry.js +27 -24
  41. package/dist/cjs/limebb-kanban-group.cjs.entry.js +8 -11
  42. package/dist/cjs/limebb-kanban-item.cjs.entry.js +8 -11
  43. package/dist/cjs/limebb-kanban.cjs.entry.js +5 -8
  44. package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +9 -12
  45. package/dist/cjs/limebb-lime-query-filter-builder_3.cjs.entry.js +27 -29
  46. package/dist/cjs/limebb-lime-query-filter-comparison_2.cjs.entry.js +26 -30
  47. package/dist/cjs/limebb-lime-query-filter-group_3.cjs.entry.js +25 -30
  48. package/dist/cjs/limebb-lime-query-order-by-item.cjs.entry.js +6 -9
  49. package/dist/cjs/limebb-lime-query-response-format-builder.cjs.entry.js +9 -12
  50. package/dist/cjs/limebb-lime-query-response-format-editor_2.cjs.entry.js +8 -12
  51. package/dist/cjs/limebb-limeobject-file-viewer.cjs.entry.js +9 -12
  52. package/dist/cjs/limebb-live-docs-info.cjs.entry.js +5 -8
  53. package/dist/cjs/limebb-loader.cjs.entry.js +12 -10
  54. package/dist/cjs/limebb-locale-picker.cjs.entry.js +29 -49
  55. package/dist/cjs/limebb-mention-group-counter.cjs.entry.js +5 -8
  56. package/dist/cjs/limebb-mention.cjs.entry.js +6 -9
  57. package/dist/cjs/limebb-navigation-button_2.cjs.entry.js +10 -14
  58. package/dist/cjs/limebb-notification-item.cjs.entry.js +9 -12
  59. package/dist/cjs/limebb-notification-list.cjs.entry.js +10 -11
  60. package/dist/cjs/limebb-object-chip.cjs.entry.js +16 -15
  61. package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +9 -10
  62. package/dist/cjs/limebb-property-selector.cjs.entry.js +9 -12
  63. package/dist/cjs/limebb-text-editor-picker.cjs.entry.js +9 -10
  64. package/dist/cjs/limebb-text-editor.cjs.entry.js +53 -307
  65. package/dist/cjs/limebb-trend-indicator.cjs.entry.js +8 -9
  66. package/dist/cjs/{limetype-3c1c53b6.js → limetype-6tkuY6nm.js} +2 -2
  67. package/dist/cjs/loader.cjs.js +3 -5
  68. package/dist/collection/collection-manifest.json +3 -2
  69. package/dist/collection/components/alert-dialog/alert-dialog.css +133 -1
  70. package/dist/collection/components/alert-dialog/alert-dialog.js +11 -10
  71. package/dist/collection/components/browser/browser.js +14 -9
  72. package/dist/collection/components/chat-list/chat-icon-list/chat-icon-list.css +9 -11
  73. package/dist/collection/components/chat-list/chat-icon-list/chat-icon-list.js +3 -2
  74. package/dist/collection/components/chat-list/chat-item/chat-item.css +9 -0
  75. package/dist/collection/components/chat-list/chat-item/chat-item.js +11 -8
  76. package/dist/collection/components/chat-list/chat-list.css +9 -0
  77. package/dist/collection/components/chat-list/chat-list.js +15 -12
  78. package/dist/collection/components/chat-list/typing-indicator/typing-indicator.js +1 -1
  79. package/dist/collection/components/component-command-picker/component-config/component-config.js +23 -19
  80. package/dist/collection/components/component-command-picker/component-picker/component-picker.js +21 -18
  81. package/dist/collection/components/composer-toolbar/composer-toolbar.js +14 -10
  82. package/dist/collection/components/currency-picker/currency-picker.js +15 -13
  83. package/dist/collection/components/dashboard-widget/dashboard-widget.js +11 -10
  84. package/dist/collection/components/data-cells/data-cells.css +9 -0
  85. package/dist/collection/components/data-cells/data-cells.js +8 -5
  86. package/dist/collection/components/date-picker/date-picker.js +20 -17
  87. package/dist/collection/components/date-range/date-range.js +19 -15
  88. package/dist/collection/components/document-chips/document-chips.js +5 -4
  89. package/dist/collection/components/document-picker/document-item/document-item.js +13 -8
  90. package/dist/collection/components/document-picker/document-picker.css +9 -0
  91. package/dist/collection/components/document-picker/document-picker.js +18 -13
  92. package/dist/collection/components/empty-state/empty-state.js +6 -5
  93. package/dist/collection/components/feed/feed-item/feed-timeline-item.css +41 -11
  94. package/dist/collection/components/feed/feed-item/feed-timeline-item.js +12 -9
  95. package/dist/collection/components/feed/feed-item-thumbnail-file-info/feed-item-thumbnail-file-info.css +9 -0
  96. package/dist/collection/components/feed/feed-item-thumbnail-file-info/feed-item-thumbnail-file-info.js +3 -3
  97. package/dist/collection/components/feed/feed.js +21 -18
  98. package/dist/collection/components/icon-picker/icon-picker.js +15 -15
  99. package/dist/collection/components/info-tile/format/config/info-tile-currency-format.js +8 -4
  100. package/dist/collection/components/info-tile/format/config/info-tile-date-format.js +4 -2
  101. package/dist/collection/components/info-tile/format/config/info-tile-decimal-format.js +4 -2
  102. package/dist/collection/components/info-tile/format/config/info-tile-format.js +11 -7
  103. package/dist/collection/components/info-tile/format/config/info-tile-relative-date-format.js +4 -2
  104. package/dist/collection/components/info-tile/format/config/info-tile-unit-format.js +4 -2
  105. package/dist/collection/components/info-tile/info-tile.js +29 -23
  106. package/dist/collection/components/kanban/kanban-group/kanban-group.css +25 -9
  107. package/dist/collection/components/kanban/kanban-group/kanban-group.js +19 -16
  108. package/dist/collection/components/kanban/kanban-item/kanban-item.css +9 -0
  109. package/dist/collection/components/kanban/kanban-item/kanban-item.js +9 -5
  110. package/dist/collection/components/kanban/kanban.js +10 -5
  111. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-builder.js +12 -8
  112. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.js +11 -9
  113. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-expression.css +9 -0
  114. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-expression.js +14 -10
  115. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.css +9 -0
  116. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.js +14 -10
  117. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.css +9 -0
  118. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.js +15 -11
  119. package/dist/collection/components/lime-query-builder/expressions/lime-query-value-input.js +17 -14
  120. package/dist/collection/components/lime-query-builder/lime-query-builder.js +13 -9
  121. package/dist/collection/components/lime-query-builder/lime-query-response-format-builder.js +13 -9
  122. package/dist/collection/components/lime-query-builder/limetype-field/limetype-field.js +22 -19
  123. package/dist/collection/components/lime-query-builder/order-by/order-by-editor.js +12 -8
  124. package/dist/collection/components/lime-query-builder/order-by/order-by-item.js +12 -8
  125. package/dist/collection/components/lime-query-builder/property-selector/property-selector.js +12 -10
  126. package/dist/collection/components/lime-query-builder/response-format/response-format-editor.js +11 -7
  127. package/dist/collection/components/lime-query-builder/response-format/response-format-item.css +17 -1
  128. package/dist/collection/components/lime-query-builder/response-format/response-format-item.js +11 -7
  129. package/dist/collection/components/limeobject/file-viewer/file-viewer.js +8 -5
  130. package/dist/collection/components/limeobject/file-viewer/live-docs-info.js +2 -2
  131. package/dist/collection/components/loader/loader.js +4 -2
  132. package/dist/collection/components/locale-picker/locale-picker.js +23 -19
  133. package/dist/collection/components/mention/mention.js +4 -4
  134. package/dist/collection/components/navigation-button/navigation-button.css +24 -1
  135. package/dist/collection/components/navigation-button/navigation-button.js +10 -9
  136. package/dist/collection/components/notification-list/notification-item/notification-item.css +9 -0
  137. package/dist/collection/components/notification-list/notification-item/notification-item.js +9 -5
  138. package/dist/collection/components/notification-list/notification-list.css +9 -0
  139. package/dist/collection/components/notification-list/notification-list.js +12 -8
  140. package/dist/collection/components/object-chip/object-chip.js +7 -6
  141. package/dist/collection/components/percentage-visualizer/percentage-visualizer.css +9 -0
  142. package/dist/collection/components/percentage-visualizer/percentage-visualizer.js +21 -19
  143. package/dist/collection/components/summary-popover/summary-popover.js +28 -21
  144. package/dist/collection/components/text-editor/mention-group-counter.js +8 -7
  145. package/dist/collection/components/text-editor/text-editor-picker.js +10 -7
  146. package/dist/collection/components/text-editor/text-editor.js +37 -29
  147. package/dist/collection/components/trend-indicator/trend-indicator.css +9 -0
  148. package/dist/collection/components/trend-indicator/trend-indicator.js +19 -17
  149. package/dist/components/_Map.js +1 -342
  150. package/dist/components/_MapCache.js +1 -433
  151. package/dist/components/_Uint8Array.js +1 -349
  152. package/dist/components/_baseIsEqual.js +1 -494
  153. package/dist/components/_defineProperty.js +1 -13
  154. package/dist/components/_getTag.js +1 -421
  155. package/dist/components/chat-icon-list.js +1 -55
  156. package/dist/components/chat-item.js +1 -184
  157. package/dist/components/currency-picker.js +1 -1917
  158. package/dist/components/date-picker.js +1 -151
  159. package/dist/components/document-item.js +1 -212
  160. package/dist/components/dom.js +1 -26
  161. package/dist/components/empty-state.js +1 -61
  162. package/dist/components/extension-mapping.js +1 -55
  163. package/dist/components/feed-item-thumbnail-file-info.js +1 -33
  164. package/dist/components/feed-timeline-item.js +1 -453
  165. package/dist/components/get.js +1 -308
  166. package/dist/components/highlight-item.handler.js +1 -36
  167. package/dist/components/index.d.ts +2 -0
  168. package/dist/components/index.esm.js +1 -963
  169. package/dist/components/index.js +1 -1
  170. package/dist/components/isSymbol.js +1 -28
  171. package/dist/components/kanban-group.js +1 -148
  172. package/dist/components/kanban-item.js +1 -182
  173. package/dist/components/keycodes.js +1 -7
  174. package/dist/components/lime-query-filter-builder.js +1 -132
  175. package/dist/components/lime-query-filter-comparison.js +1 -180
  176. package/dist/components/lime-query-filter-expression.js +1 -420
  177. package/dist/components/lime-query-validation.js +1 -617
  178. package/dist/components/lime-query-value-input.js +1 -387
  179. package/dist/components/limebb-alert-dialog.js +1 -71
  180. package/dist/components/limebb-browser.js +1 -116
  181. package/dist/components/limebb-chat-icon-list.js +1 -6
  182. package/dist/components/limebb-chat-item.js +1 -6
  183. package/dist/components/limebb-chat-list.js +1 -302
  184. package/dist/components/limebb-component-config.js +1 -176
  185. package/dist/components/limebb-component-picker.js +1 -180
  186. package/dist/components/limebb-composer-toolbar.js +1 -136
  187. package/dist/components/limebb-currency-picker.js +1 -6
  188. package/dist/components/limebb-dashboard-widget.js +1 -48
  189. package/dist/components/limebb-data-cells.js +1 -169
  190. package/dist/components/limebb-date-picker.js +1 -6
  191. package/dist/components/limebb-date-range.js +1 -83
  192. package/dist/components/limebb-document-chips.js +1 -437
  193. package/dist/components/limebb-document-item.js +1 -6
  194. package/dist/components/limebb-document-picker.js +1 -111
  195. package/dist/components/limebb-empty-state.js +1 -6
  196. package/dist/components/limebb-feed-item-thumbnail-file-info.js +1 -6
  197. package/dist/components/limebb-feed-timeline-item.js +1 -6
  198. package/dist/components/limebb-feed.js +1 -398
  199. package/dist/components/limebb-icon-picker.js +1 -53026
  200. package/dist/components/limebb-info-tile-currency-format.js +1 -116
  201. package/dist/components/limebb-info-tile-date-format.js +1 -272
  202. package/dist/components/limebb-info-tile-decimal-format.js +1 -95
  203. package/dist/components/limebb-info-tile-format.js +1 -144
  204. package/dist/components/limebb-info-tile-relative-date-format.js +1 -72
  205. package/dist/components/limebb-info-tile-unit-format.js +1 -183
  206. package/dist/components/limebb-info-tile.js +1 -626
  207. package/dist/components/limebb-kanban-group.js +1 -6
  208. package/dist/components/limebb-kanban-item.js +1 -6
  209. package/dist/components/limebb-kanban.js +1 -79
  210. package/dist/components/limebb-lime-query-builder.js +1 -424
  211. package/dist/components/limebb-lime-query-filter-builder.js +1 -6
  212. package/dist/components/limebb-lime-query-filter-comparison.js +1 -6
  213. package/dist/components/limebb-lime-query-filter-expression.js +1 -6
  214. package/dist/components/limebb-lime-query-filter-group.js +1 -6
  215. package/dist/components/limebb-lime-query-filter-not.js +1 -6
  216. package/dist/components/limebb-lime-query-order-by-editor.js +1 -6
  217. package/dist/components/limebb-lime-query-order-by-item.js +1 -6
  218. package/dist/components/limebb-lime-query-response-format-builder.js +1 -310
  219. package/dist/components/limebb-lime-query-response-format-editor.js +1 -6
  220. package/dist/components/limebb-lime-query-response-format-item.js +1 -6
  221. package/dist/components/limebb-lime-query-value-input.js +1 -6
  222. package/dist/components/limebb-limeobject-file-viewer.js +1 -175
  223. package/dist/components/limebb-limetype-field.js +1 -6
  224. package/dist/components/limebb-live-docs-info.js +1 -6
  225. package/dist/components/limebb-loader.js +1 -78
  226. package/dist/components/limebb-locale-picker.js +1 -1165
  227. package/dist/components/limebb-mention-group-counter.js +1 -48
  228. package/dist/components/limebb-mention.js +1 -79
  229. package/dist/components/limebb-navigation-button.js +1 -6
  230. package/dist/components/limebb-notification-item.js +1 -6
  231. package/dist/components/limebb-notification-list.js +1 -253
  232. package/dist/components/limebb-object-chip.js +1 -253
  233. package/dist/components/limebb-percentage-visualizer.js +1 -6
  234. package/dist/components/limebb-property-selector.js +1 -6
  235. package/dist/components/limebb-summary-popover.js +1 -6
  236. package/dist/components/limebb-text-editor-picker.js +1 -6
  237. package/dist/components/limebb-text-editor.js +1 -1902
  238. package/dist/components/limebb-trend-indicator.js +1 -175
  239. package/dist/components/limebb-typing-indicator.js +1 -6
  240. package/dist/components/limetype-field.js +1 -216
  241. package/dist/components/limetype.js +1 -85
  242. package/dist/components/live-docs-info.js +1 -34
  243. package/dist/components/navigation-button.js +1 -74
  244. package/dist/components/negate.js +1 -40
  245. package/dist/components/non-null.js +1 -10
  246. package/dist/components/notification-item.js +1 -168
  247. package/dist/components/order-by-editor.js +1 -139
  248. package/dist/components/order-by-item.js +1 -73
  249. package/dist/components/percentage-class.js +1 -64
  250. package/dist/components/percentage-visualizer.js +1 -219
  251. package/dist/components/property-selector.js +1 -372
  252. package/dist/components/random-string.js +1 -22
  253. package/dist/components/response-format-editor.js +1 -331
  254. package/dist/components/response-format-item.js +1 -126
  255. package/dist/components/summary-popover.js +1 -159
  256. package/dist/components/text-editor-picker.js +1 -128
  257. package/dist/components/typing-indicator.js +1 -31
  258. package/dist/esm/{_Map-aede53b6.js → _Map-ByjZfyP_.js} +8 -20
  259. package/dist/esm/{_MapCache-af496e9d.js → _MapCache-C_kVhYUl.js} +5 -7
  260. package/dist/esm/{_Uint8Array-d6ebd526.js → _Uint8Array-DVXPnoWk.js} +6 -10
  261. package/dist/esm/{_baseIsEqual-077b6bb3.js → _baseIsEqual-DB13O4pD.js} +4 -4
  262. package/dist/esm/{_defineProperty-e6a185c3.js → _defineProperty-DSmG08hO.js} +2 -4
  263. package/dist/esm/{_getTag-d02a95fa.js → _getTag-DZlkp9mJ.js} +12 -32
  264. package/dist/esm/{get-3e42932b.js → get-Bo260bSC.js} +6 -14
  265. package/dist/esm/{index-d86e55c0.js → index-BIwHMk6j.js} +539 -300
  266. package/dist/esm/index.esm-BjlE4usG.js +823 -0
  267. package/dist/esm/{isSymbol-1c5f65cc.js → isSymbol-Ci8cASb6.js} +1 -1
  268. package/dist/esm/lime-crm-building-blocks.js +6 -5
  269. package/dist/esm/{lime-query-validation-01797a51.js → lime-query-validation-S9h8L6bg.js} +8 -8
  270. package/dist/esm/limebb-alert-dialog.entry.js +5 -6
  271. package/dist/esm/limebb-browser.entry.js +11 -12
  272. package/dist/esm/limebb-chat-icon-list_3.entry.js +15 -18
  273. package/dist/esm/limebb-chat-list.entry.js +11 -10
  274. package/dist/esm/limebb-component-config.entry.js +17 -14
  275. package/dist/esm/limebb-component-picker.entry.js +9 -10
  276. package/dist/esm/limebb-composer-toolbar.entry.js +9 -10
  277. package/dist/esm/limebb-currency-picker.entry.js +1908 -1789
  278. package/dist/esm/limebb-dashboard-widget.entry.js +4 -5
  279. package/dist/esm/limebb-data-cells.entry.js +5 -6
  280. package/dist/esm/limebb-date-picker.entry.js +7 -7
  281. package/dist/esm/limebb-date-range.entry.js +6 -7
  282. package/dist/esm/limebb-document-chips.entry.js +10 -9
  283. package/dist/esm/limebb-document-item.entry.js +6 -7
  284. package/dist/esm/limebb-document-picker.entry.js +6 -7
  285. package/dist/esm/limebb-empty-state.entry.js +3 -4
  286. package/dist/esm/limebb-feed-item-thumbnail-file-info.entry.js +4 -5
  287. package/dist/esm/limebb-feed-timeline-item.entry.js +8 -9
  288. package/dist/esm/limebb-feed.entry.js +430 -166
  289. package/dist/esm/limebb-icon-picker.entry.js +4 -4
  290. package/dist/esm/limebb-info-tile-currency-format.entry.js +2 -2
  291. package/dist/esm/limebb-info-tile-date-format.entry.js +4 -5
  292. package/dist/esm/limebb-info-tile-decimal-format.entry.js +2 -2
  293. package/dist/esm/limebb-info-tile-format.entry.js +5 -6
  294. package/dist/esm/limebb-info-tile-relative-date-format.entry.js +2 -2
  295. package/dist/esm/limebb-info-tile-unit-format.entry.js +2 -2
  296. package/dist/esm/limebb-info-tile.entry.js +27 -22
  297. package/dist/esm/limebb-kanban-group.entry.js +8 -9
  298. package/dist/esm/limebb-kanban-item.entry.js +8 -9
  299. package/dist/esm/limebb-kanban.entry.js +5 -6
  300. package/dist/esm/limebb-lime-query-builder.entry.js +9 -10
  301. package/dist/esm/limebb-lime-query-filter-builder_3.entry.js +27 -27
  302. package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +26 -28
  303. package/dist/esm/limebb-lime-query-filter-group_3.entry.js +25 -28
  304. package/dist/esm/limebb-lime-query-order-by-item.entry.js +6 -7
  305. package/dist/esm/limebb-lime-query-response-format-builder.entry.js +9 -10
  306. package/dist/esm/limebb-lime-query-response-format-editor_2.entry.js +8 -10
  307. package/dist/esm/limebb-limeobject-file-viewer.entry.js +9 -10
  308. package/dist/esm/limebb-live-docs-info.entry.js +5 -6
  309. package/dist/esm/limebb-loader.entry.js +12 -8
  310. package/dist/esm/limebb-locale-picker.entry.js +29 -47
  311. package/dist/esm/limebb-mention-group-counter.entry.js +5 -6
  312. package/dist/esm/limebb-mention.entry.js +6 -7
  313. package/dist/esm/limebb-navigation-button_2.entry.js +10 -12
  314. package/dist/esm/limebb-notification-item.entry.js +9 -10
  315. package/dist/esm/limebb-notification-list.entry.js +10 -9
  316. package/dist/esm/limebb-object-chip.entry.js +16 -13
  317. package/dist/esm/limebb-percentage-visualizer.entry.js +9 -8
  318. package/dist/esm/limebb-property-selector.entry.js +9 -10
  319. package/dist/esm/limebb-text-editor-picker.entry.js +9 -8
  320. package/dist/esm/limebb-text-editor.entry.js +53 -305
  321. package/dist/esm/limebb-trend-indicator.entry.js +8 -7
  322. package/dist/esm/{limetype-12fbba0f.js → limetype-B3nph1qc.js} +3 -3
  323. package/dist/esm/loader.js +4 -4
  324. package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
  325. package/dist/lime-crm-building-blocks/{p-eb4aa158.entry.js → p-0afc0db2.entry.js} +1 -1
  326. package/dist/lime-crm-building-blocks/p-12aadae6.entry.js +1 -0
  327. package/dist/lime-crm-building-blocks/p-1428aa13.entry.js +1 -0
  328. package/dist/lime-crm-building-blocks/p-152edb10.entry.js +1 -0
  329. package/dist/lime-crm-building-blocks/p-1a61674f.entry.js +1 -0
  330. package/dist/lime-crm-building-blocks/p-1f02a411.entry.js +1 -0
  331. package/dist/lime-crm-building-blocks/p-21ec697f.entry.js +1 -0
  332. package/dist/lime-crm-building-blocks/p-3252e153.entry.js +1 -0
  333. package/dist/lime-crm-building-blocks/p-3263f8d5.entry.js +1 -0
  334. package/dist/lime-crm-building-blocks/p-32f8477f.entry.js +1 -0
  335. package/dist/lime-crm-building-blocks/p-35a51259.entry.js +1 -0
  336. package/dist/lime-crm-building-blocks/p-38201f65.entry.js +1 -0
  337. package/dist/lime-crm-building-blocks/p-3ef87b11.entry.js +1 -0
  338. package/dist/lime-crm-building-blocks/p-43e22f6d.entry.js +1 -0
  339. package/dist/lime-crm-building-blocks/{p-e79f16ca.entry.js → p-4446f170.entry.js} +1 -1
  340. package/dist/lime-crm-building-blocks/p-4625a9c5.entry.js +1 -0
  341. package/dist/lime-crm-building-blocks/{p-77e7d7da.entry.js → p-49afe71b.entry.js} +1 -1
  342. package/dist/lime-crm-building-blocks/p-4ddd75bc.entry.js +1 -0
  343. package/dist/lime-crm-building-blocks/p-528f3635.entry.js +1 -0
  344. package/dist/lime-crm-building-blocks/p-52fb2a66.entry.js +1 -0
  345. package/dist/lime-crm-building-blocks/p-60e22f51.entry.js +1 -0
  346. package/dist/lime-crm-building-blocks/p-62437a1d.entry.js +1 -0
  347. package/dist/lime-crm-building-blocks/p-626421bf.entry.js +1 -0
  348. package/dist/lime-crm-building-blocks/p-685dd8a1.entry.js +1 -0
  349. package/dist/lime-crm-building-blocks/{p-5277ceca.entry.js → p-6cb2d9dd.entry.js} +1 -1
  350. package/dist/lime-crm-building-blocks/p-6fdee70a.entry.js +1 -0
  351. package/dist/lime-crm-building-blocks/p-71191041.entry.js +1 -0
  352. package/dist/lime-crm-building-blocks/{p-f7122d8e.entry.js → p-740ae712.entry.js} +1 -1
  353. package/dist/lime-crm-building-blocks/p-8477cb5d.entry.js +1 -0
  354. package/dist/lime-crm-building-blocks/{p-50aad872.entry.js → p-8e2cc2e8.entry.js} +1 -1
  355. package/dist/lime-crm-building-blocks/p-9ae55a96.entry.js +1 -0
  356. package/dist/lime-crm-building-blocks/p-B8RiYkLS.js +1 -0
  357. package/dist/lime-crm-building-blocks/p-BIwHMk6j.js +2 -0
  358. package/dist/lime-crm-building-blocks/p-BJ8HvfgI.js +1 -0
  359. package/dist/lime-crm-building-blocks/p-ByjZfyP_.js +1 -0
  360. package/dist/lime-crm-building-blocks/{p-0a266c26.js → p-CMfAKLlA.js} +1 -1
  361. package/dist/lime-crm-building-blocks/p-CQ-z_HTt.js +1 -0
  362. package/dist/lime-crm-building-blocks/p-CcGMZOP-.js +1 -0
  363. package/dist/lime-crm-building-blocks/p-Dm_AIMQj.js +1 -0
  364. package/dist/lime-crm-building-blocks/p-V3xfp9dg.js +1 -0
  365. package/dist/lime-crm-building-blocks/p-aaeecca6.entry.js +1 -0
  366. package/dist/lime-crm-building-blocks/p-ac59093c.entry.js +1 -0
  367. package/dist/lime-crm-building-blocks/p-acbc40f5.entry.js +1 -0
  368. package/dist/lime-crm-building-blocks/p-b2383e7f.entry.js +1 -0
  369. package/dist/lime-crm-building-blocks/p-b36ad4e8.entry.js +1 -0
  370. package/dist/lime-crm-building-blocks/{p-6fb504cb.entry.js → p-b3ee6683.entry.js} +1 -1
  371. package/dist/lime-crm-building-blocks/p-ba42e434.entry.js +1 -0
  372. package/dist/lime-crm-building-blocks/p-bac3d599.entry.js +1 -0
  373. package/dist/lime-crm-building-blocks/p-be8dc8ae.entry.js +1 -0
  374. package/dist/lime-crm-building-blocks/{p-0707d5b0.entry.js → p-c3b13800.entry.js} +1 -1
  375. package/dist/lime-crm-building-blocks/{p-b3ad9f5e.entry.js → p-c6bbcbee.entry.js} +1 -1
  376. package/dist/lime-crm-building-blocks/p-cff9bccd.entry.js +1 -0
  377. package/dist/lime-crm-building-blocks/p-d2a01f51.entry.js +1 -0
  378. package/dist/lime-crm-building-blocks/p-dabb227b.entry.js +1 -0
  379. package/dist/lime-crm-building-blocks/p-e2e9adff.entry.js +1 -0
  380. package/dist/lime-crm-building-blocks/p-ebe6040f.entry.js +1 -0
  381. package/dist/lime-crm-building-blocks/p-eec0a0c8.entry.js +1 -0
  382. package/dist/lime-crm-building-blocks/p-f23ea0e7.entry.js +1 -0
  383. package/dist/lime-crm-building-blocks/{p-0190354e.entry.js → p-fa41a9e6.entry.js} +1 -1
  384. package/dist/lime-crm-building-blocks/p-fcedbc77.entry.js +1 -0
  385. package/dist/lime-crm-building-blocks/p-fdf269f7.entry.js +1 -0
  386. package/dist/lime-crm-building-blocks/p-mljVfXwO.js +1 -0
  387. package/dist/lime-crm-building-blocks/p-wbuFLk-j.js +1 -0
  388. package/dist/lime-crm-building-blocks/p-yc--7_7T.js +1 -0
  389. package/dist/types/components.d.ts +608 -114
  390. package/dist/types/stencil-public-runtime.d.ts +192 -12
  391. package/package.json +10 -10
  392. package/dist/cjs/index.esm-e01e9bd4.js +0 -977
  393. package/dist/esm/index.esm-11a8b9e2.js +0 -963
  394. package/dist/lime-crm-building-blocks/p-121877f3.entry.js +0 -1
  395. package/dist/lime-crm-building-blocks/p-123190c3.js +0 -1
  396. package/dist/lime-crm-building-blocks/p-1317cdfa.entry.js +0 -1
  397. package/dist/lime-crm-building-blocks/p-199799ff.js +0 -1
  398. package/dist/lime-crm-building-blocks/p-1a89328d.entry.js +0 -1
  399. package/dist/lime-crm-building-blocks/p-1b361f60.entry.js +0 -1
  400. package/dist/lime-crm-building-blocks/p-2612f2f6.entry.js +0 -1
  401. package/dist/lime-crm-building-blocks/p-2babfa69.entry.js +0 -1
  402. package/dist/lime-crm-building-blocks/p-2d5e5ab5.entry.js +0 -1
  403. package/dist/lime-crm-building-blocks/p-331fced5.entry.js +0 -1
  404. package/dist/lime-crm-building-blocks/p-35897ec3.js +0 -1
  405. package/dist/lime-crm-building-blocks/p-3a16d7cf.entry.js +0 -1
  406. package/dist/lime-crm-building-blocks/p-3da67f32.entry.js +0 -1
  407. package/dist/lime-crm-building-blocks/p-3dd32e10.entry.js +0 -1
  408. package/dist/lime-crm-building-blocks/p-4894ca5d.entry.js +0 -1
  409. package/dist/lime-crm-building-blocks/p-4b494de7.entry.js +0 -1
  410. package/dist/lime-crm-building-blocks/p-4ca1caf4.entry.js +0 -1
  411. package/dist/lime-crm-building-blocks/p-4eb7a47c.entry.js +0 -1
  412. package/dist/lime-crm-building-blocks/p-50abea43.entry.js +0 -1
  413. package/dist/lime-crm-building-blocks/p-520df198.entry.js +0 -1
  414. package/dist/lime-crm-building-blocks/p-52cf8641.js +0 -2
  415. package/dist/lime-crm-building-blocks/p-5322fd19.js +0 -1
  416. package/dist/lime-crm-building-blocks/p-548e0f2a.entry.js +0 -1
  417. package/dist/lime-crm-building-blocks/p-579be797.entry.js +0 -1
  418. package/dist/lime-crm-building-blocks/p-6a87a407.entry.js +0 -1
  419. package/dist/lime-crm-building-blocks/p-6ad6a88d.entry.js +0 -1
  420. package/dist/lime-crm-building-blocks/p-7365ec1c.entry.js +0 -1
  421. package/dist/lime-crm-building-blocks/p-7e6fb4af.js +0 -1
  422. package/dist/lime-crm-building-blocks/p-81583fc8.entry.js +0 -1
  423. package/dist/lime-crm-building-blocks/p-85709273.entry.js +0 -1
  424. package/dist/lime-crm-building-blocks/p-87d3f42c.entry.js +0 -1
  425. package/dist/lime-crm-building-blocks/p-8dca4e46.entry.js +0 -1
  426. package/dist/lime-crm-building-blocks/p-95b6eaf5.entry.js +0 -1
  427. package/dist/lime-crm-building-blocks/p-973146f7.entry.js +0 -1
  428. package/dist/lime-crm-building-blocks/p-9c25aa2b.entry.js +0 -1
  429. package/dist/lime-crm-building-blocks/p-a959dd49.entry.js +0 -1
  430. package/dist/lime-crm-building-blocks/p-b2763851.entry.js +0 -1
  431. package/dist/lime-crm-building-blocks/p-b31772c8.js +0 -1
  432. package/dist/lime-crm-building-blocks/p-b675d5f0.entry.js +0 -1
  433. package/dist/lime-crm-building-blocks/p-b7959ddb.entry.js +0 -1
  434. package/dist/lime-crm-building-blocks/p-d298b34e.js +0 -1
  435. package/dist/lime-crm-building-blocks/p-d47b6c3c.js +0 -1
  436. package/dist/lime-crm-building-blocks/p-d9045aaa.entry.js +0 -1
  437. package/dist/lime-crm-building-blocks/p-d994067b.entry.js +0 -1
  438. package/dist/lime-crm-building-blocks/p-da42650a.entry.js +0 -1
  439. package/dist/lime-crm-building-blocks/p-dae67f66.entry.js +0 -1
  440. package/dist/lime-crm-building-blocks/p-dce9c951.entry.js +0 -1
  441. package/dist/lime-crm-building-blocks/p-dd5af257.entry.js +0 -1
  442. package/dist/lime-crm-building-blocks/p-ea4daa32.entry.js +0 -1
  443. package/dist/lime-crm-building-blocks/p-eb56d4eb.entry.js +0 -1
  444. package/dist/lime-crm-building-blocks/p-f788a48d.js +0 -1
  445. package/dist/lime-crm-building-blocks/p-fb292b3f.entry.js +0 -1
  446. package/dist/lime-crm-building-blocks/p-fe2b91d9.js +0 -1
  447. package/loader/package.json +0 -11
  448. /package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -0
  449. /package/dist/cjs/{dom-2ea30350.js → dom--t_vVnyU.js} +0 -0
  450. /package/dist/cjs/{extension-mapping-63bdafd3.js → extension-mapping-CvK-Mz3f.js} +0 -0
  451. /package/dist/cjs/{file-extension-7c2eae39.js → file-extension-DolkaRwB.js} +0 -0
  452. /package/dist/cjs/{highlight-item.handler-584ab58a.js → highlight-item.handler-BVqvzXiD.js} +0 -0
  453. /package/dist/cjs/{keycodes-88522d7f.js → keycodes-BCQoLEdB.js} +0 -0
  454. /package/dist/cjs/{negate-e0a2bf77.js → negate-Bg3SqQh6.js} +0 -0
  455. /package/dist/cjs/{non-null-3bf14aa1.js → non-null-BMnREsqJ.js} +0 -0
  456. /package/dist/cjs/{percentage-class-012e94d9.js → percentage-class-DVoYzFLR.js} +0 -0
  457. /package/dist/cjs/{property-resolution-5f798b03.js → property-resolution-Bz1zPcfq.js} +0 -0
  458. /package/dist/cjs/{random-string-aac0a74b.js → random-string-BdZGIsGg.js} +0 -0
  459. /package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
  460. /package/dist/esm/{dom-9cc051d7.js → dom-B95D7tDb.js} +0 -0
  461. /package/dist/esm/{extension-mapping-fcade195.js → extension-mapping-Bcm94u_z.js} +0 -0
  462. /package/dist/esm/{file-extension-568475d1.js → file-extension-DtnPTzDv.js} +0 -0
  463. /package/dist/esm/{highlight-item.handler-dfbf11c0.js → highlight-item.handler-BWMpG2bS.js} +0 -0
  464. /package/dist/esm/{keycodes-58a1fcc9.js → keycodes-CwMJvF_Z.js} +0 -0
  465. /package/dist/esm/{negate-55744008.js → negate-ooVD-6_a.js} +0 -0
  466. /package/dist/esm/{non-null-5a66a269.js → non-null-CkTg5UPD.js} +0 -0
  467. /package/dist/esm/{percentage-class-2766f8ef.js → percentage-class-BaQl_Elp.js} +0 -0
  468. /package/dist/esm/{property-resolution-e4e8dcf7.js → property-resolution-CQUZjrU4.js} +0 -0
  469. /package/dist/esm/{random-string-f6ef6fbf.js → random-string-C2JP2nLw.js} +0 -0
  470. /package/dist/lime-crm-building-blocks/{p-4a85590d.js → p-B95D7tDb.js} +0 -0
  471. /package/dist/lime-crm-building-blocks/{p-66352a1e.js → p-BWMpG2bS.js} +0 -0
  472. /package/dist/lime-crm-building-blocks/{p-a99197b1.js → p-BaQl_Elp.js} +0 -0
  473. /package/dist/lime-crm-building-blocks/{p-ab2a95a6.js → p-Bcm94u_z.js} +0 -0
  474. /package/dist/lime-crm-building-blocks/{p-fbda77a7.js → p-C2JP2nLw.js} +0 -0
  475. /package/dist/lime-crm-building-blocks/{p-b02c99d5.js → p-CQUZjrU4.js} +0 -0
  476. /package/dist/lime-crm-building-blocks/{p-1484e300.js → p-CkTg5UPD.js} +0 -0
  477. /package/dist/lime-crm-building-blocks/{p-463d3174.js → p-CwMJvF_Z.js} +0 -0
  478. /package/dist/lime-crm-building-blocks/{p-e1255160.js → p-DQuL1Twl.js} +0 -0
  479. /package/dist/lime-crm-building-blocks/{p-b42e9740.js → p-DtnPTzDv.js} +0 -0
  480. /package/dist/lime-crm-building-blocks/{p-7c9484b1.js → p-ooVD-6_a.js} +0 -0
@@ -1,963 +1 @@
1
- import { setErrorHandler, getElement } from '@stencil/core/internal/client';
2
-
3
- const c = {
4
- Route: "route"
5
- };
6
- function Ye(t) {
7
- return t && [
8
- "belongsto",
9
- "hasone",
10
- "hasmany",
11
- "hasandbelongstomany"
12
- ].includes(t.type);
13
- }
14
- function qe(t) {
15
- return t && ["belongsto", "hasone"].includes(t.type);
16
- }
17
- const st = "state.limetypes";
18
- c.LimeTypeRepository = st;
19
- var A = function(t, e) {
20
- return A = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
21
- r.__proto__ = n;
22
- } || function(r, n) {
23
- for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (r[o] = n[o]);
24
- }, A(t, e);
25
- };
26
- function m(t, e) {
27
- if (typeof e != "function" && e !== null)
28
- throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
29
- A(t, e);
30
- function r() {
31
- this.constructor = t;
32
- }
33
- t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r());
34
- }
35
- function O(t) {
36
- var e = typeof Symbol == "function" && Symbol.iterator, r = e && t[e], n = 0;
37
- if (r) return r.call(t);
38
- if (t && typeof t.length == "number") return {
39
- next: function() {
40
- return t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t };
41
- }
42
- };
43
- throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
44
- }
45
- function P(t, e) {
46
- var r = typeof Symbol == "function" && t[Symbol.iterator];
47
- if (!r) return t;
48
- var n = r.call(t), o, i = [], s;
49
- try {
50
- for (; (e === void 0 || e-- > 0) && !(o = n.next()).done; ) i.push(o.value);
51
- } catch (u) {
52
- s = { error: u };
53
- } finally {
54
- try {
55
- o && !o.done && (r = n.return) && r.call(n);
56
- } finally {
57
- if (s) throw s.error;
58
- }
59
- }
60
- return i;
61
- }
62
- function I(t, e, r) {
63
- if (r || arguments.length === 2) for (var n = 0, o = e.length, i; n < o; n++)
64
- (i || !(n in e)) && (i || (i = Array.prototype.slice.call(e, 0, n)), i[n] = e[n]);
65
- return t.concat(i || Array.prototype.slice.call(e));
66
- }
67
- function p(t) {
68
- return typeof t == "function";
69
- }
70
- function K(t) {
71
- var e = function(n) {
72
- Error.call(n), n.stack = new Error().stack;
73
- }, r = t(e);
74
- return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
75
- }
76
- var w = K(function(t) {
77
- return function(r) {
78
- t(this), this.message = r ? r.length + ` errors occurred during unsubscription:
79
- ` + r.map(function(n, o) {
80
- return o + 1 + ") " + n.toString();
81
- }).join(`
82
- `) : "", this.name = "UnsubscriptionError", this.errors = r;
83
- };
84
- });
85
- function j(t, e) {
86
- if (t) {
87
- var r = t.indexOf(e);
88
- 0 <= r && t.splice(r, 1);
89
- }
90
- }
91
- var _ = (function() {
92
- function t(e) {
93
- this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
94
- }
95
- return t.prototype.unsubscribe = function() {
96
- var e, r, n, o, i;
97
- if (!this.closed) {
98
- this.closed = !0;
99
- var s = this._parentage;
100
- if (s)
101
- if (this._parentage = null, Array.isArray(s))
102
- try {
103
- for (var u = O(s), a = u.next(); !a.done; a = u.next()) {
104
- var C = a.value;
105
- C.remove(this);
106
- }
107
- } catch (f) {
108
- e = { error: f };
109
- } finally {
110
- try {
111
- a && !a.done && (r = u.return) && r.call(u);
112
- } finally {
113
- if (e) throw e.error;
114
- }
115
- }
116
- else
117
- s.remove(this);
118
- var M = this.initialTeardown;
119
- if (p(M))
120
- try {
121
- M();
122
- } catch (f) {
123
- i = f instanceof w ? f.errors : [f];
124
- }
125
- var N = this._finalizers;
126
- if (N) {
127
- this._finalizers = null;
128
- try {
129
- for (var b = O(N), y = b.next(); !y.done; y = b.next()) {
130
- var ot = y.value;
131
- try {
132
- D(ot);
133
- } catch (f) {
134
- i = i ?? [], f instanceof w ? i = I(I([], P(i)), P(f.errors)) : i.push(f);
135
- }
136
- }
137
- } catch (f) {
138
- n = { error: f };
139
- } finally {
140
- try {
141
- y && !y.done && (o = b.return) && o.call(b);
142
- } finally {
143
- if (n) throw n.error;
144
- }
145
- }
146
- }
147
- if (i)
148
- throw new w(i);
149
- }
150
- }, t.prototype.add = function(e) {
151
- var r;
152
- if (e && e !== this)
153
- if (this.closed)
154
- D(e);
155
- else {
156
- if (e instanceof t) {
157
- if (e.closed || e._hasParent(this))
158
- return;
159
- e._addParent(this);
160
- }
161
- (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(e);
162
- }
163
- }, t.prototype._hasParent = function(e) {
164
- var r = this._parentage;
165
- return r === e || Array.isArray(r) && r.includes(e);
166
- }, t.prototype._addParent = function(e) {
167
- var r = this._parentage;
168
- this._parentage = Array.isArray(r) ? (r.push(e), r) : r ? [r, e] : e;
169
- }, t.prototype._removeParent = function(e) {
170
- var r = this._parentage;
171
- r === e ? this._parentage = null : Array.isArray(r) && j(r, e);
172
- }, t.prototype.remove = function(e) {
173
- var r = this._finalizers;
174
- r && j(r, e), e instanceof t && e._removeParent(this);
175
- }, t.EMPTY = (function() {
176
- var e = new t();
177
- return e.closed = !0, e;
178
- })(), t;
179
- })(), X = _.EMPTY;
180
- function J(t) {
181
- return t instanceof _ || t && "closed" in t && p(t.remove) && p(t.add) && p(t.unsubscribe);
182
- }
183
- function D(t) {
184
- p(t) ? t() : t.unsubscribe();
185
- }
186
- var ct = {
187
- Promise: void 0
188
- }, ut = {
189
- setTimeout: function(t, e) {
190
- for (var r = [], n = 2; n < arguments.length; n++)
191
- r[n - 2] = arguments[n];
192
- return setTimeout.apply(void 0, I([t, e], P(r)));
193
- },
194
- clearTimeout: function(t) {
195
- return clearTimeout(t);
196
- },
197
- delegate: void 0
198
- };
199
- function at(t) {
200
- ut.setTimeout(function() {
201
- throw t;
202
- });
203
- }
204
- function $() {
205
- }
206
- function E(t) {
207
- t();
208
- }
209
- var Z = (function(t) {
210
- m(e, t);
211
- function e(r) {
212
- var n = t.call(this) || this;
213
- return n.isStopped = !1, r ? (n.destination = r, J(r) && r.add(n)) : n.destination = pt, n;
214
- }
215
- return e.create = function(r, n, o) {
216
- return new x(r, n, o);
217
- }, e.prototype.next = function(r) {
218
- this.isStopped || this._next(r);
219
- }, e.prototype.error = function(r) {
220
- this.isStopped || (this.isStopped = !0, this._error(r));
221
- }, e.prototype.complete = function() {
222
- this.isStopped || (this.isStopped = !0, this._complete());
223
- }, e.prototype.unsubscribe = function() {
224
- this.closed || (this.isStopped = !0, t.prototype.unsubscribe.call(this), this.destination = null);
225
- }, e.prototype._next = function(r) {
226
- this.destination.next(r);
227
- }, e.prototype._error = function(r) {
228
- try {
229
- this.destination.error(r);
230
- } finally {
231
- this.unsubscribe();
232
- }
233
- }, e.prototype._complete = function() {
234
- try {
235
- this.destination.complete();
236
- } finally {
237
- this.unsubscribe();
238
- }
239
- }, e;
240
- })(_), lt = (function() {
241
- function t(e) {
242
- this.partialObserver = e;
243
- }
244
- return t.prototype.next = function(e) {
245
- var r = this.partialObserver;
246
- if (r.next)
247
- try {
248
- r.next(e);
249
- } catch (n) {
250
- v(n);
251
- }
252
- }, t.prototype.error = function(e) {
253
- var r = this.partialObserver;
254
- if (r.error)
255
- try {
256
- r.error(e);
257
- } catch (n) {
258
- v(n);
259
- }
260
- else
261
- v(e);
262
- }, t.prototype.complete = function() {
263
- var e = this.partialObserver;
264
- if (e.complete)
265
- try {
266
- e.complete();
267
- } catch (r) {
268
- v(r);
269
- }
270
- }, t;
271
- })(), x = (function(t) {
272
- m(e, t);
273
- function e(r, n, o) {
274
- var i = t.call(this) || this, s;
275
- return p(r) || !r ? s = {
276
- next: r ?? void 0,
277
- error: n ?? void 0,
278
- complete: o ?? void 0
279
- } : s = r, i.destination = new lt(s), i;
280
- }
281
- return e;
282
- })(Z);
283
- function v(t) {
284
- at(t);
285
- }
286
- function ft(t) {
287
- throw t;
288
- }
289
- var pt = {
290
- closed: !0,
291
- next: $,
292
- error: ft,
293
- complete: $
294
- }, ht = (function() {
295
- return typeof Symbol == "function" && Symbol.observable || "@@observable";
296
- })();
297
- function dt(t) {
298
- return t;
299
- }
300
- function yt(t) {
301
- return t.length === 0 ? dt : t.length === 1 ? t[0] : function(r) {
302
- return t.reduce(function(n, o) {
303
- return o(n);
304
- }, r);
305
- };
306
- }
307
- var L = (function() {
308
- function t(e) {
309
- e && (this._subscribe = e);
310
- }
311
- return t.prototype.lift = function(e) {
312
- var r = new t();
313
- return r.source = this, r.operator = e, r;
314
- }, t.prototype.subscribe = function(e, r, n) {
315
- var o = this, i = bt(e) ? e : new x(e, r, n);
316
- return E(function() {
317
- var s = o, u = s.operator, a = s.source;
318
- i.add(u ? u.call(i, a) : a ? o._subscribe(i) : o._trySubscribe(i));
319
- }), i;
320
- }, t.prototype._trySubscribe = function(e) {
321
- try {
322
- return this._subscribe(e);
323
- } catch (r) {
324
- e.error(r);
325
- }
326
- }, t.prototype.forEach = function(e, r) {
327
- var n = this;
328
- return r = T(r), new r(function(o, i) {
329
- var s = new x({
330
- next: function(u) {
331
- try {
332
- e(u);
333
- } catch (a) {
334
- i(a), s.unsubscribe();
335
- }
336
- },
337
- error: i,
338
- complete: o
339
- });
340
- n.subscribe(s);
341
- });
342
- }, t.prototype._subscribe = function(e) {
343
- var r;
344
- return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(e);
345
- }, t.prototype[ht] = function() {
346
- return this;
347
- }, t.prototype.pipe = function() {
348
- for (var e = [], r = 0; r < arguments.length; r++)
349
- e[r] = arguments[r];
350
- return yt(e)(this);
351
- }, t.prototype.toPromise = function(e) {
352
- var r = this;
353
- return e = T(e), new e(function(n, o) {
354
- var i;
355
- r.subscribe(function(s) {
356
- return i = s;
357
- }, function(s) {
358
- return o(s);
359
- }, function() {
360
- return n(i);
361
- });
362
- });
363
- }, t.create = function(e) {
364
- return new t(e);
365
- }, t;
366
- })();
367
- function T(t) {
368
- var e;
369
- return (e = t ?? ct.Promise) !== null && e !== void 0 ? e : Promise;
370
- }
371
- function mt(t) {
372
- return t && p(t.next) && p(t.error) && p(t.complete);
373
- }
374
- function bt(t) {
375
- return t && t instanceof Z || mt(t) && J(t);
376
- }
377
- var vt = K(function(t) {
378
- return function() {
379
- t(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
380
- };
381
- }), z = (function(t) {
382
- m(e, t);
383
- function e() {
384
- var r = t.call(this) || this;
385
- return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
386
- }
387
- return e.prototype.lift = function(r) {
388
- var n = new V(this, this);
389
- return n.operator = r, n;
390
- }, e.prototype._throwIfClosed = function() {
391
- if (this.closed)
392
- throw new vt();
393
- }, e.prototype.next = function(r) {
394
- var n = this;
395
- E(function() {
396
- var o, i;
397
- if (n._throwIfClosed(), !n.isStopped) {
398
- n.currentObservers || (n.currentObservers = Array.from(n.observers));
399
- try {
400
- for (var s = O(n.currentObservers), u = s.next(); !u.done; u = s.next()) {
401
- var a = u.value;
402
- a.next(r);
403
- }
404
- } catch (C) {
405
- o = { error: C };
406
- } finally {
407
- try {
408
- u && !u.done && (i = s.return) && i.call(s);
409
- } finally {
410
- if (o) throw o.error;
411
- }
412
- }
413
- }
414
- });
415
- }, e.prototype.error = function(r) {
416
- var n = this;
417
- E(function() {
418
- if (n._throwIfClosed(), !n.isStopped) {
419
- n.hasError = n.isStopped = !0, n.thrownError = r;
420
- for (var o = n.observers; o.length; )
421
- o.shift().error(r);
422
- }
423
- });
424
- }, e.prototype.complete = function() {
425
- var r = this;
426
- E(function() {
427
- if (r._throwIfClosed(), !r.isStopped) {
428
- r.isStopped = !0;
429
- for (var n = r.observers; n.length; )
430
- n.shift().complete();
431
- }
432
- });
433
- }, e.prototype.unsubscribe = function() {
434
- this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
435
- }, Object.defineProperty(e.prototype, "observed", {
436
- get: function() {
437
- var r;
438
- return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
439
- },
440
- enumerable: !1,
441
- configurable: !0
442
- }), e.prototype._trySubscribe = function(r) {
443
- return this._throwIfClosed(), t.prototype._trySubscribe.call(this, r);
444
- }, e.prototype._subscribe = function(r) {
445
- return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
446
- }, e.prototype._innerSubscribe = function(r) {
447
- var n = this, o = this, i = o.hasError, s = o.isStopped, u = o.observers;
448
- return i || s ? X : (this.currentObservers = null, u.push(r), new _(function() {
449
- n.currentObservers = null, j(u, r);
450
- }));
451
- }, e.prototype._checkFinalizedStatuses = function(r) {
452
- var n = this, o = n.hasError, i = n.thrownError, s = n.isStopped;
453
- o ? r.error(i) : s && r.complete();
454
- }, e.prototype.asObservable = function() {
455
- var r = new L();
456
- return r.source = this, r;
457
- }, e.create = function(r, n) {
458
- return new V(r, n);
459
- }, e;
460
- })(L), V = (function(t) {
461
- m(e, t);
462
- function e(r, n) {
463
- var o = t.call(this) || this;
464
- return o.destination = r, o.source = n, o;
465
- }
466
- return e.prototype.next = function(r) {
467
- var n, o;
468
- (o = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || o === void 0 || o.call(n, r);
469
- }, e.prototype.error = function(r) {
470
- var n, o;
471
- (o = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || o === void 0 || o.call(n, r);
472
- }, e.prototype.complete = function() {
473
- var r, n;
474
- (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
475
- }, e.prototype._subscribe = function(r) {
476
- var n, o;
477
- return (o = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && o !== void 0 ? o : X;
478
- }, e;
479
- })(z), gt = (function(t) {
480
- m(e, t);
481
- function e(r) {
482
- var n = t.call(this) || this;
483
- return n._value = r, n;
484
- }
485
- return Object.defineProperty(e.prototype, "value", {
486
- get: function() {
487
- return this.getValue();
488
- },
489
- enumerable: !1,
490
- configurable: !0
491
- }), e.prototype._subscribe = function(r) {
492
- var n = t.prototype._subscribe.call(this, r);
493
- return !n.closed && r.next(this._value), n;
494
- }, e.prototype.getValue = function() {
495
- var r = this, n = r.hasError, o = r.thrownError, i = r._value;
496
- if (n)
497
- throw o;
498
- return this._throwIfClosed(), i;
499
- }, e.prototype.next = function(r) {
500
- t.prototype.next.call(this, this._value = r);
501
- }, e;
502
- })(z);
503
- function Et(t) {
504
- return t;
505
- }
506
- function l(t, e) {
507
- return (r, n) => {
508
- const o = St(
509
- r,
510
- n,
511
- t,
512
- e
513
- );
514
- o.length === 1 && _t(r, o);
515
- };
516
- }
517
- const F = /* @__PURE__ */ new WeakMap(), S = /* @__PURE__ */ new WeakMap(), tt = /* @__PURE__ */ new WeakMap();
518
- function St(t, e, r, n) {
519
- let o = F.get(t);
520
- return o || (o = [], F.set(t, o)), o.push({
521
- options: r,
522
- name: e,
523
- optionFactory: n.optionFactory || Et,
524
- service: {
525
- name: n.name,
526
- method: n.method || "subscribe"
527
- }
528
- }), o;
529
- }
530
- function _t(t, e) {
531
- t.connectedCallback = et(
532
- t.connectedCallback,
533
- e
534
- ), t.componentWillLoad = Ct(
535
- t.componentWillLoad,
536
- e
537
- ), t.componentDidUnload = U(
538
- t.componentDidUnload
539
- ), t.disconnectedCallback = U(
540
- t.disconnectedCallback
541
- );
542
- }
543
- function et(t, e) {
544
- return async function(...r) {
545
- tt.set(this, !0), S.set(this, []), await rt(this);
546
- const n = new gt(this.context);
547
- Rt(this, "context", n);
548
- for (const o of e)
549
- o.options = o.optionFactory(o.options, this), wt(o.options) && (o.options.context = n), At(this, o);
550
- if (t)
551
- return t.apply(this, r);
552
- };
553
- }
554
- function Ct(t, e) {
555
- return async function(...r) {
556
- return tt.get(this) === !0 ? (await rt(this), t ? t.apply(this, r) : void 0) : et(t, e).apply(this, r);
557
- };
558
- }
559
- function U(t) {
560
- return async function(...e) {
561
- let r;
562
- return t && (r = t.apply(this, e)), Ot(this), r;
563
- };
564
- }
565
- function wt(t) {
566
- return "context" in t;
567
- }
568
- function rt(t) {
569
- const e = [];
570
- return t.platform || e.push(k(t, "platform")), t.context || e.push(k(t, "context")), e.length === 0 ? Promise.resolve() : Promise.all(e);
571
- }
572
- function k(t, e) {
573
- const r = getElement(t);
574
- return new Promise((n) => {
575
- Object.defineProperty(r, e, {
576
- configurable: !0,
577
- set: (o) => {
578
- delete r[e], r[e] = o, n();
579
- }
580
- });
581
- });
582
- }
583
- function Rt(t, e, r) {
584
- const n = getElement(t), { get: o, set: i } = Object.getOwnPropertyDescriptor(
585
- Object.getPrototypeOf(n),
586
- e
587
- );
588
- Object.defineProperty(n, e, {
589
- configurable: !0,
590
- get: o,
591
- set: function(s) {
592
- i.call(this, s), r.next(s);
593
- }
594
- });
595
- }
596
- function At(t, e) {
597
- const r = It(t, e);
598
- if (typeof r != "function")
599
- return;
600
- S.get(t).push(r);
601
- }
602
- function Ot(t) {
603
- const e = S.get(t);
604
- for (const r of e) r();
605
- S.set(t, []);
606
- }
607
- function Pt(t, e) {
608
- return (r) => {
609
- t[e] = r;
610
- };
611
- }
612
- function It(t, e) {
613
- const r = { ...e.options };
614
- jt(r, t);
615
- const n = e.service.name, o = t.platform;
616
- if (!o.has(n))
617
- throw new Error(`Service ${n} does not exist`);
618
- return o.get(n)[e.service.method](
619
- Pt(t, e.name),
620
- r
621
- );
622
- }
623
- function jt(t, e) {
624
- t.filter && (t.filter = t.filter.map((r) => r.bind(e))), t.map && (t.map = t.map.map((r) => r.bind(e)));
625
- }
626
- function Ze(t = {}) {
627
- const e = {
628
- name: c.LimeTypeRepository
629
- };
630
- return l(t, e);
631
- }
632
- function ze(t = {}) {
633
- const e = {
634
- name: c.LimeTypeRepository
635
- };
636
- return t.map = [xt, ...t.map || []], t.context = null, l(t, e);
637
- }
638
- function xt(t) {
639
- const { limetype: e } = this.context;
640
- return t[e];
641
- }
642
- const Mt = "state.limeobjects";
643
- c.LimeObjectRepository = Mt;
644
- function ir(t = {}) {
645
- const e = {
646
- name: c.LimeObjectRepository
647
- };
648
- return t.map = [Nt, ...t.map || []], t.context = null, l(t, e);
649
- }
650
- function Nt(t) {
651
- const { limetype: e, id: r } = this.context;
652
- if (t[e])
653
- return t[e].find((n) => n.id === r);
654
- }
655
- function d(t) {
656
- return (e) => {
657
- Lt(e, t.id), Tt(e, t.id);
658
- };
659
- }
660
- function Lt(t, e) {
661
- t.commandId = e;
662
- }
663
- function Tt(t, e) {
664
- Object.defineProperty(t, Symbol.hasInstance, {
665
- value: (r) => Ft(r).includes(e)
666
- });
667
- }
668
- function Vt(t) {
669
- return typeof t == "string" ? t : t && t.constructor && t.constructor.commandId ? t.constructor.commandId : t && t.commandId ? t.commandId : null;
670
- }
671
- function Ft(t) {
672
- let e = [], r, n = t;
673
- for (; r = Vt(n); )
674
- e = [...e, r], n = Object.getPrototypeOf(n);
675
- return [...new Set(e)];
676
- }
677
- const Ut = "commandBus";
678
- c.CommandBus = Ut;
679
- var kt = Object.getOwnPropertyDescriptor, Bt = (t, e, r, n) => {
680
- for (var o = n > 1 ? void 0 : n ? kt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
681
- (s = t[i]) && (o = s(o) || o);
682
- return o;
683
- };
684
- const Ht = "limeobject.bulk-create-dialog";
685
- let B = class {
686
- context;
687
- /**
688
- * A query describing what limeobjects to create new limeobjects from. Each object from the result will result in a
689
- * new related limeobject to be created
690
- */
691
- filter;
692
- /**
693
- * The name of the relation on the limetype to create objects of
694
- */
695
- relation;
696
- };
697
- B = Bt([
698
- d({
699
- id: Ht
700
- })
701
- ], B);
702
- var Wt = Object.getOwnPropertyDescriptor, Gt = (t, e, r, n) => {
703
- for (var o = n > 1 ? void 0 : n ? Wt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
704
- (s = t[i]) && (o = s(o) || o);
705
- return o;
706
- };
707
- const Qt = "limeobject.create-dialog";
708
- let H = class {
709
- /**
710
- * The limetype of the object to create
711
- */
712
- limetype;
713
- /**
714
- * Default data to populate the form with
715
- */
716
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
717
- limeobject;
718
- /**
719
- * Specifies if routing to limeobject should be done after confirmation
720
- */
721
- route = !1;
722
- /*
723
- * Title of the dialog
724
- */
725
- title;
726
- /*
727
- * Subtitle of the dialog
728
- */
729
- subtitle;
730
- /*
731
- * Current context
732
- */
733
- context;
734
- /**
735
- * When `context` is used, this is the name of the relation on the
736
- * reference {@link LimeObject} to use when auto attaching the new object.
737
- *
738
- */
739
- autoAttachRelation;
740
- /**
741
- * Specifies any command that can be used to save the result of the dialog.
742
- * If not specified, it will default to the {@link SaveLimeObjectCommand}
743
- */
744
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
745
- saveCommand;
746
- };
747
- H = Gt([
748
- d({
749
- id: Qt
750
- })
751
- ], H);
752
- var Yt = Object.getOwnPropertyDescriptor, qt = (t, e, r, n) => {
753
- for (var o = n > 1 ? void 0 : n ? Yt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
754
- (s = t[i]) && (o = s(o) || o);
755
- return o;
756
- };
757
- const Kt = "limeobject.delete-object";
758
- let W = class {
759
- context;
760
- };
761
- W = qt([
762
- d({
763
- id: Kt
764
- })
765
- ], W);
766
- var Xt = Object.getOwnPropertyDescriptor, Jt = (t, e, r, n) => {
767
- for (var o = n > 1 ? void 0 : n ? Xt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
768
- (s = t[i]) && (o = s(o) || o);
769
- return o;
770
- };
771
- const Zt = "limeobject.object-access";
772
- let G = class {
773
- context;
774
- };
775
- G = Jt([
776
- d({
777
- id: Zt
778
- })
779
- ], G);
780
- var zt = Object.getOwnPropertyDescriptor, te = (t, e, r, n) => {
781
- for (var o = n > 1 ? void 0 : n ? zt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
782
- (s = t[i]) && (o = s(o) || o);
783
- return o;
784
- };
785
- const ee = "limeobject.save-object";
786
- let Q = class {
787
- context;
788
- /**
789
- * The limeobject to save
790
- */
791
- limeobject;
792
- /**
793
- * Specifies if routing to limeobject should be done after confirmation
794
- */
795
- route = !1;
796
- /**
797
- * @beta
798
- * Specifies an optional save label to be displayed in the create-object dialog
799
- */
800
- label;
801
- };
802
- Q = te([
803
- d({
804
- id: ee
805
- })
806
- ], Q);
807
- var re = /* @__PURE__ */ ((t) => (t.AND = "AND", t.OR = "OR", t.NOT = "!", t.EQUALS = "=", t.NOT_EQUALS = "!=", t.GREATER = ">", t.LESS = "<", t.IN = "IN", t.BEGINS = "=?", t.LIKE = "?", t.LESS_OR_EQUAL = "<=", t.GREATER_OR_EQUAL = ">=", t.ENDS = "=$", t))(re || {});
808
- const sr = {
809
- Count: "COUNT",
810
- Sum: "SUM",
811
- Average: "AVG",
812
- Maximum: "MAX",
813
- Minimum: "MIN"
814
- }, ne = "query";
815
- c.Query = ne;
816
- const cr = {
817
- Get: "GET",
818
- Post: "POST",
819
- Put: "PUT",
820
- Delete: "DELETE",
821
- Patch: "PATCH"
822
- }, oe = "http";
823
- c.Http = oe;
824
- const ie = "eventDispatcher";
825
- c.EventDispatcher = ie;
826
- const se = "translate";
827
- c.Translate = se;
828
- const ce = "dialog";
829
- c.Dialog = ce;
830
- const ue = "keybindingRegistry";
831
- c.KeybindingRegistry = ue;
832
- const ae = "navigator";
833
- c.Navigator = ae;
834
- var le = Object.getOwnPropertyDescriptor, fe = (t, e, r, n) => {
835
- for (var o = n > 1 ? void 0 : n ? le(e, r) : e, i = t.length - 1, s; i >= 0; i--)
836
- (s = t[i]) && (o = s(o) || o);
837
- return o;
838
- };
839
- const pe = "navigator.navigate";
840
- let Y = class {
841
- path;
842
- query;
843
- hash;
844
- state;
845
- };
846
- Y = fe([
847
- d({
848
- id: pe
849
- })
850
- ], Y);
851
- const he = "notifications";
852
- c.Notification = he;
853
- const de = "routeRegistry";
854
- c.RouteRegistry = de;
855
- const be = "state.tasks";
856
- c.TaskRepository = be;
857
- const ve = "state.configs";
858
- c.ConfigRepository = ve;
859
- function ar(t) {
860
- const e = {
861
- name: c.ConfigRepository
862
- };
863
- return l(t, e);
864
- }
865
- const ge = "state.device";
866
- c.Device = ge;
867
- const Ee = "state.filters";
868
- c.FilterRepository = Ee;
869
- function fr(t = {}) {
870
- const e = {
871
- name: c.FilterRepository
872
- };
873
- return l(t, e);
874
- }
875
- const Se = "state.user-data";
876
- c.UserDataRepository = Se;
877
- const _e = "state.application";
878
- c.Application = _e;
879
- const Ae = "userPreferences";
880
- c.UserPreferencesRepository = Ae;
881
- const Oe = "datetimeformatter";
882
- c.DateTimeFormatter = Oe;
883
- const Pe = "conditionRegistry";
884
- c.ConditionRegistry = Pe;
885
- const Ie = "viewFactoryRegistry";
886
- c.ViewFactoryRegistry = Ie;
887
- const je = "webComponentRegistry";
888
- c.WebComponentRegistry = je;
889
- const xe = "state.notifications";
890
- c.NotificationRepository = xe;
891
- const Me = "pollerFactory";
892
- c.PollerFactory = Me;
893
- const Ne = "logger";
894
- c.Logger = Ne;
895
- let h, g;
896
- function De(t) {
897
- const e = window.Lime?.logger?.createLogger;
898
- return typeof e != "function" ? (console.warn(
899
- `Logger factory is not configured. Returning console logger for scope "${t}".`
900
- ), console) : (g === void 0 && (g = Te($e())), g && (t = `${g}:${t}`), e(t));
901
- }
902
- function $e() {
903
- return h !== void 0 ? h : import.meta !== void 0 && typeof import.meta.url == "string" ? (h = import.meta.url, h) : (h = Le(), h);
904
- }
905
- function Le() {
906
- try {
907
- const t = new Error(".").stack;
908
- if (!t)
909
- return null;
910
- const e = t.split(`
911
- `);
912
- for (const r of e) {
913
- const n = r.match(/(https?:\/\/[^)\s:]+)/);
914
- if (n)
915
- return n[1];
916
- }
917
- return null;
918
- } catch {
919
- return null;
920
- }
921
- }
922
- function Te(t) {
923
- if (!t) return null;
924
- const e = Ve(t) || Fe(t) || Ue(t) || ke(t);
925
- return e || null;
926
- }
927
- function Ve(t) {
928
- const e = /\/([^/]+)-lwc-components\//, r = t.match(e);
929
- return r ? r[1] : null;
930
- }
931
- function Fe(t) {
932
- const e = /\/packages\/(?:@[^/]+\/)?([^/]+)/, r = t.match(e);
933
- return r ? r[1] : null;
934
- }
935
- function Ue(t) {
936
- const e = t.indexOf("+");
937
- if (e === -1)
938
- return null;
939
- const r = t.slice(0, e), n = r.lastIndexOf("/");
940
- return n === -1 ? null : r.slice(n + 1);
941
- }
942
- function ke(t) {
943
- const e = /\/static\/([^/]+)\//, r = t.match(e);
944
- return r ? r[1] : null;
945
- }
946
- const Be = "problemRepository";
947
- c.ProblemRepository = Be;
948
- const He = "aiContextRegistry";
949
- c.AIContextRegistry = He;
950
- let R = null;
951
- function We(t, e) {
952
- R || (R = De("uncaught-error"));
953
- const r = {};
954
- e && (r.element = e.tagName, e.id && (r.elementId = e.id));
955
- const n = t instanceof Error ? t.message : String(t), o = t instanceof Error ? t : void 0;
956
- R.error(n, o, r);
957
- }
958
- try {
959
- setErrorHandler(We);
960
- } catch {
961
- }
962
-
963
- export { De as D, Ye as Y, Ze as Z, ar as a, cr as b, c, d, fr as f, ir as i, qe as q, re as r, sr as s, ze as z };
1
+ import{setErrorHandler as t,getElement as n}from"@stencil/core/internal/client";var r={};function i(t){return t&&["belongsto","hasone","hasmany","hasandbelongstomany"].includes(t.type)}function e(t){return t&&["belongsto","hasone"].includes(t.type)}r.LimeTypeRepository="state.limetypes";var o=function(t,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])},o(t,n)};function u(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}function c(t){var n="function"==typeof Symbol&&Symbol.iterator,r=n&&t[n],i=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function f(t){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,e=n.call(t),o=[];try{for(;!(r=e.next()).done;)o.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=e.return)&&n.call(e)}finally{if(i)throw i.error}}return o}function s(t,n,r){if(2===arguments.length)for(var i,e=0,o=n.length;e<o;e++)(i||!(e in n))&&(i||=Array.prototype.slice.call(n,0,e),i[e]=n[e]);return t.concat(i||Array.prototype.slice.call(n))}function a(t){return"function"==typeof t}function l(t){var n=t((function(t){Error.call(t),t.stack=Error().stack}));return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var h=l((function(t){return function(n){t(this),this.message=n?n.length+" errors occurred during unsubscription:\n"+n.map((function(t,n){return n+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=n}}));function v(t,n){if(t){var r=t.indexOf(n);0<=r&&t.splice(r,1)}}var y=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var t,n,r,i,e;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var u=c(o),l=u.next();!l.done;l=u.next())l.value.remove(this)}catch(n){t={error:n}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}else o.remove(this);var v=this.initialTeardown;if(a(v))try{v()}catch(t){e=t instanceof h?t.errors:[t]}var y=this._finalizers;if(y){this._finalizers=null;try{for(var b=c(y),m=b.next();!m.done;m=b.next()){var d=m.value;try{p(d)}catch(t){e??=[],t instanceof h?e=s(s([],f(e)),f(t.errors)):e.push(t)}}}catch(t){r={error:t}}finally{try{m&&!m.done&&(i=b.return)&&i.call(b)}finally{if(r)throw r.error}}}if(e)throw new h(e)}},t.prototype.add=function(n){if(n&&n!==this)if(this.closed)p(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=this._finalizers??[]).push(n)}},t.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},t.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},t.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&v(n,t)},t.prototype.remove=function(n){var r=this._finalizers;r&&v(r,n),n instanceof t&&n._removeParent(this)},t.EMPTY=((n=new t).closed=!0,n),t;var n}(),b=y.EMPTY;function m(t){return t instanceof y||t&&"closed"in t&&a(t.remove)&&a(t.add)&&a(t.unsubscribe)}function p(t){a(t)?t():t.unsubscribe()}function d(){}function g(t){t()}var w=function(t){function n(n){var r=t.call(this)||this;return r.isStopped=!1,n?(r.destination=n,m(n)&&n.add(r)):r.destination=R,r}return u(n,t),n.create=function(t,n,r){return new O(t,n,r)},n.prototype.next=function(t){this.isStopped||this._next(t)},n.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},n.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},n.prototype._next=function(t){this.destination.next(t)},n.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},n.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},n}(y),j=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(t){x(t)}},t.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(t){x(t)}else x(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){x(t)}},t}(),O=function(t){function n(n,r,i){var e,o=t.call(this)||this;return e=a(n)||!n?{next:n??void 0,error:r??void 0,complete:i??void 0}:n,o.destination=new j(e),o}return u(n,t),n}(w);function x(t){!function(t){!function(t,n){var r=[...arguments].slice(2);setTimeout.apply(void 0,s([t,n],f(r)))}((function(){throw t}))}(t)}var R={closed:!0,next:d,error:function(t){throw t},complete:d},S="function"==typeof Symbol&&Symbol.observable||"@@observable";function E(t){return t}var A=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(n){var r=new t;return r.source=this,r.operator=n,r},t.prototype.subscribe=function(t,n,r){var i=this,e=function(t){return t&&t instanceof w||function(t){return t&&a(t.next)&&a(t.error)&&a(t.complete)}(t)&&m(t)}(t)?t:new O(t,n,r);return g((function(){var t=i.operator,n=i.source;e.add(t?t.call(e,n):n?i._subscribe(e):i._trySubscribe(e))})),e},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},t.prototype.forEach=function(t,n){var r=this;return new(n=k(n))((function(n,i){var e=new O({next:function(n){try{t(n)}catch(t){i(t),e.unsubscribe()}},error:i,complete:n});r.subscribe(e)}))},t.prototype._subscribe=function(t){return this.source?.subscribe(t)},t.prototype[S]=function(){return this},t.prototype.pipe=function(){return function(t){return 0===t.length?E:1===t.length?t[0]:function(n){return t.reduce((function(t,n){return n(t)}),n)}}([...arguments])(this)},t.prototype.toPromise=function(t){var n=this;return new(t=k(t))((function(t,r){var i;n.subscribe((function(t){return i=t}),(function(t){return r(t)}),(function(){return t(i)}))}))},t.create=function(n){return new t(n)},t}();function k(t){return t??undefined??Promise}var P=l((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),C=function(t){function n(){var n=t.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return u(n,t),n.prototype.lift=function(t){var n=new T(this,this);return n.operator=t,n},n.prototype._throwIfClosed=function(){if(this.closed)throw new P},n.prototype.next=function(t){var n=this;g((function(){var r,i;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||=Array.from(n.observers);try{for(var e=c(n.currentObservers),o=e.next();!o.done;o=e.next())o.value.next(t)}catch(t){r={error:t}}finally{try{o&&!o.done&&(i=e.return)&&i.call(e)}finally{if(r)throw r.error}}}}))},n.prototype.error=function(t){var n=this;g((function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var r=n.observers;r.length;)r.shift().error(t)}}))},n.prototype.complete=function(){var t=this;g((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var n=t.observers;n.length;)n.shift().complete()}}))},n.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(n.prototype,"observed",{get:function(){return this.observers?.length>0},enumerable:!1,configurable:!0}),n.prototype._trySubscribe=function(n){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,n)},n.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},n.prototype._innerSubscribe=function(t){var n=this,r=this,i=r.observers;return r.hasError||r.isStopped?b:(this.currentObservers=null,i.push(t),new y((function(){n.currentObservers=null,v(i,t)})))},n.prototype._checkFinalizedStatuses=function(t){var n=this,r=n.isStopped;n.hasError?t.error(n.thrownError):r&&t.complete()},n.prototype.asObservable=function(){var t=new A;return t.source=this,t},n.create=function(t,n){return new T(t,n)},n}(A),T=function(t){function n(n,r){var i=t.call(this)||this;return i.destination=n,i.source=r,i}return u(n,t),n.prototype.next=function(t){var n,r;null==(r=(n=this.destination)?.next)||r.call(n,t)},n.prototype.error=function(t){var n,r;null==(r=(n=this.destination)?.error)||r.call(n,t)},n.prototype.complete=function(){var t,n;null==(n=(t=this.destination)?.complete)||n.call(t)},n.prototype._subscribe=function(t){return this.source?.subscribe(t)??b},n}(C),$=function(t){function n(n){var r=t.call(this)||this;return r._value=n,r}return u(n,t),Object.defineProperty(n.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),n.prototype._subscribe=function(n){var r=t.prototype._subscribe.call(this,n);return!r.closed&&n.next(this._value),r},n.prototype.getValue=function(){var t=this,n=t._value;if(t.hasError)throw t.thrownError;return this._throwIfClosed(),n},n.prototype.next=function(n){t.prototype.next.call(this,this._value=n)},n}(C);function M(t){return t}function _(t,n){return(r,i)=>{let e=function(t,n,r,i){let e=F.get(t);return e||(e=[],F.set(t,e)),e.push({options:r,name:n,optionFactory:i.optionFactory||M,service:{name:i.name,method:i.method||"subscribe"}}),e}(r,i,t,n);1===e.length&&function(t,n){t.connectedCallback=W(t.connectedCallback,n),t.componentWillLoad=function(t,n){return async function(...r){return!0===U.get(this)?(await z(this),t?t.apply(this,r):void 0):W(t,n).apply(this,r)}}(t.componentWillLoad,n),t.componentDidUnload=q(t.componentDidUnload),t.disconnectedCallback=q(t.disconnectedCallback)}(r,e)}}var F=new WeakMap,N=new WeakMap,U=new WeakMap;function W(t,r){return async function(...i){U.set(this,!0),N.set(this,[]),await z(this);let e=new $(this.context);!function(t,r,i){let e=n(t),{get:o,set:u}=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),r);Object.defineProperty(e,r,{configurable:!0,get:o,set:function(t){u.call(this,t),i.next(t)}})}(this,"context",e);for(let t of r)t.options=t.optionFactory(t.options,this),D(t.options)&&(t.options.context=e),I(this,t);if(t)return t.apply(this,i)}}function q(t){return async function(...n){let r;return t&&(r=t.apply(this,n)),function(t){let n=N.get(t);for(let t of n)t();N.set(t,[])}(this),r}}function D(t){return"context"in t}function z(t){let n=[];return t.platform||n.push(B(t,"platform")),t.context||n.push(B(t,"context")),0===n.length?Promise.resolve():Promise.all(n)}function B(t,r){let i=n(t);return new Promise((t=>{Object.defineProperty(i,r,{configurable:!0,set:n=>{delete i[r],i[r]=n,t()}})}))}function I(t,n){let r=function(t,n){let r={...n.options};!function(t,n){t.filter&&=t.filter.map((t=>t.bind(n))),t.map&&=t.map.map((t=>t.bind(n)))}(r,t);let i=n.service.name,e=t.platform;if(!e.has(i))throw Error(`Service ${i} does not exist`);return e.get(i)[n.service.method](function(t,n){return r=>{t[n]=r}}(t,n.name),r)}(t,n);"function"==typeof r&&N.get(t).push(r)}function L(t={}){return _(t,{name:r.LimeTypeRepository})}function Q(t={}){let n={name:r.LimeTypeRepository};return t.map=[X,...t.map||[]],t.context=null,_(t,n)}function X(t){let{limetype:n}=this.context;return t[n]}function Z(t={}){let n={name:r.LimeObjectRepository};return t.map=[G,...t.map||[]],t.context=null,_(t,n)}function G(t){let{limetype:n,id:r}=this.context;if(t[n])return t[n].find((t=>t.id===r))}function H(t){return n=>{(function(t,n){t.commandId=n})(n,t.id),function(t,n){Object.defineProperty(t,Symbol.hasInstance,{value:t=>function(t){let n,r=[],i=t;for(;n=J(i);)r=[...r,n],i=Object.getPrototypeOf(i);return[...new Set(r)]}(t).includes(n)})}(n,t.id)}}function J(t){return"string"==typeof t?t:t&&t.constructor&&t.constructor.commandId?t.constructor.commandId:t&&t.commandId?t.commandId:null}function K(t,n,r,i){var e,o=arguments.length,u=o<3?n:null===i?i=Object.getOwnPropertyDescriptor(n,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(t,n,r,i);else for(var c=t.length-1;c>=0;c--)(e=t[c])&&(u=(o<3?e(u):o>3?e(n,r,u):e(n,r))||u);return o>3&&u&&Object.defineProperty(n,r,u),u}r.LimeObjectRepository="state.limeobjects",r.CommandBus="commandBus";var V=class{context;filter;relation};V=K([H({id:"limeobject.bulk-create-dialog"})],V);var Y=class{limetype;limeobject;route=!1;title;subtitle;context;autoAttachRelation;saveCommand};Y=K([H({id:"limeobject.create-dialog"})],Y);var tt=class{context};tt=K([H({id:"limeobject.delete-object"})],tt);var nt=class{context};nt=K([H({id:"limeobject.object-access"})],nt);var rt=class{context;limeobject;route=!1;label};rt=K([H({id:"limeobject.save-object"})],rt);var it=function(t){return t.AND="AND",t.OR="OR",t.NOT="!",t.EQUALS="=",t.NOT_EQUALS="!=",t.GREATER=">",t.LESS="<",t.IN="IN",t.BEGINS="=?",t.LIKE="?",t.LESS_OR_EQUAL="<=",t.GREATER_OR_EQUAL=">=",t.ENDS="=$",t}({}),et={Count:"COUNT"};r.Query="query";var ot={Post:"POST"};r.Http="http",r.EventDispatcher="eventDispatcher",r.Translate="translate",r.Dialog="dialog",r.KeybindingRegistry="keybindingRegistry",r.Navigator="navigator";var ut,ct,ft=class{path;query;hash;state};function st(t){return _(t,{name:r.ConfigRepository})}function at(t={}){return _(t,{name:r.FilterRepository})}function lt(t){let n=window.Lime?.logger?.createLogger;return"function"==typeof n?(void 0===ct&&(ct=function(t){return t&&(function(t){let n=t.match(/\/([^/]+)-lwc-components\//);return n?n[1]:null}(t)||function(t){let n=t.match(/\/packages\/(?:@[^/]+\/)?([^/]+)/);return n?n[1]:null}(t)||function(t){let n=t.indexOf("+");if(-1===n)return null;let r=t.slice(0,n),i=r.lastIndexOf("/");return-1===i?null:r.slice(i+1)}(t)||function(t){let n=t.match(/\/static\/([^/]+)\//);return n?n[1]:null}(t))||null}(void 0===ut?ut="string"==typeof import.meta.url?import.meta.url:function(){try{let t=Error(".").stack;if(!t)return null;let n=t.split("\n");for(let t of n){let n=t.match(/(https?:\/\/[^)\s:]+)/);if(n)return n[1]}return null}catch{return null}}():ut)),ct&&(t=`${ct}:${t}`),n(t)):(console.warn(`Logger factory is not configured. Returning console logger for scope "${t}".`),console)}ft=K([H({id:"navigator.navigate"})],ft),r.Notification="notifications",r.RouteRegistry="routeRegistry",r.TaskRepository="state.tasks",r.ConfigRepository="state.configs",r.Device="state.device",r.FilterRepository="state.filters",r.UserDataRepository="state.user-data",r.Application="state.application",r.UserPreferencesRepository="userPreferences",r.DateTimeFormatter="datetimeformatter",r.ConditionRegistry="conditionRegistry",r.ViewFactoryRegistry="viewFactoryRegistry",r.WebComponentRegistry="webComponentRegistry",r.NotificationRepository="state.notifications",r.PollerFactory="pollerFactory",r.Logger="logger",r.ProblemRepository="problemRepository",r.AIContextRegistry="aiContextRegistry";var ht=null;try{t((function(t,n){ht||=lt("uncaught-error");let r={};n&&(r.element=n.tagName,n.id&&(r.elementId=n.id));let i=t instanceof Error?t.message:String(t),e=t instanceof Error?t:void 0;ht.error(i,e,r)}))}catch{}export{H,Q as M,ot as Q,it as X,et as Z,e as a,at as b,lt as g,i,L as j,r as n,st as r,Z as z}