@integration-app/react 2.0.3-beta.1 → 2.0.3-beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (747) hide show
  1. package/dist/cjs/_modules/awesome-debounce-promise.cjs +1 -1
  2. package/dist/cjs/_modules/react-use-promise.cjs +17 -0
  3. package/dist/cjs/components/AdvancedOptions.cjs +49 -0
  4. package/dist/cjs/components/Button/Button.cjs +133 -0
  5. package/dist/cjs/components/Button/Button.module.css.cjs +18 -0
  6. package/dist/cjs/components/ComboBox/Dropdown/ActiveTab.cjs +21 -0
  7. package/dist/cjs/components/ComboBox/Dropdown/Dropdown.cjs +93 -0
  8. package/dist/cjs/components/ComboBox/Dropdown/Option.cjs +69 -0
  9. package/dist/cjs/components/ComboBox/Dropdown/OptionsList.cjs +188 -0
  10. package/dist/cjs/components/ComboBox/Dropdown/SearchInput.cjs +59 -0
  11. package/dist/cjs/components/ComboBox/Dropdown/Tabs/Collections.module.css.cjs +18 -0
  12. package/dist/cjs/components/ComboBox/Dropdown/Tabs/CustomValue.cjs +19 -0
  13. package/dist/cjs/components/ComboBox/Dropdown/Tabs/Formulas/Formulas.module.css.cjs +18 -0
  14. package/dist/cjs/components/ComboBox/Dropdown/Tabs/Formulas/index.cjs +101 -0
  15. package/dist/cjs/components/ComboBox/Dropdown/Tabs/Lookup.cjs +240 -0
  16. package/dist/cjs/components/ComboBox/Dropdown/Tabs/LookupOptions/OptionsList.cjs +24 -0
  17. package/dist/cjs/components/ComboBox/Dropdown/Tabs/LookupOptions/ParametersPanel.cjs +100 -0
  18. package/dist/cjs/components/ComboBox/Dropdown/Tabs/LookupOptions/ParametersPanel.module.css.cjs +18 -0
  19. package/dist/cjs/components/ComboBox/Dropdown/Tabs/LookupOptions/UiComponents.cjs +57 -0
  20. package/dist/cjs/components/ComboBox/Dropdown/Tabs/LookupOptions/UiComponents.module.css.cjs +18 -0
  21. package/dist/cjs/components/ComboBox/Dropdown/Tabs/LookupOptions/index.cjs +247 -0
  22. package/dist/cjs/components/ComboBox/Dropdown/Tabs/Options.cjs +19 -0
  23. package/dist/cjs/components/ComboBox/Dropdown/Tabs/Variables.cjs +19 -0
  24. package/dist/cjs/components/ComboBox/Dropdown/tabs.cjs +75 -0
  25. package/dist/cjs/components/ComboBox/Edit/OptionSelector.cjs +162 -0
  26. package/dist/cjs/components/ComboBox/Edit/OptionSelector.module.css.cjs +18 -0
  27. package/dist/cjs/components/ComboBox/Edit/TextInput.cjs +159 -0
  28. package/dist/cjs/components/ComboBox/Value/Formula.cjs +37 -0
  29. package/dist/cjs/components/ComboBox/Value/Schema.cjs +146 -0
  30. package/dist/cjs/components/ComboBox/Value/index.cjs +70 -0
  31. package/dist/cjs/components/ComboBox/context/combobox-context.cjs +96 -0
  32. package/dist/cjs/components/ComboBox/context/combobox-dropdown-context.cjs +221 -0
  33. package/dist/cjs/components/ComboBox/context/combobox-dropdown-search.cjs +54 -0
  34. package/dist/cjs/components/ComboBox/context/combobox-dropdown-stack.cjs +57 -0
  35. package/dist/cjs/components/ComboBox/context/helpers.cjs +130 -0
  36. package/dist/cjs/components/ComboBox/index.cjs +107 -0
  37. package/dist/cjs/components/ComboBox/options-factories/base.cjs +25 -0
  38. package/dist/cjs/components/ComboBox/options-factories/boolean.cjs +29 -0
  39. package/dist/cjs/components/ComboBox/options-factories/constant.cjs +25 -0
  40. package/dist/cjs/components/ComboBox/options-factories/custom-field.cjs +51 -0
  41. package/dist/cjs/components/ComboBox/options-factories/enum.cjs +53 -0
  42. package/dist/cjs/components/ComboBox/options-factories/index.cjs +38 -0
  43. package/dist/cjs/components/ComboBox/options-factories/object-fields.cjs +108 -0
  44. package/dist/cjs/components/ComboBox/options-factories/reference-records.cjs +48 -0
  45. package/dist/cjs/components/ComboBox/options-factories/reference-udm.cjs +36 -0
  46. package/dist/cjs/components/ComboBox/options-factories/schema.cjs +254 -0
  47. package/dist/cjs/components/ComboBox/types.cjs +22 -0
  48. package/dist/cjs/components/ComboBox/value-spec.cjs +109 -0
  49. package/dist/cjs/components/ComboBoxElements/ComboBoxTag.cjs +86 -0
  50. package/dist/cjs/components/ComboBoxElements/ComboBoxTag.module.css.cjs +18 -0
  51. package/dist/cjs/components/ComboBoxElements/FieldWrapper.cjs +39 -0
  52. package/dist/cjs/components/ComboBoxElements/Popper.cjs +164 -0
  53. package/dist/cjs/components/ComboBoxElements/Popper.module.css.cjs +18 -0
  54. package/dist/cjs/components/ComboBoxElements/TipTapEditor/Editor.cjs +126 -0
  55. package/dist/cjs/components/ComboBoxElements/TipTapEditor/Editor.module.css.cjs +18 -0
  56. package/dist/cjs/components/ComboBoxElements/TipTapEditor/EditorStandAlone.cjs +31 -0
  57. package/dist/cjs/components/ComboBoxElements/TipTapEditor/TagComponent.cjs +129 -0
  58. package/dist/cjs/components/ComboBoxElements/TipTapEditor/extension-keyboardShortcuts.cjs +35 -0
  59. package/dist/cjs/components/ComboBoxElements/TipTapEditor/helpers/clicks.cjs +39 -0
  60. package/dist/cjs/components/ComboBoxElements/TipTapEditor/helpers/common.cjs +154 -0
  61. package/dist/cjs/components/ComboBoxElements/TipTapEditor/helpers/transformEditorSchemaToValue.cjs +49 -0
  62. package/dist/cjs/components/ComboBoxElements/TipTapEditor/helpers/transformValueToEditorSchema.cjs +50 -0
  63. package/dist/cjs/components/ComboBoxElements/inputs.module.css.cjs +18 -0
  64. package/dist/cjs/components/DataBuilder/Condition/index.cjs +203 -0
  65. package/dist/cjs/components/DataBuilder/Field.cjs +147 -0
  66. package/dist/cjs/components/DataBuilder/FieldDelete.cjs +23 -0
  67. package/dist/cjs/components/DataBuilder/FieldDescription.cjs +39 -0
  68. package/dist/cjs/components/DataBuilder/FieldList.cjs +46 -0
  69. package/dist/cjs/components/DataBuilder/FieldName.cjs +64 -0
  70. package/dist/cjs/components/DataBuilder/FieldTypeSelector/index.cjs +217 -0
  71. package/dist/cjs/components/DataBuilder/FieldValue/Array.cjs +36 -0
  72. package/dist/cjs/components/DataBuilder/FieldValue/Default.cjs +54 -0
  73. package/dist/cjs/components/DataBuilder/FieldValue/ScalarArray.cjs +36 -0
  74. package/dist/cjs/components/DataBuilder/FieldValue/ScalarArray.module.css.cjs +18 -0
  75. package/dist/cjs/components/DataBuilder/FieldValue/index.cjs +52 -0
  76. package/dist/cjs/components/DataBuilder/Filter.cjs +29 -0
  77. package/dist/cjs/components/DataBuilder/Form.cjs +53 -0
  78. package/dist/cjs/components/DataBuilder/Formula/case.cjs +172 -0
  79. package/dist/cjs/components/DataBuilder/Formula/concat.cjs +66 -0
  80. package/dist/cjs/components/DataBuilder/Formula/copy.cjs +91 -0
  81. package/dist/cjs/components/DataBuilder/Formula/domainFromEmail.cjs +49 -0
  82. package/dist/cjs/components/DataBuilder/Formula/extractDate.cjs +49 -0
  83. package/dist/cjs/components/DataBuilder/Formula/extractTime.cjs +49 -0
  84. package/dist/cjs/components/DataBuilder/Formula/findAppRecordId.cjs +116 -0
  85. package/dist/cjs/components/DataBuilder/Formula/findExternalRecordId.cjs +116 -0
  86. package/dist/cjs/components/DataBuilder/Formula/firstName.cjs +49 -0
  87. package/dist/cjs/components/DataBuilder/Formula/firstNotEmpty.cjs +88 -0
  88. package/dist/cjs/components/DataBuilder/Formula/index.cjs +223 -0
  89. package/dist/cjs/components/DataBuilder/Formula/iterate.cjs +116 -0
  90. package/dist/cjs/components/DataBuilder/Formula/jsonata.cjs +49 -0
  91. package/dist/cjs/components/DataBuilder/Formula/lastName.cjs +50 -0
  92. package/dist/cjs/components/DataBuilder/Formula/lookup.cjs +30 -0
  93. package/dist/cjs/components/DataBuilder/Formula/map.cjs +74 -0
  94. package/dist/cjs/components/DataBuilder/Formula/mergeObjects.cjs +89 -0
  95. package/dist/cjs/components/DataBuilder/Formula/noUi.cjs +19 -0
  96. package/dist/cjs/components/DataBuilder/Formula/options-factory.cjs +46 -0
  97. package/dist/cjs/components/DataBuilder/Formula/record.cjs +36 -0
  98. package/dist/cjs/components/DataBuilder/Formula/styles.module.css.cjs +18 -0
  99. package/dist/cjs/components/DataBuilder/Formula/tpl.cjs +37 -0
  100. package/dist/cjs/components/DataBuilder/Formula/var.cjs +92 -0
  101. package/dist/cjs/components/DataBuilder/Nested/ArrayItems.cjs +82 -0
  102. package/dist/cjs/components/DataBuilder/Nested/FieldControlPanel/AddingFieldSelector.cjs +54 -0
  103. package/dist/cjs/components/DataBuilder/Nested/FieldControlPanel/ControlPanel.cjs +110 -0
  104. package/dist/cjs/components/DataBuilder/Nested/FieldControlPanel/ControlPanelForNonObjectRootField.cjs +29 -0
  105. package/dist/cjs/components/DataBuilder/Nested/FieldControlPanel/index.cjs +78 -0
  106. package/dist/cjs/components/DataBuilder/Nested/FieldListWrapper/FieldListWrapper.module.css.cjs +18 -0
  107. package/dist/cjs/components/DataBuilder/Nested/FieldListWrapper/index.cjs +47 -0
  108. package/dist/cjs/components/DataBuilder/Nested/NoSchema.cjs +31 -0
  109. package/dist/cjs/components/DataBuilder/Nested/ObjectFields.cjs +207 -0
  110. package/dist/cjs/components/DataBuilder/Nested/ValueMapping.cjs +228 -0
  111. package/dist/cjs/components/DataBuilder/Nested.cjs +32 -0
  112. package/dist/cjs/components/DataBuilder/data-builder-context.cjs +69 -0
  113. package/dist/cjs/components/DataBuilder/data-field.cjs +308 -0
  114. package/dist/cjs/components/DataBuilder/field-context.cjs +87 -0
  115. package/dist/cjs/components/DataBuilder/hooks.cjs +30 -0
  116. package/dist/cjs/components/DataBuilder/index.cjs +72 -0
  117. package/dist/cjs/components/DataBuilder/styles.module.css.cjs +18 -0
  118. package/dist/cjs/components/DataBuilderUI/FieldControlPanel/FieldControlPanel.module.css.cjs +18 -0
  119. package/dist/cjs/components/DataBuilderUI/FieldControlPanel/index.cjs +48 -0
  120. package/dist/cjs/components/DataBuilderUI/index.cjs +318 -0
  121. package/dist/cjs/components/DataBuilderUI/styles.module.css.cjs +18 -0
  122. package/dist/cjs/components/DataInput/index.cjs +51 -0
  123. package/dist/cjs/components/DataLinks/data-link-tables-option-factory.cjs +48 -0
  124. package/dist/cjs/components/DropdownUI/DropdownUI.module.css.cjs +18 -0
  125. package/dist/cjs/components/DropdownUI/DropdownUIElements.cjs +107 -0
  126. package/dist/cjs/components/DropdownUI/DropdownUIElements.module.css.cjs +18 -0
  127. package/dist/cjs/components/DropdownUI/DropdownUITab.cjs +36 -0
  128. package/dist/cjs/components/DropdownUI/index.cjs +215 -0
  129. package/dist/cjs/components/Formula/index.cjs +34 -0
  130. package/dist/cjs/components/Formula/styles.module.css.cjs +18 -0
  131. package/dist/cjs/components/InlineEditable.cjs +88 -0
  132. package/dist/cjs/components/InlineEditable.module.css.cjs +18 -0
  133. package/dist/cjs/components/Input/Input.cjs +50 -0
  134. package/dist/cjs/components/Input/Input.module.css.cjs +18 -0
  135. package/dist/cjs/components/Input/SearchInput.cjs +32 -0
  136. package/dist/cjs/components/Input/SearchInput.module.css.cjs +18 -0
  137. package/dist/cjs/components/Input/index.cjs +20 -0
  138. package/dist/cjs/components/IntegrationElements/DataSource/DataCollectionSelect.cjs +119 -0
  139. package/dist/cjs/components/IntegrationElements/DataSource/UdmSelect.cjs +38 -0
  140. package/dist/cjs/components/IntegrationElements/DataSource/index.cjs +105 -0
  141. package/dist/cjs/components/IntegrationElements/integration-element-context.cjs +45 -0
  142. package/dist/cjs/components/Integrations/IntegrationAvatar/index.cjs +1 -1
  143. package/dist/cjs/components/Integrations/IntegrationItem/index.cjs +1 -1
  144. package/dist/cjs/components/Integrations/IntegrationItemSkeleton.cjs +1 -1
  145. package/dist/cjs/components/Notification/Notification.module.css.cjs +18 -0
  146. package/dist/cjs/components/Notification/index.cjs +137 -0
  147. package/dist/cjs/components/Popover/Popover.module.css.cjs +18 -0
  148. package/dist/cjs/components/Popover/index.cjs +148 -0
  149. package/dist/cjs/components/Portal/index.cjs +48 -0
  150. package/dist/cjs/components/Radio/Radio.module.css.cjs +18 -0
  151. package/dist/cjs/components/Radio/index.cjs +36 -0
  152. package/dist/cjs/components/SimpleInput/SimpleInput.cjs +95 -0
  153. package/dist/cjs/components/SimpleInput/SimpleInput.module.css.cjs +18 -0
  154. package/dist/cjs/components/SimpleInput/SimpleRadio.cjs +34 -0
  155. package/dist/cjs/components/SimpleInput/SimpleTextarea.cjs +89 -0
  156. package/dist/cjs/components/SimpleMenu/index.cjs +80 -0
  157. package/dist/cjs/components/SvgIcon/BasicEntities.cjs +329 -0
  158. package/dist/cjs/components/SvgIcon/index.cjs +689 -0
  159. package/dist/cjs/components/Tag/Components.cjs +66 -0
  160. package/dist/cjs/components/Tag/SegmentSeparator.cjs +25 -0
  161. package/dist/cjs/components/Tag/TagPlaceholder.cjs +35 -0
  162. package/dist/cjs/components/Tag/index.cjs +90 -0
  163. package/dist/cjs/components/Tag/styles.module.css.cjs +18 -0
  164. package/dist/cjs/components/Textarea/Textarea.module.css.cjs +18 -0
  165. package/dist/cjs/components/Textarea/index.cjs +84 -0
  166. package/dist/cjs/components/Toggle/Toggle.cjs +58 -0
  167. package/dist/cjs/components/Toggle/Toggle.module.css.cjs +18 -0
  168. package/dist/cjs/components/Toggle/ToggleOnOff.cjs +67 -0
  169. package/dist/cjs/components/Tooltip/index.cjs +76 -0
  170. package/dist/cjs/components/Truncate/index.cjs +100 -0
  171. package/dist/cjs/contexts/integration-app-client-context.cjs +30 -0
  172. package/dist/cjs/contexts/integration-app-connection-context.cjs +32 -0
  173. package/dist/cjs/contexts/integration-app-context.cjs +1 -1
  174. package/dist/cjs/contexts/integration-app-integration-context.cjs +32 -0
  175. package/dist/cjs/helpers/Debounce.cjs +27 -0
  176. package/dist/cjs/helpers/getRefElement.cjs +22 -0
  177. package/dist/cjs/hooks/actions/useAction.cjs +1 -1
  178. package/dist/cjs/hooks/actions/useActionInstance.cjs +1 -1
  179. package/dist/cjs/hooks/actions/useActionInstances.cjs +1 -1
  180. package/dist/cjs/hooks/actions/useActions.cjs +1 -1
  181. package/dist/cjs/hooks/app-data-schemas/useAppDataSchema.cjs +1 -1
  182. package/dist/cjs/hooks/app-data-schemas/useAppDataSchemaInstance.cjs +1 -1
  183. package/dist/cjs/hooks/app-data-schemas/useAppDataSchemaInstances.cjs +1 -1
  184. package/dist/cjs/hooks/app-data-schemas/useAppDataSchemas.cjs +1 -1
  185. package/dist/cjs/hooks/app-events/useAppEventSubscription.cjs +1 -1
  186. package/dist/cjs/hooks/app-events/useAppEventSubscriptions.cjs +1 -1
  187. package/dist/cjs/hooks/app-events/useAppEventType.cjs +1 -1
  188. package/dist/cjs/hooks/app-events/useAppEventTypes.cjs +1 -1
  189. package/dist/cjs/hooks/app-events/useAppEvents.cjs +1 -1
  190. package/dist/cjs/hooks/customers/useCustomer.cjs +1 -1
  191. package/dist/cjs/hooks/customers/useCustomers.cjs +1 -1
  192. package/dist/cjs/hooks/data-collections/useDataCollectionSpec.cjs +1 -1
  193. package/dist/cjs/hooks/data-links/useDataLinkTable.cjs +1 -1
  194. package/dist/cjs/hooks/data-links/useDataLinkTableInstance.cjs +1 -1
  195. package/dist/cjs/hooks/data-links/useDataLinkTableInstances.cjs +1 -1
  196. package/dist/cjs/hooks/data-links/useDataLinkTables.cjs +1 -1
  197. package/dist/cjs/hooks/data-sources/useDataSource.cjs +1 -1
  198. package/dist/cjs/hooks/data-sources/useDataSourceInstance.cjs +1 -1
  199. package/dist/cjs/hooks/data-sources/useDataSourceInstanceCollection.cjs +1 -1
  200. package/dist/cjs/hooks/data-sources/useDataSourceInstances.cjs +1 -1
  201. package/dist/cjs/hooks/data-sources/useDataSources.cjs +1 -1
  202. package/dist/cjs/hooks/external-events/useExternalEventSubscription.cjs +1 -1
  203. package/dist/cjs/hooks/external-events/useExternalEventSubscriptions.cjs +1 -1
  204. package/dist/cjs/hooks/field-mappings/useFieldMapping.cjs +1 -1
  205. package/dist/cjs/hooks/field-mappings/useFieldMappingInstance.cjs +1 -1
  206. package/dist/cjs/hooks/field-mappings/useFieldMappingInstances.cjs +1 -1
  207. package/dist/cjs/hooks/field-mappings/useFieldMappings.cjs +1 -1
  208. package/dist/cjs/hooks/flows/useFlow.cjs +1 -1
  209. package/dist/cjs/hooks/flows/useFlowInstance.cjs +1 -1
  210. package/dist/cjs/hooks/flows/useFlowInstances.cjs +1 -1
  211. package/dist/cjs/hooks/flows/useFlowRun.cjs +1 -1
  212. package/dist/cjs/hooks/flows/useFlowRuns.cjs +1 -1
  213. package/dist/cjs/hooks/flows/useFlows.cjs +1 -1
  214. package/dist/cjs/hooks/integrations/useConnection.cjs +1 -1
  215. package/dist/cjs/hooks/integrations/useConnections.cjs +1 -1
  216. package/dist/cjs/hooks/integrations/useConnectorSpec.cjs +1 -1
  217. package/dist/cjs/hooks/integrations/useIntegration.cjs +1 -1
  218. package/dist/cjs/hooks/integrations/useIntegrations.cjs +1 -1
  219. package/dist/cjs/hooks/keyboard-events.cjs +86 -0
  220. package/dist/cjs/hooks/scenarios/useScenario.cjs +1 -1
  221. package/dist/cjs/hooks/scenarios/useScenarios.cjs +1 -1
  222. package/dist/cjs/hooks/screens/useScreen.cjs +1 -1
  223. package/dist/cjs/hooks/useAutofocus.cjs +21 -0
  224. package/dist/cjs/hooks/useDeepEffect.cjs +49 -0
  225. package/dist/cjs/hooks/useElement.cjs +1 -1
  226. package/dist/cjs/hooks/useElements.cjs +1 -1
  227. package/dist/cjs/hooks/useEventStopPropagation.cjs +24 -0
  228. package/dist/cjs/hooks/useForwardedRef.cjs +26 -0
  229. package/dist/cjs/hooks/useIntegrationAppSWR.cjs +1 -1
  230. package/dist/cjs/hooks/useIsTextTruncated.cjs +55 -0
  231. package/dist/cjs/hooks/useResizeObserver.cjs +47 -0
  232. package/dist/cjs/hooks/useWindowEvent.cjs +25 -0
  233. package/dist/cjs/index.cjs +216 -5
  234. package/dist/cjs/styled-system/css/conditions.cjs +1 -1
  235. package/dist/cjs/styled-system/css/css.cjs +1 -1
  236. package/dist/cjs/styled-system/css/cva.cjs +1 -1
  237. package/dist/cjs/styled-system/css/cx.cjs +1 -1
  238. package/dist/cjs/styled-system/css/sva.cjs +52 -0
  239. package/dist/cjs/styled-system/helpers.cjs +24 -1
  240. package/dist/cjs/styled-system/jsx/box.cjs +1 -1
  241. package/dist/cjs/styled-system/jsx/center.cjs +1 -1
  242. package/dist/cjs/styled-system/jsx/circle.cjs +1 -1
  243. package/dist/cjs/styled-system/jsx/factory-helper.cjs +1 -1
  244. package/dist/cjs/styled-system/jsx/factory.cjs +1 -1
  245. package/dist/cjs/styled-system/jsx/flex.cjs +1 -1
  246. package/dist/cjs/styled-system/jsx/is-valid-prop.cjs +1 -1
  247. package/dist/cjs/styled-system/jsx/visually-hidden.cjs +1 -1
  248. package/dist/cjs/styled-system/patterns/box.cjs +1 -1
  249. package/dist/cjs/styled-system/patterns/center.cjs +1 -1
  250. package/dist/cjs/styled-system/patterns/circle.cjs +1 -1
  251. package/dist/cjs/styled-system/patterns/flex.cjs +1 -1
  252. package/dist/cjs/styled-system/patterns/visually-hidden.cjs +1 -1
  253. package/dist/cjs/styled-system/recipes/avatar.cjs +1 -1
  254. package/dist/cjs/styled-system/recipes/button.cjs +1 -1
  255. package/dist/cjs/styled-system/recipes/create-recipe.cjs +1 -1
  256. package/dist/cjs/styled-system/recipes/icon.cjs +1 -1
  257. package/dist/cjs/styled-system/recipes/menu.cjs +106 -0
  258. package/dist/cjs/styled-system/recipes/popover.cjs +79 -0
  259. package/dist/cjs/styled-system/recipes/skeleton.cjs +1 -1
  260. package/dist/cjs/styled-system/recipes/spinner.cjs +1 -1
  261. package/dist/cjs/styled-system/recipes/text.cjs +1 -1
  262. package/dist/cjs/styled-system/recipes/tooltip.cjs +59 -0
  263. package/dist/cjs/styled-system/tokens/index.cjs +11311 -0
  264. package/dist/cjs/ui-kit/avatar.cjs +1 -1
  265. package/dist/cjs/ui-kit/button.cjs +1 -1
  266. package/dist/cjs/ui-kit/spinner.cjs +1 -1
  267. package/dist/cjs/ui-kit/styled/avatar.cjs +1 -1
  268. package/dist/cjs/ui-kit/styled/button.cjs +1 -1
  269. package/dist/cjs/ui-kit/styled/icon.cjs +1 -1
  270. package/dist/cjs/ui-kit/styled/menu.cjs +53 -0
  271. package/dist/cjs/ui-kit/styled/popover.cjs +40 -0
  272. package/dist/cjs/ui-kit/styled/skeleton.cjs +1 -1
  273. package/dist/cjs/ui-kit/styled/spinner.cjs +1 -1
  274. package/dist/cjs/ui-kit/styled/text.cjs +1 -1
  275. package/dist/cjs/ui-kit/styled/tooltip.cjs +37 -0
  276. package/dist/cjs/ui-kit/styled/utils/create-style-context.cjs +1 -1
  277. package/dist/esm/_modules/awesome-debounce-promise.mjs +1 -1
  278. package/dist/esm/_modules/react-use-promise.mjs +13 -0
  279. package/dist/esm/components/AdvancedOptions.mjs +47 -0
  280. package/dist/esm/components/Button/Button.mjs +128 -0
  281. package/dist/esm/components/Button/Button.module.css.mjs +14 -0
  282. package/dist/esm/components/ComboBox/Dropdown/ActiveTab.mjs +19 -0
  283. package/dist/esm/components/ComboBox/Dropdown/Dropdown.mjs +90 -0
  284. package/dist/esm/components/ComboBox/Dropdown/Option.mjs +65 -0
  285. package/dist/esm/components/ComboBox/Dropdown/OptionsList.mjs +186 -0
  286. package/dist/esm/components/ComboBox/Dropdown/SearchInput.mjs +56 -0
  287. package/dist/esm/components/ComboBox/Dropdown/Tabs/Collections.module.css.mjs +14 -0
  288. package/dist/esm/components/ComboBox/Dropdown/Tabs/CustomValue.mjs +17 -0
  289. package/dist/esm/components/ComboBox/Dropdown/Tabs/Formulas/Formulas.module.css.mjs +14 -0
  290. package/dist/esm/components/ComboBox/Dropdown/Tabs/Formulas/index.mjs +99 -0
  291. package/dist/esm/components/ComboBox/Dropdown/Tabs/Lookup.mjs +237 -0
  292. package/dist/esm/components/ComboBox/Dropdown/Tabs/LookupOptions/OptionsList.mjs +22 -0
  293. package/dist/esm/components/ComboBox/Dropdown/Tabs/LookupOptions/ParametersPanel.mjs +98 -0
  294. package/dist/esm/components/ComboBox/Dropdown/Tabs/LookupOptions/ParametersPanel.module.css.mjs +14 -0
  295. package/dist/esm/components/ComboBox/Dropdown/Tabs/LookupOptions/UiComponents.mjs +51 -0
  296. package/dist/esm/components/ComboBox/Dropdown/Tabs/LookupOptions/UiComponents.module.css.mjs +14 -0
  297. package/dist/esm/components/ComboBox/Dropdown/Tabs/LookupOptions/index.mjs +245 -0
  298. package/dist/esm/components/ComboBox/Dropdown/Tabs/Options.mjs +17 -0
  299. package/dist/esm/components/ComboBox/Dropdown/Tabs/Variables.mjs +17 -0
  300. package/dist/esm/components/ComboBox/Dropdown/tabs.mjs +72 -0
  301. package/dist/esm/components/ComboBox/Edit/OptionSelector.mjs +160 -0
  302. package/dist/esm/components/ComboBox/Edit/OptionSelector.module.css.mjs +14 -0
  303. package/dist/esm/components/ComboBox/Edit/TextInput.mjs +157 -0
  304. package/dist/esm/components/ComboBox/Value/Formula.mjs +35 -0
  305. package/dist/esm/components/ComboBox/Value/Schema.mjs +143 -0
  306. package/dist/esm/components/ComboBox/Value/index.mjs +65 -0
  307. package/dist/esm/components/ComboBox/context/combobox-context.mjs +93 -0
  308. package/dist/esm/components/ComboBox/context/combobox-dropdown-context.mjs +218 -0
  309. package/dist/esm/components/ComboBox/context/combobox-dropdown-search.mjs +51 -0
  310. package/dist/esm/components/ComboBox/context/combobox-dropdown-stack.mjs +54 -0
  311. package/dist/esm/components/ComboBox/context/helpers.mjs +126 -0
  312. package/dist/esm/components/ComboBox/index.mjs +95 -0
  313. package/dist/esm/components/ComboBox/options-factories/base.mjs +23 -0
  314. package/dist/esm/components/ComboBox/options-factories/boolean.mjs +27 -0
  315. package/dist/esm/components/ComboBox/options-factories/constant.mjs +23 -0
  316. package/dist/esm/components/ComboBox/options-factories/custom-field.mjs +44 -0
  317. package/dist/esm/components/ComboBox/options-factories/enum.mjs +51 -0
  318. package/dist/esm/components/ComboBox/options-factories/index.mjs +36 -0
  319. package/dist/esm/components/ComboBox/options-factories/object-fields.mjs +106 -0
  320. package/dist/esm/components/ComboBox/options-factories/reference-records.mjs +46 -0
  321. package/dist/esm/components/ComboBox/options-factories/reference-udm.mjs +34 -0
  322. package/dist/esm/components/ComboBox/options-factories/schema.mjs +251 -0
  323. package/dist/esm/components/ComboBox/types.mjs +20 -0
  324. package/dist/esm/components/ComboBox/value-spec.mjs +105 -0
  325. package/dist/esm/components/ComboBoxElements/ComboBoxTag.mjs +83 -0
  326. package/dist/esm/components/ComboBoxElements/ComboBoxTag.module.css.mjs +14 -0
  327. package/dist/esm/components/ComboBoxElements/FieldWrapper.mjs +37 -0
  328. package/dist/esm/components/ComboBoxElements/Popper.mjs +162 -0
  329. package/dist/esm/components/ComboBoxElements/Popper.module.css.mjs +14 -0
  330. package/dist/esm/components/ComboBoxElements/TipTapEditor/Editor.mjs +123 -0
  331. package/dist/esm/components/ComboBoxElements/TipTapEditor/Editor.module.css.mjs +14 -0
  332. package/dist/esm/components/ComboBoxElements/TipTapEditor/EditorStandAlone.mjs +29 -0
  333. package/dist/esm/components/ComboBoxElements/TipTapEditor/TagComponent.mjs +122 -0
  334. package/dist/esm/components/ComboBoxElements/TipTapEditor/extension-keyboardShortcuts.mjs +33 -0
  335. package/dist/esm/components/ComboBoxElements/TipTapEditor/helpers/clicks.mjs +36 -0
  336. package/dist/esm/components/ComboBoxElements/TipTapEditor/helpers/common.mjs +138 -0
  337. package/dist/esm/components/ComboBoxElements/TipTapEditor/helpers/transformEditorSchemaToValue.mjs +43 -0
  338. package/dist/esm/components/ComboBoxElements/TipTapEditor/helpers/transformValueToEditorSchema.mjs +46 -0
  339. package/dist/esm/components/ComboBoxElements/inputs.module.css.mjs +14 -0
  340. package/dist/esm/components/DataBuilder/Condition/index.mjs +199 -0
  341. package/dist/esm/components/DataBuilder/Field.mjs +143 -0
  342. package/dist/esm/components/DataBuilder/FieldDelete.mjs +21 -0
  343. package/dist/esm/components/DataBuilder/FieldDescription.mjs +37 -0
  344. package/dist/esm/components/DataBuilder/FieldList.mjs +44 -0
  345. package/dist/esm/components/DataBuilder/FieldName.mjs +60 -0
  346. package/dist/esm/components/DataBuilder/FieldTypeSelector/index.mjs +214 -0
  347. package/dist/esm/components/DataBuilder/FieldValue/Array.mjs +32 -0
  348. package/dist/esm/components/DataBuilder/FieldValue/Default.mjs +50 -0
  349. package/dist/esm/components/DataBuilder/FieldValue/ScalarArray.mjs +32 -0
  350. package/dist/esm/components/DataBuilder/FieldValue/ScalarArray.module.css.mjs +14 -0
  351. package/dist/esm/components/DataBuilder/FieldValue/index.mjs +48 -0
  352. package/dist/esm/components/DataBuilder/Filter.mjs +27 -0
  353. package/dist/esm/components/DataBuilder/Form.mjs +51 -0
  354. package/dist/esm/components/DataBuilder/Formula/case.mjs +167 -0
  355. package/dist/esm/components/DataBuilder/Formula/concat.mjs +61 -0
  356. package/dist/esm/components/DataBuilder/Formula/copy.mjs +86 -0
  357. package/dist/esm/components/DataBuilder/Formula/domainFromEmail.mjs +44 -0
  358. package/dist/esm/components/DataBuilder/Formula/extractDate.mjs +44 -0
  359. package/dist/esm/components/DataBuilder/Formula/extractTime.mjs +44 -0
  360. package/dist/esm/components/DataBuilder/Formula/findAppRecordId.mjs +111 -0
  361. package/dist/esm/components/DataBuilder/Formula/findExternalRecordId.mjs +111 -0
  362. package/dist/esm/components/DataBuilder/Formula/firstName.mjs +44 -0
  363. package/dist/esm/components/DataBuilder/Formula/firstNotEmpty.mjs +83 -0
  364. package/dist/esm/components/DataBuilder/Formula/index.mjs +221 -0
  365. package/dist/esm/components/DataBuilder/Formula/iterate.mjs +111 -0
  366. package/dist/esm/components/DataBuilder/Formula/jsonata.mjs +44 -0
  367. package/dist/esm/components/DataBuilder/Formula/lastName.mjs +45 -0
  368. package/dist/esm/components/DataBuilder/Formula/lookup.mjs +26 -0
  369. package/dist/esm/components/DataBuilder/Formula/map.mjs +69 -0
  370. package/dist/esm/components/DataBuilder/Formula/mergeObjects.mjs +84 -0
  371. package/dist/esm/components/DataBuilder/Formula/noUi.mjs +15 -0
  372. package/dist/esm/components/DataBuilder/Formula/options-factory.mjs +44 -0
  373. package/dist/esm/components/DataBuilder/Formula/record.mjs +32 -0
  374. package/dist/esm/components/DataBuilder/Formula/styles.module.css.mjs +14 -0
  375. package/dist/esm/components/DataBuilder/Formula/tpl.mjs +33 -0
  376. package/dist/esm/components/DataBuilder/Formula/var.mjs +88 -0
  377. package/dist/esm/components/DataBuilder/Nested/ArrayItems.mjs +78 -0
  378. package/dist/esm/components/DataBuilder/Nested/FieldControlPanel/AddingFieldSelector.mjs +52 -0
  379. package/dist/esm/components/DataBuilder/Nested/FieldControlPanel/ControlPanel.mjs +108 -0
  380. package/dist/esm/components/DataBuilder/Nested/FieldControlPanel/ControlPanelForNonObjectRootField.mjs +27 -0
  381. package/dist/esm/components/DataBuilder/Nested/FieldControlPanel/index.mjs +74 -0
  382. package/dist/esm/components/DataBuilder/Nested/FieldListWrapper/FieldListWrapper.module.css.mjs +14 -0
  383. package/dist/esm/components/DataBuilder/Nested/FieldListWrapper/index.mjs +45 -0
  384. package/dist/esm/components/DataBuilder/Nested/NoSchema.mjs +27 -0
  385. package/dist/esm/components/DataBuilder/Nested/ObjectFields.mjs +203 -0
  386. package/dist/esm/components/DataBuilder/Nested/ValueMapping.mjs +226 -0
  387. package/dist/esm/components/DataBuilder/Nested.mjs +28 -0
  388. package/dist/esm/components/DataBuilder/data-builder-context.mjs +64 -0
  389. package/dist/esm/components/DataBuilder/data-field.mjs +293 -0
  390. package/dist/esm/components/DataBuilder/field-context.mjs +82 -0
  391. package/dist/esm/components/DataBuilder/hooks.mjs +28 -0
  392. package/dist/esm/components/DataBuilder/index.mjs +70 -0
  393. package/dist/esm/components/DataBuilder/styles.module.css.mjs +14 -0
  394. package/dist/esm/components/DataBuilderUI/FieldControlPanel/FieldControlPanel.module.css.mjs +14 -0
  395. package/dist/esm/components/DataBuilderUI/FieldControlPanel/index.mjs +46 -0
  396. package/dist/esm/components/DataBuilderUI/index.mjs +307 -0
  397. package/dist/esm/components/DataBuilderUI/styles.module.css.mjs +14 -0
  398. package/dist/esm/components/DataInput/index.mjs +49 -0
  399. package/dist/esm/components/DataLinks/data-link-tables-option-factory.mjs +46 -0
  400. package/dist/esm/components/DropdownUI/DropdownUI.module.css.mjs +14 -0
  401. package/dist/esm/components/DropdownUI/DropdownUIElements.mjs +100 -0
  402. package/dist/esm/components/DropdownUI/DropdownUIElements.module.css.mjs +14 -0
  403. package/dist/esm/components/DropdownUI/DropdownUITab.mjs +34 -0
  404. package/dist/esm/components/DropdownUI/index.mjs +212 -0
  405. package/dist/esm/components/Formula/index.mjs +30 -0
  406. package/dist/esm/components/Formula/styles.module.css.mjs +14 -0
  407. package/dist/esm/components/InlineEditable.mjs +86 -0
  408. package/dist/esm/components/InlineEditable.module.css.mjs +14 -0
  409. package/dist/esm/components/Input/Input.mjs +48 -0
  410. package/dist/esm/components/Input/Input.module.css.mjs +14 -0
  411. package/dist/esm/components/Input/SearchInput.mjs +30 -0
  412. package/dist/esm/components/Input/SearchInput.module.css.mjs +14 -0
  413. package/dist/esm/components/Input/index.mjs +14 -0
  414. package/dist/esm/components/IntegrationElements/DataSource/DataCollectionSelect.mjs +117 -0
  415. package/dist/esm/components/IntegrationElements/DataSource/UdmSelect.mjs +36 -0
  416. package/dist/esm/components/IntegrationElements/DataSource/index.mjs +101 -0
  417. package/dist/esm/components/IntegrationElements/integration-element-context.mjs +42 -0
  418. package/dist/esm/components/Integrations/IntegrationAvatar/index.mjs +1 -1
  419. package/dist/esm/components/Integrations/IntegrationItem/index.mjs +1 -1
  420. package/dist/esm/components/Integrations/IntegrationItemSkeleton.mjs +1 -1
  421. package/dist/esm/components/Notification/Notification.module.css.mjs +14 -0
  422. package/dist/esm/components/Notification/index.mjs +135 -0
  423. package/dist/esm/components/Popover/Popover.module.css.mjs +14 -0
  424. package/dist/esm/components/Popover/index.mjs +145 -0
  425. package/dist/esm/components/Portal/index.mjs +45 -0
  426. package/dist/esm/components/Radio/Radio.module.css.mjs +14 -0
  427. package/dist/esm/components/Radio/index.mjs +34 -0
  428. package/dist/esm/components/SimpleInput/SimpleInput.mjs +91 -0
  429. package/dist/esm/components/SimpleInput/SimpleInput.module.css.mjs +14 -0
  430. package/dist/esm/components/SimpleInput/SimpleRadio.mjs +32 -0
  431. package/dist/esm/components/SimpleInput/SimpleTextarea.mjs +85 -0
  432. package/dist/esm/components/SimpleMenu/index.mjs +78 -0
  433. package/dist/esm/components/SvgIcon/BasicEntities.mjs +315 -0
  434. package/dist/esm/components/SvgIcon/index.mjs +685 -0
  435. package/dist/esm/components/Tag/Components.mjs +62 -0
  436. package/dist/esm/components/Tag/SegmentSeparator.mjs +23 -0
  437. package/dist/esm/components/Tag/TagPlaceholder.mjs +33 -0
  438. package/dist/esm/components/Tag/index.mjs +83 -0
  439. package/dist/esm/components/Tag/styles.module.css.mjs +14 -0
  440. package/dist/esm/components/Textarea/Textarea.module.css.mjs +14 -0
  441. package/dist/esm/components/Textarea/index.mjs +82 -0
  442. package/dist/esm/components/Toggle/Toggle.mjs +56 -0
  443. package/dist/esm/components/Toggle/Toggle.module.css.mjs +14 -0
  444. package/dist/esm/components/Toggle/ToggleOnOff.mjs +65 -0
  445. package/dist/esm/components/Tooltip/index.mjs +74 -0
  446. package/dist/esm/components/Truncate/index.mjs +98 -0
  447. package/dist/esm/contexts/integration-app-client-context.mjs +27 -0
  448. package/dist/esm/contexts/integration-app-connection-context.mjs +29 -0
  449. package/dist/esm/contexts/integration-app-context.mjs +1 -1
  450. package/dist/esm/contexts/integration-app-integration-context.mjs +29 -0
  451. package/dist/esm/helpers/Debounce.mjs +23 -0
  452. package/dist/esm/helpers/getRefElement.mjs +20 -0
  453. package/dist/esm/hooks/actions/useAction.mjs +1 -1
  454. package/dist/esm/hooks/actions/useActionInstance.mjs +1 -1
  455. package/dist/esm/hooks/actions/useActionInstances.mjs +1 -1
  456. package/dist/esm/hooks/actions/useActions.mjs +1 -1
  457. package/dist/esm/hooks/app-data-schemas/useAppDataSchema.mjs +1 -1
  458. package/dist/esm/hooks/app-data-schemas/useAppDataSchemaInstance.mjs +1 -1
  459. package/dist/esm/hooks/app-data-schemas/useAppDataSchemaInstances.mjs +1 -1
  460. package/dist/esm/hooks/app-data-schemas/useAppDataSchemas.mjs +1 -1
  461. package/dist/esm/hooks/app-events/useAppEventSubscription.mjs +1 -1
  462. package/dist/esm/hooks/app-events/useAppEventSubscriptions.mjs +1 -1
  463. package/dist/esm/hooks/app-events/useAppEventType.mjs +1 -1
  464. package/dist/esm/hooks/app-events/useAppEventTypes.mjs +1 -1
  465. package/dist/esm/hooks/app-events/useAppEvents.mjs +1 -1
  466. package/dist/esm/hooks/customers/useCustomer.mjs +1 -1
  467. package/dist/esm/hooks/customers/useCustomers.mjs +1 -1
  468. package/dist/esm/hooks/data-collections/useDataCollectionSpec.mjs +1 -1
  469. package/dist/esm/hooks/data-links/useDataLinkTable.mjs +1 -1
  470. package/dist/esm/hooks/data-links/useDataLinkTableInstance.mjs +1 -1
  471. package/dist/esm/hooks/data-links/useDataLinkTableInstances.mjs +1 -1
  472. package/dist/esm/hooks/data-links/useDataLinkTables.mjs +1 -1
  473. package/dist/esm/hooks/data-sources/useDataSource.mjs +1 -1
  474. package/dist/esm/hooks/data-sources/useDataSourceInstance.mjs +1 -1
  475. package/dist/esm/hooks/data-sources/useDataSourceInstanceCollection.mjs +1 -1
  476. package/dist/esm/hooks/data-sources/useDataSourceInstances.mjs +1 -1
  477. package/dist/esm/hooks/data-sources/useDataSources.mjs +1 -1
  478. package/dist/esm/hooks/external-events/useExternalEventSubscription.mjs +1 -1
  479. package/dist/esm/hooks/external-events/useExternalEventSubscriptions.mjs +1 -1
  480. package/dist/esm/hooks/field-mappings/useFieldMapping.mjs +1 -1
  481. package/dist/esm/hooks/field-mappings/useFieldMappingInstance.mjs +1 -1
  482. package/dist/esm/hooks/field-mappings/useFieldMappingInstances.mjs +1 -1
  483. package/dist/esm/hooks/field-mappings/useFieldMappings.mjs +1 -1
  484. package/dist/esm/hooks/flows/useFlow.mjs +1 -1
  485. package/dist/esm/hooks/flows/useFlowInstance.mjs +1 -1
  486. package/dist/esm/hooks/flows/useFlowInstances.mjs +1 -1
  487. package/dist/esm/hooks/flows/useFlowRun.mjs +1 -1
  488. package/dist/esm/hooks/flows/useFlowRuns.mjs +1 -1
  489. package/dist/esm/hooks/flows/useFlows.mjs +1 -1
  490. package/dist/esm/hooks/integrations/useConnection.mjs +1 -1
  491. package/dist/esm/hooks/integrations/useConnections.mjs +1 -1
  492. package/dist/esm/hooks/integrations/useConnectorSpec.mjs +1 -1
  493. package/dist/esm/hooks/integrations/useIntegration.mjs +1 -1
  494. package/dist/esm/hooks/integrations/useIntegrations.mjs +1 -1
  495. package/dist/esm/hooks/keyboard-events.mjs +82 -0
  496. package/dist/esm/hooks/scenarios/useScenario.mjs +1 -1
  497. package/dist/esm/hooks/scenarios/useScenarios.mjs +1 -1
  498. package/dist/esm/hooks/screens/useScreen.mjs +1 -1
  499. package/dist/esm/hooks/useAutofocus.mjs +19 -0
  500. package/dist/esm/hooks/useDeepEffect.mjs +46 -0
  501. package/dist/esm/hooks/useElement.mjs +1 -1
  502. package/dist/esm/hooks/useElements.mjs +1 -1
  503. package/dist/esm/hooks/useEventStopPropagation.mjs +20 -0
  504. package/dist/esm/hooks/useForwardedRef.mjs +24 -0
  505. package/dist/esm/hooks/useIntegrationAppSWR.mjs +1 -1
  506. package/dist/esm/hooks/useIsTextTruncated.mjs +53 -0
  507. package/dist/esm/hooks/useResizeObserver.mjs +43 -0
  508. package/dist/esm/hooks/useWindowEvent.mjs +23 -0
  509. package/dist/esm/index.mjs +75 -3
  510. package/dist/esm/styled-system/css/conditions.mjs +1 -1
  511. package/dist/esm/styled-system/css/css.mjs +1 -1
  512. package/dist/esm/styled-system/css/cva.mjs +1 -1
  513. package/dist/esm/styled-system/css/cx.mjs +1 -1
  514. package/dist/esm/styled-system/css/sva.mjs +50 -0
  515. package/dist/esm/styled-system/helpers.mjs +24 -2
  516. package/dist/esm/styled-system/jsx/box.mjs +1 -1
  517. package/dist/esm/styled-system/jsx/center.mjs +1 -1
  518. package/dist/esm/styled-system/jsx/circle.mjs +1 -1
  519. package/dist/esm/styled-system/jsx/factory-helper.mjs +1 -1
  520. package/dist/esm/styled-system/jsx/factory.mjs +1 -1
  521. package/dist/esm/styled-system/jsx/flex.mjs +1 -1
  522. package/dist/esm/styled-system/jsx/is-valid-prop.mjs +1 -1
  523. package/dist/esm/styled-system/jsx/visually-hidden.mjs +1 -1
  524. package/dist/esm/styled-system/patterns/box.mjs +1 -1
  525. package/dist/esm/styled-system/patterns/center.mjs +1 -1
  526. package/dist/esm/styled-system/patterns/circle.mjs +1 -1
  527. package/dist/esm/styled-system/patterns/flex.mjs +1 -1
  528. package/dist/esm/styled-system/patterns/visually-hidden.mjs +1 -1
  529. package/dist/esm/styled-system/recipes/avatar.mjs +1 -1
  530. package/dist/esm/styled-system/recipes/button.mjs +1 -1
  531. package/dist/esm/styled-system/recipes/create-recipe.mjs +1 -1
  532. package/dist/esm/styled-system/recipes/icon.mjs +1 -1
  533. package/dist/esm/styled-system/recipes/menu.mjs +104 -0
  534. package/dist/esm/styled-system/recipes/popover.mjs +77 -0
  535. package/dist/esm/styled-system/recipes/skeleton.mjs +1 -1
  536. package/dist/esm/styled-system/recipes/spinner.mjs +1 -1
  537. package/dist/esm/styled-system/recipes/text.mjs +1 -1
  538. package/dist/esm/styled-system/recipes/tooltip.mjs +57 -0
  539. package/dist/esm/styled-system/tokens/index.mjs +11309 -0
  540. package/dist/esm/ui-kit/avatar.mjs +1 -1
  541. package/dist/esm/ui-kit/button.mjs +1 -1
  542. package/dist/esm/ui-kit/spinner.mjs +1 -1
  543. package/dist/esm/ui-kit/styled/avatar.mjs +1 -1
  544. package/dist/esm/ui-kit/styled/button.mjs +1 -1
  545. package/dist/esm/ui-kit/styled/icon.mjs +1 -1
  546. package/dist/esm/ui-kit/styled/menu.mjs +41 -0
  547. package/dist/esm/ui-kit/styled/popover.mjs +32 -0
  548. package/dist/esm/ui-kit/styled/skeleton.mjs +1 -1
  549. package/dist/esm/ui-kit/styled/spinner.mjs +1 -1
  550. package/dist/esm/ui-kit/styled/text.mjs +1 -1
  551. package/dist/esm/ui-kit/styled/tooltip.mjs +27 -0
  552. package/dist/esm/ui-kit/styled/utils/create-style-context.mjs +1 -1
  553. package/dist/styles.css +1233 -988
  554. package/dist/types/__mocks__/axios.d.ts +4 -0
  555. package/dist/types/_modules/react-use-promise.d.ts +2 -0
  556. package/dist/types/components/AdvancedOptions.d.ts +6 -0
  557. package/dist/types/components/Button/Button.d.ts +12 -0
  558. package/dist/types/components/Button/Button.types.d.ts +17 -0
  559. package/dist/types/components/Button/index.d.ts +2 -0
  560. package/dist/types/components/ComboBox/Dropdown/ActiveTab.d.ts +4 -0
  561. package/dist/types/components/ComboBox/Dropdown/Dropdown.d.ts +12 -0
  562. package/dist/types/components/ComboBox/Dropdown/Option.d.ts +7 -0
  563. package/dist/types/components/ComboBox/Dropdown/OptionsList.d.ts +4 -0
  564. package/dist/types/components/ComboBox/Dropdown/SearchInput.d.ts +6 -0
  565. package/dist/types/components/ComboBox/Dropdown/Tabs/CustomValue.d.ts +3 -0
  566. package/dist/types/components/ComboBox/Dropdown/Tabs/Formulas/index.d.ts +3 -0
  567. package/dist/types/components/ComboBox/Dropdown/Tabs/Lookup.d.ts +11 -0
  568. package/dist/types/components/ComboBox/Dropdown/Tabs/LookupOptions/OptionsList.d.ts +1 -0
  569. package/dist/types/components/ComboBox/Dropdown/Tabs/LookupOptions/ParametersPanel.d.ts +5 -0
  570. package/dist/types/components/ComboBox/Dropdown/Tabs/LookupOptions/UiComponents.d.ts +10 -0
  571. package/dist/types/components/ComboBox/Dropdown/Tabs/LookupOptions/index.d.ts +3 -0
  572. package/dist/types/components/ComboBox/Dropdown/Tabs/Options.d.ts +3 -0
  573. package/dist/types/components/ComboBox/Dropdown/Tabs/Variables.d.ts +3 -0
  574. package/dist/types/components/ComboBox/Dropdown/index.d.ts +4 -0
  575. package/dist/types/components/ComboBox/Dropdown/tabs.d.ts +14 -0
  576. package/dist/types/components/ComboBox/Edit/OptionSelector.d.ts +7 -0
  577. package/dist/types/components/ComboBox/Edit/TextInput.d.ts +2 -0
  578. package/dist/types/components/ComboBox/Edit/index.d.ts +2 -0
  579. package/dist/types/components/ComboBox/Value/Formula.d.ts +7 -0
  580. package/dist/types/components/ComboBox/Value/Schema.d.ts +4 -0
  581. package/dist/types/components/ComboBox/Value/index.d.ts +5 -0
  582. package/dist/types/components/ComboBox/context/combobox-context.d.ts +11 -0
  583. package/dist/types/components/ComboBox/context/combobox-dropdown-context.d.ts +13 -0
  584. package/dist/types/components/ComboBox/context/combobox-dropdown-search.d.ts +16 -0
  585. package/dist/types/components/ComboBox/context/combobox-dropdown-stack.d.ts +6 -0
  586. package/dist/types/components/ComboBox/context/helpers.d.ts +15 -0
  587. package/dist/types/components/ComboBox/context/index.d.ts +5 -0
  588. package/dist/types/components/ComboBox/index.d.ts +7 -0
  589. package/dist/types/components/ComboBox/options-factories/base.d.ts +2 -0
  590. package/dist/types/components/ComboBox/options-factories/boolean.d.ts +6 -0
  591. package/dist/types/components/ComboBox/options-factories/constant.d.ts +11 -0
  592. package/dist/types/components/ComboBox/options-factories/custom-field.d.ts +13 -0
  593. package/dist/types/components/ComboBox/options-factories/enum.d.ts +17 -0
  594. package/dist/types/components/ComboBox/options-factories/index.d.ts +18 -0
  595. package/dist/types/components/ComboBox/options-factories/object-fields.d.ts +24 -0
  596. package/dist/types/components/ComboBox/options-factories/reference-records.d.ts +17 -0
  597. package/dist/types/components/ComboBox/options-factories/reference-udm.d.ts +8 -0
  598. package/dist/types/components/ComboBox/options-factories/schema.d.ts +37 -0
  599. package/dist/types/components/ComboBox/tests/Combobox.stories.helpers.d.ts +35 -0
  600. package/dist/types/components/ComboBox/tests/presets.d.ts +4 -0
  601. package/dist/types/components/ComboBox/types.d.ts +104 -0
  602. package/dist/types/components/ComboBox/value-spec.d.ts +18 -0
  603. package/dist/types/components/ComboBoxElements/ComboBoxTag.d.ts +5 -0
  604. package/dist/types/components/ComboBoxElements/FieldWrapper.d.ts +7 -0
  605. package/dist/types/components/ComboBoxElements/Popper.d.ts +5 -0
  606. package/dist/types/components/ComboBoxElements/TipTapEditor/Editor.d.ts +19 -0
  607. package/dist/types/components/ComboBoxElements/TipTapEditor/EditorStandAlone.d.ts +9 -0
  608. package/dist/types/components/ComboBoxElements/TipTapEditor/TagComponent.d.ts +9 -0
  609. package/dist/types/components/ComboBoxElements/TipTapEditor/extension-keyboardShortcuts.d.ts +7 -0
  610. package/dist/types/components/ComboBoxElements/TipTapEditor/helpers/clicks.d.ts +2 -0
  611. package/dist/types/components/ComboBoxElements/TipTapEditor/helpers/common.d.ts +22 -0
  612. package/dist/types/components/ComboBoxElements/TipTapEditor/helpers/index.d.ts +4 -0
  613. package/dist/types/components/ComboBoxElements/TipTapEditor/helpers/transformEditorSchemaToValue.d.ts +9 -0
  614. package/dist/types/components/ComboBoxElements/TipTapEditor/helpers/transformValueToEditorSchema.d.ts +5 -0
  615. package/dist/types/components/ComboBoxElements/TipTapEditor/index.d.ts +5 -0
  616. package/dist/types/components/ComboBoxElements/index.d.ts +4 -0
  617. package/dist/types/components/DataBuilder/Condition/index.d.ts +7 -0
  618. package/dist/types/components/DataBuilder/Field.d.ts +2 -0
  619. package/dist/types/components/DataBuilder/FieldDelete.d.ts +3 -0
  620. package/dist/types/components/DataBuilder/FieldDescription.d.ts +3 -0
  621. package/dist/types/components/DataBuilder/FieldList.d.ts +11 -0
  622. package/dist/types/components/DataBuilder/FieldName.d.ts +10 -0
  623. package/dist/types/components/DataBuilder/FieldTypeSelector/index.d.ts +8 -0
  624. package/dist/types/components/DataBuilder/FieldValue/Array.d.ts +2 -0
  625. package/dist/types/components/DataBuilder/FieldValue/Default.d.ts +2 -0
  626. package/dist/types/components/DataBuilder/FieldValue/ScalarArray.d.ts +2 -0
  627. package/dist/types/components/DataBuilder/FieldValue/index.d.ts +2 -0
  628. package/dist/types/components/DataBuilder/FieldValue/types.d.ts +10 -0
  629. package/dist/types/components/DataBuilder/Filter.d.ts +6 -0
  630. package/dist/types/components/DataBuilder/Form.d.ts +24 -0
  631. package/dist/types/components/DataBuilder/Formula/case.d.ts +6 -0
  632. package/dist/types/components/DataBuilder/Formula/concat.d.ts +6 -0
  633. package/dist/types/components/DataBuilder/Formula/copy.d.ts +6 -0
  634. package/dist/types/components/DataBuilder/Formula/domainFromEmail.d.ts +6 -0
  635. package/dist/types/components/DataBuilder/Formula/extractDate.d.ts +6 -0
  636. package/dist/types/components/DataBuilder/Formula/extractTime.d.ts +6 -0
  637. package/dist/types/components/DataBuilder/Formula/findAppRecordId.d.ts +6 -0
  638. package/dist/types/components/DataBuilder/Formula/findExternalRecordId.d.ts +6 -0
  639. package/dist/types/components/DataBuilder/Formula/firstName.d.ts +6 -0
  640. package/dist/types/components/DataBuilder/Formula/firstNotEmpty.d.ts +6 -0
  641. package/dist/types/components/DataBuilder/Formula/index.d.ts +27 -0
  642. package/dist/types/components/DataBuilder/Formula/iterate.d.ts +6 -0
  643. package/dist/types/components/DataBuilder/Formula/jsonata.d.ts +6 -0
  644. package/dist/types/components/DataBuilder/Formula/lastName.d.ts +6 -0
  645. package/dist/types/components/DataBuilder/Formula/lookup.d.ts +5 -0
  646. package/dist/types/components/DataBuilder/Formula/map.d.ts +6 -0
  647. package/dist/types/components/DataBuilder/Formula/mergeObjects.d.ts +6 -0
  648. package/dist/types/components/DataBuilder/Formula/noUi.d.ts +1 -0
  649. package/dist/types/components/DataBuilder/Formula/options-factory.d.ts +14 -0
  650. package/dist/types/components/DataBuilder/Formula/record.d.ts +5 -0
  651. package/dist/types/components/DataBuilder/Formula/tpl.d.ts +5 -0
  652. package/dist/types/components/DataBuilder/Formula/var.d.ts +5 -0
  653. package/dist/types/components/DataBuilder/Nested/ArrayItems.d.ts +5 -0
  654. package/dist/types/components/DataBuilder/Nested/FieldControlPanel/AddingFieldSelector.d.ts +7 -0
  655. package/dist/types/components/DataBuilder/Nested/FieldControlPanel/ControlPanel.d.ts +7 -0
  656. package/dist/types/components/DataBuilder/Nested/FieldControlPanel/ControlPanelForNonObjectRootField.d.ts +4 -0
  657. package/dist/types/components/DataBuilder/Nested/FieldControlPanel/index.d.ts +10 -0
  658. package/dist/types/components/DataBuilder/Nested/FieldListWrapper/index.d.ts +6 -0
  659. package/dist/types/components/DataBuilder/Nested/NoSchema.d.ts +5 -0
  660. package/dist/types/components/DataBuilder/Nested/ObjectFields.d.ts +5 -0
  661. package/dist/types/components/DataBuilder/Nested/ValueMapping.d.ts +2 -0
  662. package/dist/types/components/DataBuilder/Nested.d.ts +5 -0
  663. package/dist/types/components/DataBuilder/data-builder-context.d.ts +41 -0
  664. package/dist/types/components/DataBuilder/data-field.d.ts +47 -0
  665. package/dist/types/components/DataBuilder/field-context.d.ts +18 -0
  666. package/dist/types/components/DataBuilder/hooks.d.ts +1 -0
  667. package/dist/types/components/DataBuilder/index.d.ts +16 -0
  668. package/dist/types/components/DataBuilder/stories/DataBuilder.test-formulas.helpers.d.ts +12 -0
  669. package/dist/types/components/DataBuilderUI/FieldControlPanel/index.d.ts +15 -0
  670. package/dist/types/components/DataBuilderUI/index.d.ts +67 -0
  671. package/dist/types/components/DataInput/index.d.ts +15 -0
  672. package/dist/types/components/DataLinks/data-link-tables-option-factory.d.ts +17 -0
  673. package/dist/types/components/DataLinks/index.d.ts +1 -0
  674. package/dist/types/components/DropdownUI/DropdownUIElements.d.ts +19 -0
  675. package/dist/types/components/DropdownUI/DropdownUITab.d.ts +15 -0
  676. package/dist/types/components/DropdownUI/index.d.ts +49 -0
  677. package/dist/types/components/Formula/index.d.ts +14 -0
  678. package/dist/types/components/InlineEditable.d.ts +14 -0
  679. package/dist/types/components/Input/Input.d.ts +5 -0
  680. package/dist/types/components/Input/SearchInput.d.ts +4 -0
  681. package/dist/types/components/Input/SearchInput.stories.d.ts +6 -0
  682. package/dist/types/components/Input/index.d.ts +6 -0
  683. package/dist/types/components/IntegrationElements/DataSource/DataCollectionSelect.d.ts +6 -0
  684. package/dist/types/components/IntegrationElements/DataSource/UdmSelect.d.ts +2 -0
  685. package/dist/types/components/IntegrationElements/DataSource/index.d.ts +8 -0
  686. package/dist/types/components/IntegrationElements/DataSource/types.d.ts +7 -0
  687. package/dist/types/components/IntegrationElements/index.d.ts +4 -0
  688. package/dist/types/components/IntegrationElements/integration-element-context.d.ts +11 -0
  689. package/dist/types/components/Integrations/IntegrationAvatar/index.d.ts +1 -0
  690. package/dist/types/components/Notification/index.d.ts +16 -0
  691. package/dist/types/components/Popover/index.d.ts +45 -0
  692. package/dist/types/components/Portal/index.d.ts +8 -0
  693. package/dist/types/components/Radio/Radio.stories.d.ts +9 -0
  694. package/dist/types/components/Radio/index.d.ts +6 -0
  695. package/dist/types/components/SimpleInput/SimpleInput.d.ts +11 -0
  696. package/dist/types/components/SimpleInput/SimpleRadio.d.ts +6 -0
  697. package/dist/types/components/SimpleInput/SimpleTextarea.d.ts +14 -0
  698. package/dist/types/components/SimpleInput/index.d.ts +3 -0
  699. package/dist/types/components/SimpleMenu/index.d.ts +16 -0
  700. package/dist/types/components/SvgIcon/BasicEntities.d.ts +35 -0
  701. package/dist/types/components/SvgIcon/index.d.ts +121 -0
  702. package/dist/types/components/Tag/Components.d.ts +12 -0
  703. package/dist/types/components/Tag/SegmentSeparator.d.ts +1 -0
  704. package/dist/types/components/Tag/TagPlaceholder.d.ts +5 -0
  705. package/dist/types/components/Tag/index.d.ts +24 -0
  706. package/dist/types/components/Textarea/index.d.ts +20 -0
  707. package/dist/types/components/Toggle/Toggle.d.ts +2 -0
  708. package/dist/types/components/Toggle/ToggleOnOff.d.ts +2 -0
  709. package/dist/types/components/Toggle/index.d.ts +4 -0
  710. package/dist/types/components/Toggle/types.d.ts +17 -0
  711. package/dist/types/components/Tooltip/index.d.ts +15 -0
  712. package/dist/types/components/Truncate/index.d.ts +7 -0
  713. package/dist/types/contexts/integration-app-client-context.d.ts +10 -0
  714. package/dist/types/contexts/integration-app-connection-context.d.ts +9 -0
  715. package/dist/types/contexts/integration-app-integration-context.d.ts +9 -0
  716. package/dist/types/helpers/Debounce.d.ts +1 -0
  717. package/dist/types/helpers/getRefElement.d.ts +3 -0
  718. package/dist/types/hooks/keyboard-events.d.ts +11 -0
  719. package/dist/types/hooks/subscriptionStack.d.ts +4 -0
  720. package/dist/types/hooks/useAutofocus.d.ts +2 -0
  721. package/dist/types/hooks/useDeepEffect.d.ts +3 -0
  722. package/dist/types/hooks/useEventStopPropagation.d.ts +5 -0
  723. package/dist/types/hooks/useForwardedRef.d.ts +2 -0
  724. package/dist/types/hooks/useIsTextTruncated.d.ts +2 -0
  725. package/dist/types/hooks/useResizeObserver.d.ts +13 -0
  726. package/dist/types/hooks/useWindowEvent.d.ts +4 -0
  727. package/dist/types/index.d.ts +32 -2
  728. package/dist/types/styled-system/tokens/tokens.d.ts +3 -3
  729. package/dist/types/styled-system/types/prop-type.d.ts +1 -1
  730. package/dist/types/typed.d.ts +7 -0
  731. package/dist/types/ui-kit/avatar.d.ts +1 -0
  732. package/dist/types/ui-kit/button.d.ts +1 -0
  733. package/dist/types/ui-kit/menu.d.ts +1 -0
  734. package/dist/types/ui-kit/popover.d.ts +1 -0
  735. package/dist/types/ui-kit/spinner.d.ts +1 -0
  736. package/dist/types/ui-kit/styled/avatar.d.ts +1 -0
  737. package/dist/types/ui-kit/styled/button.d.ts +1 -0
  738. package/dist/types/ui-kit/styled/icon.d.ts +1 -0
  739. package/dist/types/ui-kit/styled/menu.d.ts +27 -0
  740. package/dist/types/ui-kit/styled/popover.d.ts +20 -0
  741. package/dist/types/ui-kit/styled/skeleton.d.ts +1 -0
  742. package/dist/types/ui-kit/styled/spinner.d.ts +1 -0
  743. package/dist/types/ui-kit/styled/text.d.ts +1 -0
  744. package/dist/types/ui-kit/styled/tooltip.d.ts +15 -0
  745. package/dist/types/ui-kit/tooltip.d.ts +1 -0
  746. package/package.json +51 -15
  747. package/dist/types/hooks/data-form/index.d.ts +0 -1
