@dxs-ts/eveli-ide 0.0.113 → 0.0.115
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/build/demo-app/frontdesk-app.d.ts +2 -0
- package/build/demo-app/index.d.ts +1 -0
- package/build/demo-app/stencil-app.d.ts +2 -0
- package/build/demo-app/ui-dev-app.d.ts +2 -0
- package/build/demo-app/wrench-app.d.ts +2 -0
- package/build/index.js +134341 -133148
- package/build/src/burger/api-config/ConfigContext.d.ts +17 -0
- package/build/src/burger/api-config/index.d.ts +1 -0
- package/build/src/burger/api-iam/IamBackendProvider.d.ts +12 -0
- package/build/src/burger/api-iam/IamForcedLogin.d.ts +5 -0
- package/build/src/burger/api-iam/IamLiveness.d.ts +7 -0
- package/build/src/burger/api-iam/iam-types.d.ts +35 -0
- package/build/src/burger/api-iam/index.d.ts +7 -0
- package/build/src/burger/api-iconbar/IconbarProvider.d.ts +7 -0
- package/build/src/burger/api-iconbar/iconbar-api.d.ts +4 -0
- package/build/src/burger/api-iconbar/index.d.ts +2 -0
- package/build/src/burger/api-locale/LocaleProvider.d.ts +10 -0
- package/build/src/burger/api-locale/index.d.ts +2 -0
- package/build/src/burger/api-locale/locale-types.d.ts +13 -0
- package/build/src/burger/api-variants/index.d.ts +1 -0
- package/build/src/burger/api-variants/useVariantOverride.d.ts +8 -0
- package/build/src/burger/eveli-activities/EveliActivities.d.ts +5 -0
- package/build/src/burger/eveli-activities/index.d.ts +1 -0
- package/build/src/burger/eveli-activities/useUtilityClasses.d.ts +7 -0
- package/build/src/burger/eveli-alert/EveliAlert.d.ts +5 -0
- package/build/src/burger/eveli-alert/index.d.ts +1 -0
- package/build/src/burger/eveli-alert/useUtilityClasses.d.ts +7 -0
- package/build/src/burger/eveli-app/EveliApp.d.ts +13 -0
- package/build/src/burger/eveli-app/index.d.ts +1 -0
- package/build/src/burger/eveli-flex/EveliFlex.d.ts +17 -0
- package/build/src/burger/eveli-flex/EveliFlexBody.d.ts +6 -0
- package/build/src/burger/eveli-flex/EveliFlexHeader.d.ts +5 -0
- package/build/src/burger/eveli-flex/EveliFlexHidden.d.ts +7 -0
- package/build/src/burger/eveli-flex/index.d.ts +1 -0
- package/build/src/burger/eveli-footer/EveliFooter.d.ts +7 -0
- package/build/src/burger/eveli-footer/index.d.ts +2 -0
- package/build/src/burger/eveli-footer/useUtilityClasses.d.ts +10 -0
- package/build/src/burger/eveli-layout/EveliLayout.d.ts +20 -0
- package/build/src/burger/eveli-layout/index.d.ts +1 -0
- package/build/src/burger/eveli-layout/useUtilityClasses.d.ts +16 -0
- package/build/src/burger/eveli-locales/EveliLocales.d.ts +10 -0
- package/build/src/burger/eveli-locales/index.d.ts +2 -0
- package/build/src/burger/eveli-locales/useAnchor.d.ts +14 -0
- package/build/src/burger/eveli-locales/useUtilityClasses.d.ts +8 -0
- package/build/src/burger/eveli-login/EveliLogin.d.ts +11 -0
- package/build/src/burger/eveli-login/index.d.ts +2 -0
- package/build/src/burger/eveli-login/useUtilityClasses.d.ts +11 -0
- package/build/src/burger/eveli-logo/GLogo.d.ts +9 -0
- package/build/src/burger/eveli-logo/index.d.ts +2 -0
- package/build/src/burger/eveli-logo/useUtilityClasses.d.ts +17 -0
- package/build/src/burger/eveli-search/EveliSearch.d.ts +5 -0
- package/build/src/burger/eveli-search/index.d.ts +1 -0
- package/build/src/burger/eveli-search/useUtilityClasses.d.ts +14 -0
- package/build/src/burger/eveli-shell/EveliShell.d.ts +3 -0
- package/build/src/burger/eveli-shell/EveliShellContext.d.ts +22 -0
- package/build/src/burger/eveli-shell/EveliShellProps.d.ts +22 -0
- package/build/src/burger/eveli-shell/index.d.ts +4 -0
- package/build/src/burger/eveli-shell/useUtilityClasses.d.ts +20 -0
- package/build/src/burger/eveli-shell-compose/EveliShellCompose.d.ts +8 -0
- package/build/src/burger/eveli-shell-compose/index.d.ts +1 -0
- package/build/src/burger/eveli-shell-compose/useUtilityClasses.d.ts +3 -0
- package/build/src/burger/eveli-shell-explorer/EveliShellExplorer.d.ts +7 -0
- package/build/src/burger/eveli-shell-explorer/index.d.ts +1 -0
- package/build/src/burger/eveli-shell-explorer/useUtilityClasses.d.ts +9 -0
- package/build/src/burger/index.d.ts +19 -0
- package/build/src/burger/styles/StyledInputField.d.ts +23 -0
- package/build/src/burger/styles/StyledSelect.d.ts +31 -0
- package/build/src/burger/styles/StyledSwitch.d.ts +10 -0
- package/build/src/burger/styles/StyledTransferList.d.ts +25 -0
- package/build/src/burger/styles/StyledTreeItem.d.ts +23 -0
- package/build/src/burger/theme/siteTheme.d.ts +16 -0
- package/build/src/burger/utils/DateTimeFormatter.d.ts +8 -0
- package/build/src/dialob-review/DialobReview.d.ts +6 -0
- package/build/src/dialob-review/index.d.ts +1 -0
- package/build/src/eveli-fetch/FetchProvider.d.ts +26 -0
- package/build/src/eveli-fetch/createFileFetch.d.ts +902 -0
- package/build/src/eveli-fetch/fetch-api.d.ts +6 -0
- package/build/src/eveli-fetch/index.d.ts +3 -0
- package/build/src/feedback/approval-count/ApprovalCount.d.ts +6 -0
- package/build/src/feedback/approval-count/index.d.ts +1 -0
- package/build/src/feedback/feedback-api/FeedbackProvider.d.ts +18 -0
- package/build/src/feedback/feedback-api/feedback-types.d.ts +82 -0
- package/build/src/feedback/feedback-api/index.d.ts +2 -0
- package/build/src/feedback/feedbackAllTasks/FeedbackAllTasks.d.ts +4 -0
- package/build/src/feedback/feedbackAllTasks/FeedbackReducer.d.ts +26 -0
- package/build/src/feedback/feedbackAllTasks/index.d.ts +1 -0
- package/build/src/feedback/index.d.ts +4 -0
- package/build/src/feedback/status-indicator/StatusIndicator.d.ts +6 -0
- package/build/src/feedback/status-indicator/index.d.ts +1 -0
- package/build/src/feedback/upsert-one-feedback/CreateOneFeedback.d.ts +7 -0
- package/build/src/feedback/upsert-one-feedback/UpdateOneFeedback.d.ts +7 -0
- package/build/src/feedback/upsert-one-feedback/UpsertOneFeedback.d.ts +8 -0
- package/build/src/feedback/upsert-one-feedback/index.d.ts +1 -0
- package/build/src/fetch/$org.groupList.get.d.ts +8 -0
- package/build/src/fetch/$org.groupMembership.get.d.ts +8 -0
- package/build/src/fetch/$org.userInfo.get.d.ts +10 -0
- package/build/src/fetch/__root.d.ts +1 -0
- package/build/src/fetch/config.get.d.ts +8 -0
- package/build/src/fetch/dialob.get.d.ts +5 -0
- package/build/src/fetch/statistics.priority.d.ts +21 -0
- package/build/src/fetch/statistics.status-timeline.d.ts +6 -0
- package/build/src/fetch/statistics.status.d.ts +21 -0
- package/build/src/fetch/statistics.task-overdue.d.ts +11 -0
- package/build/src/fetch/worker.rest.api.assets.any-tags.stencil-tags.get.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.assets.any-tags.wrench-tags.get.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.assets.deployments.$deploymentId.get.d.ts +8 -0
- package/build/src/fetch/worker.rest.api.assets.deployments.$deploymentId.put.d.ts +13 -0
- package/build/src/fetch/worker.rest.api.assets.deployments.post.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.assets.dialob.get.d.ts +8 -0
- package/build/src/fetch/worker.rest.api.assets.dialob.proxy.forms.$formId.delete.d.ts +7 -0
- package/build/src/fetch/worker.rest.api.assets.dialob.proxy.forms.$formId.get.d.ts +7 -0
- package/build/src/fetch/worker.rest.api.assets.dialob.proxy.forms.post.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.assets.dialob.tags.get.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.assets.publications.get.d.ts +10 -0
- package/build/src/fetch/worker.rest.api.assets.publications.post.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.assets.stencil.$assetType.delete.d.ts +8 -0
- package/build/src/fetch/worker.rest.api.assets.stencil.$assetType.post.d.ts +8 -0
- package/build/src/fetch/worker.rest.api.assets.stencil.$assetType.put.d.ts +8 -0
- package/build/src/fetch/worker.rest.api.assets.stencil.get.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.assets.stencil.releases.$releaseId.get.d.ts +8 -0
- package/build/src/fetch/worker.rest.api.assets.stencil.version.get.d.ts +11 -0
- package/build/src/fetch/worker.rest.api.assets.workflows.$workflowId.put.d.ts +8 -0
- package/build/src/fetch/worker.rest.api.assets.workflows.get.d.ts +8 -0
- package/build/src/fetch/worker.rest.api.assets.wrench.commands.post.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.assets.wrench.copyas.post.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.assets.wrench.dataModels.get.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.assets.wrench.debugs.post.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.assets.wrench.diff.get.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.assets.wrench.flow-names.get.d.ts +5 -0
- package/build/src/fetch/worker.rest.api.assets.wrench.importTag.post.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.assets.wrench.resources.$id.delete.d.ts +8 -0
- package/build/src/fetch/worker.rest.api.assets.wrench.resources.post.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.assets.wrench.resources.put.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.assets.wrench.summary.$tagId.get.d.ts +8 -0
- package/build/src/fetch/worker.rest.api.assets.wrench.version.get.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.feedback.$feedbackId.delete.d.ts +8 -0
- package/build/src/fetch/worker.rest.api.feedback.$feedbackId.enabled.get.d.ts +7 -0
- package/build/src/fetch/worker.rest.api.feedback.$feedbackId.get.d.ts +8 -0
- package/build/src/fetch/worker.rest.api.feedback.$feedbackId.post.d.ts +8 -0
- package/build/src/fetch/worker.rest.api.feedback.$feedbackId.put.d.ts +10 -0
- package/build/src/fetch/worker.rest.api.feedback.$feedbackId.templates.get.d.ts +8 -0
- package/build/src/fetch/worker.rest.api.feedback.get.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.iam.liveness.d.ts +11 -0
- package/build/src/fetch/worker.rest.api.pdf.get.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.processes.get.d.ts +7 -0
- package/build/src/fetch/worker.rest.api.queues.configs.get.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.queues.deliveries.get.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.queues.messages.get.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.tasks.$taskId.comments.get.d.ts +9 -0
- package/build/src/fetch/worker.rest.api.tasks.$taskId.comments.post.d.ts +9 -0
- package/build/src/fetch/worker.rest.api.tasks.$taskId.delete.d.ts +7 -0
- package/build/src/fetch/worker.rest.api.tasks.$taskId.files.$filename.get.d.ts +8 -0
- package/build/src/fetch/worker.rest.api.tasks.$taskId.files.get.d.ts +8 -0
- package/build/src/fetch/worker.rest.api.tasks.$taskId.files.post.d.ts +7 -0
- package/build/src/fetch/worker.rest.api.tasks.$taskId.get.d.ts +8 -0
- package/build/src/fetch/worker.rest.api.tasks.$taskId.put.d.ts +8 -0
- package/build/src/fetch/worker.rest.api.tasks.$taskId.reviews.d.ts +7 -0
- package/build/src/fetch/worker.rest.api.tasks.get.d.ts +17 -0
- package/build/src/fetch/worker.rest.api.tasks.post.d.ts +6 -0
- package/build/src/fetch/worker.rest.api.tasks.unread.get.d.ts +5 -0
- package/build/src/fetchTree.gen.d.ts +998 -0
- package/build/src/frontdesk/Secondary.d.ts +2 -0
- package/build/src/frontdesk/Toolbar.d.ts +2 -0
- package/build/src/frontdesk/components/ConfirmationDialog.d.ts +16 -0
- package/build/src/frontdesk/components/DateTimeFormatter.d.ts +4 -0
- package/build/src/frontdesk/components/Datepicker.d.ts +13 -0
- package/build/src/frontdesk/components/ExternalLink.d.ts +11 -0
- package/build/src/frontdesk/components/Impersonation.d.ts +2 -0
- package/build/src/frontdesk/components/PageLeaveConfirmation.d.ts +5 -0
- package/build/src/frontdesk/components/TableDateFilter.d.ts +1 -0
- package/build/src/frontdesk/components/TableHeader.d.ts +5 -0
- package/build/src/frontdesk/components/tableFormatter.d.ts +1 -0
- package/build/src/frontdesk/components/task/ColorMap.d.ts +10 -0
- package/build/src/frontdesk/components/task/Indicator.d.ts +11 -0
- package/build/src/frontdesk/components/task/Priority.d.ts +28 -0
- package/build/src/frontdesk/components/task/RadioGroupPopover.d.ts +14 -0
- package/build/src/frontdesk/components/task/Status.d.ts +33 -0
- package/build/src/frontdesk/components/task/TaskLinkComponent.d.ts +18 -0
- package/build/src/frontdesk/components/task/TaskLinkKey.d.ts +1 -0
- package/build/src/frontdesk/context/AttachmentContext.d.ts +12 -0
- package/build/src/frontdesk/context/ComponentResolver.d.ts +7 -0
- package/build/src/frontdesk/context/TaskSessionContext.d.ts +13 -0
- package/build/src/frontdesk/context/TaskViewContext.d.ts +11 -0
- package/build/src/frontdesk/context/index.d.ts +1 -0
- package/build/src/frontdesk/dialob/_DialobReviewDialog.d.ts +0 -0
- package/build/src/frontdesk/explorer/MenuItem.d.ts +8 -0
- package/build/src/frontdesk/explorer/index.d.ts +1 -0
- package/build/src/frontdesk/index.d.ts +1 -0
- package/build/src/frontdesk/types/AssetTag.d.ts +6 -0
- package/build/src/frontdesk/types/Attachment.d.ts +10 -0
- package/build/src/frontdesk/types/Dialob.d.ts +44 -0
- package/build/src/frontdesk/types/Process.d.ts +10 -0
- package/build/src/frontdesk/types/Publication.d.ts +36 -0
- package/build/src/frontdesk/types/TaskStatistics.d.ts +20 -0
- package/build/src/frontdesk/types/Workflow.d.ts +11 -0
- package/build/src/frontdesk/types/WorkflowRelease.d.ts +19 -0
- package/build/src/frontdesk/types/index.d.ts +2 -0
- package/build/src/frontdesk/types/task/Comment.d.ts +15 -0
- package/build/src/frontdesk/types/task/Task.d.ts +35 -0
- package/build/src/frontdesk/types/task/TaskLink.d.ts +5 -0
- package/build/src/frontdesk/util/localizeTable.d.ts +35 -0
- package/build/src/frontdesk/util/mapNestedEntities.d.ts +1 -0
- package/build/src/frontdesk/util/tableQuery.d.ts +2 -0
- package/build/src/frontdesk/views/dashboard/DashboardView.d.ts +2 -0
- package/build/src/frontdesk/views/forms/CreateDialog.d.ts +9 -0
- package/build/src/frontdesk/views/forms/DeleteDialog.d.ts +9 -0
- package/build/src/frontdesk/views/forms/DialobAdminView.d.ts +2 -0
- package/build/src/frontdesk/views/forms/DialobFormsView.d.ts +2 -0
- package/build/src/frontdesk/views/help/HelpView.d.ts +2 -0
- package/build/src/frontdesk/views/process/ProcessTable.d.ts +2 -0
- package/build/src/frontdesk/views/process/ProcessView.d.ts +2 -0
- package/build/src/frontdesk/views/publications/NewPublicationDialog.d.ts +7 -0
- package/build/src/frontdesk/views/publications/PublicationsTable.d.ts +2 -0
- package/build/src/frontdesk/views/publications/PublicationsView.d.ts +2 -0
- package/build/src/frontdesk/views/publications/UploadPublicationDialog.d.ts +7 -0
- package/build/src/frontdesk/views/task/AttachmentTable.d.ts +10 -0
- package/build/src/frontdesk/views/task/CommentAdd.d.ts +12 -0
- package/build/src/frontdesk/views/task/CommentLocal.d.ts +14 -0
- package/build/src/frontdesk/views/task/CommentThread.d.ts +12 -0
- package/build/src/frontdesk/views/task/LinkResolver.d.ts +10 -0
- package/build/src/frontdesk/views/task/TaskContainer.d.ts +4 -0
- package/build/src/frontdesk/views/task/TaskCreate.d.ts +26 -0
- package/build/src/frontdesk/views/task/TaskFeedback.d.ts +4 -0
- package/build/src/frontdesk/views/task/TaskRoleDialog.d.ts +9 -0
- package/build/src/frontdesk/views/task/TaskView.d.ts +14 -0
- package/build/src/frontdesk/views/task/TasksTable.d.ts +13 -0
- package/build/src/frontdesk/views/task/TasksView.d.ts +2 -0
- package/build/src/frontdesk/views/task/Thread.d.ts +13 -0
- package/build/src/frontdesk/views/task/index.d.ts +1 -0
- package/build/src/frontdesk/views/workflow/CreateOrEditWorkflowDialog.d.ts +11 -0
- package/build/src/frontdesk/views/workflow/WorkflowTable.d.ts +9 -0
- package/build/src/frontdesk/views/workflow/WorkflowView.d.ts +2 -0
- package/build/src/index.d.ts +13 -0
- package/build/src/intl/en.d.ts +870 -0
- package/build/src/intl/exporter.d.ts +1 -0
- package/build/src/intl/fi.d.ts +457 -0
- package/build/src/intl/index.d.ts +1615 -0
- package/build/src/intl/sv.d.ts +285 -0
- package/build/src/queue/find-all-deliveries/FindAllDeliveries.d.ts +2 -0
- package/build/src/queue/find-all-deliveries/index.d.ts +1 -0
- package/build/src/queue/find-all-messages/FindAllMessages.d.ts +2 -0
- package/build/src/queue/find-all-messages/index.d.ts +1 -0
- package/build/src/queue/find-all-queues/FindAllQueues.d.ts +4 -0
- package/build/src/queue/find-all-queues/index.d.ts +1 -0
- package/build/src/queue/index.d.ts +4 -0
- package/build/src/queue/queue-api/QueueProvider.d.ts +13 -0
- package/build/src/queue/queue-api/index.d.ts +2 -0
- package/build/src/queue/queue-api/queue-types.d.ts +73 -0
- package/build/src/routeTree.gen.d.ts +333 -0
- package/build/src/router.d.ts +6 -0
- package/build/src/routes/__root.d.ts +1 -0
- package/build/src/routes/index.d.ts +1 -0
- package/build/src/routes/public.$locale.auth.d.ts +1 -0
- package/build/src/routes/secured.$locale.assets.d.ts +1 -0
- package/build/src/routes/secured.$locale.assets.forms.index.d.ts +1 -0
- package/build/src/routes/secured.$locale.assets.services.index.d.ts +1 -0
- package/build/src/routes/secured.$locale.assets.stencil.index.d.ts +2 -0
- package/build/src/routes/secured.$locale.assets.wrench.index.d.ts +2 -0
- package/build/src/routes/secured.$locale.d.ts +1 -0
- package/build/src/routes/secured.$locale.index.d.ts +1 -0
- package/build/src/routes/secured.$locale.worker.d.ts +1 -0
- package/build/src/routes/secured.$locale.worker.dashboard.index.d.ts +1 -0
- package/build/src/routes/secured.$locale.worker.feedback.$feedbackId.index.d.ts +1 -0
- package/build/src/routes/secured.$locale.worker.feedback.index.d.ts +1 -0
- package/build/src/routes/secured.$locale.worker.help.index.d.ts +1 -0
- package/build/src/routes/secured.$locale.worker.monitoring.index.d.ts +1 -0
- package/build/src/routes/secured.$locale.worker.publications.index.d.ts +1 -0
- package/build/src/routes/secured.$locale.worker.queues.deliveries.index.d.ts +1 -0
- package/build/src/routes/secured.$locale.worker.queues.index.d.ts +1 -0
- package/build/src/routes/secured.$locale.worker.queues.messages.index.d.ts +1 -0
- package/build/src/routes/secured.$locale.worker.tasks.$taskId.index.d.ts +1 -0
- package/build/src/routes/secured.$locale.worker.tasks.create.index.d.ts +1 -0
- package/build/src/routes/secured.$locale.worker.tasks.d.ts +1 -0
- package/build/src/routes/secured.$locale.worker.tasks.index.d.ts +1 -0
- package/build/src/stencil/Activities.d.ts +50 -0
- package/build/src/stencil/Main.d.ts +3 -0
- package/build/src/stencil/Secondary.d.ts +3 -0
- package/build/src/stencil/Tabs.d.ts +2 -0
- package/build/src/stencil/Toolbar.d.ts +2 -0
- package/build/src/stencil/article/ArticleComposer.d.ts +5 -0
- package/build/src/stencil/article/ArticleDelete.d.ts +8 -0
- package/build/src/stencil/article/ArticleEdit.d.ts +7 -0
- package/build/src/stencil/article/ArticleLinksComposer.d.ts +6 -0
- package/build/src/stencil/article/ArticleOrderNumberViewer.d.ts +2 -0
- package/build/src/stencil/article/ArticlePageComposer.d.ts +9 -0
- package/build/src/stencil/article/ArticleWorkflowsComposer.d.ts +6 -0
- package/build/src/stencil/article/ArticlesView.d.ts +2 -0
- package/build/src/stencil/article/index.d.ts +7 -0
- package/build/src/stencil/client/StencilApi.d.ts +284 -0
- package/build/src/stencil/client/error.d.ts +2 -0
- package/build/src/stencil/client/index.d.ts +19 -0
- package/build/src/stencil/context/Reducer.d.ts +35 -0
- package/build/src/stencil/context/SessionData.d.ts +71 -0
- package/build/src/stencil/context/ide.d.ts +124 -0
- package/build/src/stencil/context/index.d.ts +5 -0
- package/build/src/stencil/explorer/article/ArticleItem.d.ts +13 -0
- package/build/src/stencil/explorer/article/ArticleList.d.ts +4 -0
- package/build/src/stencil/explorer/article/ArticleOptions.d.ts +7 -0
- package/build/src/stencil/explorer/article/ArticlePageItem.d.ts +7 -0
- package/build/src/stencil/explorer/article/index.d.ts +4 -0
- package/build/src/stencil/explorer/article/useUtilityClasses.d.ts +13 -0
- package/build/src/stencil/explorer/filter/LocaleFilter.d.ts +3 -0
- package/build/src/stencil/explorer/filter/index.d.ts +1 -0
- package/build/src/stencil/explorer/index.d.ts +4 -0
- package/build/src/stencil/explorer/link/LinkItem.d.ts +6 -0
- package/build/src/stencil/explorer/link/LinkOptions.d.ts +6 -0
- package/build/src/stencil/explorer/link/LinksList.d.ts +4 -0
- package/build/src/stencil/explorer/link/useUtilityClasses.d.ts +13 -0
- package/build/src/stencil/explorer/search/SearchExplorer.d.ts +3 -0
- package/build/src/stencil/explorer/workflow/WorkflowItem.d.ts +6 -0
- package/build/src/stencil/explorer/workflow/WorkflowList.d.ts +4 -0
- package/build/src/stencil/explorer/workflow/WorkflowOptions.d.ts +6 -0
- package/build/src/stencil/explorer/workflow/useUtilityClasses.d.ts +13 -0
- package/build/src/stencil/index.d.ts +18 -0
- package/build/src/stencil/link/LinkComposer.d.ts +5 -0
- package/build/src/stencil/link/LinkDelete.d.ts +8 -0
- package/build/src/stencil/link/LinkEdit.d.ts +8 -0
- package/build/src/stencil/link/LinksView.d.ts +2 -0
- package/build/src/stencil/link/index.d.ts +4 -0
- package/build/src/stencil/locale/LocaleComposer.d.ts +5 -0
- package/build/src/stencil/locale/LocaleLabels.d.ts +16 -0
- package/build/src/stencil/locale/LocalesOverview.d.ts +6 -0
- package/build/src/stencil/locale/LocalesView.d.ts +3 -0
- package/build/src/stencil/locale/index.d.ts +3 -0
- package/build/src/stencil/migration/MigrationComposer.d.ts +5 -0
- package/build/src/stencil/migration/index.d.ts +1 -0
- package/build/src/stencil/nav/index.d.ts +4 -0
- package/build/src/stencil/nav/stencil-nav-types.d.ts +40 -0
- package/build/src/stencil/nav/useStencilNav.d.ts +11 -0
- package/build/src/stencil/nav/useStencilTabChange.d.ts +4 -0
- package/build/src/stencil/nav/useStencilTabClose.d.ts +4 -0
- package/build/src/stencil/page/NewArticlePage.d.ts +10 -0
- package/build/src/stencil/page/NewPage.d.ts +7 -0
- package/build/src/stencil/page/PageDelete.d.ts +7 -0
- package/build/src/stencil/page/PageEdit.d.ts +7 -0
- package/build/src/stencil/page/PageEditDevMode.d.ts +7 -0
- package/build/src/stencil/page/index.d.ts +5 -0
- package/build/src/stencil/release/ReleaseComposer.d.ts +5 -0
- package/build/src/stencil/release/ReleaseDelete.d.ts +8 -0
- package/build/src/stencil/release/ReleaseTable.d.ts +8 -0
- package/build/src/stencil/release/ReleasesView.d.ts +3 -0
- package/build/src/stencil/release/index.d.ts +3 -0
- package/build/src/stencil/search/SearchView.d.ts +2 -0
- package/build/src/stencil/search/index.d.ts +1 -0
- package/build/src/stencil/template/TemplateComposer.d.ts +6 -0
- package/build/src/stencil/template/TemplateDelete.d.ts +8 -0
- package/build/src/stencil/template/TemplateEdit.d.ts +8 -0
- package/build/src/stencil/template/TemplatesView.d.ts +3 -0
- package/build/src/stencil/template/index.d.ts +4 -0
- package/build/src/stencil/version.d.ts +2 -0
- package/build/src/stencil/workflow/WorkflowComposer.d.ts +5 -0
- package/build/src/stencil/workflow/WorkflowDelete.d.ts +8 -0
- package/build/src/stencil/workflow/WorkflowEdit.d.ts +8 -0
- package/build/src/stencil/workflow/WorkflowsView.d.ts +2 -0
- package/build/src/stencil/workflow/index.d.ts +3 -0
- package/build/src/uiDev/ComposeSelect.d.ts +8 -0
- package/build/src/uiDev/LocaleSelect.d.ts +7 -0
- package/build/src/uiDev/UiDev.d.ts +3 -0
- package/build/src/uiDev/UiDevExplorer.d.ts +2 -0
- package/build/src/uiDev/UiDevExplorerToolbar.d.ts +2 -0
- package/build/src/uiDev/UiDevSearchAsset.d.ts +4 -0
- package/build/src/uiDev/UiDevSearchGeneral.d.ts +4 -0
- package/build/src/uiDev/index.d.ts +4 -0
- package/build/src/uiDev/types.d.ts +1 -0
- package/build/src/uiDev/useUtilityClasses.d.ts +33 -0
- package/build/src/version.d.ts +5 -0
- package/build/src/wrench/code-editor/CodeEditor.d.ts +4 -0
- package/build/src/wrench/code-editor/ViewImpl.d.ts +43 -0
- package/build/src/wrench/code-editor/index.d.ts +4 -0
- package/build/src/wrench/core/Activities.d.ts +13 -0
- package/build/src/wrench/core/Main.d.ts +3 -0
- package/build/src/wrench/core/Secondary.d.ts +2 -0
- package/build/src/wrench/core/Tabs.d.ts +2 -0
- package/build/src/wrench/core/Toolbar.d.ts +3 -0
- package/build/src/wrench/core/client/api.d.ts +339 -0
- package/build/src/wrench/core/client/error.d.ts +2 -0
- package/build/src/wrench/core/client/index.d.ts +35 -0
- package/build/src/wrench/core/compare/CompareView.d.ts +7 -0
- package/build/src/wrench/core/compare/index.d.ts +2 -0
- package/build/src/wrench/core/context/Reducer.d.ts +38 -0
- package/build/src/wrench/core/context/SessionData.d.ts +45 -0
- package/build/src/wrench/core/context/ide.d.ts +75 -0
- package/build/src/wrench/core/context/index.d.ts +2 -0
- package/build/src/wrench/core/debug/DebugError.d.ts +6 -0
- package/build/src/wrench/core/debug/DebugHeader.d.ts +6 -0
- package/build/src/wrench/core/debug/DebugInput.d.ts +9 -0
- package/build/src/wrench/core/debug/DebugView.d.ts +3 -0
- package/build/src/wrench/core/debug/api.d.ts +1 -0
- package/build/src/wrench/core/debug/drawer/DebugDrawer.d.ts +9 -0
- package/build/src/wrench/core/debug/drawer/InputCSV.d.ts +11 -0
- package/build/src/wrench/core/debug/drawer/InputFORM.d.ts +11 -0
- package/build/src/wrench/core/debug/drawer/InputFORMField.d.ts +9 -0
- package/build/src/wrench/core/debug/drawer/InputJSON.d.ts +9 -0
- package/build/src/wrench/core/debug/drawer/SelectAsset.d.ts +9 -0
- package/build/src/wrench/core/debug/index.d.ts +2 -0
- package/build/src/wrench/core/debug/outputs/DebugOutput.d.ts +8 -0
- package/build/src/wrench/core/debug/outputs/DebugOutputCsv.d.ts +5 -0
- package/build/src/wrench/core/debug/outputs/DebugOutputCsvRow.d.ts +7 -0
- package/build/src/wrench/core/debug/outputs/DebugOutputsDt.d.ts +6 -0
- package/build/src/wrench/core/debug/outputs/DebugOutputsFl.d.ts +6 -0
- package/build/src/wrench/core/debug/outputs/DebugOutputsFt.d.ts +6 -0
- package/build/src/wrench/core/debug/outputs/utils.d.ts +2 -0
- package/build/src/wrench/core/decision/DecisionComposer.d.ts +5 -0
- package/build/src/wrench/core/decision/DecisionEdit.d.ts +7 -0
- package/build/src/wrench/core/decision/DecisionsView.d.ts +2 -0
- package/build/src/wrench/core/decision/editors/CellEdit.d.ts +11 -0
- package/build/src/wrench/core/decision/editors/HeaderEdit.d.ts +11 -0
- package/build/src/wrench/core/decision/editors/NameDescHitPolicyEdit.d.ts +8 -0
- package/build/src/wrench/core/decision/editors/OrderEdit.d.ts +10 -0
- package/build/src/wrench/core/decision/editors/UploadCSV.d.ts +9 -0
- package/build/src/wrench/core/decision/editors/builders/EditBoolean.d.ts +6 -0
- package/build/src/wrench/core/decision/editors/builders/EditDate.d.ts +6 -0
- package/build/src/wrench/core/decision/editors/builders/EditDateSimple.d.ts +6 -0
- package/build/src/wrench/core/decision/editors/builders/EditDateTime.d.ts +6 -0
- package/build/src/wrench/core/decision/editors/builders/EditDateTimeSimple.d.ts +6 -0
- package/build/src/wrench/core/decision/editors/builders/EditNumber.d.ts +6 -0
- package/build/src/wrench/core/decision/editors/builders/EditNumberSimple.d.ts +6 -0
- package/build/src/wrench/core/decision/editors/builders/EditString.d.ts +6 -0
- package/build/src/wrench/core/decision/editors/builders/EditStringSimple.d.ts +6 -0
- package/build/src/wrench/core/decision/editors/builders/EditValueSet.d.ts +11 -0
- package/build/src/wrench/core/decision/editors/builders/TypeBooleanBuilder.d.ts +18 -0
- package/build/src/wrench/core/decision/editors/builders/TypeDateBuilder.d.ts +32 -0
- package/build/src/wrench/core/decision/editors/builders/TypeNumberBuilder.d.ts +35 -0
- package/build/src/wrench/core/decision/editors/builders/TypeStringBuilder.d.ts +26 -0
- package/build/src/wrench/core/decision/editors/builders/TypeValueSetBuilder.d.ts +14 -0
- package/build/src/wrench/core/decision/editors/builders/ValueSetChooser.d.ts +7 -0
- package/build/src/wrench/core/decision/editors/builders/index.d.ts +21 -0
- package/build/src/wrench/core/decision/editors/index.d.ts +5 -0
- package/build/src/wrench/core/decision/index.d.ts +3 -0
- package/build/src/wrench/core/decision/table/DecisionTable.d.ts +24 -0
- package/build/src/wrench/core/decision/table/DecisionTableCell.d.ts +9 -0
- package/build/src/wrench/core/decision/table/DecisionTableHeader.d.ts +10 -0
- package/build/src/wrench/core/decision/table/DecisionTableRow.d.ts +12 -0
- package/build/src/wrench/core/decision/table/index.d.ts +30 -0
- package/build/src/wrench/core/explorer/MsgTreeItem.d.ts +9 -0
- package/build/src/wrench/core/explorer/TreeViewToggle.d.ts +9 -0
- package/build/src/wrench/core/explorer/decision/DecisionItem.d.ts +6 -0
- package/build/src/wrench/core/explorer/decision/DecisionOptions.d.ts +6 -0
- package/build/src/wrench/core/explorer/decision/DecisionsList.d.ts +2 -0
- package/build/src/wrench/core/explorer/decision/useUtilityClasses.d.ts +13 -0
- package/build/src/wrench/core/explorer/flow/FlowItem.d.ts +6 -0
- package/build/src/wrench/core/explorer/flow/FlowOptions.d.ts +6 -0
- package/build/src/wrench/core/explorer/flow/FlowsList.d.ts +2 -0
- package/build/src/wrench/core/explorer/flow/useUtilityClasses.d.ts +13 -0
- package/build/src/wrench/core/explorer/index.d.ts +4 -0
- package/build/src/wrench/core/explorer/service/ServiceItem.d.ts +6 -0
- package/build/src/wrench/core/explorer/service/ServiceOptions.d.ts +6 -0
- package/build/src/wrench/core/explorer/service/ServicesList.d.ts +3 -0
- package/build/src/wrench/core/explorer/service/useUtilityClasses.d.ts +13 -0
- package/build/src/wrench/core/flow/FlowComposer.d.ts +5 -0
- package/build/src/wrench/core/flow/FlowEdit.d.ts +6 -0
- package/build/src/wrench/core/flow/FlowsView.d.ts +2 -0
- package/build/src/wrench/core/flow/autocomplete/AutocompleteTask.d.ts +13 -0
- package/build/src/wrench/core/flow/autocomplete/api.d.ts +51 -0
- package/build/src/wrench/core/flow/autocomplete/index.d.ts +2 -0
- package/build/src/wrench/core/flow/graph/Container.d.ts +11 -0
- package/build/src/wrench/core/flow/graph/GraphAPI.d.ts +9 -0
- package/build/src/wrench/core/flow/graph/index.d.ts +3 -0
- package/build/src/wrench/core/flow/index.d.ts +4 -0
- package/build/src/wrench/core/index.d.ts +21 -0
- package/build/src/wrench/core/migration/MigrationComposer.d.ts +5 -0
- package/build/src/wrench/core/migration/index.d.ts +2 -0
- package/build/src/wrench/core/nav/index.d.ts +4 -0
- package/build/src/wrench/core/nav/useWrenchNav.d.ts +13 -0
- package/build/src/wrench/core/nav/useWrenchTabChange.d.ts +4 -0
- package/build/src/wrench/core/nav/useWrenchTabClose.d.ts +4 -0
- package/build/src/wrench/core/nav/wrench-nav-types.d.ts +36 -0
- package/build/src/wrench/core/release/ReleaseComposer.d.ts +5 -0
- package/build/src/wrench/core/release/ReleasesTable.d.ts +7 -0
- package/build/src/wrench/core/release/ReleasesView.d.ts +3 -0
- package/build/src/wrench/core/release/index.d.ts +4 -0
- package/build/src/wrench/core/release/release-types.d.ts +15 -0
- package/build/src/wrench/core/search/SearchView.d.ts +2 -0
- package/build/src/wrench/core/search/index.d.ts +1 -0
- package/build/src/wrench/core/service/ServiceComposer.d.ts +5 -0
- package/build/src/wrench/core/service/ServiceEdit.d.ts +6 -0
- package/build/src/wrench/core/service/ServicesView.d.ts +2 -0
- package/build/src/wrench/core/service/index.d.ts +3 -0
- package/build/src/wrench/core/styles/ErrorView.d.ts +6 -0
- package/build/src/wrench/core/styles/index.d.ts +2 -0
- package/build/src/wrench/core/template/TemplateComposer.d.ts +5 -0
- package/build/src/wrench/core/template/index.d.ts +2 -0
- package/build/src/wrench/core/version.d.ts +2 -0
- package/build/src/wrench/index.d.ts +11 -0
- package/build/src/wrench/vis/DecisionNode.d.ts +4 -0
- package/build/src/wrench/vis/EndNode.d.ts +4 -0
- package/build/src/wrench/vis/Internal.d.ts +3 -0
- package/build/src/wrench/vis/ServiceNode.d.ts +4 -0
- package/build/src/wrench/vis/StartNode.d.ts +4 -0
- package/build/src/wrench/vis/Styles.d.ts +1 -0
- package/build/src/wrench/vis/SwitchNode.d.ts +4 -0
- package/build/src/wrench/vis/elk-layout.d.ts +6 -0
- package/build/src/wrench/vis/index.d.ts +4 -0
- package/build/src/wrench/vis/vis-context.d.ts +1 -0
- package/build/src/wrench/vis/vis-types.d.ts +25 -0
- package/build/style.css +1 -1
- package/package.json +5 -7
- package/build/index.d.ts +0 -910
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface ActivityProps {
|
|
3
|
+
title: React.ReactNode;
|
|
4
|
+
desc: React.ReactNode;
|
|
5
|
+
buttonCreate: React.ReactNode;
|
|
6
|
+
buttonViewAll?: React.ReactNode;
|
|
7
|
+
onView?: () => void;
|
|
8
|
+
composer: React.FC<{
|
|
9
|
+
onClose: () => void;
|
|
10
|
+
}>;
|
|
11
|
+
}
|
|
12
|
+
export declare function useActivities(): ({
|
|
13
|
+
composer: React.FC<{
|
|
14
|
+
onClose: () => void;
|
|
15
|
+
}>;
|
|
16
|
+
onView: () => void;
|
|
17
|
+
title: import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
desc: import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
buttonCreate: import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
buttonViewAll: undefined;
|
|
21
|
+
} | {
|
|
22
|
+
composer: React.FC<{
|
|
23
|
+
onClose: () => void;
|
|
24
|
+
articleId?: import("./client").StencilApi.ArticleId;
|
|
25
|
+
}>;
|
|
26
|
+
onView: () => void;
|
|
27
|
+
title: import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
desc: import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
buttonCreate: import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
buttonViewAll: undefined;
|
|
31
|
+
} | {
|
|
32
|
+
composer: React.FC<{
|
|
33
|
+
onClose: () => void;
|
|
34
|
+
}>;
|
|
35
|
+
onView: () => void;
|
|
36
|
+
title: import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
desc: import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
buttonCreate: import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
buttonViewAll: import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
} | {
|
|
41
|
+
composer: React.FC<{
|
|
42
|
+
onClose: () => void;
|
|
43
|
+
}>;
|
|
44
|
+
onView: undefined;
|
|
45
|
+
title: import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
desc: import("react/jsx-runtime").JSX.Element;
|
|
47
|
+
buttonCreate: import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
buttonViewAll: undefined;
|
|
49
|
+
})[];
|
|
50
|
+
export declare const Activities: React.FC<{}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { StencilApi } from '../context';
|
|
3
|
+
interface ArticleDeleteProps {
|
|
4
|
+
articleId: StencilApi.ArticleId;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
}
|
|
7
|
+
declare const ArticleDelete: React.FC<ArticleDeleteProps>;
|
|
8
|
+
export { ArticleDelete };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { StencilApi } from '../context';
|
|
3
|
+
type PageComposerProps = {
|
|
4
|
+
articleId: StencilApi.ArticleId;
|
|
5
|
+
locale1: StencilApi.LocaleId;
|
|
6
|
+
locale2?: StencilApi.LocaleId;
|
|
7
|
+
};
|
|
8
|
+
declare const ArticlePageComposer: React.FC<PageComposerProps>;
|
|
9
|
+
export { ArticlePageComposer };
|
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
export declare namespace StencilApi {
|
|
2
|
+
type PageId = string;
|
|
3
|
+
type LinkId = string;
|
|
4
|
+
type ArticleId = string;
|
|
5
|
+
type WorkflowId = string;
|
|
6
|
+
type LocaleId = string;
|
|
7
|
+
type Locale = string;
|
|
8
|
+
type LocalisedMarkdown = string;
|
|
9
|
+
type LocalisedContent = string;
|
|
10
|
+
type ReleaseId = string;
|
|
11
|
+
type TemplateId = string;
|
|
12
|
+
type LinkType = "internal" | "external" | "phone";
|
|
13
|
+
type TemplateType = "page";
|
|
14
|
+
interface Site {
|
|
15
|
+
name: string;
|
|
16
|
+
contentType: "OK" | "NOT_CREATED" | "EMPTY" | "ERRORS" | "NO_CONNECTION";
|
|
17
|
+
locales: Record<string, SiteLocale>;
|
|
18
|
+
pages: Record<PageId, Page>;
|
|
19
|
+
links: Record<LinkId, Link>;
|
|
20
|
+
articles: Record<ArticleId, Article>;
|
|
21
|
+
workflows: Record<WorkflowId, Workflow>;
|
|
22
|
+
releases: Record<ReleaseId, Release>;
|
|
23
|
+
templates: Record<TemplateId, Template>;
|
|
24
|
+
}
|
|
25
|
+
interface SiteLocale {
|
|
26
|
+
id: LocaleId;
|
|
27
|
+
body: {
|
|
28
|
+
value: Locale;
|
|
29
|
+
enabled: boolean;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
interface LocaleMutator {
|
|
33
|
+
localeId: LocaleId;
|
|
34
|
+
value: string;
|
|
35
|
+
enabled: boolean;
|
|
36
|
+
}
|
|
37
|
+
interface Page {
|
|
38
|
+
id: PageId;
|
|
39
|
+
created: string;
|
|
40
|
+
modified: string;
|
|
41
|
+
body: {
|
|
42
|
+
article: ArticleId;
|
|
43
|
+
locale: Locale;
|
|
44
|
+
content: LocalisedMarkdown;
|
|
45
|
+
devMode?: boolean;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
interface PageMutator {
|
|
49
|
+
pageId: PageId;
|
|
50
|
+
locale: Locale;
|
|
51
|
+
content: LocalisedContent;
|
|
52
|
+
devMode: boolean | undefined;
|
|
53
|
+
}
|
|
54
|
+
interface Template {
|
|
55
|
+
id: TemplateId;
|
|
56
|
+
body: {
|
|
57
|
+
type: TemplateType;
|
|
58
|
+
name: string;
|
|
59
|
+
description: string;
|
|
60
|
+
content: string;
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
interface TemplateMutator {
|
|
64
|
+
id: TemplateId;
|
|
65
|
+
type: TemplateType;
|
|
66
|
+
name: string;
|
|
67
|
+
description: string;
|
|
68
|
+
content: string;
|
|
69
|
+
}
|
|
70
|
+
interface Article {
|
|
71
|
+
id: ArticleId;
|
|
72
|
+
body: {
|
|
73
|
+
parentId?: ArticleId;
|
|
74
|
+
name: string;
|
|
75
|
+
order: number;
|
|
76
|
+
devMode?: boolean;
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
interface ArticleMutator {
|
|
80
|
+
articleId: ArticleId;
|
|
81
|
+
parentId?: ArticleId;
|
|
82
|
+
name: string;
|
|
83
|
+
order: number;
|
|
84
|
+
links: LinkId[] | undefined;
|
|
85
|
+
workflows: WorkflowId[] | undefined;
|
|
86
|
+
devMode: boolean | undefined;
|
|
87
|
+
}
|
|
88
|
+
interface Release {
|
|
89
|
+
id: string;
|
|
90
|
+
body: {
|
|
91
|
+
note?: string;
|
|
92
|
+
name: string;
|
|
93
|
+
created: string;
|
|
94
|
+
locales: LocaleReleaseItem[];
|
|
95
|
+
articles: ArticleReleaseItem[];
|
|
96
|
+
links: LinkReleaseItem[];
|
|
97
|
+
workflows: WorkflowReleaseItem[];
|
|
98
|
+
pages: PageReleaseItem[];
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
interface LinkReleaseItem extends ReleaseItem {
|
|
102
|
+
value: string;
|
|
103
|
+
contentType: string;
|
|
104
|
+
articles: string;
|
|
105
|
+
labels: LocaleLabel[];
|
|
106
|
+
}
|
|
107
|
+
interface WorkflowReleaseItem extends ReleaseItem {
|
|
108
|
+
value: string;
|
|
109
|
+
articles: string[];
|
|
110
|
+
labels: LocaleLabel[];
|
|
111
|
+
}
|
|
112
|
+
interface LocaleReleaseItem extends ReleaseItem {
|
|
113
|
+
value: string;
|
|
114
|
+
}
|
|
115
|
+
interface ArticleReleaseItem extends ReleaseItem {
|
|
116
|
+
name: string;
|
|
117
|
+
parentId?: string;
|
|
118
|
+
}
|
|
119
|
+
interface PageReleaseItem extends ReleaseItem {
|
|
120
|
+
locale: string;
|
|
121
|
+
h1: string;
|
|
122
|
+
}
|
|
123
|
+
interface ReleaseItem {
|
|
124
|
+
id: string;
|
|
125
|
+
hash: string;
|
|
126
|
+
}
|
|
127
|
+
interface Link {
|
|
128
|
+
id: LinkId;
|
|
129
|
+
body: {
|
|
130
|
+
articles: ArticleId[];
|
|
131
|
+
contentType: LinkType;
|
|
132
|
+
value: string;
|
|
133
|
+
labels: LocaleLabel[];
|
|
134
|
+
devMode?: boolean;
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
interface LocaleLabel {
|
|
138
|
+
locale: LocaleId;
|
|
139
|
+
labelValue: LocalisedContent;
|
|
140
|
+
}
|
|
141
|
+
interface LinkMutator {
|
|
142
|
+
linkId: LinkId;
|
|
143
|
+
type: LinkType;
|
|
144
|
+
value: string;
|
|
145
|
+
articles: ArticleId[] | undefined;
|
|
146
|
+
labels: LocaleLabel[] | undefined;
|
|
147
|
+
devMode: boolean | undefined;
|
|
148
|
+
}
|
|
149
|
+
interface Workflow {
|
|
150
|
+
id: WorkflowId;
|
|
151
|
+
body: {
|
|
152
|
+
articles: ArticleId[];
|
|
153
|
+
value: string;
|
|
154
|
+
labels: LocaleLabel[];
|
|
155
|
+
devMode?: boolean;
|
|
156
|
+
anon?: boolean;
|
|
157
|
+
startDate?: string | undefined;
|
|
158
|
+
endDate?: string | undefined;
|
|
159
|
+
formName?: string | undefined;
|
|
160
|
+
formTag?: string | undefined;
|
|
161
|
+
formId?: string | undefined;
|
|
162
|
+
flowName?: string | undefined;
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
interface WorkflowMutator {
|
|
166
|
+
workflowId: WorkflowId;
|
|
167
|
+
value: string;
|
|
168
|
+
articles: ArticleId[] | undefined;
|
|
169
|
+
labels: LocaleLabel[] | undefined;
|
|
170
|
+
devMode: boolean | undefined;
|
|
171
|
+
anon: boolean | undefined;
|
|
172
|
+
startDate?: string | undefined;
|
|
173
|
+
endDate?: string | undefined;
|
|
174
|
+
formName: string;
|
|
175
|
+
formTag: string;
|
|
176
|
+
formId?: string | undefined;
|
|
177
|
+
flowName: string;
|
|
178
|
+
}
|
|
179
|
+
interface Service {
|
|
180
|
+
getSite(): Promise<Site>;
|
|
181
|
+
getReleaseContent(releaseId: string): Promise<{}>;
|
|
182
|
+
create(): CreateBuilder;
|
|
183
|
+
delete(): DeleteBuilder;
|
|
184
|
+
update(): UpdateBuilder;
|
|
185
|
+
}
|
|
186
|
+
interface CreateArticle {
|
|
187
|
+
parentId?: ArticleId;
|
|
188
|
+
name: string;
|
|
189
|
+
order: number;
|
|
190
|
+
devMode: boolean | undefined;
|
|
191
|
+
}
|
|
192
|
+
interface CreateLocale {
|
|
193
|
+
locale: Locale;
|
|
194
|
+
}
|
|
195
|
+
interface CreatePage {
|
|
196
|
+
articleId: ArticleId;
|
|
197
|
+
locale: LocaleId;
|
|
198
|
+
content?: string;
|
|
199
|
+
devMode: boolean | undefined;
|
|
200
|
+
}
|
|
201
|
+
interface CreateTemplate {
|
|
202
|
+
type: "page" | string;
|
|
203
|
+
name: string;
|
|
204
|
+
description: string;
|
|
205
|
+
content: string;
|
|
206
|
+
}
|
|
207
|
+
interface CreateLink {
|
|
208
|
+
type: "internal" | "external" | string;
|
|
209
|
+
value: string;
|
|
210
|
+
labels: LocaleLabel[];
|
|
211
|
+
articles: ArticleId[];
|
|
212
|
+
devMode: boolean | undefined;
|
|
213
|
+
}
|
|
214
|
+
interface CreateWorkflow {
|
|
215
|
+
value: string;
|
|
216
|
+
labels: LocaleLabel[];
|
|
217
|
+
articles: ArticleId[];
|
|
218
|
+
devMode: boolean | undefined;
|
|
219
|
+
anon: boolean | undefined;
|
|
220
|
+
startDate?: string | undefined;
|
|
221
|
+
endDate?: string | undefined;
|
|
222
|
+
formName: string;
|
|
223
|
+
formTag: string;
|
|
224
|
+
formId?: string | undefined;
|
|
225
|
+
flowName: string;
|
|
226
|
+
}
|
|
227
|
+
interface CreateRelease {
|
|
228
|
+
name: string;
|
|
229
|
+
note?: string;
|
|
230
|
+
created: string;
|
|
231
|
+
}
|
|
232
|
+
interface CreateBuilder {
|
|
233
|
+
site(): Promise<Site>;
|
|
234
|
+
importData(init: string): Promise<void>;
|
|
235
|
+
release(init: CreateRelease): Promise<Release>;
|
|
236
|
+
locale(init: CreateLocale): Promise<SiteLocale>;
|
|
237
|
+
article(init: CreateArticle): Promise<Article>;
|
|
238
|
+
page(init: CreatePage): Promise<Page>;
|
|
239
|
+
link(init: CreateLink): Promise<Link>;
|
|
240
|
+
template(init: CreateTemplate): Promise<Template>;
|
|
241
|
+
workflow(init: CreateWorkflow): Promise<Workflow>;
|
|
242
|
+
}
|
|
243
|
+
interface DeleteBuilder {
|
|
244
|
+
locale(id: LocaleId): Promise<void>;
|
|
245
|
+
article(id: ArticleId): Promise<void>;
|
|
246
|
+
page(id: PageId): Promise<void>;
|
|
247
|
+
link(id: LinkId): Promise<void>;
|
|
248
|
+
template(id: TemplateId): Promise<void>;
|
|
249
|
+
linkArticlePage(link: LinkId, article: ArticleId, locale: Locale): Promise<void>;
|
|
250
|
+
workflow(id: WorkflowId): Promise<void>;
|
|
251
|
+
workflowArticlePage(workflow: WorkflowId, article: ArticleId, locale: Locale): Promise<void>;
|
|
252
|
+
release(id: ReleaseId): Promise<void>;
|
|
253
|
+
}
|
|
254
|
+
interface UpdateBuilder {
|
|
255
|
+
locale(article: LocaleMutator): Promise<SiteLocale>;
|
|
256
|
+
article(article: ArticleMutator): Promise<Article>;
|
|
257
|
+
pages(pages: PageMutator[]): Promise<Page[]>;
|
|
258
|
+
link(link: LinkMutator): Promise<Link>;
|
|
259
|
+
workflow(workflow: WorkflowMutator): Promise<Workflow>;
|
|
260
|
+
template(template: TemplateMutator): Promise<Template>;
|
|
261
|
+
}
|
|
262
|
+
interface DialobTagAsset {
|
|
263
|
+
formLabel: string;
|
|
264
|
+
formName: string;
|
|
265
|
+
tagFormId: string;
|
|
266
|
+
tagName: string;
|
|
267
|
+
}
|
|
268
|
+
interface StencilRestApi {
|
|
269
|
+
getSite(): Promise<Site>;
|
|
270
|
+
getReleaseContent(releaseId: string): Promise<{}>;
|
|
271
|
+
create(): CreateBuilder;
|
|
272
|
+
delete(): DeleteBuilder;
|
|
273
|
+
update(): UpdateBuilder;
|
|
274
|
+
}
|
|
275
|
+
interface ErrorMsg {
|
|
276
|
+
id: string;
|
|
277
|
+
value: string;
|
|
278
|
+
}
|
|
279
|
+
interface ErrorProps {
|
|
280
|
+
text: string;
|
|
281
|
+
status: number;
|
|
282
|
+
errors: any[];
|
|
283
|
+
}
|
|
284
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { StencilApi } from './StencilApi';
|
|
2
|
+
export type { StencilApi };
|
|
3
|
+
export declare namespace StencilClient {
|
|
4
|
+
const service: (init: {
|
|
5
|
+
store: StencilApi.StencilRestApi;
|
|
6
|
+
}) => StencilApi.Service;
|
|
7
|
+
interface StoreError extends Error {
|
|
8
|
+
text: string;
|
|
9
|
+
status: number;
|
|
10
|
+
errors: StencilApi.ErrorMsg[];
|
|
11
|
+
}
|
|
12
|
+
class StoreErrorImpl extends Error {
|
|
13
|
+
private _props;
|
|
14
|
+
constructor(props: StencilApi.ErrorProps);
|
|
15
|
+
get name(): string;
|
|
16
|
+
get status(): number;
|
|
17
|
+
get errors(): any[];
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { default as Ide } from './ide';
|
|
2
|
+
import { StencilApi } from '../client';
|
|
3
|
+
declare enum ActionType {
|
|
4
|
+
setFilterLocale = "setFilterLocale",
|
|
5
|
+
setSite = "setSite",
|
|
6
|
+
setPageUpdate = "setPageUpdate",
|
|
7
|
+
setPageUpdateRemove = "setPageUpdateRemove"
|
|
8
|
+
}
|
|
9
|
+
interface Action {
|
|
10
|
+
type: ActionType;
|
|
11
|
+
setFilterLocale?: StencilApi.LocaleId;
|
|
12
|
+
setPageUpdateRemove?: {
|
|
13
|
+
pages: StencilApi.PageId[];
|
|
14
|
+
};
|
|
15
|
+
setPageUpdate?: {
|
|
16
|
+
page: StencilApi.PageId;
|
|
17
|
+
value: StencilApi.LocalisedContent;
|
|
18
|
+
};
|
|
19
|
+
setSite?: {
|
|
20
|
+
site: StencilApi.Site;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
declare class ReducerDispatch implements Ide.Actions {
|
|
24
|
+
private _sessionDispatch;
|
|
25
|
+
private _service;
|
|
26
|
+
constructor(session: React.Dispatch<Action>, service: StencilApi.Service);
|
|
27
|
+
handleLoad(): Promise<void>;
|
|
28
|
+
handleLocaleFilter(locale?: StencilApi.LocaleId): void;
|
|
29
|
+
handleLoadSite(): Promise<void>;
|
|
30
|
+
handlePageUpdate(page: StencilApi.PageId, value: StencilApi.LocalisedContent): void;
|
|
31
|
+
handlePageUpdateRemove(pages: StencilApi.PageId[]): void;
|
|
32
|
+
}
|
|
33
|
+
declare const Reducer: (state: Ide.Session, action: Action) => Ide.Session;
|
|
34
|
+
export type { Action };
|
|
35
|
+
export { Reducer, ReducerDispatch, ActionType };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { default as StencilComposerApi } from './ide';
|
|
2
|
+
import { StencilApi } from '../client';
|
|
3
|
+
declare class SiteCache {
|
|
4
|
+
private _articleSearchData;
|
|
5
|
+
private _linkSearchData;
|
|
6
|
+
private _workflowSearchData;
|
|
7
|
+
private _searchData;
|
|
8
|
+
private _site;
|
|
9
|
+
private _articles;
|
|
10
|
+
private _workflows;
|
|
11
|
+
private _links;
|
|
12
|
+
private _pagesByArticle;
|
|
13
|
+
private _linksByArticle;
|
|
14
|
+
private _workflowsByArticle;
|
|
15
|
+
constructor(site: StencilApi.Site);
|
|
16
|
+
getSearchData(): StencilComposerApi.SearchData;
|
|
17
|
+
getArticles(): Record<string, StencilComposerApi.ArticleView>;
|
|
18
|
+
getWorkflows(): Record<string, StencilComposerApi.WorkflowView>;
|
|
19
|
+
getLinks(): Record<string, StencilComposerApi.LinkView>;
|
|
20
|
+
private visitPage;
|
|
21
|
+
private visitLink;
|
|
22
|
+
private visitWorkflow;
|
|
23
|
+
private visitArticle;
|
|
24
|
+
private empty;
|
|
25
|
+
}
|
|
26
|
+
declare class SessionData implements StencilComposerApi.Session {
|
|
27
|
+
private _site;
|
|
28
|
+
private _pages;
|
|
29
|
+
private _cache;
|
|
30
|
+
private _filter;
|
|
31
|
+
constructor(props: {
|
|
32
|
+
site?: StencilApi.Site;
|
|
33
|
+
pages?: Record<StencilApi.PageId, StencilComposerApi.PageUpdate>;
|
|
34
|
+
cache?: SiteCache;
|
|
35
|
+
filter?: StencilComposerApi.SessionFilter;
|
|
36
|
+
});
|
|
37
|
+
get search(): StencilComposerApi.SearchData;
|
|
38
|
+
get filter(): StencilComposerApi.SessionFilter;
|
|
39
|
+
get articles(): StencilComposerApi.ArticleView[];
|
|
40
|
+
get workflows(): StencilComposerApi.WorkflowView[];
|
|
41
|
+
get links(): StencilComposerApi.LinkView[];
|
|
42
|
+
get site(): StencilApi.Site;
|
|
43
|
+
get pages(): Record<string, StencilComposerApi.PageUpdate>;
|
|
44
|
+
getArticleName(articleId: StencilApi.ArticleId): {
|
|
45
|
+
missing: boolean;
|
|
46
|
+
name: string;
|
|
47
|
+
};
|
|
48
|
+
getArticleNameInternal(articleId: StencilApi.ArticleId, visited: StencilApi.ArticleId[]): {
|
|
49
|
+
missing: boolean;
|
|
50
|
+
name: string;
|
|
51
|
+
};
|
|
52
|
+
getWorkflowName(workflowId: StencilApi.WorkflowId): {
|
|
53
|
+
missing: boolean;
|
|
54
|
+
name: string;
|
|
55
|
+
};
|
|
56
|
+
getLinkName(workflowId: StencilApi.WorkflowId): {
|
|
57
|
+
missing: boolean;
|
|
58
|
+
name: string;
|
|
59
|
+
};
|
|
60
|
+
getArticleView(articleId: StencilApi.ArticleId): StencilComposerApi.ArticleView;
|
|
61
|
+
getWorkflowView(workflowId: StencilApi.WorkflowId): StencilComposerApi.WorkflowView;
|
|
62
|
+
getLinkView(linkId: StencilApi.LinkId): StencilComposerApi.LinkView;
|
|
63
|
+
getArticlesForLocale(locale: StencilApi.LocaleId): StencilApi.Article[];
|
|
64
|
+
getArticlesForLocales(locales: StencilApi.LocaleId[]): StencilApi.Article[];
|
|
65
|
+
withSite(site: StencilApi.Site): SessionData;
|
|
66
|
+
withoutPages(pageIds: StencilApi.PageId[]): StencilComposerApi.Session;
|
|
67
|
+
withPage(page: StencilApi.PageId): StencilComposerApi.Session;
|
|
68
|
+
withPageValue(page: StencilApi.PageId, value: StencilApi.LocalisedContent): StencilComposerApi.Session;
|
|
69
|
+
withLocaleFilter(locale?: StencilApi.LocaleId): SessionData;
|
|
70
|
+
}
|
|
71
|
+
export { SessionData, SiteCache };
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { StencilApi } from '../client';
|
|
3
|
+
declare namespace StencilComposerApi {
|
|
4
|
+
interface SearchData {
|
|
5
|
+
values: readonly SearchDataEntry[];
|
|
6
|
+
filterLinks(keyword: string): readonly SearchResult[];
|
|
7
|
+
filterWorkflows(keyword: string): readonly SearchResult[];
|
|
8
|
+
filterArticles(keyword: string): readonly SearchResult[];
|
|
9
|
+
}
|
|
10
|
+
interface SearchDataEntry {
|
|
11
|
+
id: string;
|
|
12
|
+
type: "ARTICLE" | "LINK" | "WORKFLOW";
|
|
13
|
+
values: readonly SearchableValue[];
|
|
14
|
+
}
|
|
15
|
+
interface SearchResult {
|
|
16
|
+
source: SearchDataEntry;
|
|
17
|
+
matches: SearchableValue[];
|
|
18
|
+
}
|
|
19
|
+
interface SearchableValue {
|
|
20
|
+
id: string;
|
|
21
|
+
value: string;
|
|
22
|
+
type: "ARTICLE_NAME" | "ARTICLE_PAGE" | "WORKFLOW_NAME" | "WORKFLOW_LABEL" | "LINK_VALUE" | "LINK_LABEL";
|
|
23
|
+
}
|
|
24
|
+
interface PageUpdate {
|
|
25
|
+
saved: boolean;
|
|
26
|
+
origin: StencilApi.Page;
|
|
27
|
+
value: StencilApi.LocalisedContent;
|
|
28
|
+
withValue(value: StencilApi.LocalisedContent): PageUpdate;
|
|
29
|
+
}
|
|
30
|
+
interface SessionFilter {
|
|
31
|
+
locale?: StencilApi.LocaleId;
|
|
32
|
+
withLocale(locale?: StencilApi.LocaleId): SessionFilter;
|
|
33
|
+
}
|
|
34
|
+
interface Session {
|
|
35
|
+
site: StencilApi.Site;
|
|
36
|
+
pages: Record<StencilApi.PageId, PageUpdate>;
|
|
37
|
+
articles: ArticleView[];
|
|
38
|
+
workflows: WorkflowView[];
|
|
39
|
+
links: LinkView[];
|
|
40
|
+
search: SearchData;
|
|
41
|
+
filter: SessionFilter;
|
|
42
|
+
getArticleName(articleId: StencilApi.ArticleId): {
|
|
43
|
+
missing: boolean;
|
|
44
|
+
name: string;
|
|
45
|
+
};
|
|
46
|
+
getArticleView(articleId: StencilApi.ArticleId): ArticleView;
|
|
47
|
+
getLinkView(linkId: StencilApi.LinkId): LinkView;
|
|
48
|
+
getLinkName(linkId: StencilApi.LinkId): {
|
|
49
|
+
missing: boolean;
|
|
50
|
+
name: string;
|
|
51
|
+
};
|
|
52
|
+
getWorkflowView(workflowId: StencilApi.WorkflowId): WorkflowView;
|
|
53
|
+
getWorkflowName(workflowId: StencilApi.WorkflowId): {
|
|
54
|
+
missing: boolean;
|
|
55
|
+
name: string;
|
|
56
|
+
};
|
|
57
|
+
getArticlesForLocale(locale: StencilApi.LocaleId): StencilApi.Article[];
|
|
58
|
+
getArticlesForLocales(locales: StencilApi.LocaleId[]): StencilApi.Article[];
|
|
59
|
+
withPage(page: StencilApi.PageId): Session;
|
|
60
|
+
withPageValue(page: StencilApi.PageId, value: StencilApi.LocalisedContent): Session;
|
|
61
|
+
withoutPages(pages: StencilApi.PageId[]): Session;
|
|
62
|
+
withLocaleFilter(locale?: StencilApi.LocaleId): Session;
|
|
63
|
+
withSite(site: StencilApi.Site): Session;
|
|
64
|
+
}
|
|
65
|
+
interface Actions {
|
|
66
|
+
handleLoad(): Promise<void>;
|
|
67
|
+
handleLoadSite(): Promise<void>;
|
|
68
|
+
handlePageUpdate(page: StencilApi.PageId, value: StencilApi.LocalisedContent): void;
|
|
69
|
+
handlePageUpdateRemove(pages: StencilApi.PageId[]): void;
|
|
70
|
+
handleLocaleFilter(locale?: StencilApi.LocaleId): void;
|
|
71
|
+
}
|
|
72
|
+
interface ContextType {
|
|
73
|
+
session: Session;
|
|
74
|
+
actions: Actions;
|
|
75
|
+
service: StencilApi.Service;
|
|
76
|
+
}
|
|
77
|
+
interface ArticleView {
|
|
78
|
+
article: StencilApi.Article;
|
|
79
|
+
pages: PageView[];
|
|
80
|
+
canCreate: StencilApi.SiteLocale[];
|
|
81
|
+
links: LinkView[];
|
|
82
|
+
workflows: WorkflowView[];
|
|
83
|
+
children: ArticleView[];
|
|
84
|
+
displayOrder: number;
|
|
85
|
+
getPageById(pageId: StencilApi.PageId): PageView;
|
|
86
|
+
getPageByLocaleId(localeId: StencilApi.LocaleId): PageView;
|
|
87
|
+
findPageByLocaleId(localeId: StencilApi.LocaleId): PageView | undefined;
|
|
88
|
+
}
|
|
89
|
+
interface PageView {
|
|
90
|
+
title: string;
|
|
91
|
+
page: StencilApi.Page;
|
|
92
|
+
locale: StencilApi.SiteLocale;
|
|
93
|
+
}
|
|
94
|
+
interface LinkView {
|
|
95
|
+
link: StencilApi.Link;
|
|
96
|
+
labels: LabelView[];
|
|
97
|
+
}
|
|
98
|
+
interface WorkflowView {
|
|
99
|
+
workflow: StencilApi.Workflow;
|
|
100
|
+
labels: LabelView[];
|
|
101
|
+
}
|
|
102
|
+
interface LabelView {
|
|
103
|
+
label: StencilApi.LocaleLabel;
|
|
104
|
+
locale: StencilApi.SiteLocale;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
declare namespace StencilComposerApi {
|
|
108
|
+
const ComposerContext: React.Context<ContextType>;
|
|
109
|
+
const useUnsaved: (article: StencilApi.Article) => boolean;
|
|
110
|
+
const useComposer: () => {
|
|
111
|
+
session: Session;
|
|
112
|
+
service: StencilApi.Service;
|
|
113
|
+
actions: Actions;
|
|
114
|
+
site: StencilApi.Site;
|
|
115
|
+
isArticleSaved: (article: StencilApi.Article) => boolean;
|
|
116
|
+
};
|
|
117
|
+
const useSite: () => StencilApi.Site;
|
|
118
|
+
const useSession: () => Session;
|
|
119
|
+
const Provider: React.FC<{
|
|
120
|
+
children: React.ReactNode;
|
|
121
|
+
service: StencilApi.Service;
|
|
122
|
+
}>;
|
|
123
|
+
}
|
|
124
|
+
export default StencilComposerApi;
|