twenty-sdk 0.3.1 → 0.4.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.
- package/README.md +139 -44
- package/dist/HtmlTagToRemoteComponent-Bd5sgek2.js +1 -0
- package/dist/HtmlTagToRemoteComponent-DlsAI7JU.mjs +146 -0
- package/dist/RatingValues-CT-y6O0b-CsGZSJKO.mjs +402 -0
- package/dist/RatingValues-CT-y6O0b-D7JSZAMu.js +1 -0
- package/dist/cli/commands/app/app-dev.d.ts +25 -0
- package/dist/cli/commands/{app-generate.command.d.ts → app/app-generate.d.ts} +1 -1
- package/dist/cli/commands/{app-uninstall.command.d.ts → app/app-uninstall.d.ts} +1 -1
- package/dist/cli/commands/app-command.d.ts +2 -0
- package/dist/cli/commands/auth/auth-list.d.ts +4 -0
- package/dist/cli/commands/auth/auth-login.d.ts +8 -0
- package/dist/cli/commands/auth/auth-logout.d.ts +4 -0
- package/dist/cli/commands/auth/auth-status.d.ts +5 -0
- package/dist/cli/commands/auth/auth-switch.d.ts +7 -0
- package/dist/cli/commands/entity/entity-add.d.ts +12 -0
- package/dist/cli/commands/logic-function/logic-function-execute.d.ts +10 -0
- package/dist/cli/commands/{app-logs.command.d.ts → logic-function/logic-function-logs.d.ts} +1 -1
- package/dist/cli/utilities/api/api-service.d.ts +51 -0
- package/dist/cli/utilities/build/common/cleanup-removed-files.d.ts +1 -0
- package/dist/cli/utilities/build/common/esbuild-result-processor.d.ts +11 -0
- package/dist/cli/utilities/build/common/esbuild-watcher.d.ts +37 -0
- package/dist/cli/utilities/build/common/file-upload-watcher.d.ts +24 -0
- package/dist/cli/utilities/build/common/front-component-build/jsx-transform-to-remote-dom-worker-format-plugin.d.ts +3 -0
- package/dist/cli/utilities/build/common/front-component-build/react-globals-plugin.d.ts +2 -0
- package/dist/cli/utilities/build/common/front-component-build/types/ParsedImportSpecifier.d.ts +4 -0
- package/dist/cli/utilities/build/common/front-component-build/utils/extract-names-from-import-specifier.d.ts +2 -0
- package/dist/cli/utilities/build/common/front-component-build/utils/replace-html-tags-with-remote-components.d.ts +1 -0
- package/dist/cli/utilities/build/common/front-component-build/utils/unwrap-define-front-component-to-direct-export.d.ts +1 -0
- package/dist/cli/utilities/build/common/restartable-watcher-interface.d.ts +25 -0
- package/dist/cli/utilities/build/manifest/manifest-build.d.ts +7 -0
- package/dist/cli/utilities/build/manifest/manifest-extract-config-from-file.d.ts +5 -0
- package/dist/cli/utilities/build/manifest/manifest-extract-config.d.ts +20 -0
- package/dist/cli/utilities/build/manifest/manifest-types.d.ts +4 -0
- package/dist/cli/utilities/build/manifest/manifest-update-checksums.d.ts +17 -0
- package/dist/cli/utilities/build/manifest/manifest-validate.d.ts +6 -0
- package/dist/cli/utilities/build/manifest/manifest-watcher.d.ts +12 -0
- package/dist/cli/utilities/build/manifest/manifest-writer.d.ts +2 -0
- package/dist/cli/{services/generate.service.d.ts → utilities/client/client-service.d.ts} +2 -2
- package/dist/cli/{services/config.service.d.ts → utilities/config/config-service.d.ts} +4 -0
- package/dist/cli/utilities/dev/dev-mode-orchestrator.d.ts +42 -0
- package/dist/cli/utilities/dev/dev-ui-state-manager.d.ts +31 -0
- package/dist/cli/utilities/dev/dev-ui-state.d.ts +27 -0
- package/dist/cli/utilities/dev/dev-ui.d.ts +4 -0
- package/dist/cli/utilities/entity/entity-field-template.d.ts +11 -0
- package/dist/cli/utilities/entity/entity-front-component-template.d.ts +4 -0
- package/dist/cli/utilities/entity/entity-logic-function-template.d.ts +4 -0
- package/dist/cli/{utils/get-new-object-file-content.d.ts → utilities/entity/entity-object-template.d.ts} +1 -1
- package/dist/cli/{utils/jsonc-parser.d.ts → utilities/file/file-jsonc.d.ts} +1 -5
- package/dist/cli/utilities/file/file-tarball.d.ts +16 -0
- package/dist/cli/utilities/file/file-uploader.d.ts +14 -0
- package/dist/cli/{utils/get-ts-program-and-diagnostics.d.ts → utilities/typescript/typescript-program.d.ts} +1 -1
- package/dist/cli.cjs +280 -179
- package/dist/cli.mjs +11094 -9469
- package/dist/front-component/host/components/FrontComponentRenderer.d.ts +8 -0
- package/dist/front-component/host/generated/host-component-registry.d.ts +4 -0
- package/dist/front-component/host/generated/host-index.d.ts +1 -0
- package/dist/front-component/index.d.ts +10 -0
- package/dist/front-component/remote/components/FrontComponentWorkerEffect.d.ts +8 -0
- package/dist/front-component/remote/generated/remote-components.d.ts +44 -0
- package/dist/front-component/remote/generated/remote-elements.d.ts +195 -0
- package/dist/front-component/remote/generated/remote-index.d.ts +2 -0
- package/dist/front-component/remote/mock/mock-front-component.d.ts +3 -0
- package/dist/front-component/remote/worker/createRemoteWorker.d.ts +1 -0
- package/dist/front-component/remote/worker/remote-worker.d.ts +0 -0
- package/dist/front-component/types/HostToWorkerRenderContext.d.ts +3 -0
- package/dist/front-component/types/PropertySchema.d.ts +4 -0
- package/dist/front-component/types/WorkerExports.d.ts +5 -0
- package/dist/front-component-constants/AllowedHtmlElements.d.ts +11 -0
- package/dist/front-component-constants/AllowedUiComponents.d.ts +9 -0
- package/dist/front-component-constants/CommonHtmlEvents.d.ts +1 -0
- package/dist/front-component-constants/EventToReact.d.ts +1 -0
- package/dist/front-component-constants/HtmlCommonProperties.d.ts +2 -0
- package/dist/front-component-constants/HtmlTagToRemoteComponent.d.ts +1 -0
- package/dist/front-component-constants/index.d.ts +8 -0
- package/dist/front-component-constants.cjs +1 -0
- package/dist/front-component-constants.mjs +77 -0
- package/dist/front-component.cjs +328 -0
- package/dist/front-component.mjs +42579 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +2183 -242
- package/dist/jsx-runtime-C9ldtZbm.mjs +10472 -0
- package/dist/jsx-runtime-CfccAQK_.js +54 -0
- package/dist/sdk/application/application-config.d.ts +2 -0
- package/dist/sdk/application/define-application.d.ts +3 -0
- package/dist/sdk/common/types/define-entity.type.d.ts +11 -0
- package/dist/sdk/common/utils/create-validation-result.d.ts +5 -0
- package/dist/{application → sdk}/fields/composite-fields.d.ts +1 -1
- package/dist/sdk/fields/define-field.d.ts +3 -0
- package/dist/sdk/fields/validate-fields.d.ts +2 -0
- package/dist/sdk/front-components/define-front-component.d.ts +3 -0
- package/dist/sdk/front-components/front-component-config.d.ts +5 -0
- package/dist/sdk/index.d.ts +22 -0
- package/dist/sdk/logic-functions/define-logic-function.d.ts +3 -0
- package/dist/sdk/logic-functions/logic-function-config.d.ts +6 -0
- package/dist/sdk/logic-functions/triggers/route-payload-type.d.ts +1 -0
- package/dist/sdk/objects/define-object.d.ts +3 -0
- package/dist/sdk/objects/standard-object-ids.d.ts +1 -0
- package/dist/sdk/roles/define-role.d.ts +3 -0
- package/dist/sdk/roles/permission-flag-type.d.ts +1 -0
- package/dist/types-Bg4PAegr.js +1 -0
- package/dist/types-DVJsIqkp.mjs +7 -0
- package/dist/vendor/twenty-shared/ObjectRecordGroupByDateGranularity-BZ0Penru.js +1 -0
- package/dist/vendor/twenty-shared/ObjectRecordGroupByDateGranularity-DmLx4uDl.mjs +263 -0
- package/dist/vendor/twenty-shared/RatingValues-Bd_cXQ5v.js +1 -0
- package/dist/vendor/twenty-shared/RatingValues-CT-y6O0b.mjs +388 -0
- package/dist/vendor/twenty-shared/application/applicationType.d.ts +17 -4
- package/dist/vendor/twenty-shared/application/applicationType.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/application/assetManifestType.d.ts +7 -0
- package/dist/vendor/twenty-shared/application/assetManifestType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/constants/AssetDirectory.d.ts +2 -0
- package/dist/vendor/twenty-shared/application/constants/AssetDirectory.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/constants/GeneratedDirectory.d.ts +2 -0
- package/dist/vendor/twenty-shared/application/constants/GeneratedDirectory.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/constants/OutputDirectory.d.ts +2 -0
- package/dist/vendor/twenty-shared/application/constants/OutputDirectory.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/enums/syncable-entities.enum.d.ts +8 -0
- package/dist/vendor/twenty-shared/application/enums/syncable-entities.enum.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/fieldManifestType.d.ts +12 -1
- package/dist/vendor/twenty-shared/application/fieldManifestType.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/application/frontComponentManifestType.d.ts +10 -0
- package/dist/vendor/twenty-shared/application/frontComponentManifestType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/index.d.ts +11 -5
- package/dist/vendor/twenty-shared/application/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/application/{serverlessFunctionManifestType.d.ts → logicFunctionManifestType.d.ts} +9 -5
- package/dist/vendor/twenty-shared/application/logicFunctionManifestType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/manifestType.d.ts +20 -0
- package/dist/vendor/twenty-shared/application/manifestType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/objectFieldManifest.type.d.ts +5 -0
- package/dist/vendor/twenty-shared/application/objectFieldManifest.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/objectManifestType.d.ts +2 -2
- package/dist/vendor/twenty-shared/application/objectManifestType.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/application/roleManifestType.d.ts +3 -18
- package/dist/vendor/twenty-shared/application/roleManifestType.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/application.cjs +1 -1
- package/dist/vendor/twenty-shared/application.mjs +8 -3
- package/dist/vendor/twenty-shared/constants/DocumentationBaseUrl.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/DocumentationBaseUrl.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/DocumentationDefaultLanguage.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/DocumentationDefaultLanguage.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/DocumentationDefaultPath.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/DocumentationDefaultPath.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/DocumentationPaths.d.ts +165 -0
- package/dist/vendor/twenty-shared/constants/DocumentationPaths.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/DocumentationSupportedLanguages.d.ts +3 -0
- package/dist/vendor/twenty-shared/constants/DocumentationSupportedLanguages.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/FilesFieldMaxNumberOfValues.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/FilesFieldMaxNumberOfValues.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/PermissionFlagType.d.ts +1 -0
- package/dist/vendor/twenty-shared/constants/PermissionFlagType.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/constants/index.d.ts +8 -0
- package/dist/vendor/twenty-shared/constants/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/constants.cjs +1 -1
- package/dist/vendor/twenty-shared/constants.mjs +56 -35
- package/dist/vendor/twenty-shared/database-events/database-event-payload.type.d.ts +1 -1
- package/dist/vendor/twenty-shared/database-events/database-event-payload.type.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/database-events/object-record-delete.event.d.ts +4 -0
- package/dist/vendor/twenty-shared/database-events/object-record-delete.event.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/database-events/object-record-restore.event.d.ts +4 -0
- package/dist/vendor/twenty-shared/database-events/object-record-restore.event.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/database-events/object-record-update.event.d.ts +3 -3
- package/dist/vendor/twenty-shared/database-events/object-record-update.event.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/isValidCountryCode-D-UqlXRW.js +4 -0
- package/dist/vendor/twenty-shared/{isValidCountryCode-E35rsxfD.mjs → isValidCountryCode-Dyji5s5r.mjs} +2351 -2320
- package/dist/vendor/twenty-shared/metadata/MetadataValidationError.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/metadata/all-metadata-name.constant.d.ts +5 -4
- package/dist/vendor/twenty-shared/metadata/all-metadata-name.constant.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/metadata/index.d.ts +1 -1
- package/dist/vendor/twenty-shared/metadata/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/metadata/standard-object.constant.d.ts +2196 -0
- package/dist/vendor/twenty-shared/metadata/standard-object.constant.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/metadata.cjs +1 -1
- package/dist/vendor/twenty-shared/metadata.mjs +2025 -69
- package/dist/vendor/twenty-shared/translations/constants/AppLocales.d.ts +1 -0
- package/dist/vendor/twenty-shared/translations/constants/AppLocales.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/translations/index.d.ts +1 -0
- package/dist/vendor/twenty-shared/translations/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/translations.cjs +1 -1
- package/dist/vendor/twenty-shared/translations.mjs +2 -2
- package/dist/vendor/twenty-shared/types/ExtractSerializedRelationProperties.type.d.ts +6 -0
- package/dist/vendor/twenty-shared/types/ExtractSerializedRelationProperties.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/FieldMetadataDefaultValue.d.ts +44 -88
- package/dist/vendor/twenty-shared/types/FieldMetadataDefaultValue.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types/FieldMetadataOptions.d.ts +2 -1
- package/dist/vendor/twenty-shared/types/FieldMetadataOptions.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types/FieldMetadataSettings.d.ts +15 -9
- package/dist/vendor/twenty-shared/types/FieldMetadataSettings.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types/FieldMetadataType.d.ts +18 -17
- package/dist/vendor/twenty-shared/types/FieldMetadataType.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types/FileCategory.d.ts +12 -0
- package/dist/vendor/twenty-shared/types/FileCategory.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/FileFolder.d.ts +14 -0
- package/dist/vendor/twenty-shared/types/FileFolder.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/IsEmptyObject.type.d.ts +2 -0
- package/dist/vendor/twenty-shared/types/IsEmptyObject.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/IsEmptyRecord.type.d.ts +1 -1
- package/dist/vendor/twenty-shared/types/IsEmptyRecord.type.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types/IsNever.type.d.ts +2 -0
- package/dist/vendor/twenty-shared/types/IsNever.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/IsSerializedRelation.type.d.ts +4 -0
- package/dist/vendor/twenty-shared/types/IsSerializedRelation.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/LogicFunctionEvent.d.ts +28 -0
- package/dist/vendor/twenty-shared/types/LogicFunctionEvent.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/ObjectPermissions.d.ts +4 -0
- package/dist/vendor/twenty-shared/types/ObjectPermissions.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicate.d.ts +15 -0
- package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicate.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateGroup.d.ts +11 -0
- package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateGroup.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateGroupLogicalOperator.d.ts +5 -0
- package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateGroupLogicalOperator.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateOperand.d.ts +19 -0
- package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateOperand.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateValue.d.ts +6 -0
- package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateValue.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/SerializedRelation.type.d.ts +5 -0
- package/dist/vendor/twenty-shared/types/SerializedRelation.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/SettingsPath.d.ts +5 -4
- package/dist/vendor/twenty-shared/types/SettingsPath.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types/__tests__/extract-serialized-relation-properties.type-test.d.ts +2 -0
- package/dist/vendor/twenty-shared/types/__tests__/extract-serialized-relation-properties.type-test.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/index.d.ts +22 -4
- package/dist/vendor/twenty-shared/types/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types/page-layout/PageLayoutTabLayoutMode.d.ts +6 -0
- package/dist/vendor/twenty-shared/types/page-layout/PageLayoutTabLayoutMode.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/page-layout/PageLayoutWidgetConditionalDisplay.d.ts +2 -0
- package/dist/vendor/twenty-shared/types/page-layout/PageLayoutWidgetConditionalDisplay.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/page-layout/page-layout-widget-position.type.d.ts +18 -0
- package/dist/vendor/twenty-shared/types/page-layout/page-layout-widget-position.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types.cjs +1 -1
- package/dist/vendor/twenty-shared/types.mjs +85 -76
- package/dist/vendor/twenty-shared/utils/array/compareArraysOfObjectsByProperty.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/array/compareArraysOfObjectsByProperty.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/files/extractFolderPathFilenameAndTypeOrThrow.util.d.ts +6 -0
- package/dist/vendor/twenty-shared/utils/files/extractFolderPathFilenameAndTypeOrThrow.util.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/index.d.ts +13 -0
- package/dist/vendor/twenty-shared/utils/filter/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingArrayFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingArrayFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingBooleanFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingBooleanFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingCurrencyFilter.d.ts +10 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingCurrencyFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingDateFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingDateFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingFloatFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingFloatFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingMultiSelectFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingMultiSelectFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingRatingFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingRatingFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingRawJsonFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingRawJsonFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingRichTextV2Filter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingRichTextV2Filter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingSelectFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingSelectFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingStringFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingStringFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingTSVectorFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingTSVectorFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingUUIDFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingUUIDFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/format/formatToShortNumber.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/format/formatToShortNumber.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/index.d.ts +19 -0
- package/dist/vendor/twenty-shared/utils/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/utils/strings/index.d.ts +1 -0
- package/dist/vendor/twenty-shared/utils/strings/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/utils/strings/pascalCase.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/strings/pascalCase.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/strings/stringifySafely.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/strings/stringifySafely.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/typeguard/isPlainObject.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/typeguard/isPlainObject.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/validation/isValidLocale.d.ts +2 -2
- package/dist/vendor/twenty-shared/utils/validation/isValidLocale.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/utils/validation/normalizeLocale.d.ts +2 -5
- package/dist/vendor/twenty-shared/utils/validation/normalizeLocale.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/utils.cjs +2 -2
- package/dist/vendor/twenty-shared/utils.mjs +994 -522
- package/dist/vendor/twenty-shared/workflow/index.d.ts +4 -0
- package/dist/vendor/twenty-shared/workflow/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/workflow/schemas/code-action-schema.d.ts +2 -3
- package/dist/vendor/twenty-shared/workflow/schemas/code-action-schema.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/workflow/schemas/code-action-settings-schema.d.ts +2 -3
- package/dist/vendor/twenty-shared/workflow/schemas/code-action-settings-schema.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/workflow/schemas/logic-function-action-schema.d.ts +29 -0
- package/dist/vendor/twenty-shared/workflow/schemas/logic-function-action-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/logic-function-action-settings-schema.d.ts +18 -0
- package/dist/vendor/twenty-shared/workflow/schemas/logic-function-action-settings-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/send-email-action-schema.d.ts +5 -1
- package/dist/vendor/twenty-shared/workflow/schemas/send-email-action-schema.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/workflow/schemas/send-email-action-settings-schema.d.ts +5 -1
- package/dist/vendor/twenty-shared/workflow/schemas/send-email-action-settings-schema.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-action-schema.d.ts +32 -4
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-action-schema.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-schema.d.ts +32 -4
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-schema.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-state-schema.d.ts +32 -4
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-state-schema.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/workflow/types/EmailRecipients.d.ts +6 -0
- package/dist/vendor/twenty-shared/workflow/types/EmailRecipients.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/utils/variable-path.util.d.ts +12 -0
- package/dist/vendor/twenty-shared/workflow/utils/variable-path.util.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow.cjs +3 -3
- package/dist/vendor/twenty-shared/workflow.mjs +205 -166
- package/package.json +39 -15
- package/dist/ObjectRecordGroupByDateGranularity-CtpRADP1-Bft-VMSh.mjs +0 -3151
- package/dist/ObjectRecordGroupByDateGranularity-CtpRADP1-Duv5iOeZ.js +0 -20
- package/dist/application/application-config.d.ts +0 -2
- package/dist/application/define-app.d.ts +0 -18
- package/dist/application/fields/field.decorator.d.ts +0 -3
- package/dist/application/fields/relation.decorator.d.ts +0 -28
- package/dist/application/functions/define-function.d.ts +0 -28
- package/dist/application/functions/function-config.d.ts +0 -9
- package/dist/application/index.d.ts +0 -19
- package/dist/application/objects/define-object.d.ts +0 -35
- package/dist/application/objects/object.decorator.d.ts +0 -4
- package/dist/application/objects/standard-object-ids.d.ts +0 -1
- package/dist/application/permission-flag-type.d.ts +0 -1
- package/dist/application/role-config.d.ts +0 -2
- package/dist/application/roles/define-role.d.ts +0 -26
- package/dist/cli/commands/app-add.command.d.ts +0 -13
- package/dist/cli/commands/app-dev.command.d.ts +0 -11
- package/dist/cli/commands/app-sync.command.d.ts +0 -7
- package/dist/cli/commands/app.command.d.ts +0 -10
- package/dist/cli/commands/auth.command.d.ts +0 -9
- package/dist/cli/services/api.service.d.ts +0 -20
- package/dist/cli/utils/config-loader.d.ts +0 -43
- package/dist/cli/utils/display-entity-summary.d.ts +0 -2
- package/dist/cli/utils/display-errors.d.ts +0 -2
- package/dist/cli/utils/display-warnings.d.ts +0 -2
- package/dist/cli/utils/get-function-base-file.d.ts +0 -4
- package/dist/cli/utils/load-env-variables.d.ts +0 -2
- package/dist/cli/utils/load-manifest.d.ts +0 -41
- package/dist/cli/utils/validate-manifest.d.ts +0 -22
- package/dist/vendor/twenty-shared/ObjectRecordGroupByDateGranularity-BwpmSE4s.js +0 -1
- package/dist/vendor/twenty-shared/ObjectRecordGroupByDateGranularity-CtpRADP1.mjs +0 -500
- package/dist/vendor/twenty-shared/RatingValues-B_wgYyso.js +0 -1
- package/dist/vendor/twenty-shared/RatingValues-DNSj7xKA.mjs +0 -224
- package/dist/vendor/twenty-shared/application/applicationManifestType.d.ts +0 -12
- package/dist/vendor/twenty-shared/application/applicationManifestType.d.ts.map +0 -1
- package/dist/vendor/twenty-shared/application/packageJsonType.d.ts +0 -14
- package/dist/vendor/twenty-shared/application/packageJsonType.d.ts.map +0 -1
- package/dist/vendor/twenty-shared/application/serverlessFunctionManifestType.d.ts.map +0 -1
- package/dist/vendor/twenty-shared/isValidCountryCode-WBKj_GIR.js +0 -4
- package/dist/vendor/twenty-shared/metadata/standard-object-ids.d.ts +0 -51
- package/dist/vendor/twenty-shared/metadata/standard-object-ids.d.ts.map +0 -1
- /package/dist/cli/{types/api-response.types.d.ts → utilities/api/api-response-type.d.ts} +0 -0
- /package/dist/cli/{constants → utilities/config}/current-execution-directory.d.ts +0 -0
- /package/dist/cli/{utils/convert-to-label.d.ts → utilities/entity/entity-label.d.ts} +0 -0
- /package/dist/cli/{utils/get-role-base-file.d.ts → utilities/entity/entity-role-template.d.ts} +0 -0
- /package/dist/cli/{utils/find-path-file.d.ts → utilities/file/file-find.d.ts} +0 -0
- /package/dist/cli/{utils/format-path.d.ts → utilities/file/file-path.d.ts} +0 -0
- /package/dist/cli/{utils/format-and-warn-ts-diagnostics.d.ts → utilities/typescript/typescript-diagnostics.d.ts} +0 -0
- /package/dist/{application → sdk/common/types}/syncable-entity-options.type.d.ts +0 -0
- /package/dist/{application → sdk}/fields/field-type.d.ts +0 -0
- /package/dist/{application → sdk}/fields/on-delete-action.d.ts +0 -0
- /package/dist/{application → sdk}/fields/relation-type.d.ts +0 -0
- /package/dist/{application/functions → sdk/logic-functions}/triggers/cron-payload-type.d.ts +0 -0
- /package/dist/{application/functions → sdk/logic-functions}/triggers/database-event-payload-type.d.ts +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ThemeType } from 'twenty-ui/theme';
|
|
2
|
+
type FrontComponentContentProps = {
|
|
3
|
+
componentUrl: string;
|
|
4
|
+
onError: (error?: Error) => void;
|
|
5
|
+
theme: ThemeType;
|
|
6
|
+
};
|
|
7
|
+
export declare const FrontComponentRenderer: ({ componentUrl, onError, theme, }: FrontComponentContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { RemoteFragmentRenderer, createRemoteComponentRenderer } from '@remote-dom/react/host';
|
|
2
|
+
type ComponentRegistryValue = ReturnType<typeof createRemoteComponentRenderer> | typeof RemoteFragmentRenderer;
|
|
3
|
+
export declare const componentRegistry: Map<string, ComponentRegistryValue>;
|
|
4
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { componentRegistry } from './host-component-registry';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { FrontComponentRenderer } from './host/components/FrontComponentRenderer';
|
|
2
|
+
export { componentRegistry } from './host/generated/host-component-registry';
|
|
3
|
+
export { FrontComponentWorkerEffect } from './remote/components/FrontComponentWorkerEffect';
|
|
4
|
+
export { HtmlDiv, HtmlSpan, HtmlSection, HtmlArticle, HtmlHeader, HtmlFooter, HtmlMain, HtmlNav, HtmlAside, HtmlP, HtmlH1, HtmlH2, HtmlH3, HtmlH4, HtmlH5, HtmlH6, HtmlStrong, HtmlEm, HtmlSmall, HtmlCode, HtmlPre, HtmlBlockquote, HtmlA, HtmlImg, HtmlUl, HtmlOl, HtmlLi, HtmlForm, HtmlLabel, HtmlInput, HtmlTextarea, HtmlSelect, HtmlOption, HtmlButton, HtmlTable, HtmlThead, HtmlTbody, HtmlTfoot, HtmlTr, HtmlTh, HtmlTd, HtmlBr, HtmlHr, TwentyUiButton, } from './remote/generated/remote-components';
|
|
5
|
+
export type { HtmlCommonProperties, HtmlCommonEvents, HtmlAProperties, HtmlImgProperties, HtmlFormProperties, HtmlLabelProperties, HtmlInputProperties, HtmlTextareaProperties, HtmlSelectProperties, HtmlOptionProperties, HtmlButtonProperties, HtmlThProperties, HtmlTdProperties, TwentyUiButtonProperties, } from './remote/generated/remote-elements';
|
|
6
|
+
export { HtmlDivElement, HtmlSpanElement, HtmlSectionElement, HtmlArticleElement, HtmlHeaderElement, HtmlFooterElement, HtmlMainElement, HtmlNavElement, HtmlAsideElement, HtmlPElement, HtmlH1Element, HtmlH2Element, HtmlH3Element, HtmlH4Element, HtmlH5Element, HtmlH6Element, HtmlStrongElement, HtmlEmElement, HtmlSmallElement, HtmlCodeElement, HtmlPreElement, HtmlBlockquoteElement, HtmlAElement, HtmlImgElement, HtmlUlElement, HtmlOlElement, HtmlLiElement, HtmlFormElement, HtmlLabelElement, HtmlInputElement, HtmlTextareaElement, HtmlSelectElement, HtmlOptionElement, HtmlButtonElement, HtmlTableElement, HtmlTheadElement, HtmlTbodyElement, HtmlTfootElement, HtmlTrElement, HtmlThElement, HtmlTdElement, HtmlBrElement, HtmlHrElement, TwentyUiButtonElement, RemoteRootElement, RemoteFragmentElement, } from './remote/generated/remote-elements';
|
|
7
|
+
export { createRemoteWorker } from './remote/worker/createRemoteWorker';
|
|
8
|
+
export type { HostToWorkerRenderContext } from './types/HostToWorkerRenderContext';
|
|
9
|
+
export type { PropertySchema } from './types/PropertySchema';
|
|
10
|
+
export type { WorkerExports } from './types/WorkerExports';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RemoteReceiver } from '@remote-dom/core/receivers';
|
|
2
|
+
type FrontComponentWorkerEffectProps = {
|
|
3
|
+
componentUrl: string;
|
|
4
|
+
setReceiver: React.Dispatch<React.SetStateAction<RemoteReceiver | null>>;
|
|
5
|
+
onError: (error?: Error) => void;
|
|
6
|
+
};
|
|
7
|
+
export declare const FrontComponentWorkerEffect: ({ componentUrl, setReceiver, onError, }: FrontComponentWorkerEffectProps) => null;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare const HtmlDiv: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
2
|
+
export declare const HtmlSpan: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
3
|
+
export declare const HtmlSection: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
4
|
+
export declare const HtmlArticle: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
5
|
+
export declare const HtmlHeader: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
6
|
+
export declare const HtmlFooter: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
7
|
+
export declare const HtmlMain: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
8
|
+
export declare const HtmlNav: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
9
|
+
export declare const HtmlAside: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
10
|
+
export declare const HtmlP: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
11
|
+
export declare const HtmlH1: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
12
|
+
export declare const HtmlH2: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
13
|
+
export declare const HtmlH3: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
14
|
+
export declare const HtmlH4: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
15
|
+
export declare const HtmlH5: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
16
|
+
export declare const HtmlH6: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
17
|
+
export declare const HtmlStrong: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
18
|
+
export declare const HtmlEm: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
19
|
+
export declare const HtmlSmall: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
20
|
+
export declare const HtmlCode: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
21
|
+
export declare const HtmlPre: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
22
|
+
export declare const HtmlBlockquote: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
23
|
+
export declare const HtmlA: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlAProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
24
|
+
export declare const HtmlImg: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlImgProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
25
|
+
export declare const HtmlUl: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
26
|
+
export declare const HtmlOl: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
27
|
+
export declare const HtmlLi: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
28
|
+
export declare const HtmlForm: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlFormProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
29
|
+
export declare const HtmlLabel: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlLabelProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
30
|
+
export declare const HtmlInput: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlInputProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
31
|
+
export declare const HtmlTextarea: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlTextareaProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
32
|
+
export declare const HtmlSelect: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlSelectProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
33
|
+
export declare const HtmlOption: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlOptionProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
34
|
+
export declare const HtmlButton: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlButtonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
35
|
+
export declare const HtmlTable: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
36
|
+
export declare const HtmlThead: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
37
|
+
export declare const HtmlTbody: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
38
|
+
export declare const HtmlTfoot: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
39
|
+
export declare const HtmlTr: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
40
|
+
export declare const HtmlTh: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlThProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
41
|
+
export declare const HtmlTd: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlTdProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
42
|
+
export declare const HtmlBr: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
43
|
+
export declare const HtmlHr: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').HtmlCommonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
44
|
+
export declare const TwentyUiButton: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<import('@remote-dom/core/elements').RemoteElementConstructor<import('./remote-elements').TwentyUiButtonProperties, Record<string, never>, Record<string, never>, import('./remote-elements').HtmlCommonEvents>>;
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import { RemoteRootElement, RemoteFragmentElement, RemoteEvent } from '@remote-dom/core/elements';
|
|
2
|
+
export type HtmlCommonProperties = {
|
|
3
|
+
id?: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
tabIndex?: number;
|
|
8
|
+
role?: string;
|
|
9
|
+
'aria-label'?: string;
|
|
10
|
+
'aria-hidden'?: boolean;
|
|
11
|
+
'data-testid'?: string;
|
|
12
|
+
};
|
|
13
|
+
export type HtmlCommonEvents = {
|
|
14
|
+
click(event: RemoteEvent): void;
|
|
15
|
+
dblclick(event: RemoteEvent): void;
|
|
16
|
+
mousedown(event: RemoteEvent): void;
|
|
17
|
+
mouseup(event: RemoteEvent): void;
|
|
18
|
+
mouseover(event: RemoteEvent): void;
|
|
19
|
+
mouseout(event: RemoteEvent): void;
|
|
20
|
+
mouseenter(event: RemoteEvent): void;
|
|
21
|
+
mouseleave(event: RemoteEvent): void;
|
|
22
|
+
keydown(event: RemoteEvent): void;
|
|
23
|
+
keyup(event: RemoteEvent): void;
|
|
24
|
+
keypress(event: RemoteEvent): void;
|
|
25
|
+
focus(event: RemoteEvent): void;
|
|
26
|
+
blur(event: RemoteEvent): void;
|
|
27
|
+
change(event: RemoteEvent): void;
|
|
28
|
+
input(event: RemoteEvent): void;
|
|
29
|
+
submit(event: RemoteEvent): void;
|
|
30
|
+
scroll(event: RemoteEvent): void;
|
|
31
|
+
wheel(event: RemoteEvent): void;
|
|
32
|
+
contextmenu(event: RemoteEvent): void;
|
|
33
|
+
drag(event: RemoteEvent): void;
|
|
34
|
+
};
|
|
35
|
+
export declare const HtmlDivElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
36
|
+
export declare const HtmlSpanElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
37
|
+
export declare const HtmlSectionElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
38
|
+
export declare const HtmlArticleElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
39
|
+
export declare const HtmlHeaderElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
40
|
+
export declare const HtmlFooterElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
41
|
+
export declare const HtmlMainElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
42
|
+
export declare const HtmlNavElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
43
|
+
export declare const HtmlAsideElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
44
|
+
export declare const HtmlPElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
45
|
+
export declare const HtmlH1Element: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
46
|
+
export declare const HtmlH2Element: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
47
|
+
export declare const HtmlH3Element: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
48
|
+
export declare const HtmlH4Element: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
49
|
+
export declare const HtmlH5Element: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
50
|
+
export declare const HtmlH6Element: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
51
|
+
export declare const HtmlStrongElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
52
|
+
export declare const HtmlEmElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
53
|
+
export declare const HtmlSmallElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
54
|
+
export declare const HtmlCodeElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
55
|
+
export declare const HtmlPreElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
56
|
+
export declare const HtmlBlockquoteElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
57
|
+
export type HtmlAProperties = HtmlCommonProperties & {
|
|
58
|
+
href?: string;
|
|
59
|
+
target?: string;
|
|
60
|
+
rel?: string;
|
|
61
|
+
};
|
|
62
|
+
export declare const HtmlAElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlAProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
63
|
+
export type HtmlImgProperties = HtmlCommonProperties & {
|
|
64
|
+
src?: string;
|
|
65
|
+
alt?: string;
|
|
66
|
+
width?: number;
|
|
67
|
+
height?: number;
|
|
68
|
+
};
|
|
69
|
+
export declare const HtmlImgElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlImgProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
70
|
+
export declare const HtmlUlElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
71
|
+
export declare const HtmlOlElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
72
|
+
export declare const HtmlLiElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
73
|
+
export type HtmlFormProperties = HtmlCommonProperties & {
|
|
74
|
+
action?: string;
|
|
75
|
+
method?: string;
|
|
76
|
+
};
|
|
77
|
+
export declare const HtmlFormElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlFormProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
78
|
+
export type HtmlLabelProperties = HtmlCommonProperties & {
|
|
79
|
+
htmlFor?: string;
|
|
80
|
+
};
|
|
81
|
+
export declare const HtmlLabelElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlLabelProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
82
|
+
export type HtmlInputProperties = HtmlCommonProperties & {
|
|
83
|
+
type?: string;
|
|
84
|
+
name?: string;
|
|
85
|
+
value?: string;
|
|
86
|
+
placeholder?: string;
|
|
87
|
+
disabled?: boolean;
|
|
88
|
+
checked?: boolean;
|
|
89
|
+
readOnly?: boolean;
|
|
90
|
+
};
|
|
91
|
+
export declare const HtmlInputElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlInputProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
92
|
+
export type HtmlTextareaProperties = HtmlCommonProperties & {
|
|
93
|
+
name?: string;
|
|
94
|
+
value?: string;
|
|
95
|
+
placeholder?: string;
|
|
96
|
+
disabled?: boolean;
|
|
97
|
+
readOnly?: boolean;
|
|
98
|
+
rows?: number;
|
|
99
|
+
cols?: number;
|
|
100
|
+
};
|
|
101
|
+
export declare const HtmlTextareaElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlTextareaProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
102
|
+
export type HtmlSelectProperties = HtmlCommonProperties & {
|
|
103
|
+
name?: string;
|
|
104
|
+
value?: string;
|
|
105
|
+
disabled?: boolean;
|
|
106
|
+
multiple?: boolean;
|
|
107
|
+
};
|
|
108
|
+
export declare const HtmlSelectElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlSelectProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
109
|
+
export type HtmlOptionProperties = HtmlCommonProperties & {
|
|
110
|
+
value?: string;
|
|
111
|
+
disabled?: boolean;
|
|
112
|
+
selected?: boolean;
|
|
113
|
+
};
|
|
114
|
+
export declare const HtmlOptionElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlOptionProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
115
|
+
export type HtmlButtonProperties = HtmlCommonProperties & {
|
|
116
|
+
type?: string;
|
|
117
|
+
disabled?: boolean;
|
|
118
|
+
};
|
|
119
|
+
export declare const HtmlButtonElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlButtonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
120
|
+
export declare const HtmlTableElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
121
|
+
export declare const HtmlTheadElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
122
|
+
export declare const HtmlTbodyElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
123
|
+
export declare const HtmlTfootElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
124
|
+
export declare const HtmlTrElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
125
|
+
export type HtmlThProperties = HtmlCommonProperties & {
|
|
126
|
+
colSpan?: number;
|
|
127
|
+
rowSpan?: number;
|
|
128
|
+
};
|
|
129
|
+
export declare const HtmlThElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlThProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
130
|
+
export type HtmlTdProperties = HtmlCommonProperties & {
|
|
131
|
+
colSpan?: number;
|
|
132
|
+
rowSpan?: number;
|
|
133
|
+
};
|
|
134
|
+
export declare const HtmlTdElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlTdProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
135
|
+
export declare const HtmlBrElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
136
|
+
export declare const HtmlHrElement: import('@remote-dom/core/elements').RemoteElementConstructor<HtmlCommonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
137
|
+
export type TwentyUiButtonProperties = HtmlCommonProperties & {
|
|
138
|
+
variant?: string;
|
|
139
|
+
accent?: string;
|
|
140
|
+
size?: string;
|
|
141
|
+
disabled?: boolean;
|
|
142
|
+
fullWidth?: boolean;
|
|
143
|
+
};
|
|
144
|
+
export declare const TwentyUiButtonElement: import('@remote-dom/core/elements').RemoteElementConstructor<TwentyUiButtonProperties, Record<string, never>, Record<string, never>, HtmlCommonEvents>;
|
|
145
|
+
export { RemoteRootElement, RemoteFragmentElement };
|
|
146
|
+
declare global {
|
|
147
|
+
interface HTMLElementTagNameMap {
|
|
148
|
+
'html-div': InstanceType<typeof HtmlDivElement>;
|
|
149
|
+
'html-span': InstanceType<typeof HtmlSpanElement>;
|
|
150
|
+
'html-section': InstanceType<typeof HtmlSectionElement>;
|
|
151
|
+
'html-article': InstanceType<typeof HtmlArticleElement>;
|
|
152
|
+
'html-header': InstanceType<typeof HtmlHeaderElement>;
|
|
153
|
+
'html-footer': InstanceType<typeof HtmlFooterElement>;
|
|
154
|
+
'html-main': InstanceType<typeof HtmlMainElement>;
|
|
155
|
+
'html-nav': InstanceType<typeof HtmlNavElement>;
|
|
156
|
+
'html-aside': InstanceType<typeof HtmlAsideElement>;
|
|
157
|
+
'html-p': InstanceType<typeof HtmlPElement>;
|
|
158
|
+
'html-h1': InstanceType<typeof HtmlH1Element>;
|
|
159
|
+
'html-h2': InstanceType<typeof HtmlH2Element>;
|
|
160
|
+
'html-h3': InstanceType<typeof HtmlH3Element>;
|
|
161
|
+
'html-h4': InstanceType<typeof HtmlH4Element>;
|
|
162
|
+
'html-h5': InstanceType<typeof HtmlH5Element>;
|
|
163
|
+
'html-h6': InstanceType<typeof HtmlH6Element>;
|
|
164
|
+
'html-strong': InstanceType<typeof HtmlStrongElement>;
|
|
165
|
+
'html-em': InstanceType<typeof HtmlEmElement>;
|
|
166
|
+
'html-small': InstanceType<typeof HtmlSmallElement>;
|
|
167
|
+
'html-code': InstanceType<typeof HtmlCodeElement>;
|
|
168
|
+
'html-pre': InstanceType<typeof HtmlPreElement>;
|
|
169
|
+
'html-blockquote': InstanceType<typeof HtmlBlockquoteElement>;
|
|
170
|
+
'html-a': InstanceType<typeof HtmlAElement>;
|
|
171
|
+
'html-img': InstanceType<typeof HtmlImgElement>;
|
|
172
|
+
'html-ul': InstanceType<typeof HtmlUlElement>;
|
|
173
|
+
'html-ol': InstanceType<typeof HtmlOlElement>;
|
|
174
|
+
'html-li': InstanceType<typeof HtmlLiElement>;
|
|
175
|
+
'html-form': InstanceType<typeof HtmlFormElement>;
|
|
176
|
+
'html-label': InstanceType<typeof HtmlLabelElement>;
|
|
177
|
+
'html-input': InstanceType<typeof HtmlInputElement>;
|
|
178
|
+
'html-textarea': InstanceType<typeof HtmlTextareaElement>;
|
|
179
|
+
'html-select': InstanceType<typeof HtmlSelectElement>;
|
|
180
|
+
'html-option': InstanceType<typeof HtmlOptionElement>;
|
|
181
|
+
'html-button': InstanceType<typeof HtmlButtonElement>;
|
|
182
|
+
'html-table': InstanceType<typeof HtmlTableElement>;
|
|
183
|
+
'html-thead': InstanceType<typeof HtmlTheadElement>;
|
|
184
|
+
'html-tbody': InstanceType<typeof HtmlTbodyElement>;
|
|
185
|
+
'html-tfoot': InstanceType<typeof HtmlTfootElement>;
|
|
186
|
+
'html-tr': InstanceType<typeof HtmlTrElement>;
|
|
187
|
+
'html-th': InstanceType<typeof HtmlThElement>;
|
|
188
|
+
'html-td': InstanceType<typeof HtmlTdElement>;
|
|
189
|
+
'html-br': InstanceType<typeof HtmlBrElement>;
|
|
190
|
+
'html-hr': InstanceType<typeof HtmlHrElement>;
|
|
191
|
+
'twenty-ui-button': InstanceType<typeof TwentyUiButtonElement>;
|
|
192
|
+
'remote-root': InstanceType<typeof RemoteRootElement>;
|
|
193
|
+
'remote-fragment': InstanceType<typeof RemoteFragmentElement>;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const createRemoteWorker: () => Worker;
|
|
File without changes
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type PropertySchema = {
|
|
2
|
+
type: 'string' | 'number' | 'boolean';
|
|
3
|
+
optional: boolean;
|
|
4
|
+
};
|
|
5
|
+
export type AllowedHtmlElement = {
|
|
6
|
+
tag: string;
|
|
7
|
+
name: string;
|
|
8
|
+
properties: Record<string, PropertySchema>;
|
|
9
|
+
};
|
|
10
|
+
export declare const ALLOWED_HTML_ELEMENTS: AllowedHtmlElement[];
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PropertySchema } from '../front-component/types/PropertySchema';
|
|
2
|
+
export type AllowedUiComponent = {
|
|
3
|
+
tag: string;
|
|
4
|
+
name: string;
|
|
5
|
+
properties: Record<string, PropertySchema>;
|
|
6
|
+
componentImport: string;
|
|
7
|
+
componentPath: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const ALLOWED_UI_COMPONENTS: AllowedUiComponent[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const COMMON_HTML_EVENTS: readonly ["click", "dblclick", "mousedown", "mouseup", "mouseover", "mouseout", "mouseenter", "mouseleave", "keydown", "keyup", "keypress", "focus", "blur", "change", "input", "submit", "scroll", "wheel", "contextmenu", "drag"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const EVENT_TO_REACT: Record<string, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const HTML_TAG_TO_REMOTE_COMPONENT: Record<string, string>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type { AllowedHtmlElement } from './AllowedHtmlElements';
|
|
2
|
+
export { ALLOWED_HTML_ELEMENTS } from './AllowedHtmlElements';
|
|
3
|
+
export type { AllowedUiComponent } from './AllowedUiComponents';
|
|
4
|
+
export { ALLOWED_UI_COMPONENTS } from './AllowedUiComponents';
|
|
5
|
+
export { COMMON_HTML_EVENTS } from './CommonHtmlEvents';
|
|
6
|
+
export { EVENT_TO_REACT } from './EventToReact';
|
|
7
|
+
export { HTML_COMMON_PROPERTIES } from './HtmlCommonProperties';
|
|
8
|
+
export { HTML_TAG_TO_REMOTE_COMPONENT } from './HtmlTagToRemoteComponent';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./HtmlTagToRemoteComponent-Bd5sgek2.js"),t=[{tag:"twenty-ui-button",name:"TwentyUiButton",properties:{title:{type:"string",optional:!0},variant:{type:"string",optional:!0},accent:{type:"string",optional:!0},size:{type:"string",optional:!0},disabled:{type:"boolean",optional:!0},fullWidth:{type:"boolean",optional:!0}},componentImport:"Button",componentPath:"twenty-ui/input"}],o=["click","dblclick","mousedown","mouseup","mouseover","mouseout","mouseenter","mouseleave","keydown","keyup","keypress","focus","blur","change","input","submit","scroll","wheel","contextmenu","drag"],n={click:"onClick",dblclick:"onDoubleClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",keydown:"onKeyDown",keyup:"onKeyUp",keypress:"onKeyPress",focus:"onFocus",blur:"onBlur",change:"onChange",input:"onInput",submit:"onSubmit",scroll:"onScroll",wheel:"onWheel",contextmenu:"onContextMenu",drag:"onDrag"},u={id:{type:"string",optional:!0},className:{type:"string",optional:!0},style:{type:"string",optional:!0},title:{type:"string",optional:!0},tabIndex:{type:"number",optional:!0},role:{type:"string",optional:!0},"aria-label":{type:"string",optional:!0},"aria-hidden":{type:"boolean",optional:!0},"data-testid":{type:"string",optional:!0}};exports.ALLOWED_HTML_ELEMENTS=e.ALLOWED_HTML_ELEMENTS;exports.HTML_TAG_TO_REMOTE_COMPONENT=e.HTML_TAG_TO_REMOTE_COMPONENT;exports.ALLOWED_UI_COMPONENTS=t;exports.COMMON_HTML_EVENTS=o;exports.EVENT_TO_REACT=n;exports.HTML_COMMON_PROPERTIES=u;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { A as s, H as i } from "./HtmlTagToRemoteComponent-DlsAI7JU.mjs";
|
|
2
|
+
const e = [
|
|
3
|
+
{
|
|
4
|
+
tag: "twenty-ui-button",
|
|
5
|
+
name: "TwentyUiButton",
|
|
6
|
+
properties: {
|
|
7
|
+
title: { type: "string", optional: !0 },
|
|
8
|
+
variant: { type: "string", optional: !0 },
|
|
9
|
+
accent: { type: "string", optional: !0 },
|
|
10
|
+
size: { type: "string", optional: !0 },
|
|
11
|
+
disabled: { type: "boolean", optional: !0 },
|
|
12
|
+
fullWidth: { type: "boolean", optional: !0 }
|
|
13
|
+
},
|
|
14
|
+
componentImport: "Button",
|
|
15
|
+
componentPath: "twenty-ui/input"
|
|
16
|
+
}
|
|
17
|
+
], o = [
|
|
18
|
+
"click",
|
|
19
|
+
"dblclick",
|
|
20
|
+
"mousedown",
|
|
21
|
+
"mouseup",
|
|
22
|
+
"mouseover",
|
|
23
|
+
"mouseout",
|
|
24
|
+
"mouseenter",
|
|
25
|
+
"mouseleave",
|
|
26
|
+
"keydown",
|
|
27
|
+
"keyup",
|
|
28
|
+
"keypress",
|
|
29
|
+
"focus",
|
|
30
|
+
"blur",
|
|
31
|
+
"change",
|
|
32
|
+
"input",
|
|
33
|
+
"submit",
|
|
34
|
+
"scroll",
|
|
35
|
+
"wheel",
|
|
36
|
+
"contextmenu",
|
|
37
|
+
"drag"
|
|
38
|
+
], t = {
|
|
39
|
+
click: "onClick",
|
|
40
|
+
dblclick: "onDoubleClick",
|
|
41
|
+
mousedown: "onMouseDown",
|
|
42
|
+
mouseup: "onMouseUp",
|
|
43
|
+
mouseover: "onMouseOver",
|
|
44
|
+
mouseout: "onMouseOut",
|
|
45
|
+
mouseenter: "onMouseEnter",
|
|
46
|
+
mouseleave: "onMouseLeave",
|
|
47
|
+
keydown: "onKeyDown",
|
|
48
|
+
keyup: "onKeyUp",
|
|
49
|
+
keypress: "onKeyPress",
|
|
50
|
+
focus: "onFocus",
|
|
51
|
+
blur: "onBlur",
|
|
52
|
+
change: "onChange",
|
|
53
|
+
input: "onInput",
|
|
54
|
+
submit: "onSubmit",
|
|
55
|
+
scroll: "onScroll",
|
|
56
|
+
wheel: "onWheel",
|
|
57
|
+
contextmenu: "onContextMenu",
|
|
58
|
+
drag: "onDrag"
|
|
59
|
+
}, n = {
|
|
60
|
+
id: { type: "string", optional: !0 },
|
|
61
|
+
className: { type: "string", optional: !0 },
|
|
62
|
+
style: { type: "string", optional: !0 },
|
|
63
|
+
title: { type: "string", optional: !0 },
|
|
64
|
+
tabIndex: { type: "number", optional: !0 },
|
|
65
|
+
role: { type: "string", optional: !0 },
|
|
66
|
+
"aria-label": { type: "string", optional: !0 },
|
|
67
|
+
"aria-hidden": { type: "boolean", optional: !0 },
|
|
68
|
+
"data-testid": { type: "string", optional: !0 }
|
|
69
|
+
};
|
|
70
|
+
export {
|
|
71
|
+
s as ALLOWED_HTML_ELEMENTS,
|
|
72
|
+
e as ALLOWED_UI_COMPONENTS,
|
|
73
|
+
o as COMMON_HTML_EVENTS,
|
|
74
|
+
t as EVENT_TO_REACT,
|
|
75
|
+
n as HTML_COMMON_PROPERTIES,
|
|
76
|
+
i as HTML_TAG_TO_REMOTE_COMPONENT
|
|
77
|
+
};
|