@@ -0,0 +1,83 @@
1
+ "use strict";
2
+ /*
3
+ * Integration App React package
4
+ * {@link https://www.npmjs.com/package/@integration-app/react}
5
+ * v2.0.3-beta.2
6
+ */
7
+ 'use client';
8
+
9
+ import { jsxs, jsx } from 'react/jsx-runtime';
10
+ import { forwardRef } from 'react';
11
+ import clsx from 'clsx';
12
+ import { Tag } from '../Tag/index.mjs';
13
+ import classes from './ComboBoxTag.module.css.mjs';
14
+ import { SvgIconType } from '../SvgIcon/index.mjs';
15
+
16
+ const ComboBoxTag = forwardRef(
17
+ function({
18
+ // Style related props
19
+ className,
20
+ variant = "default",
21
+ selected = false,
22
+ disabled,
23
+ invalid,
24
+ onClick,
25
+ tooltip,
26
+ // Nested children props
27
+ children,
28
+ icon,
29
+ iconUri,
30
+ ...props
31
+ }, ref) {
32
+ return /* @__PURE__ */ jsxs(
33
+ Tag,
34
+ {
35
+ className: clsx(
36
+ classes.tagDefault,
37
+ !!onClick && classes.tagDefault__clickable,
38
+ selected && classes.tagDefault__selected,
39
+ disabled && classes.tagDefault__disabled,
40
+ invalid && classes.tagDefault__invalid,
41
+ variant === "lookup" && classes.tagLookup,
42
+ className
43
+ ),
44
+ tooltip,
45
+ onClick,
46
+ ref,
47
+ ...props,
48
+ children: [
49
+ /* @__PURE__ */ jsx(ComboboxIcon, { invalid, icon, iconUri }),
50
+ children
51
+ ]
52
+ }
53
+ );
54
+ }
55
+ );
56
+ ComboBoxTag.displayName = "ComboBoxTag";
57
+ function ComboboxIcon({ invalid, icon, iconUri }) {
58
+ if (invalid) {
59
+ return /* @__PURE__ */ jsx(Tag.SvgIcon, { type: SvgIconType.Unlink });
60
+ }
61
+ if (icon) {
62
+ return /* @__PURE__ */ jsx(Tag.SvgIcon, { type: icon });
63
+ }
64
+ if (iconUri) {
65
+ return /* @__PURE__ */ jsx(Tag.Image, { src: iconUri });
66
+ }
67
+ return null;
68
+ }
69
+ function getClassFromSchema(schema) {
70
+ switch (schema?.type) {
71
+ case "string":
72
+ return classes.tagString;
73
+ case "number":
74
+ case "integer":
75
+ return classes.tagNumber;
76
+ case "boolean":
77
+ return classes.tagBoolean;
78
+ default:
79
+ return classes.tagUndefined;
80
+ }
81
+ }
82
+
83
+ export { ComboBoxTag, getClassFromSchema };
@@ -0,0 +1,14 @@
1
+ /*
2
+ * Integration App React package
3
+ * {@link https://www.npmjs.com/package/@integration-app/react}
4
+ * v2.0.3-beta.2
5
+ */
6
+ 'use client';
7
+
8
+ import styleInject from 'style-inject';
9
+
10
+ var css_248z = ".ComboBoxTag-module_tagDefault__AH8R2 {\n --tw-bg-opacity: 1;\n background-color: rgb(15 76 117 / var(--tw-bg-opacity));\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n border-width: 1px;\n border-color: transparent;\n}.ComboBoxTag-module_tagDefault__AH8R2:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(15 76 117 / var(--tw-bg-opacity));\n}\n.ComboBoxTag-module_tagDefault__AH8R2.ComboBoxTag-module_tagDefault__selected__nKlR5,\n.ComboBoxTag-module_tagDefault__AH8R2.ComboBoxTag-module_tagDefault__selected__nKlR5:hover {\n --tw-border-opacity: 1;\n border-color: rgb(221 221 221 / var(--tw-border-opacity));\n --tw-bg-opacity: 1;\n background-color: rgb(248 248 248 / var(--tw-bg-opacity));\n}\n.ComboBoxTag-module_tagDefault__AH8R2.ComboBoxTag-module_tagDefault__clickable__hS--w {\n cursor: pointer;\n}\n.ComboBoxTag-module_tagDefault__AH8R2.ComboBoxTag-module_tagDefault__disabled__VHUdn,\n.ComboBoxTag-module_tagDefault__AH8R2.ComboBoxTag-module_tagDefault__disabled__VHUdn:hover {\n cursor: default;\n --tw-border-opacity: 1;\n border-color: rgb(170 170 170 / var(--tw-border-opacity));\n --tw-bg-opacity: 1;\n background-color: rgb(170 170 170 / var(--tw-bg-opacity));\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n.ComboBoxTag-module_tagDefault__AH8R2.ComboBoxTag-module_tagDefault__invalid__JHDvT,\n.ComboBoxTag-module_tagDefault__AH8R2.ComboBoxTag-module_tagDefault__invalid__JHDvT:hover {\n --tw-border-opacity: 1;\n border-color: rgb(168 54 5 / var(--tw-border-opacity));\n --tw-bg-opacity: 1;\n background-color: rgb(168 54 5 / var(--tw-bg-opacity));\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n/* Icon After */\n.ComboBoxTag-module_actionBar__a-Kcq {\n display: none;\n height: 2rem;\n width: 1.75rem;\n align-items: center;\n z-index: 10;\n margin-left: -0.75rem;\n margin-right: -1rem;\n padding-left: 0.375rem;\n padding-right: 0.375rem;\n border-radius: 0.25rem;\n --tw-bg-opacity: 1;\n background-color: rgb(15 76 117 / var(--tw-bg-opacity));\n box-shadow: 0.15rem 0 #fff;\n}\n.ComboBoxTag-module_actionBar__a-Kcq:hover {\n display: inline-flex;\n}\n.ComboBoxTag-module_tagDefault__AH8R2:hover + .ComboBoxTag-module_actionBar__a-Kcq {\n display: inline-flex;\n --tw-bg-opacity: 1;\n background-color: rgb(15 76 117 / var(--tw-bg-opacity));\n}\n.ComboBoxTag-module_actionBarButton__xVFYj {\n height: 1rem;\n width: 1rem;\n border-radius: 9999px;\n padding: 0px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n --tw-bg-opacity: 1;\n background-color: rgb(194 154 6 / var(--tw-bg-opacity));\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n.ComboBoxTag-module_actionBar__a-Kcq:hover .ComboBoxTag-module_actionBarButton__xVFYj {\n transform: scale(1.1);\n transition: 0.1s transform;\n}\n.ComboBoxTag-module_actionBar__a-Kcq:hover .ComboBoxTag-module_actionBarButton__xVFYj:focus {\n transform: scale(1.2);\n}\n.ComboBoxTag-module_tagLookup__qurB2 {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n --tw-border-opacity: 1;\n border-color: rgb(13 121 194 / var(--tw-border-opacity));\n --tw-bg-opacity: 1;\n background-color: rgb(13 121 194 / var(--tw-bg-opacity));\n}\n.ComboBoxTag-module_tagLookup__qurB2:hover {\n background-color: #0c71b5;\n}\n.ComboBoxTag-module_tagDefault__AH8R2 [class*='tagConfigButton'] {\n border-left: 1px solid #005f9f;\n}\n.ComboBoxTag-module_tagDefault__AH8R2.ComboBoxTag-module_tagString__Pmqwr,\n.ComboBoxTag-module_tagDefault__AH8R2.ComboBoxTag-module_tagNumber__y6un6,\n.ComboBoxTag-module_tagDefault__AH8R2.ComboBoxTag-module_tagBoolean__e7saD {\n --tw-bg-opacity: 1;\n background-color: rgb(238 238 238 / var(--tw-bg-opacity));\n --tw-text-opacity: 1;\n color: rgb(0 0 0 / var(--tw-text-opacity));\n}\n.ComboBoxTag-module_tagDefault__AH8R2.ComboBoxTag-module_tagString__Pmqwr:hover,\n.ComboBoxTag-module_tagDefault__AH8R2.ComboBoxTag-module_tagNumber__y6un6:hover,\n.ComboBoxTag-module_tagDefault__AH8R2.ComboBoxTag-module_tagBoolean__e7saD:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(248 248 248 / var(--tw-bg-opacity));\n --tw-text-opacity: 1;\n color: rgb(0 0 0 / var(--tw-text-opacity));\n}\n";
11
+ var classes = {"tagDefault":"ComboBoxTag-module_tagDefault__AH8R2","tagDefault__selected":"ComboBoxTag-module_tagDefault__selected__nKlR5","tagDefault__clickable":"ComboBoxTag-module_tagDefault__clickable__hS--w","tagDefault__disabled":"ComboBoxTag-module_tagDefault__disabled__VHUdn","tagDefault__invalid":"ComboBoxTag-module_tagDefault__invalid__JHDvT","actionBar":"ComboBoxTag-module_actionBar__a-Kcq","actionBarButton":"ComboBoxTag-module_actionBarButton__xVFYj","tagLookup":"ComboBoxTag-module_tagLookup__qurB2","tagString":"ComboBoxTag-module_tagString__Pmqwr","tagNumber":"ComboBoxTag-module_tagNumber__y6un6","tagBoolean":"ComboBoxTag-module_tagBoolean__e7saD"};
12
+ styleInject(css_248z);
13
+
14
+ export { classes as default };
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ /*
3
+ * Integration App React package
4
+ * {@link https://www.npmjs.com/package/@integration-app/react}
5
+ * v2.0.3-beta.2
6
+ */
7
+ 'use client';
8
+
9
+ import { jsx } from 'react/jsx-runtime';
10
+ import { forwardRef } from 'react';
11
+ import clsx from 'clsx';
12
+ import classes from './inputs.module.css.mjs';
13
+
14
+ const FieldWrapper = forwardRef(
15
+ ({ children, disabled, className, requiredAndEmptyField, ...props }, ref) => {
16
+ return /* @__PURE__ */ jsx(
17
+ "span",
18
+ {
19
+ className: clsx(
20
+ classes.fieldWrapper,
21
+ disabled && classes.fieldWrapper__disabled,
22
+ !!props.onClick && !disabled && classes.fieldWrapper__clickable,
23
+ !requiredAndEmptyField && classes.fieldWrapper__required,
24
+ className
25
+ ),
26
+ ref,
27
+ "data-role": "field-wrapper",
28
+ "aria-disabled": disabled,
29
+ "aria-readonly": disabled,
30
+ ...props,
31
+ children
32
+ }
33
+ );
34
+ }
35
+ );
36
+
37
+ export { FieldWrapper };
@@ -0,0 +1,162 @@
1
+ "use strict";
2
+ /*
3
+ * Integration App React package
4
+ * {@link https://www.npmjs.com/package/@integration-app/react}
5
+ * v2.0.3-beta.2
6
+ */
7
+ 'use client';
8
+
9
+ import { jsx } from 'react/jsx-runtime';
10
+ import { useState, useMemo, useEffect } from 'react';
11
+ import { usePopper } from 'react-popper';
12
+ import { Portal } from '../Portal/index.mjs';
13
+ import { useDebounce } from 'usehooks-ts';
14
+ import useResizeObserver from '../../hooks/useResizeObserver.mjs';
15
+ import { useDeepMemo } from '../../hooks/useDeepEffect.mjs';
16
+ import classes from './Popper.module.css.mjs';
17
+ import { getRefElement } from '../../helpers/getRefElement.mjs';
18
+
19
+ function DropdownUIPopper({
20
+ referenceElement,
21
+ children
22
+ }) {
23
+ const [popperElement, setPopperElement] = useState();
24
+ const popperOptions = usePopperJsOptions();
25
+ const safeReferenceElement = getRefElement(referenceElement);
26
+ const {
27
+ styles,
28
+ attributes,
29
+ update: updatePopover
30
+ } = usePopper(safeReferenceElement, popperElement, popperOptions);
31
+ useDebouncedCallbackOnResize(safeReferenceElement, updatePopover);
32
+ const popperStyles = useDeepMemo(() => {
33
+ return styles.popper;
34
+ }, [styles.popper]);
35
+ const popperAttributes = useDeepMemo(
36
+ () => attributes.popper,
37
+ [attributes.popper]
38
+ );
39
+ return /* @__PURE__ */ jsx(Portal, { children: /* @__PURE__ */ jsx(
40
+ "div",
41
+ {
42
+ "data-combobox": true,
43
+ role: "dialog",
44
+ ref: setPopperElement,
45
+ style: popperStyles,
46
+ ...popperAttributes,
47
+ className: classes.popper,
48
+ children: popperElement && children
49
+ }
50
+ ) });
51
+ }
52
+ function usePopperJsOptions() {
53
+ return useMemo(() => {
54
+ const modifiers = [];
55
+ modifiers.push({
56
+ name: "setPlacement",
57
+ enabled: true,
58
+ phase: "beforeRead",
59
+ requires: ["flip"],
60
+ fn({ state }) {
61
+ const { offsetToTop, offsetToBottom } = getOffsetsFromState(state);
62
+ const { placement, fallbackPlacements } = getPopperPlacement(
63
+ state,
64
+ offsetToTop,
65
+ offsetToBottom
66
+ );
67
+ state.placement = placement;
68
+ state.options.modifiers.find(
69
+ (x) => x.name === "flip"
70
+ ).options.fallbackPlacements = fallbackPlacements;
71
+ }
72
+ });
73
+ modifiers.push({
74
+ name: "applyMaxHeight",
75
+ enabled: true,
76
+ phase: "beforeRead",
77
+ fn({ state }) {
78
+ const { offsetToTop, offsetToBottom } = getOffsetsFromState(state);
79
+ const additionalOffset = state.placement.includes("top") ? 20 : 0;
80
+ const maxHeight = getMinHeight(offsetToTop, offsetToBottom) - additionalOffset;
81
+ state.styles.popper = {
82
+ ...state.styles.popper,
83
+ maxHeight: `${maxHeight}px`
84
+ };
85
+ }
86
+ });
87
+ modifiers.push({
88
+ name: "offset",
89
+ options: {
90
+ offset: [0, 4]
91
+ }
92
+ });
93
+ modifiers.push({
94
+ name: "flip",
95
+ options: {
96
+ fallbackPlacements: [
97
+ "bottom-start",
98
+ "bottom-end",
99
+ "top-start",
100
+ "top-end"
101
+ ],
102
+ flipVariations: true
103
+ }
104
+ });
105
+ return {
106
+ placement: "bottom-start",
107
+ modifiers
108
+ };
109
+ }, []);
110
+ }
111
+ function useDebouncedCallbackOnResize(target, callback) {
112
+ const [width, setWidth] = useState(0);
113
+ const [height, setHeight] = useState(0);
114
+ const debouncedWidth = useDebounce(width, 100);
115
+ const debouncedHeight = useDebounce(height, 100);
116
+ useEffect(() => {
117
+ void callback?.();
118
+ }, [debouncedWidth, debouncedHeight, callback]);
119
+ useResizeObserver(target, ({ resized, size }) => {
120
+ if (resized.width) {
121
+ setWidth(size.width);
122
+ }
123
+ if (resized.height) {
124
+ setHeight(size.height);
125
+ }
126
+ });
127
+ }
128
+ function getOffsetsFromState(state) {
129
+ const additionalPadding = 20;
130
+ const { y: elPositionYRelatedToWindow, height: elHeight } = state.rects.reference;
131
+ const visualViewport = state.scrollParents.reference.find(
132
+ (x) => x instanceof VisualViewport
133
+ );
134
+ const viewportTopOffset = visualViewport?.pageTop ?? 0;
135
+ const viewportHeight = visualViewport?.height || window.innerHeight;
136
+ const topOffsetRelatedToViewport = elPositionYRelatedToWindow - viewportTopOffset;
137
+ const bottomOffsetRelatedToViewport = viewportHeight - topOffsetRelatedToViewport - elHeight;
138
+ return {
139
+ // Calculate available space to show the popper on the top
140
+ offsetToTop: topOffsetRelatedToViewport - additionalPadding,
141
+ // Calculate available space to show the popper on the bottom
142
+ offsetToBottom: bottomOffsetRelatedToViewport - additionalPadding
143
+ };
144
+ }
145
+ function getPopperPlacement(state, offsetToTop, offsetToBottom) {
146
+ const freeSpaceBasePlacement = offsetToTop > offsetToBottom ? "top" : "bottom";
147
+ const [_, baseHorizontalPlacement = "start"] = state.placement.split("-");
148
+ const placement = `${freeSpaceBasePlacement}-${baseHorizontalPlacement}`;
149
+ const fallbackPlacements = [
150
+ `${freeSpaceBasePlacement}-${baseHorizontalPlacement === "start" ? "end" : "start"}`
151
+ ];
152
+ return { placement, fallbackPlacements };
153
+ }
154
+ function getMinHeight(offsetToTop, offsetToBottom) {
155
+ const minAvailableHeight = 300;
156
+ return Math.max(
157
+ Math.round(Math.max(offsetToTop, offsetToBottom)),
158
+ minAvailableHeight
159
+ );
160
+ }
161
+
162
+ export { DropdownUIPopper };
@@ -0,0 +1,14 @@
1
+ /*
2
+ * Integration App React package
3
+ * {@link https://www.npmjs.com/package/@integration-app/react}
4
+ * v2.0.3-beta.2
5
+ */
6
+ 'use client';
7
+
8
+ import styleInject from 'style-inject';
9
+
10
+ var css_248z = "/* Dropdown Popper */\n.Popper-module_popper__HPG3S {\n z-index: 600;\n will-change: transform, width, max-height;\n max-width: -moz-fit-content;\n max-width: fit-content;\n min-width: 22rem;\n display: flex;\n flex-direction: column;\n}\n.Popper-module_popper__HPG3S[data-popper-reference-hidden='true'] {\n visibility: hidden;\n pointer-events: none;\n}\n.Popper-module_popper__HPG3S[data-popper-placement^='top'] {\n justify-content: flex-end;\n\n /*\n When Dropdown is placed on the top, it has additional offset\n Because we shift Dropdown to the top by 24px to keep SchemaSelector visible\n */\n margin-bottom: 20px;\n margin-left: -9px;\n}\n.Popper-module_popper__HPG3S[data-popper-placement^='bottom'] {\n justify-content: flex-start;\n}\n";
11
+ var classes = {"popper":"Popper-module_popper__HPG3S"};
12
+ styleInject(css_248z);
13
+
14
+ export { classes as default };
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+ /*
3
+ * Integration App React package
4
+ * {@link https://www.npmjs.com/package/@integration-app/react}
5
+ * v2.0.3-beta.2
6
+ */
7
+ 'use client';
8
+
9
+ import { jsx } from 'react/jsx-runtime';
10
+ import { forwardRef, useRef, useEffect } from 'react';
11
+ import clsx from 'clsx';
12
+ import { EditorContent, useEditor } from '@tiptap/react';
13
+ import Document from '@tiptap/extension-document';
14
+ import History from '@tiptap/extension-history';
15
+ import Paragraph from '@tiptap/extension-paragraph';
16
+ import Placeholder from '@tiptap/extension-placeholder';
17
+ import Text from '@tiptap/extension-text';
18
+ import TagComponent, { getComponentTagNode } from './TagComponent.mjs';
19
+ import { KeyboardShortcutHandler } from './extension-keyboardShortcuts.mjs';
20
+ import classes from './Editor.module.css.mjs';
21
+ import { getSchemaNodesSummary } from './helpers/common.mjs';
22
+ import { transformValueToEditorSchema } from './helpers/transformValueToEditorSchema.mjs';
23
+ import { transformEditorSchemaToValue } from './helpers/transformEditorSchemaToValue.mjs';
24
+
25
+ const extensions = [History, Document, Paragraph, Text, TagComponent];
26
+ const clearEditorSearchTerm = (chain, content, allowOverride) => {
27
+ if (!allowOverride) {
28
+ return chain;
29
+ }
30
+ const nodesSummary = getSchemaNodesSummary(content ?? {});
31
+ if (nodesSummary.nonText === 0) {
32
+ return chain?.setContent("");
33
+ }
34
+ return chain;
35
+ };
36
+ function useComboboxEditor({
37
+ value,
38
+ onEnter,
39
+ onChange,
40
+ placeholder = "",
41
+ allowEditorSearchClear = false,
42
+ ...props
43
+ }) {
44
+ const editorExtensions = [
45
+ ...extensions,
46
+ Placeholder.configure({ placeholder }),
47
+ KeyboardShortcutHandler({ onEnter })
48
+ ];
49
+ const editorRef = useRef(null);
50
+ const onChangeHandlerRef = useRef(onChange);
51
+ onChangeHandlerRef.current = onChange;
52
+ const valueRef = useRef(value);
53
+ valueRef.current = value;
54
+ function handleCreate({ editor }) {
55
+ editorRef.current = editor;
56
+ setContent(transformValueToEditorSchema(valueRef.current));
57
+ }
58
+ function handleUpdate() {
59
+ if (!editorRef.current) return;
60
+ const newValue = transformEditorSchemaToValue(
61
+ editorRef.current.getJSON() ?? {}
62
+ );
63
+ if (newValue !== valueRef.current) {
64
+ onChangeHandlerRef.current?.(newValue);
65
+ }
66
+ }
67
+ useEffect(() => {
68
+ if (editorRef.current) {
69
+ setContent?.(transformValueToEditorSchema(value));
70
+ }
71
+ }, [value ? JSON.stringify(value) : void 0]);
72
+ useEditor({
73
+ extensions: editorExtensions,
74
+ ...props,
75
+ // Initially always set content to undefined. We will manage content via setContent
76
+ onUpdate: handleUpdate,
77
+ onCreate: handleCreate
78
+ });
79
+ function pasteTag(variable, props2) {
80
+ const id = (/* @__PURE__ */ new Date()).getTime().toString();
81
+ const chain = editorRef.current?.chain().focus();
82
+ if (!chain) {
83
+ return;
84
+ }
85
+ clearEditorSearchTerm(
86
+ chain,
87
+ editorRef.current?.getJSON(),
88
+ allowEditorSearchClear
89
+ ).insertContent(getComponentTagNode(id, variable, props2)).run();
90
+ handleUpdate();
91
+ }
92
+ function setContent(content) {
93
+ const contentFromEditor = editorRef.current?.getJSON() ?? {};
94
+ if (!editorRef.current) {
95
+ return;
96
+ }
97
+ if (JSON.stringify(content) !== JSON.stringify(contentFromEditor)) {
98
+ const { from, to } = editorRef.current?.state?.selection ?? {};
99
+ editorRef.current?.commands.setContent(content);
100
+ from && to && editorRef.current.commands.setTextSelection({ from, to });
101
+ }
102
+ }
103
+ return {
104
+ editor: editorRef.current,
105
+ pasteTag,
106
+ setContent
107
+ };
108
+ }
109
+ const Editor = forwardRef(
110
+ ({ editor, className, ...props }, ref) => {
111
+ return /* @__PURE__ */ jsx(
112
+ EditorContent,
113
+ {
114
+ className: clsx(classes.editor, className),
115
+ editor,
116
+ ...props,
117
+ ref
118
+ }
119
+ );
120
+ }
121
+ );
122
+
123
+ export { Editor, useComboboxEditor };
@@ -0,0 +1,14 @@
1
+ /*
2
+ * Integration App React package
3
+ * {@link https://www.npmjs.com/package/@integration-app/react}
4
+ * v2.0.3-beta.2
5
+ */
6
+ 'use client';
7
+
8
+ import styleInject from 'style-inject';
9
+
10
+ var css_248z = "\n .Editor-module_editor__VVpoo p {\n line-height: 2rem !important;\n min-height: 2rem !important;\n align-items: center !important;\n margin: 0px !important;\n padding: 0px !important;\n }\n.Editor-module_editor__VVpoo .tiptap {\n min-width: 7rem;\n }\n.Editor-module_editor__VVpoo .tiptap:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n:is(.Editor-module_editor__VVpoo .tiptap) .is-editor-empty:first-child::before {\n pointer-events: none;\n float: left;\n height: 0px;\n --tw-text-opacity: 1;\n color: rgb(170 170 170 / var(--tw-text-opacity));\n content: attr(data-placeholder);\n}\n.Editor-module_editor__VVpoo .react-renderer {\n display: contents;\n}\n";
11
+ var classes = {"editor":"Editor-module_editor__VVpoo"};
12
+ styleInject(css_248z);
13
+
14
+ export { classes as default };
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /*
3
+ * Integration App React package
4
+ * {@link https://www.npmjs.com/package/@integration-app/react}
5
+ * v2.0.3-beta.2
6
+ */
7
+ 'use client';
8
+
9
+ import { jsx } from 'react/jsx-runtime';
10
+ import { forwardRef } from 'react';
11
+ import { useComboboxEditor, Editor } from './Editor.mjs';
12
+ import './TagComponent.mjs';
13
+ import '../../SvgIcon/index.mjs';
14
+ import '@integration-app/sdk';
15
+ import 'fuse';
16
+
17
+ const StandAloneEditor = forwardRef(({ value, onChange, ...props }, ref) => {
18
+ const { editor } = useComboboxEditor({
19
+ // Do now allow manipulating the content (add new, remove existing, etc.)
20
+ // but existing <Tags /> can be edited, because they are separate components
21
+ editable: false,
22
+ value,
23
+ onChange
24
+ });
25
+ return /* @__PURE__ */ jsx(Editor, { editor, ref, ...props });
26
+ });
27
+ StandAloneEditor.displayName = "StandAloneEditor";
28
+
29
+ export { StandAloneEditor };
@@ -0,0 +1,122 @@
1
+ "use strict";
2
+ /*
3
+ * Integration App React package
4
+ * {@link https://www.npmjs.com/package/@integration-app/react}
5
+ * v2.0.3-beta.2
6
+ */
7
+ 'use client';
8
+
9
+ import { jsx } from 'react/jsx-runtime';
10
+ import { Node, mergeAttributes } from '@tiptap/core';
11
+ import { ReactNodeViewRenderer, NodeViewWrapper } from '@tiptap/react';
12
+ import { useCallback } from 'react';
13
+ import { ComboBox } from '../../ComboBox/index.mjs';
14
+ import { useComboBox } from '../../ComboBox/context/combobox-context.mjs';
15
+ import classes from '../inputs.module.css.mjs';
16
+ import useDataBuilder from '../../DataBuilder/data-builder-context.mjs';
17
+ import clsx from 'clsx';
18
+
19
+ const TAG_EXTENSION_NAME = "tagComponent";
20
+ const TAG_EXTENSION_TAG = "tag-component";
21
+ const TagComponent = (props) => {
22
+ const { value, autoOpen } = props.node.attrs;
23
+ const { isReadOnly } = useDataBuilder();
24
+ const handleChange = (value2) => {
25
+ if (value2 === void 0) {
26
+ props.deleteNode();
27
+ } else {
28
+ props.updateAttributes({
29
+ value: value2
30
+ });
31
+ }
32
+ };
33
+ return /* @__PURE__ */ jsx(
34
+ NodeViewWrapper,
35
+ {
36
+ as: "span",
37
+ className: clsx(classes.tagWrapper, {
38
+ [classes.tagWrapper__readonly]: isReadOnly
39
+ }),
40
+ children: /* @__PURE__ */ jsx(
41
+ Tag,
42
+ {
43
+ value,
44
+ autoOpen,
45
+ onChange: handleChange,
46
+ disabled: isReadOnly
47
+ }
48
+ )
49
+ }
50
+ );
51
+ };
52
+ function Tag({
53
+ value,
54
+ autoOpen,
55
+ onChange,
56
+ disabled
57
+ }) {
58
+ const { variablesSchema } = useComboBox();
59
+ const handleValueChange = useCallback(
60
+ (value2) => {
61
+ onChange(value2);
62
+ },
63
+ [onChange]
64
+ );
65
+ return /* @__PURE__ */ jsx(
66
+ ComboBox,
67
+ {
68
+ className: classes.innerTag,
69
+ value,
70
+ schema: { type: "string" },
71
+ variablesOnly: true,
72
+ disabled,
73
+ variablesSchema,
74
+ onChange: handleValueChange,
75
+ autoOpen
76
+ }
77
+ );
78
+ }
79
+ var TagComponent$1 = Node.create({
80
+ name: TAG_EXTENSION_NAME,
81
+ group: "inline",
82
+ inline: true,
83
+ atom: true,
84
+ addAttributes() {
85
+ return {
86
+ id: {
87
+ default: null
88
+ },
89
+ value: {
90
+ default: null
91
+ },
92
+ autoOpen: {
93
+ default: false
94
+ }
95
+ };
96
+ },
97
+ parseHTML() {
98
+ return [
99
+ {
100
+ tag: TAG_EXTENSION_TAG
101
+ }
102
+ ];
103
+ },
104
+ renderHTML({ HTMLAttributes }) {
105
+ return [TAG_EXTENSION_TAG, mergeAttributes(HTMLAttributes)];
106
+ },
107
+ addNodeView() {
108
+ return ReactNodeViewRenderer(TagComponent, { contentDOMElementTag: "span" });
109
+ }
110
+ });
111
+ function getComponentTagNode(id, value, { autoOpen } = {}) {
112
+ return {
113
+ type: TAG_EXTENSION_NAME,
114
+ attrs: {
115
+ id,
116
+ value,
117
+ autoOpen
118
+ }
119
+ };
120
+ }
121
+
122
+ export { TAG_EXTENSION_NAME, TAG_EXTENSION_TAG, TagComponent$1 as default, getComponentTagNode };
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ /*
3
+ * Integration App React package
4
+ * {@link https://www.npmjs.com/package/@integration-app/react}
5
+ * v2.0.3-beta.2
6
+ */
7
+ 'use client';
8
+
9
+ import { Extension } from '@tiptap/core';
10
+
11
+ const KeyboardShortcutHandler = ({
12
+ onEnter
13
+ }) => {
14
+ return Extension.create({
15
+ name: "keyboardHandler",
16
+ addKeyboardShortcuts() {
17
+ return {
18
+ "Shift-Enter": ({ editor }) => editor.commands.first(({ commands }) => [
19
+ () => commands.newlineInCode(),
20
+ () => commands.createParagraphNear(),
21
+ () => commands.liftEmptyBlock(),
22
+ () => commands.splitBlock()
23
+ ]),
24
+ Enter: (props) => {
25
+ onEnter?.(props);
26
+ return props.editor.commands.blur();
27
+ }
28
+ };
29
+ }
30
+ });
31
+ };
32
+
33
+ export { KeyboardShortcutHandler };
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ /*
3
+ * Integration App React package
4
+ * {@link https://www.npmjs.com/package/@integration-app/react}
5
+ * v2.0.3-beta.2
6
+ */
7
+ 'use client';
8
+
9
+ import { TAG_EXTENSION_NAME } from '../TagComponent.mjs';
10
+
11
+ function isClickOnEditorCustomTagComponent(element, rootElement) {
12
+ if (!element) {
13
+ return false;
14
+ }
15
+ if (element === rootElement) {
16
+ return false;
17
+ }
18
+ return isElementEditorCustomTagComponent(element) || isClickOnEditorCustomTagComponent(element?.parentElement, rootElement);
19
+ }
20
+ function isClickOnEditorComponent(element, rootElement) {
21
+ if (!element) {
22
+ return false;
23
+ }
24
+ if (element === rootElement) {
25
+ return false;
26
+ }
27
+ return isElementEditorComponent(element) || isClickOnEditorComponent(element?.parentElement, rootElement);
28
+ }
29
+ function isElementEditorCustomTagComponent(element) {
30
+ return element.classList.contains(`node-${TAG_EXTENSION_NAME}`);
31
+ }
32
+ function isElementEditorComponent(element) {
33
+ return element.classList.contains("tiptap");
34
+ }
35
+
36
+ export { isClickOnEditorComponent, isClickOnEditorCustomTagComponent };