@limetech/lime-crm-building-blocks 1.95.0 → 1.97.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (246) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/{_MapCache-2e84a981.js → _MapCache-8b125fbb.js} +0 -26
  3. package/dist/cjs/{_Uint8Array-1e99726d.js → _Uint8Array-95263550.js} +1 -12
  4. package/dist/cjs/_baseIsEqual-cb7951b0.js +496 -0
  5. package/dist/cjs/_defineProperty-40a6ad5d.js +15 -0
  6. package/dist/cjs/{get-1acf79ce.js → get-932b213e.js} +5 -4
  7. package/dist/cjs/isEqual-e77cce75.js +37 -0
  8. package/dist/cjs/isSymbol-5b36aeee.js +30 -0
  9. package/dist/cjs/lime-crm-building-blocks.cjs.js +1 -1
  10. package/dist/cjs/lime-query.types-bcb63a22.js +61 -0
  11. package/dist/cjs/limebb-component-config.cjs.entry.js +3 -2
  12. package/dist/cjs/limebb-document-item.cjs.entry.js +174 -0
  13. package/dist/cjs/limebb-document-picker.cjs.entry.js +82 -0
  14. package/dist/cjs/limebb-feed-item-thumbnail-file-info.cjs.entry.js +1 -1
  15. package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +1 -1
  16. package/dist/cjs/limebb-feed.cjs.entry.js +1 -1
  17. package/dist/cjs/limebb-icon-picker.cjs.entry.js +1 -1
  18. package/dist/cjs/limebb-info-tile-format.cjs.entry.js +1 -1
  19. package/dist/cjs/limebb-info-tile.cjs.entry.js +1 -1
  20. package/dist/cjs/limebb-kanban-group.cjs.entry.js +1 -1
  21. package/dist/cjs/limebb-kanban-item.cjs.entry.js +1 -1
  22. package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +382 -150
  23. package/dist/cjs/limebb-lime-query-filter-and_5.cjs.entry.js +278 -0
  24. package/dist/cjs/limebb-lime-query-value-input.cjs.entry.js +239 -0
  25. package/dist/cjs/limebb-limetype-field_2.cjs.entry.js +406 -0
  26. package/dist/cjs/limebb-live-docs-info.cjs.entry.js +2 -2
  27. package/dist/cjs/limebb-locale-picker.cjs.entry.js +13 -498
  28. package/dist/cjs/limebb-mention-group-counter.cjs.entry.js +2 -2
  29. package/dist/cjs/limebb-navigation-button_2.cjs.entry.js +3 -3
  30. package/dist/cjs/limebb-notification-item.cjs.entry.js +1 -1
  31. package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +2 -2
  32. package/dist/cjs/limebb-property-selector.cjs.entry.js +234 -0
  33. package/dist/cjs/limebb-response-format-item.cjs.entry.js +80 -0
  34. package/dist/cjs/limebb-text-editor.cjs.entry.js +22 -83
  35. package/dist/cjs/limebb-trend-indicator.cjs.entry.js +1 -1
  36. package/dist/cjs/limetype-1fe0207f.js +90 -0
  37. package/dist/cjs/loader.cjs.js +1 -1
  38. package/dist/cjs/property-resolution-fb42a46b.js +66 -0
  39. package/dist/cjs/random-string-aac0a74b.js +24 -0
  40. package/dist/collection/collection-manifest.json +12 -0
  41. package/dist/collection/components/document-picker/document-item/document-item.css +64 -0
  42. package/dist/collection/components/document-picker/document-item/document-item.js +265 -0
  43. package/dist/collection/components/document-picker/document-item/document-item.types.js +1 -0
  44. package/dist/collection/components/document-picker/document-picker.css +139 -0
  45. package/dist/collection/components/document-picker/document-picker.js +304 -0
  46. package/dist/collection/components/document-picker/document.types.js +1 -0
  47. package/dist/collection/components/feed/feed-item/feed-timeline-item.js +1 -1
  48. package/dist/collection/components/feed/feed-item-thumbnail-file-info/feed-item-thumbnail-file-info.js +1 -1
  49. package/dist/collection/components/feed/feed.js +1 -1
  50. package/dist/collection/components/icon-picker/icon-picker.js +1 -1
  51. package/dist/collection/components/info-tile/format/config/info-tile-format.js +1 -1
  52. package/dist/collection/components/info-tile/info-tile.js +1 -1
  53. package/dist/collection/components/kanban/kanban-group/kanban-group.js +1 -1
  54. package/dist/collection/components/kanban/kanban-item/kanban-item.js +1 -1
  55. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-and.css +121 -0
  56. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-and.js +257 -0
  57. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.css +39 -0
  58. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.js +246 -0
  59. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-expression.css +104 -0
  60. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-expression.js +220 -0
  61. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.css +107 -0
  62. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.js +212 -0
  63. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-or.css +123 -0
  64. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-or.js +237 -0
  65. package/dist/collection/components/lime-query-builder/expressions/lime-query-value-input.css +48 -0
  66. package/dist/collection/components/lime-query-builder/expressions/lime-query-value-input.js +457 -0
  67. package/dist/collection/components/lime-query-builder/filter-conversion.js +118 -21
  68. package/dist/collection/components/lime-query-builder/lime-query-builder.css +30 -17
  69. package/dist/collection/components/lime-query-builder/lime-query-builder.js +233 -28
  70. package/dist/collection/components/lime-query-builder/limetype-field/limetype-field.js +435 -0
  71. package/dist/collection/components/lime-query-builder/property-selection-format.js +158 -0
  72. package/dist/collection/components/lime-query-builder/property-selector/property-selector.css +8 -0
  73. package/dist/collection/components/lime-query-builder/property-selector/property-selector.js +422 -0
  74. package/dist/collection/components/lime-query-builder/response-format-editor.css +72 -0
  75. package/dist/collection/components/lime-query-builder/response-format-editor.js +249 -0
  76. package/dist/collection/components/lime-query-builder/response-format-item.css +61 -0
  77. package/dist/collection/components/lime-query-builder/response-format-item.js +208 -0
  78. package/dist/collection/components/limeobject/file-viewer/live-docs-info.js +2 -2
  79. package/dist/collection/components/locale-picker/locale-picker.js +1 -1
  80. package/dist/collection/components/notification-list/notification-item/notification-item.js +1 -1
  81. package/dist/collection/components/percentage-visualizer/percentage-visualizer.js +2 -2
  82. package/dist/collection/components/summary-popover/summary-popover.js +3 -3
  83. package/dist/collection/components/text-editor/mention-group-counter.js +2 -2
  84. package/dist/collection/components/text-editor/text-editor.js +1 -1
  85. package/dist/collection/components/trend-indicator/trend-indicator.js +1 -1
  86. package/dist/collection/util/format-bytes.js +36 -0
  87. package/dist/components/_MapCache.js +2 -27
  88. package/dist/components/_Uint8Array.js +2 -12
  89. package/dist/components/_baseIsEqual.js +494 -0
  90. package/dist/components/_defineProperty.js +13 -0
  91. package/dist/components/document-item.js +190 -0
  92. package/dist/components/feed-item-thumbnail-file-info.js +1 -1
  93. package/dist/components/feed-timeline-item.js +1 -1
  94. package/dist/components/get.js +2 -1
  95. package/dist/components/isEqual.js +35 -0
  96. package/dist/components/isSymbol.js +28 -0
  97. package/dist/components/kanban-group.js +1 -1
  98. package/dist/components/kanban-item.js +1 -1
  99. package/dist/components/lime-query-filter-and.js +408 -0
  100. package/dist/components/lime-query-filter-comparison.js +152 -0
  101. package/dist/components/lime-query-value-input.js +266 -0
  102. package/dist/components/limebb-document-item.d.ts +11 -0
  103. package/dist/components/limebb-document-item.js +6 -0
  104. package/dist/components/limebb-document-picker.d.ts +11 -0
  105. package/dist/components/limebb-document-picker.js +111 -0
  106. package/dist/components/limebb-feed.js +1 -1
  107. package/dist/components/limebb-icon-picker.js +1 -1
  108. package/dist/components/limebb-info-tile-format.js +1 -1
  109. package/dist/components/limebb-info-tile.js +1 -1
  110. package/dist/components/limebb-lime-query-builder.js +441 -149
  111. package/dist/components/limebb-lime-query-filter-and.d.ts +11 -0
  112. package/dist/components/limebb-lime-query-filter-and.js +6 -0
  113. package/dist/components/limebb-lime-query-filter-comparison.d.ts +11 -0
  114. package/dist/components/limebb-lime-query-filter-comparison.js +6 -0
  115. package/dist/components/limebb-lime-query-filter-expression.d.ts +11 -0
  116. package/dist/components/limebb-lime-query-filter-expression.js +6 -0
  117. package/dist/components/limebb-lime-query-filter-not.d.ts +11 -0
  118. package/dist/components/limebb-lime-query-filter-not.js +6 -0
  119. package/dist/components/limebb-lime-query-filter-or.d.ts +11 -0
  120. package/dist/components/limebb-lime-query-filter-or.js +6 -0
  121. package/dist/components/limebb-lime-query-value-input.d.ts +11 -0
  122. package/dist/components/limebb-lime-query-value-input.js +6 -0
  123. package/dist/components/limebb-limetype-field.d.ts +11 -0
  124. package/dist/components/limebb-limetype-field.js +6 -0
  125. package/dist/components/limebb-locale-picker.js +8 -493
  126. package/dist/components/limebb-mention-group-counter.js +2 -2
  127. package/dist/components/limebb-percentage-visualizer.js +2 -2
  128. package/dist/components/limebb-property-selector.d.ts +11 -0
  129. package/dist/components/limebb-property-selector.js +6 -0
  130. package/dist/components/limebb-response-format-editor.d.ts +11 -0
  131. package/dist/components/limebb-response-format-editor.js +6 -0
  132. package/dist/components/limebb-response-format-item.d.ts +11 -0
  133. package/dist/components/limebb-response-format-item.js +6 -0
  134. package/dist/components/limebb-text-editor.js +8 -69
  135. package/dist/components/limebb-trend-indicator.js +1 -1
  136. package/dist/components/limetype-field.js +184 -0
  137. package/dist/components/limetype.js +85 -0
  138. package/dist/components/live-docs-info.js +2 -2
  139. package/dist/components/notification-item.js +1 -1
  140. package/dist/components/property-selector.js +317 -0
  141. package/dist/components/random-string.js +22 -0
  142. package/dist/components/response-format-editor.js +278 -0
  143. package/dist/components/response-format-item.js +104 -0
  144. package/dist/components/summary-popover.js +3 -3
  145. package/dist/esm/{_MapCache-6484495d.js → _MapCache-af496e9d.js} +2 -27
  146. package/dist/esm/{_Uint8Array-e5cac922.js → _Uint8Array-d6ebd526.js} +3 -13
  147. package/dist/esm/_baseIsEqual-28053b81.js +494 -0
  148. package/dist/esm/_defineProperty-e6a185c3.js +13 -0
  149. package/dist/esm/{get-f9e0b2e1.js → get-3e42932b.js} +2 -1
  150. package/dist/esm/isEqual-57d0c223.js +35 -0
  151. package/dist/esm/isSymbol-1c5f65cc.js +28 -0
  152. package/dist/esm/lime-crm-building-blocks.js +1 -1
  153. package/dist/esm/lime-query.types-f72355e1.js +59 -0
  154. package/dist/esm/limebb-component-config.entry.js +3 -2
  155. package/dist/esm/limebb-document-item.entry.js +170 -0
  156. package/dist/esm/limebb-document-picker.entry.js +78 -0
  157. package/dist/esm/limebb-feed-item-thumbnail-file-info.entry.js +1 -1
  158. package/dist/esm/limebb-feed-timeline-item.entry.js +1 -1
  159. package/dist/esm/limebb-feed.entry.js +1 -1
  160. package/dist/esm/limebb-icon-picker.entry.js +1 -1
  161. package/dist/esm/limebb-info-tile-format.entry.js +1 -1
  162. package/dist/esm/limebb-info-tile.entry.js +1 -1
  163. package/dist/esm/limebb-kanban-group.entry.js +1 -1
  164. package/dist/esm/limebb-kanban-item.entry.js +1 -1
  165. package/dist/esm/limebb-lime-query-builder.entry.js +379 -147
  166. package/dist/esm/limebb-lime-query-filter-and_5.entry.js +270 -0
  167. package/dist/esm/limebb-lime-query-value-input.entry.js +235 -0
  168. package/dist/esm/limebb-limetype-field_2.entry.js +401 -0
  169. package/dist/esm/limebb-live-docs-info.entry.js +2 -2
  170. package/dist/esm/limebb-locale-picker.entry.js +9 -494
  171. package/dist/esm/limebb-mention-group-counter.entry.js +2 -2
  172. package/dist/esm/limebb-navigation-button_2.entry.js +3 -3
  173. package/dist/esm/limebb-notification-item.entry.js +1 -1
  174. package/dist/esm/limebb-percentage-visualizer.entry.js +2 -2
  175. package/dist/esm/limebb-property-selector.entry.js +230 -0
  176. package/dist/esm/limebb-response-format-item.entry.js +76 -0
  177. package/dist/esm/limebb-text-editor.entry.js +8 -69
  178. package/dist/esm/limebb-trend-indicator.entry.js +1 -1
  179. package/dist/esm/limetype-6e7552a7.js +85 -0
  180. package/dist/esm/loader.js +1 -1
  181. package/dist/esm/property-resolution-fde2375e.js +63 -0
  182. package/dist/esm/random-string-f6ef6fbf.js +22 -0
  183. package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
  184. package/dist/lime-crm-building-blocks/{p-85e11ff7.entry.js → p-00da9b24.entry.js} +1 -1
  185. package/dist/lime-crm-building-blocks/p-02c0cc04.entry.js +1 -0
  186. package/dist/lime-crm-building-blocks/p-123190c3.js +1 -0
  187. package/dist/lime-crm-building-blocks/p-244ee55b.entry.js +1 -0
  188. package/dist/lime-crm-building-blocks/p-35897ec3.js +1 -0
  189. package/dist/lime-crm-building-blocks/{p-d6a07ea4.entry.js → p-3932077b.entry.js} +1 -1
  190. package/dist/lime-crm-building-blocks/p-3b0a15ec.js +1 -0
  191. package/dist/lime-crm-building-blocks/p-4a82410e.entry.js +1 -0
  192. package/dist/lime-crm-building-blocks/{p-a694aae5.entry.js → p-50d3d61a.entry.js} +1 -1
  193. package/dist/lime-crm-building-blocks/p-5a6d2e7f.js +1 -0
  194. package/dist/lime-crm-building-blocks/p-60971d64.js +1 -0
  195. package/dist/lime-crm-building-blocks/{p-a44f543c.entry.js → p-61282e1a.entry.js} +1 -1
  196. package/dist/lime-crm-building-blocks/p-6c1146ca.entry.js +1 -0
  197. package/dist/lime-crm-building-blocks/p-70a28b93.entry.js +1 -0
  198. package/dist/lime-crm-building-blocks/{p-16199127.entry.js → p-79d4668a.entry.js} +1 -1
  199. package/dist/lime-crm-building-blocks/p-7e6fb4af.js +1 -0
  200. package/dist/lime-crm-building-blocks/{p-88cc5b66.entry.js → p-82d33d43.entry.js} +1 -1
  201. package/dist/lime-crm-building-blocks/{p-7db8652e.entry.js → p-8c4eb49f.entry.js} +1 -1
  202. package/dist/lime-crm-building-blocks/p-96beaabc.entry.js +1 -0
  203. package/dist/lime-crm-building-blocks/p-9d25ed5a.entry.js +1 -0
  204. package/dist/lime-crm-building-blocks/{p-8dce83ad.entry.js → p-9d9f25da.entry.js} +1 -1
  205. package/dist/lime-crm-building-blocks/p-a659d55a.js +1 -0
  206. package/dist/lime-crm-building-blocks/p-b7c72179.entry.js +1 -0
  207. package/dist/lime-crm-building-blocks/p-baf4e428.entry.js +1 -0
  208. package/dist/lime-crm-building-blocks/{p-516210d4.entry.js → p-beb0d164.entry.js} +1 -1
  209. package/dist/lime-crm-building-blocks/p-d298b34e.js +1 -0
  210. package/dist/lime-crm-building-blocks/{p-047c89de.entry.js → p-d89c44ad.entry.js} +1 -1
  211. package/dist/lime-crm-building-blocks/p-e0ab1554.js +1 -0
  212. package/dist/lime-crm-building-blocks/{p-46d2f604.entry.js → p-e35299e0.entry.js} +1 -1
  213. package/dist/lime-crm-building-blocks/{p-8ef39ab8.entry.js → p-e9d23ef7.entry.js} +1 -1
  214. package/dist/lime-crm-building-blocks/p-ef8a5266.entry.js +1 -0
  215. package/dist/lime-crm-building-blocks/{p-abf1c197.entry.js → p-f52125a0.entry.js} +1 -1
  216. package/dist/lime-crm-building-blocks/p-f99c611d.entry.js +1 -0
  217. package/dist/lime-crm-building-blocks/p-fbda77a7.js +1 -0
  218. package/dist/lime-crm-building-blocks/p-fe2b91d9.js +1 -0
  219. package/dist/lime-crm-building-blocks/{p-d6af09a8.entry.js → p-ff0b244b.entry.js} +1 -1
  220. package/dist/types/components/document-picker/document-item/document-item.d.ts +46 -0
  221. package/dist/types/components/document-picker/document-item/document-item.types.d.ts +37 -0
  222. package/dist/types/components/document-picker/document-picker.d.ts +80 -0
  223. package/dist/types/components/document-picker/document.types.d.ts +2 -0
  224. package/dist/types/components/lime-query-builder/expressions/lime-query-filter-and.d.ts +56 -0
  225. package/dist/types/components/lime-query-builder/expressions/lime-query-filter-comparison.d.ts +64 -0
  226. package/dist/types/components/lime-query-builder/expressions/lime-query-filter-expression.d.ts +53 -0
  227. package/dist/types/components/lime-query-builder/expressions/lime-query-filter-not.d.ts +54 -0
  228. package/dist/types/components/lime-query-builder/expressions/lime-query-filter-or.d.ts +55 -0
  229. package/dist/types/components/lime-query-builder/expressions/lime-query-value-input.d.ts +92 -0
  230. package/dist/types/components/lime-query-builder/filter-conversion.d.ts +18 -0
  231. package/dist/types/components/lime-query-builder/lime-query-builder.d.ts +30 -8
  232. package/dist/types/components/lime-query-builder/limetype-field/limetype-field.d.ts +96 -0
  233. package/dist/types/components/lime-query-builder/property-selection-format.d.ts +23 -0
  234. package/dist/types/components/lime-query-builder/property-selector/property-selector.d.ts +71 -0
  235. package/dist/types/components/lime-query-builder/response-format-editor.d.ts +57 -0
  236. package/dist/types/components/lime-query-builder/response-format-item.d.ts +46 -0
  237. package/dist/types/components.d.ts +1795 -114
  238. package/dist/types/util/format-bytes.d.ts +20 -0
  239. package/package.json +2 -2
  240. package/dist/lime-crm-building-blocks/p-29346b1a.entry.js +0 -1
  241. package/dist/lime-crm-building-blocks/p-4ccce5cc.entry.js +0 -1
  242. package/dist/lime-crm-building-blocks/p-7ef3bace.entry.js +0 -1
  243. package/dist/lime-crm-building-blocks/p-8044ffbd.js +0 -1
  244. package/dist/lime-crm-building-blocks/p-92ec9205.entry.js +0 -1
  245. package/dist/lime-crm-building-blocks/p-bcc23575.js +0 -1
  246. package/dist/lime-crm-building-blocks/p-c40a3f4b.js +0 -1
