| @@ -16,8 +16,9 @@ | ||
| 16 | 16 | import { useEntry } from '@/stores/useEntry' |
| 17 | 17 | import { useNavigation } from '@/composables/useNavigation' |
| 18 | 18 | import { registerLiteComponents } from '@/composables/registerLiteComponents' |
| 19 | 19 | import { registerLiteFieldOptions } from '@/views/admin/form-builder/form-builder-page/form-builder/panel/tabs/field-options/registerLiteFieldOptions' |
| 20 | +import { registerSquareIntegration } from '@/integrations/registerSquare' | |
| 20 | 21 | import { registerLiteStyleSectionPromos } from '@/views/admin/form-builder/form-builder-page/form-builder/panel/tabs/style-controls/registerLiteStyleSectionPromos' |
| 21 | 22 | import * as LiteTypes from '@/types/index' |
| 22 | 23 | import type { IvyProFeatures } from '@/types/global' |
| 23 | 24 | import { useWcagColors } from '@/composables/useWcagColors' |
| @@ -172,8 +173,12 @@ | ||
| 172 | 173 | w.IvyForms.components = componentsRegistry |
| 173 | 174 | w.IvyForms.registerComponent = (name: string, component: Component) => |
| 174 | 175 | componentsRegistry(name, component) |
| 175 | 176 | w.IvyForms.registerComponent('EntryPage', EntryPage) |
| 177 | + | |
| 178 | + registerSquareIntegration((name, component) => { | |
| 179 | + componentsRegistry(name, component) | |
| 180 | + }) | |
| 176 | 181 | |
| 177 | 182 | // Expose router for Pro plugins to add routes dynamically |
| 178 | 183 | w.IvyForms._router = router |
| 179 | 184 | |