@@ -0,0 +1,104 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$1 } from './property-selector.js';
3
+
4
+ const responseFormatItemCss = ":host(limebb-response-format-item){display:flex;flex-direction:column;gap:0.5rem;width:100%}.property-controls{display:flex;flex-direction:row;align-items:flex-start;gap:0.5rem;width:100%}.property-path{flex-grow:1;min-width:min(20rem, 100%)}.control-buttons{flex-shrink:0;display:flex;flex-direction:row;gap:0.25rem;align-items:center;padding-top:0.5rem}.control-buttons limel-icon-button{opacity:0.6;transition:opacity 0.2s ease}.control-buttons limel-icon-button:hover{opacity:1}.control-buttons limel-icon-button.has-value{opacity:1;color:rgb(var(--color-blue-default))}.alias,.description{padding-left:1.5rem;width:calc(100% - 1.5rem);max-width:40rem}@media (max-width: 768px){.property-controls{flex-direction:column;gap:0.5rem}.control-buttons{padding-top:0}.alias,.description{padding-left:0;width:100%}}";
5
+ const LimebbResponseFormatItemStyle0 = responseFormatItemCss;
6
+
7
+ const ResponseFormatItem = /*@__PURE__*/ proxyCustomElement(class ResponseFormatItem extends HTMLElement {
8
+ constructor() {
9
+ super();
10
+ this.__registerHost();
11
+ this.__attachShadow();
12
+ this.itemChange = createEvent(this, "itemChange", 7);
13
+ this.showAliasInput = false;
14
+ this.showDescriptionInput = false;
15
+ this.handlePathChange = (event) => {
16
+ event.stopPropagation();
17
+ this.itemChange.emit(Object.assign(Object.assign({}, this.item), { path: event.detail }));
18
+ };
19
+ this.toggleAliasInput = () => {
20
+ this.showAliasInput = !this.showAliasInput;
21
+ };
22
+ this.toggleDescriptionInput = () => {
23
+ this.showDescriptionInput = !this.showDescriptionInput;
24
+ };
25
+ this.handleAliasChange = (event) => {
26
+ event.stopPropagation();
27
+ const alias = event.detail;
28
+ this.itemChange.emit(Object.assign(Object.assign({}, this.item), { alias: alias || undefined }));
29
+ };
30
+ this.handleDescriptionChange = (event) => {
31
+ event.stopPropagation();
32
+ const description = event.detail;
33
+ this.itemChange.emit(Object.assign(Object.assign({}, this.item), { description: description || undefined }));
34
+ };
35
+ this.handleAliasBlur = () => {
36
+ if (this.item.alias) {
37
+ const trimmed = this.item.alias.trim();
38
+ if (trimmed !== this.item.alias) {
39
+ this.itemChange.emit(Object.assign(Object.assign({}, this.item), { alias: trimmed || undefined }));
40
+ }
41
+ }
42
+ };
43
+ this.handleDescriptionBlur = () => {
44
+ if (this.item.description) {
45
+ const trimmed = this.item.description.trim();
46
+ if (trimmed !== this.item.description) {
47
+ this.itemChange.emit(Object.assign(Object.assign({}, this.item), { description: trimmed || undefined }));
48
+ }
49
+ }
50
+ };
51
+ this.handleRemove = () => {
52
+ this.itemChange.emit(null);
53
+ };
54
+ }
55
+ componentWillLoad() {
56
+ // Initialize visibility based on whether fields have values
57
+ this.showAliasInput = !!this.item.alias;
58
+ this.showDescriptionInput = !!this.item.description;
59
+ }
60
+ componentWillUpdate() {
61
+ // Keep inputs visible if they have values
62
+ if (this.item.alias && !this.showAliasInput) {
63
+ this.showAliasInput = true;
64
+ }
65
+ if (this.item.description && !this.showDescriptionInput) {
66
+ this.showDescriptionInput = true;
67
+ }
68
+ }
69
+ render() {
70
+ return [
71
+ h("div", { key: '842362f9a9cfd48420409e53f0a8dc84048e383f', class: "property-controls" }, h("div", { key: '9f1b758ca0a6123e9acdff4ee4e1480b1938bb8b', class: "property-path" }, h("limebb-property-selector", { key: '3f4ca007b7131c94c57af2883638e19657e0a876', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: this.item.path, required: true, onChange: this.handlePathChange })), h("div", { key: 'c0141d13b1af44df29ad6502817330da6fe62283', class: "control-buttons" }, h("limel-icon-button", { key: '24aa415a1a1d91a46a251fb947fe071cd8f6e36f', icon: "add_tag", label: "Add alias", class: this.item.alias ? 'has-value' : '', onClick: this.toggleAliasInput }), h("limel-icon-button", { key: '4fa60916e5e179361c9fa6ab49fa06ce4c88ca66', icon: "comments", label: "Add description", class: this.item.description ? 'has-value' : '', onClick: this.toggleDescriptionInput }), h("limel-icon-button", { key: '03db71a330ccc905e37ffb9d8375bb6b774812b9', icon: "trash", label: "Remove property", onClick: this.handleRemove }))),
72
+ this.showAliasInput && (h("div", { key: 'bebaa718fd408dfdcce2f4cfe479e1b56325df86', class: "alias" }, h("limel-input-field", { key: '2a7c1e65558ef4f4892f854da04d7e083847defd', label: "Alias", value: this.item.alias || '', placeholder: "Custom property name...", onChange: this.handleAliasChange, onBlur: this.handleAliasBlur }))),
73
+ this.showDescriptionInput && (h("div", { key: 'b32b9b5006a9a48e44f5725f070f9bd376c8b15f', class: "description" }, h("limel-input-field", { key: '98f63d70cc77c68cbf535d33210a8d5e0c15cf72', label: "Description", value: this.item.description || '', placeholder: "Describe this property for AI...", onChange: this.handleDescriptionChange, onBlur: this.handleDescriptionBlur }))),
74
+ ];
75
+ }
76
+ static get style() { return LimebbResponseFormatItemStyle0; }
77
+ }, [1, "limebb-response-format-item", {
78
+ "platform": [16],
79
+ "context": [16],
80
+ "limetype": [1],
81
+ "item": [16],
82
+ "showAliasInput": [32],
83
+ "showDescriptionInput": [32]
84
+ }]);
85
+ function defineCustomElement() {
86
+ if (typeof customElements === "undefined") {
87
+ return;
88
+ }
89
+ const components = ["limebb-response-format-item", "limebb-property-selector"];
90
+ components.forEach(tagName => { switch (tagName) {
91
+ case "limebb-response-format-item":
92
+ if (!customElements.get(tagName)) {
93
+ customElements.define(tagName, ResponseFormatItem);
94
+ }
95
+ break;
96
+ case "limebb-property-selector":
97
+ if (!customElements.get(tagName)) {
98
+ defineCustomElement$1();
99
+ }
100
+ break;
101
+ } });
102
+ }
103
+
104
+ export { ResponseFormatItem as R, defineCustomElement as d };
@@ -72,14 +72,14 @@ const SummaryPopover = /*@__PURE__*/ proxyCustomElement(class SummaryPopover ext
72
72
  top: '0.125rem',
73
73
  right: '0.125rem',
74
74
  };
75
- return (h("limel-popover", { key: '61b0f5899c7d7a72f924bdfeb029ecce66e7cc9b', style: {
75
+ return (h("limel-popover", { key: '838ab57fbd92dd56d10df1e132c3a0f3f2fef58a', style: {
76
76
  '--limebb-summary-popover-timeout': `${this.triggerDelay}ms`,
77
- }, open: this.isPopoverOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("div", { key: '3f21df09b18083e568eab2e77f5ea5c58bcbfcad', slot: "trigger", tabIndex: 0, onMouseEnter: this.openPopoverWithDelay, onMouseLeave: this.resetTimeout, onFocus: this.openPopoverWithDelay }, h("slot", { key: '4f51bda5be27a848a69b57c9798865668cec6a44', name: "trigger" }), h("div", { key: '2b801e9ad42a9823efd7736b062a0fd70a7d6698', class: "opening-countdown-indicator" })), h("limel-card", { key: 'c964d35c5671c73a42f5202f51226ccac634eff8', style: {
77
+ }, open: this.isPopoverOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("div", { key: 'ae1c5c30ac48ea401319596edc02c0cebecede2c', slot: "trigger", tabIndex: 0, onMouseEnter: this.openPopoverWithDelay, onMouseLeave: this.resetTimeout, onFocus: this.openPopoverWithDelay }, h("slot", { key: 'c4aa17eca607080749902ebc19dca7cead778af9', name: "trigger" }), h("div", { key: 'a19c9591ea7744550f1a7588522552155549b4d1', class: "opening-countdown-indicator" })), h("limel-card", { key: 'c19be162436f7744717934e0f5b21e2558dacb5d', style: {
78
78
  'max-width': this.popoverMaxWidth,
79
79
  'max-height': this.popoverMaxHeight,
80
80
  'min-width': '7rem',
81
81
  'min-height': '3rem',
82
- }, orientation: "landscape", heading: this.heading, subheading: this.subheading, icon: this.icon, value: this.value, image: this.image, actions: this.actions, onActionSelected: this.handleSelected }, h("limebb-navigation-button", { key: '3a55e6e6d8bf15284fe826d7065ebd61304d8248', slot: "component", type: "close", style: closeButtonStyle, tooltipLabel: "Close", tooltipHelperLabel: "Esc", onClick: this.handleCloseClick }))));
82
+ }, orientation: "landscape", heading: this.heading, subheading: this.subheading, icon: this.icon, value: this.value, image: this.image, actions: this.actions, onActionSelected: this.handleSelected }, h("limebb-navigation-button", { key: 'e2e8685758030513feacce28e6b9a09cadb7f6c7', slot: "component", type: "close", style: closeButtonStyle, tooltipLabel: "Close", tooltipHelperLabel: "Esc", onClick: this.handleCloseClick }))));
83
83
  }
84
84
  static get style() { return LimebbSummaryPopoverStyle0; }
85
85
  }, [1, "limebb-summary-popover", {
@@ -1,29 +1,4 @@
1
- import { a as isObjectLike, b as baseGetTag, g as getNative, M as Map } from './_Map-aede53b6.js';
2
-
3
- /** `Object#toString` result references. */
4
- var symbolTag = '[object Symbol]';
5
-
6
- /**
7
- * Checks if `value` is classified as a `Symbol` primitive or object.
8
- *
9
- * @static
10
- * @memberOf _
11
- * @since 4.0.0
12
- * @category Lang
13
- * @param {*} value The value to check.
14
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
15
- * @example
16
- *
17
- * _.isSymbol(Symbol.iterator);
18
- * // => true
19
- *
20
- * _.isSymbol('abc');
21
- * // => false
22
- */
23
- function isSymbol(value) {
24
- return typeof value == 'symbol' ||
25
- (isObjectLike(value) && baseGetTag(value) == symbolTag);
26
- }
1
+ import { g as getNative, M as Map } from './_Map-aede53b6.js';
27
2
 
28
3
  /**
29
4
  * Performs a
@@ -455,4 +430,4 @@ MapCache.prototype.get = mapCacheGet;
455
430
  MapCache.prototype.has = mapCacheHas;
456
431
  MapCache.prototype.set = mapCacheSet;
457
432
 
458
- export { ListCache as L, MapCache as M, eq as e, isSymbol as i };
433
+ export { ListCache as L, MapCache as M, eq as e };
@@ -1,17 +1,7 @@
1
- import { g as getNative, i as isArray, M as Map, r as root } from './_Map-aede53b6.js';
2
- import { L as ListCache, M as MapCache } from './_MapCache-6484495d.js';
1
+ import { L as ListCache, M as MapCache } from './_MapCache-af496e9d.js';
2
+ import { i as isArray, M as Map, r as root } from './_Map-aede53b6.js';
3
3
  import { c as isArguments, a as isBuffer, b as isTypedArray, i as isArrayLike, e as baseKeys } from './_getTag-d02a95fa.js';
4
4
 
5
- var defineProperty = (function() {
6
- try {
7
- var func = getNative(Object, 'defineProperty');
8
- func({}, '', {});
9
- return func;
10
- } catch (e) {}
11
- }());
12
-
13
- const defineProperty$1 = defineProperty;
14
-
15
5
  /** Used as references for various `Number` constants. */
16
6
  var MAX_SAFE_INTEGER = 9007199254740991;
17
7
 
@@ -356,4 +346,4 @@ var Uint8Array = root.Uint8Array;
356
346
 
357
347
  const Uint8Array$1 = Uint8Array;
358
348
 
359
- export { Stack as S, Uint8Array$1 as U, arrayPush as a, arrayLikeKeys as b, getSymbols$1 as c, defineProperty$1 as d, baseGetAllKeys as e, getAllKeys as g, isIndex as i, keys as k, stubArray as s };
349
+ export { Stack as S, Uint8Array$1 as U, arrayPush as a, arrayLikeKeys as b, getSymbols$1 as c, baseGetAllKeys as d, getAllKeys as g, isIndex as i, keys as k, stubArray as s };
@@ -0,0 +1,494 @@
1
+ import { U as Uint8Array, g as getAllKeys, S as Stack } from './_Uint8Array-d6ebd526.js';
2
+ import { M as MapCache, e as eq } from './_MapCache-af496e9d.js';
3
+ import { S as Symbol, i as isArray, a as isObjectLike } from './_Map-aede53b6.js';
4
+ import { g as getTag, a as isBuffer, b as isTypedArray } from './_getTag-d02a95fa.js';
5
+
6
+ /** Used to stand-in for `undefined` hash values. */
7
+ var HASH_UNDEFINED = '__lodash_hash_undefined__';
8
+
9
+ /**
10
+ * Adds `value` to the array cache.
11
+ *
12
+ * @private
13
+ * @name add
14
+ * @memberOf SetCache
15
+ * @alias push
16
+ * @param {*} value The value to cache.
17
+ * @returns {Object} Returns the cache instance.
18
+ */
19
+ function setCacheAdd(value) {
20
+ this.__data__.set(value, HASH_UNDEFINED);
21
+ return this;
22
+ }
23
+
24
+ /**
25
+ * Checks if `value` is in the array cache.
26
+ *
27
+ * @private
28
+ * @name has
29
+ * @memberOf SetCache
30
+ * @param {*} value The value to search for.
31
+ * @returns {number} Returns `true` if `value` is found, else `false`.
32
+ */
33
+ function setCacheHas(value) {
34
+ return this.__data__.has(value);
35
+ }
36
+
37
+ /**
38
+ *
39
+ * Creates an array cache object to store unique values.
40
+ *
41
+ * @private
42
+ * @constructor
43
+ * @param {Array} [values] The values to cache.
44
+ */
45
+ function SetCache(values) {
46
+ var index = -1,
47
+ length = values == null ? 0 : values.length;
48
+
49
+ this.__data__ = new MapCache;
50
+ while (++index < length) {
51
+ this.add(values[index]);
52
+ }
53
+ }
54
+
55
+ // Add methods to `SetCache`.
56
+ SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
57
+ SetCache.prototype.has = setCacheHas;
58
+
59
+ /**
60
+ * A specialized version of `_.some` for arrays without support for iteratee
61
+ * shorthands.
62
+ *
63
+ * @private
64
+ * @param {Array} [array] The array to iterate over.
65
+ * @param {Function} predicate The function invoked per iteration.
66
+ * @returns {boolean} Returns `true` if any element passes the predicate check,
67
+ * else `false`.
68
+ */
69
+ function arraySome(array, predicate) {
70
+ var index = -1,
71
+ length = array == null ? 0 : array.length;
72
+
73
+ while (++index < length) {
74
+ if (predicate(array[index], index, array)) {
75
+ return true;
76
+ }
77
+ }
78
+ return false;
79
+ }
80
+
81
+ /**
82
+ * Checks if a `cache` value for `key` exists.
83
+ *
84
+ * @private
85
+ * @param {Object} cache The cache to query.
86
+ * @param {string} key The key of the entry to check.
87
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
88
+ */
89
+ function cacheHas(cache, key) {
90
+ return cache.has(key);
91
+ }
92
+
93
+ /** Used to compose bitmasks for value comparisons. */
94
+ var COMPARE_PARTIAL_FLAG$3 = 1,
95
+ COMPARE_UNORDERED_FLAG$1 = 2;
96
+
97
+ /**
98
+ * A specialized version of `baseIsEqualDeep` for arrays with support for
99
+ * partial deep comparisons.
100
+ *
101
+ * @private
102
+ * @param {Array} array The array to compare.
103
+ * @param {Array} other The other array to compare.
104
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
105
+ * @param {Function} customizer The function to customize comparisons.
106
+ * @param {Function} equalFunc The function to determine equivalents of values.
107
+ * @param {Object} stack Tracks traversed `array` and `other` objects.
108
+ * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
109
+ */
110
+ function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
111
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG$3,
112
+ arrLength = array.length,
113
+ othLength = other.length;
114
+
115
+ if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
116
+ return false;
117
+ }
118
+ // Check that cyclic values are equal.
119
+ var arrStacked = stack.get(array);
120
+ var othStacked = stack.get(other);
121
+ if (arrStacked && othStacked) {
122
+ return arrStacked == other && othStacked == array;
123
+ }
124
+ var index = -1,
125
+ result = true,
126
+ seen = (bitmask & COMPARE_UNORDERED_FLAG$1) ? new SetCache : undefined;
127
+
128
+ stack.set(array, other);
129
+ stack.set(other, array);
130
+
131
+ // Ignore non-index properties.
132
+ while (++index < arrLength) {
133
+ var arrValue = array[index],
134
+ othValue = other[index];
135
+
136
+ if (customizer) {
137
+ var compared = isPartial
138
+ ? customizer(othValue, arrValue, index, other, array, stack)
139
+ : customizer(arrValue, othValue, index, array, other, stack);
140
+ }
141
+ if (compared !== undefined) {
142
+ if (compared) {
143
+ continue;
144
+ }
145
+ result = false;
146
+ break;
147
+ }
148
+ // Recursively compare arrays (susceptible to call stack limits).
149
+ if (seen) {
150
+ if (!arraySome(other, function(othValue, othIndex) {
151
+ if (!cacheHas(seen, othIndex) &&
152
+ (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
153
+ return seen.push(othIndex);
154
+ }
155
+ })) {
156
+ result = false;
157
+ break;
158
+ }
159
+ } else if (!(
160
+ arrValue === othValue ||
161
+ equalFunc(arrValue, othValue, bitmask, customizer, stack)
162
+ )) {
163
+ result = false;
164
+ break;
165
+ }
166
+ }
167
+ stack['delete'](array);
168
+ stack['delete'](other);
169
+ return result;
170
+ }
171
+
172
+ /**
173
+ * Converts `map` to its key-value pairs.
174
+ *
175
+ * @private
176
+ * @param {Object} map The map to convert.
177
+ * @returns {Array} Returns the key-value pairs.
178
+ */
179
+ function mapToArray(map) {
180
+ var index = -1,
181
+ result = Array(map.size);
182
+
183
+ map.forEach(function(value, key) {
184
+ result[++index] = [key, value];
185
+ });
186
+ return result;
187
+ }
188
+
189
+ /**
190
+ * Converts `set` to an array of its values.
191
+ *
192
+ * @private
193
+ * @param {Object} set The set to convert.
194
+ * @returns {Array} Returns the values.
195
+ */
196
+ function setToArray(set) {
197
+ var index = -1,
198
+ result = Array(set.size);
199
+
200
+ set.forEach(function(value) {
201
+ result[++index] = value;
202
+ });
203
+ return result;
204
+ }
205
+
206
+ /** Used to compose bitmasks for value comparisons. */
207
+ var COMPARE_PARTIAL_FLAG$2 = 1,
208
+ COMPARE_UNORDERED_FLAG = 2;
209
+
210
+ /** `Object#toString` result references. */
211
+ var boolTag = '[object Boolean]',
212
+ dateTag = '[object Date]',
213
+ errorTag = '[object Error]',
214
+ mapTag = '[object Map]',
215
+ numberTag = '[object Number]',
216
+ regexpTag = '[object RegExp]',
217
+ setTag = '[object Set]',
218
+ stringTag = '[object String]',
219
+ symbolTag = '[object Symbol]';
220
+
221
+ var arrayBufferTag = '[object ArrayBuffer]',
222
+ dataViewTag = '[object DataView]';
223
+
224
+ /** Used to convert symbols to primitives and strings. */
225
+ var symbolProto = Symbol ? Symbol.prototype : undefined,
226
+ symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
227
+
228
+ /**
229
+ * A specialized version of `baseIsEqualDeep` for comparing objects of
230
+ * the same `toStringTag`.
231
+ *
232
+ * **Note:** This function only supports comparing values with tags of
233
+ * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
234
+ *
235
+ * @private
236
+ * @param {Object} object The object to compare.
237
+ * @param {Object} other The other object to compare.
238
+ * @param {string} tag The `toStringTag` of the objects to compare.
239
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
240
+ * @param {Function} customizer The function to customize comparisons.
241
+ * @param {Function} equalFunc The function to determine equivalents of values.
242
+ * @param {Object} stack Tracks traversed `object` and `other` objects.
243
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
244
+ */
245
+ function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
246
+ switch (tag) {
247
+ case dataViewTag:
248
+ if ((object.byteLength != other.byteLength) ||
249
+ (object.byteOffset != other.byteOffset)) {
250
+ return false;
251
+ }
252
+ object = object.buffer;
253
+ other = other.buffer;
254
+
255
+ case arrayBufferTag:
256
+ if ((object.byteLength != other.byteLength) ||
257
+ !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
258
+ return false;
259
+ }
260
+ return true;
261
+
262
+ case boolTag:
263
+ case dateTag:
264
+ case numberTag:
265
+ // Coerce booleans to `1` or `0` and dates to milliseconds.
266
+ // Invalid dates are coerced to `NaN`.
267
+ return eq(+object, +other);
268
+
269
+ case errorTag:
270
+ return object.name == other.name && object.message == other.message;
271
+
272
+ case regexpTag:
273
+ case stringTag:
274
+ // Coerce regexes to strings and treat strings, primitives and objects,
275
+ // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
276
+ // for more details.
277
+ return object == (other + '');
278
+
279
+ case mapTag:
280
+ var convert = mapToArray;
281
+
282
+ case setTag:
283
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG$2;
284
+ convert || (convert = setToArray);
285
+
286
+ if (object.size != other.size && !isPartial) {
287
+ return false;
288
+ }
289
+ // Assume cyclic values are equal.
290
+ var stacked = stack.get(object);
291
+ if (stacked) {
292
+ return stacked == other;
293
+ }
294
+ bitmask |= COMPARE_UNORDERED_FLAG;
295
+
296
+ // Recursively compare objects (susceptible to call stack limits).
297
+ stack.set(object, other);
298
+ var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
299
+ stack['delete'](object);
300
+ return result;
301
+
302
+ case symbolTag:
303
+ if (symbolValueOf) {
304
+ return symbolValueOf.call(object) == symbolValueOf.call(other);
305
+ }
306
+ }
307
+ return false;
308
+ }
309
+
310
+ /** Used to compose bitmasks for value comparisons. */
311
+ var COMPARE_PARTIAL_FLAG$1 = 1;
312
+
313
+ /** Used for built-in method references. */
314
+ var objectProto$1 = Object.prototype;
315
+
316
+ /** Used to check objects for own properties. */
317
+ var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
318
+
319
+ /**
320
+ * A specialized version of `baseIsEqualDeep` for objects with support for
321
+ * partial deep comparisons.
322
+ *
323
+ * @private
324
+ * @param {Object} object The object to compare.
325
+ * @param {Object} other The other object to compare.
326
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
327
+ * @param {Function} customizer The function to customize comparisons.
328
+ * @param {Function} equalFunc The function to determine equivalents of values.
329
+ * @param {Object} stack Tracks traversed `object` and `other` objects.
330
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
331
+ */
332
+ function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
333
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG$1,
334
+ objProps = getAllKeys(object),
335
+ objLength = objProps.length,
336
+ othProps = getAllKeys(other),
337
+ othLength = othProps.length;
338
+
339
+ if (objLength != othLength && !isPartial) {
340
+ return false;
341
+ }
342
+ var index = objLength;
343
+ while (index--) {
344
+ var key = objProps[index];
345
+ if (!(isPartial ? key in other : hasOwnProperty$1.call(other, key))) {
346
+ return false;
347
+ }
348
+ }
349
+ // Check that cyclic values are equal.
350
+ var objStacked = stack.get(object);
351
+ var othStacked = stack.get(other);
352
+ if (objStacked && othStacked) {
353
+ return objStacked == other && othStacked == object;
354
+ }
355
+ var result = true;
356
+ stack.set(object, other);
357
+ stack.set(other, object);
358
+
359
+ var skipCtor = isPartial;
360
+ while (++index < objLength) {
361
+ key = objProps[index];
362
+ var objValue = object[key],
363
+ othValue = other[key];
364
+
365
+ if (customizer) {
366
+ var compared = isPartial
367
+ ? customizer(othValue, objValue, key, other, object, stack)
368
+ : customizer(objValue, othValue, key, object, other, stack);
369
+ }
370
+ // Recursively compare objects (susceptible to call stack limits).
371
+ if (!(compared === undefined
372
+ ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
373
+ : compared
374
+ )) {
375
+ result = false;
376
+ break;
377
+ }
378
+ skipCtor || (skipCtor = key == 'constructor');
379
+ }
380
+ if (result && !skipCtor) {
381
+ var objCtor = object.constructor,
382
+ othCtor = other.constructor;
383
+
384
+ // Non `Object` object instances with different constructors are not equal.
385
+ if (objCtor != othCtor &&
386
+ ('constructor' in object && 'constructor' in other) &&
387
+ !(typeof objCtor == 'function' && objCtor instanceof objCtor &&
388
+ typeof othCtor == 'function' && othCtor instanceof othCtor)) {
389
+ result = false;
390
+ }
391
+ }
392
+ stack['delete'](object);
393
+ stack['delete'](other);
394
+ return result;
395
+ }
396
+
397
+ /** Used to compose bitmasks for value comparisons. */
398
+ var COMPARE_PARTIAL_FLAG = 1;
399
+
400
+ /** `Object#toString` result references. */
401
+ var argsTag = '[object Arguments]',
402
+ arrayTag = '[object Array]',
403
+ objectTag = '[object Object]';
404
+
405
+ /** Used for built-in method references. */
406
+ var objectProto = Object.prototype;
407
+
408
+ /** Used to check objects for own properties. */
409
+ var hasOwnProperty = objectProto.hasOwnProperty;
410
+
411
+ /**
412
+ * A specialized version of `baseIsEqual` for arrays and objects which performs
413
+ * deep comparisons and tracks traversed objects enabling objects with circular
414
+ * references to be compared.
415
+ *
416
+ * @private
417
+ * @param {Object} object The object to compare.
418
+ * @param {Object} other The other object to compare.
419
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
420
+ * @param {Function} customizer The function to customize comparisons.
421
+ * @param {Function} equalFunc The function to determine equivalents of values.
422
+ * @param {Object} [stack] Tracks traversed `object` and `other` objects.
423
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
424
+ */
425
+ function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
426
+ var objIsArr = isArray(object),
427
+ othIsArr = isArray(other),
428
+ objTag = objIsArr ? arrayTag : getTag(object),
429
+ othTag = othIsArr ? arrayTag : getTag(other);
430
+
431
+ objTag = objTag == argsTag ? objectTag : objTag;
432
+ othTag = othTag == argsTag ? objectTag : othTag;
433
+
434
+ var objIsObj = objTag == objectTag,
435
+ othIsObj = othTag == objectTag,
436
+ isSameTag = objTag == othTag;
437
+
438
+ if (isSameTag && isBuffer(object)) {
439
+ if (!isBuffer(other)) {
440
+ return false;
441
+ }
442
+ objIsArr = true;
443
+ objIsObj = false;
444
+ }
445
+ if (isSameTag && !objIsObj) {
446
+ stack || (stack = new Stack);
447
+ return (objIsArr || isTypedArray(object))
448
+ ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
449
+ : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
450
+ }
451
+ if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
452
+ var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
453
+ othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
454
+
455
+ if (objIsWrapped || othIsWrapped) {
456
+ var objUnwrapped = objIsWrapped ? object.value() : object,
457
+ othUnwrapped = othIsWrapped ? other.value() : other;
458
+
459
+ stack || (stack = new Stack);
460
+ return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
461
+ }
462
+ }
463
+ if (!isSameTag) {
464
+ return false;
465
+ }
466
+ stack || (stack = new Stack);
467
+ return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
468
+ }
469
+
470
+ /**
471
+ * The base implementation of `_.isEqual` which supports partial comparisons
472
+ * and tracks traversed objects.
473
+ *
474
+ * @private
475
+ * @param {*} value The value to compare.
476
+ * @param {*} other The other value to compare.
477
+ * @param {boolean} bitmask The bitmask flags.
478
+ * 1 - Unordered comparison
479
+ * 2 - Partial comparison
480
+ * @param {Function} [customizer] The function to customize comparisons.
481
+ * @param {Object} [stack] Tracks traversed `value` and `other` objects.
482
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
483
+ */
484
+ function baseIsEqual(value, other, bitmask, customizer, stack) {
485
+ if (value === other) {
486
+ return true;
487
+ }
488
+ if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
489
+ return value !== value && other !== other;
490
+ }
491
+ return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
492
+ }
493
+
494
+ export { baseIsEqual as b };