@cplace/mcp-server 1.3.14
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 +445 -0
- package/dist/api.d.ts +178 -0
- package/dist/api.d.ts.map +1 -0
- package/dist/api.js +139 -0
- package/dist/api.js.map +1 -0
- package/dist/conditional-registration.d.ts +4 -0
- package/dist/conditional-registration.d.ts.map +1 -0
- package/dist/conditional-registration.js +70 -0
- package/dist/conditional-registration.js.map +1 -0
- package/dist/csvUtils.d.ts +7 -0
- package/dist/csvUtils.d.ts.map +1 -0
- package/dist/csvUtils.js +125 -0
- package/dist/csvUtils.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +350 -0
- package/dist/index.js.map +1 -0
- package/dist/logger.d.ts +4 -0
- package/dist/logger.d.ts.map +1 -0
- package/dist/logger.js +17 -0
- package/dist/logger.js.map +1 -0
- package/dist/preference-file.d.ts +16 -0
- package/dist/preference-file.d.ts.map +1 -0
- package/dist/preference-file.js +133 -0
- package/dist/preference-file.js.map +1 -0
- package/dist/profiles.d.ts +8 -0
- package/dist/profiles.d.ts.map +1 -0
- package/dist/profiles.js +102 -0
- package/dist/profiles.js.map +1 -0
- package/dist/searchConversion.d.ts +2 -0
- package/dist/searchConversion.d.ts.map +1 -0
- package/dist/searchConversion.js +397 -0
- package/dist/searchConversion.js.map +1 -0
- package/dist/searchSchema.d.ts +3152 -0
- package/dist/searchSchema.d.ts.map +1 -0
- package/dist/searchSchema.js +192 -0
- package/dist/searchSchema.js.map +1 -0
- package/dist/str-replace-utils.d.ts +10 -0
- package/dist/str-replace-utils.d.ts.map +1 -0
- package/dist/str-replace-utils.js +42 -0
- package/dist/str-replace-utils.js.map +1 -0
- package/dist/token-hashing.d.ts +3 -0
- package/dist/token-hashing.d.ts.map +1 -0
- package/dist/token-hashing.js +18 -0
- package/dist/token-hashing.js.map +1 -0
- package/dist/tool-metadata.d.ts +2 -0
- package/dist/tool-metadata.d.ts.map +1 -0
- package/dist/tool-metadata.js +45 -0
- package/dist/tool-metadata.js.map +1 -0
- package/dist/tools/board-widget.d.ts +432 -0
- package/dist/tools/board-widget.d.ts.map +1 -0
- package/dist/tools/board-widget.js +810 -0
- package/dist/tools/board-widget.js.map +1 -0
- package/dist/tools/change-listeners.d.ts +48 -0
- package/dist/tools/change-listeners.d.ts.map +1 -0
- package/dist/tools/change-listeners.js +171 -0
- package/dist/tools/change-listeners.js.map +1 -0
- package/dist/tools/common-schemas.d.ts +3 -0
- package/dist/tools/common-schemas.d.ts.map +1 -0
- package/dist/tools/common-schemas.js +17 -0
- package/dist/tools/common-schemas.js.map +1 -0
- package/dist/tools/csv-export.d.ts +3169 -0
- package/dist/tools/csv-export.d.ts.map +1 -0
- package/dist/tools/csv-export.js +61 -0
- package/dist/tools/csv-export.js.map +1 -0
- package/dist/tools/get-operations.d.ts +16 -0
- package/dist/tools/get-operations.d.ts.map +1 -0
- package/dist/tools/get-operations.js +63 -0
- package/dist/tools/get-operations.js.map +1 -0
- package/dist/tools/jobs.d.ts +32 -0
- package/dist/tools/jobs.d.ts.map +1 -0
- package/dist/tools/jobs.js +193 -0
- package/dist/tools/jobs.js.map +1 -0
- package/dist/tools/layout-richstring-widgets.d.ts +155 -0
- package/dist/tools/layout-richstring-widgets.d.ts.map +1 -0
- package/dist/tools/layout-richstring-widgets.js +270 -0
- package/dist/tools/layout-richstring-widgets.js.map +1 -0
- package/dist/tools/layout.d.ts +202 -0
- package/dist/tools/layout.d.ts.map +1 -0
- package/dist/tools/layout.js +553 -0
- package/dist/tools/layout.js.map +1 -0
- package/dist/tools/pages.d.ts +71 -0
- package/dist/tools/pages.d.ts.map +1 -0
- package/dist/tools/pages.js +364 -0
- package/dist/tools/pages.js.map +1 -0
- package/dist/tools/ppt-export-schemas.d.ts +1937 -0
- package/dist/tools/ppt-export-schemas.d.ts.map +1 -0
- package/dist/tools/ppt-export-schemas.js +141 -0
- package/dist/tools/ppt-export-schemas.js.map +1 -0
- package/dist/tools/ppt-export.d.ts +1497 -0
- package/dist/tools/ppt-export.d.ts.map +1 -0
- package/dist/tools/ppt-export.js +198 -0
- package/dist/tools/ppt-export.js.map +1 -0
- package/dist/tools/profile-management.d.ts +20 -0
- package/dist/tools/profile-management.d.ts.map +1 -0
- package/dist/tools/profile-management.js +250 -0
- package/dist/tools/profile-management.js.map +1 -0
- package/dist/tools/references.d.ts +40 -0
- package/dist/tools/references.d.ts.map +1 -0
- package/dist/tools/references.js +62 -0
- package/dist/tools/references.js.map +1 -0
- package/dist/tools/richstring-widgets.d.ts +99 -0
- package/dist/tools/richstring-widgets.d.ts.map +1 -0
- package/dist/tools/richstring-widgets.js +315 -0
- package/dist/tools/richstring-widgets.js.map +1 -0
- package/dist/tools/schedule.d.ts +18 -0
- package/dist/tools/schedule.d.ts.map +1 -0
- package/dist/tools/schedule.js +46 -0
- package/dist/tools/schedule.js.map +1 -0
- package/dist/tools/script-logs.d.ts +29 -0
- package/dist/tools/script-logs.d.ts.map +1 -0
- package/dist/tools/script-logs.js +144 -0
- package/dist/tools/script-logs.js.map +1 -0
- package/dist/tools/script.d.ts +25 -0
- package/dist/tools/script.d.ts.map +1 -0
- package/dist/tools/script.js +121 -0
- package/dist/tools/script.js.map +1 -0
- package/dist/tools/search.d.ts +3196 -0
- package/dist/tools/search.d.ts.map +1 -0
- package/dist/tools/search.js +328 -0
- package/dist/tools/search.js.map +1 -0
- package/dist/tools/system.d.ts +4 -0
- package/dist/tools/system.d.ts.map +1 -0
- package/dist/tools/system.js +88 -0
- package/dist/tools/system.js.map +1 -0
- package/dist/tools/type-layouts.d.ts +30 -0
- package/dist/tools/type-layouts.d.ts.map +1 -0
- package/dist/tools/type-layouts.js +73 -0
- package/dist/tools/type-layouts.js.map +1 -0
- package/dist/tools/type-management.d.ts +140 -0
- package/dist/tools/type-management.d.ts.map +1 -0
- package/dist/tools/type-management.js +308 -0
- package/dist/tools/type-management.js.map +1 -0
- package/dist/tools/url-resolution.d.ts +16 -0
- package/dist/tools/url-resolution.d.ts.map +1 -0
- package/dist/tools/url-resolution.js +35 -0
- package/dist/tools/url-resolution.js.map +1 -0
- package/dist/tools/users.d.ts +23 -0
- package/dist/tools/users.d.ts.map +1 -0
- package/dist/tools/users.js +51 -0
- package/dist/tools/users.js.map +1 -0
- package/dist/tools/validators.d.ts +32 -0
- package/dist/tools/validators.d.ts.map +1 -0
- package/dist/tools/validators.js +96 -0
- package/dist/tools/validators.js.map +1 -0
- package/dist/tools/version-check.d.ts +4 -0
- package/dist/tools/version-check.d.ts.map +1 -0
- package/dist/tools/version-check.js +96 -0
- package/dist/tools/version-check.js.map +1 -0
- package/dist/tools/version-history.d.ts +52 -0
- package/dist/tools/version-history.d.ts.map +1 -0
- package/dist/tools/version-history.js +156 -0
- package/dist/tools/version-history.js.map +1 -0
- package/dist/tools/widgets.d.ts +28 -0
- package/dist/tools/widgets.d.ts.map +1 -0
- package/dist/tools/widgets.js +259 -0
- package/dist/tools/widgets.js.map +1 -0
- package/dist/tools/workflow-scripts.d.ts +59 -0
- package/dist/tools/workflow-scripts.d.ts.map +1 -0
- package/dist/tools/workflow-scripts.js +274 -0
- package/dist/tools/workflow-scripts.js.map +1 -0
- package/dist/tools/workflow.d.ts +70 -0
- package/dist/tools/workflow.d.ts.map +1 -0
- package/dist/tools/workflow.js +259 -0
- package/dist/tools/workflow.js.map +1 -0
- package/dist/tools/workspace-admin.d.ts +50 -0
- package/dist/tools/workspace-admin.d.ts.map +1 -0
- package/dist/tools/workspace-admin.js +180 -0
- package/dist/tools/workspace-admin.js.map +1 -0
- package/dist/tools/workspace-core.d.ts +48 -0
- package/dist/tools/workspace-core.d.ts.map +1 -0
- package/dist/tools/workspace-core.js +184 -0
- package/dist/tools/workspace-core.js.map +1 -0
- package/dist/types.d.ts +74 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +4 -0
- package/dist/types.js.map +1 -0
- package/dist/url-parsing.d.ts +6 -0
- package/dist/url-parsing.d.ts.map +1 -0
- package/dist/url-parsing.js +25 -0
- package/dist/url-parsing.js.map +1 -0
- package/dist/utils/dateValidation.d.ts +5 -0
- package/dist/utils/dateValidation.d.ts.map +1 -0
- package/dist/utils/dateValidation.js +57 -0
- package/dist/utils/dateValidation.js.map +1 -0
- package/dist/utils.d.ts +32 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +375 -0
- package/dist/utils.js.map +1 -0
- package/dist/widget-specifications/CLAUDE.md +288 -0
- package/dist/widget-specifications/DOCUMENTATION-STATUS.md +427 -0
- package/dist/widget-specifications/GENERATING-FROM-RESEARCH.md +61 -0
- package/dist/widget-specifications/WIDGET-TAGGING-SCHEME.md +218 -0
- package/dist/widget-specifications/_research_from_ga_products/.claude-settings.local.json +48 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-api-common-config-metadata-SyncMetadataTable/research.md +168 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-breadcrumbs-breadcrumbsWidget/research.md +125 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-cboard-main-board/research.md +373 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-citizenAi-askYourPageWidget/research.md +319 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-cplaceReportGeneration-generateReportWidget/research.md +295 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ctts-main-employeeReportChart/research.md +230 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ctts-main-employeeReportGrid/research.md +215 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ctts-main-projectmanagerReportChart/research.md +192 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ctts-main-projectmanagerReportGrid/research.md +178 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ctts-main-widget/research.md +332 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-demoWidgets-demoRichString/research.md +194 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-documentation-navigationWidget/research.md +426 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-dragAndDropImageView-imageWithTextAndListWidget/research.md +326 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-dragAndDropImageView-imageWithTextWidget/research.md +580 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-dragAndDropImageView-widget/research.md +281 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-draggablePageList-widget/research.md +210 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-dynamicCodeBlockWidget-dynamicCodeBlockWidget/research.md +250 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ecf-attribute-conversion-widget-enumMappingTable/research.md +260 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ecf-configuration-widget-attributeMappingTable/research.md +148 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ecf-connector-extension-widget-cleanupConfigTable/research.md +138 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ecf-connector-extension-widget-connectorSyncConfigsTable/research.md +150 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ecf-connector-extension-widget-serverConnectionTable/research.md +181 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-extendedTreeTableWidget/research.md +253 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-horizontalDivider/research.md +261 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-startWizardWidget/research.md +211 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-stepEditorForWizardWidget/research.md +183 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-stepEditorWidget/research.md +298 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-stepManager/research.md +419 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-stepPreview/research.md +256 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-wizardActivation/research.md +174 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-wizardAnalysis/research.md +283 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-wizardLocalizations/research.md +193 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-genericInterface-api-widgets-triggerInterfaceButton/research.md +180 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-landingPageFromPage-quickOverview/research.md +186 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-landingPageFromPage-sessionUserNameWidget/research.md +158 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-landingPageFromPage-simpleListWithAttachment/research.md +135 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-layoutTabsWidget-widget/research.md +238 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-lowCodeWidgets-lowCodeButton/research.md +272 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-lowCodeWidgets-lowCodeText/research.md +176 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-lowcode-ai-chatWidget/research.md +194 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-meeting-pageHeader/research.md +208 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-navigationTileWidget-widget/research.md +259 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-officeReports-headlineForReports/research.md +174 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-officeReports-scriptPlaceholders/research.md +233 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-officeReports-templatePlaceholders/research.md +150 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-orgaTree-edit/research.md +353 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-outlookMessageIntegration-outlookMessages/research.md +233 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-pageViewHeadline-widget/research.md +217 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-pdfPreview-widget/research.md +235 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-platform-attributesGroup/research.md +525 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-platform-batchJobQuickGlance/research.md +372 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-platform-connectedAttributesGroup/research.md +408 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-platform-dynamicIframe/research.md +198 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-platform-tableWidget/research.md +427 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-pptexport-pgPreviewWidget/research.md +151 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-projectTree-editProjects/research.md +163 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-projektplanung-scheduleLockState/research.md +174 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-projektplanung-subscriptions/research.md +316 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-qrCodeWidget/research.md +130 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-resourceManagement-resourcePlannerDefinition/research.md +331 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-rest-config-widget-productionModeHintWidget/research.md +332 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-simpleCalendar-calendar/research.md +284 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-simpleForm-widget/research.md +193 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-tableDetailViewWidget-widget/research.md +311 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-treeTableWidget/research.md +420 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-tuplesWidget-widget/research.md +295 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-videoWidget/research.md +154 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-visualizations-scriptingHighcharts/research.md +249 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-visualizations-scriptingLineChart/research.md +279 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-visualizations-tupleLineChart/research.md +221 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-attributeHistory/research.md +421 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-attributes/research.md +377 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-comments/research.md +254 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-connectedBarChart/research.md +275 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-connectedMatrix/research.md +396 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-connectedPieChart/research.md +150 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-connectedSingleAttribute/research.md +430 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-connectedTableFilter/research.md +468 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-customRichStringAttribute/research.md +120 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-embeddedSearchAsList/research.md +485 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-embeddedSearchAsTable/research.md +428 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-files/research.md +240 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-iframe/research.md +358 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-incomingLinks/research.md +242 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-incomingReferences/research.md +488 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-makeover-attributes/research.md +219 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-modificationInfo/research.md +141 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-myElements/research.md +116 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-richString/research.md +437 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-singleAttribute/research.md +1094 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-tags/research.md +332 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-wiki/research.md +258 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-projektplanung-gantt/research.md +268 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-projektplanung-ganttTaskDemo/research.md +271 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-projektplanung-multiGantt/research.md +343 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-projektplanung-scheduleTreeTable/research.md +261 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-projektplanung-singleGantt/research.md +184 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-projektplanung-singleGanttLink/research.md +188 -0
- package/dist/widget-specifications/_research_from_ga_products/de-2lforge-curves-widget/research.md +341 -0
- package/dist/widget-specifications/_research_from_ga_products/de-2lforge-toolbar-datePickerWidget/research.md +232 -0
- package/dist/widget-specifications/_research_from_ga_products/de-2lforge-toolbar-dropDownWidget/research.md +417 -0
- package/dist/widget-specifications/_research_from_ga_products/de-2lforge-toolbar-miscWidget/research.md +172 -0
- package/dist/widget-specifications/_research_from_ga_products/de-visualistik-visualRoadmap-widget/research.md +277 -0
- package/dist/widget-specifications/_research_from_ga_products/msg-scripts-imagegallery-basic/research.md +112 -0
- package/dist/widget-specifications/_research_from_ga_products/phase-0-discovery-approach.md +248 -0
- package/dist/widget-specifications/_research_from_ga_products/widget-definition-mapping.md +169 -0
- package/dist/widget-specifications/_research_from_ga_products/widget-documentation-project.md +259 -0
- package/dist/widget-specifications/_research_from_ga_products/widget-research-generation/generate.sh +100 -0
- package/dist/widget-specifications/_research_from_ga_products/widget-research-generation/parse-mapping.sh +35 -0
- package/dist/widget-specifications/_research_from_ga_products/widget-research-generation/template.md +38 -0
- package/dist/widget-specifications/_research_from_ga_products/widget-research-generation/widgets.txt +108 -0
- package/dist/widget-specifications/cf.cplace.api.common.config.metadata.SyncMetadataTable/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.api.common.config.metadata.SyncMetadataTable/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.api.common.config.metadata.SyncMetadataTable/_overview.md +40 -0
- package/dist/widget-specifications/cf.cplace.api.common.config.metadata.SyncMetadataTable/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.breadcrumbs.breadcrumbsWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.breadcrumbs.breadcrumbsWidget/_meta.json +8 -0
- package/dist/widget-specifications/cf.cplace.breadcrumbs.breadcrumbsWidget/_overview.md +74 -0
- package/dist/widget-specifications/cf.cplace.breadcrumbs.breadcrumbsWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.cboard.main.board/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.cboard.main.board/_implementation.md +37 -0
- package/dist/widget-specifications/cf.cplace.cboard.main.board/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.cboard.main.board/_overview.md +117 -0
- package/dist/widget-specifications/cf.cplace.cboard.main.board/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.citizenAi.askYourPageWidget/_meta.json +3 -0
- package/dist/widget-specifications/cf.cplace.citizenAi.askYourPageWidget/_overview.md +123 -0
- package/dist/widget-specifications/cf.cplace.citizenAi.askYourPageWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.cplaceReportGeneration.generateReportWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.cplaceReportGeneration.generateReportWidget/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.cplaceReportGeneration.generateReportWidget/_overview.md +45 -0
- package/dist/widget-specifications/cf.cplace.cplaceReportGeneration.generateReportWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportChart/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportChart/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportChart/_overview.md +79 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportChart/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportGrid/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportGrid/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportGrid/_overview.md +45 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportGrid/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportChart/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportChart/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportChart/_overview.md +68 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportChart/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportGrid/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportGrid/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportGrid/_overview.md +45 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportGrid/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.widget/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.widget/_overview.md +157 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.widget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.demoWidgets.demoRichString/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.demoWidgets.demoRichString/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.demoWidgets.demoRichString/_overview.md +200 -0
- package/dist/widget-specifications/cf.cplace.demoWidgets.demoRichString/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.documentation.navigationWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.documentation.navigationWidget/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.documentation.navigationWidget/_overview.md +27 -0
- package/dist/widget-specifications/cf.cplace.documentation.navigationWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextAndListWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextAndListWidget/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextAndListWidget/_overview.md +79 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextAndListWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextWidget/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextWidget/_overview.md +176 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.widget/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.widget/_overview.md +85 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.widget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.draggablePageList.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.draggablePageList.widget/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.draggablePageList.widget/_overview.md +93 -0
- package/dist/widget-specifications/cf.cplace.draggablePageList.widget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.dynamicCodeBlockWidget.dynamicCodeBlockWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.dynamicCodeBlockWidget.dynamicCodeBlockWidget/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.dynamicCodeBlockWidget.dynamicCodeBlockWidget/_overview.md +75 -0
- package/dist/widget-specifications/cf.cplace.dynamicCodeBlockWidget.dynamicCodeBlockWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.ecf.attribute.conversion.widget.enumMappingTable/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.ecf.attribute.conversion.widget.enumMappingTable/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.ecf.attribute.conversion.widget.enumMappingTable/_overview.md +167 -0
- package/dist/widget-specifications/cf.cplace.ecf.attribute.conversion.widget.enumMappingTable/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.ecf.configuration.widget.attributeMappingTable/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.ecf.configuration.widget.attributeMappingTable/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.ecf.configuration.widget.attributeMappingTable/_overview.md +64 -0
- package/dist/widget-specifications/cf.cplace.ecf.configuration.widget.attributeMappingTable/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.cleanupConfigTable/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.cleanupConfigTable/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.cleanupConfigTable/_overview.md +61 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.cleanupConfigTable/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.connectorSyncConfigsTable/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.connectorSyncConfigsTable/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.connectorSyncConfigsTable/_overview.md +94 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.connectorSyncConfigsTable/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.serverConnectionTable/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.serverConnectionTable/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.serverConnectionTable/_overview.md +28 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.serverConnectionTable/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.extendedTreeTableWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.extendedTreeTableWidget/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.extendedTreeTableWidget/_overview.md +116 -0
- package/dist/widget-specifications/cf.cplace.extendedTreeTableWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.horizontalDivider/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.horizontalDivider/_meta.json +8 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.horizontalDivider/_overview.md +44 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.horizontalDivider/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.startWizardWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.startWizardWidget/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.startWizardWidget/_overview.md +40 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.startWizardWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorForWizardWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorForWizardWidget/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorForWizardWidget/_overview.md +47 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorForWizardWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorWidget/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorWidget/_overview.md +23 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepManager/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepManager/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepManager/_overview.md +32 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepManager/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepPreview/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepPreview/_meta.json +8 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepPreview/_overview.md +29 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepPreview/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardActivation/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardActivation/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardActivation/_overview.md +69 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardActivation/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardAnalysis/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardAnalysis/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardAnalysis/_overview.md +91 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardAnalysis/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardLocalizations/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardLocalizations/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardLocalizations/_overview.md +48 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardLocalizations/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.genericInterface.api.widgets.triggerInterfaceButton/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.genericInterface.api.widgets.triggerInterfaceButton/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.genericInterface.api.widgets.triggerInterfaceButton/_overview.md +58 -0
- package/dist/widget-specifications/cf.cplace.genericInterface.api.widgets.triggerInterfaceButton/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.quickOverview/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.quickOverview/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.quickOverview/_overview.md +66 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.quickOverview/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.sessionUserNameWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.sessionUserNameWidget/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.sessionUserNameWidget/_overview.md +52 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.sessionUserNameWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.simpleListWithAttachment/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.simpleListWithAttachment/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.simpleListWithAttachment/_overview.md +53 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.simpleListWithAttachment/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/_implementation.md +6 -0
- package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/_meta.json +7 -0
- package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/_overview.md +115 -0
- package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/cf.cplace.layoutTabsWidget.layoutSelection.md +2 -0
- package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/cf.cplace.layoutTabsWidget.layouts.md +3 -0
- package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/cf.cplace.layoutTabsWidget.sourceForLayouts.md +1 -0
- package/dist/widget-specifications/cf.cplace.lowCodeWidgets.lowCodeButton/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.lowCodeWidgets.lowCodeButton/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.lowCodeWidgets.lowCodeButton/_overview.md +149 -0
- package/dist/widget-specifications/cf.cplace.lowCodeWidgets.lowCodeButton/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.lowCodeWidgets.lowCodeText/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.lowCodeWidgets.lowCodeText/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.lowCodeWidgets.lowCodeText/_overview.md +94 -0
- package/dist/widget-specifications/cf.cplace.lowCodeWidgets.lowCodeText/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.lowcode.ai.chatWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.lowcode.ai.chatWidget/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.lowcode.ai.chatWidget/_overview.md +63 -0
- package/dist/widget-specifications/cf.cplace.lowcode.ai.chatWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.meeting.pageHeader/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.meeting.pageHeader/_meta.json +12 -0
- package/dist/widget-specifications/cf.cplace.meeting.pageHeader/_overview.md +31 -0
- package/dist/widget-specifications/cf.cplace.meeting.pageHeader/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.navigationTileWidget.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.navigationTileWidget.widget/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.navigationTileWidget.widget/_overview.md +71 -0
- package/dist/widget-specifications/cf.cplace.navigationTileWidget.widget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.officeReports.headlineForReports/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.officeReports.headlineForReports/_meta.json +8 -0
- package/dist/widget-specifications/cf.cplace.officeReports.headlineForReports/_overview.md +57 -0
- package/dist/widget-specifications/cf.cplace.officeReports.headlineForReports/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.officeReports.scriptPlaceholders/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.officeReports.scriptPlaceholders/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.officeReports.scriptPlaceholders/_overview.md +22 -0
- package/dist/widget-specifications/cf.cplace.officeReports.scriptPlaceholders/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.officeReports.templatePlaceholders/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.officeReports.templatePlaceholders/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.officeReports.templatePlaceholders/_overview.md +24 -0
- package/dist/widget-specifications/cf.cplace.officeReports.templatePlaceholders/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.orgaTree.edit/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.orgaTree.edit/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.orgaTree.edit/_overview.md +62 -0
- package/dist/widget-specifications/cf.cplace.orgaTree.edit/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.outlookMessageIntegration.outlookMessages/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.outlookMessageIntegration.outlookMessages/_meta.json +12 -0
- package/dist/widget-specifications/cf.cplace.outlookMessageIntegration.outlookMessages/_overview.md +50 -0
- package/dist/widget-specifications/cf.cplace.outlookMessageIntegration.outlookMessages/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.pageViewHeadline.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.pageViewHeadline.widget/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.pageViewHeadline.widget/_overview.md +62 -0
- package/dist/widget-specifications/cf.cplace.pageViewHeadline.widget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.pdfPreview.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.pdfPreview.widget/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.pdfPreview.widget/_overview.md +79 -0
- package/dist/widget-specifications/cf.cplace.pdfPreview.widget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.platform.attributesGroup/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.platform.attributesGroup/_implementation.md +13 -0
- package/dist/widget-specifications/cf.cplace.platform.attributesGroup/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.platform.attributesGroup/_overview.md +108 -0
- package/dist/widget-specifications/cf.cplace.platform.attributesGroup/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.platform.attributesGroup/absoluteSelection.md +9 -0
- package/dist/widget-specifications/cf.cplace.platform.attributesGroup/layout.md +3 -0
- package/dist/widget-specifications/cf.cplace.platform.attributesGroup/pageSelection.md +12 -0
- package/dist/widget-specifications/cf.cplace.platform.attributesGroup/relativeSelection.md +14 -0
- package/dist/widget-specifications/cf.cplace.platform.batchJobQuickGlance/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.platform.batchJobQuickGlance/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.platform.batchJobQuickGlance/_overview.md +52 -0
- package/dist/widget-specifications/cf.cplace.platform.batchJobQuickGlance/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.platform.connectedAttributesGroup/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.platform.connectedAttributesGroup/_implementation.md +17 -0
- package/dist/widget-specifications/cf.cplace.platform.connectedAttributesGroup/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.platform.connectedAttributesGroup/_overview.md +103 -0
- package/dist/widget-specifications/cf.cplace.platform.connectedAttributesGroup/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.platform.connectedAttributesGroup/cf.cplace.platform.attributesGroup.layout.md +3 -0
- package/dist/widget-specifications/cf.cplace.platform.connectedAttributesGroup/singleSelectionWidgetId.md +15 -0
- package/dist/widget-specifications/cf.cplace.platform.dynamicIframe/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.platform.dynamicIframe/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.platform.dynamicIframe/_overview.md +49 -0
- package/dist/widget-specifications/cf.cplace.platform.dynamicIframe/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.platform.tableWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.platform.tableWidget/_implementation.md +11 -0
- package/dist/widget-specifications/cf.cplace.platform.tableWidget/_meta.json +12 -0
- package/dist/widget-specifications/cf.cplace.platform.tableWidget/_overview.md +188 -0
- package/dist/widget-specifications/cf.cplace.platform.tableWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.platform.tableWidget/columns.md +16 -0
- package/dist/widget-specifications/cf.cplace.platform.tableWidget/displayOptions.md +12 -0
- package/dist/widget-specifications/cf.cplace.platform.tableWidget/multiSortColumns.md +16 -0
- package/dist/widget-specifications/cf.cplace.platform.tableWidget/search.md +21 -0
- package/dist/widget-specifications/cf.cplace.pptexport.pgPreviewWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.pptexport.pgPreviewWidget/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.pptexport.pgPreviewWidget/_overview.md +92 -0
- package/dist/widget-specifications/cf.cplace.pptexport.pgPreviewWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.projectTree.editProjects/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.projectTree.editProjects/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.projectTree.editProjects/_overview.md +81 -0
- package/dist/widget-specifications/cf.cplace.projectTree.editProjects/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.projektplanung.scheduleLockState/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.projektplanung.scheduleLockState/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.projektplanung.scheduleLockState/_overview.md +60 -0
- package/dist/widget-specifications/cf.cplace.projektplanung.scheduleLockState/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.projektplanung.subscriptions/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.projektplanung.subscriptions/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.projektplanung.subscriptions/_overview.md +59 -0
- package/dist/widget-specifications/cf.cplace.projektplanung.subscriptions/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.qrCodeWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.qrCodeWidget/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.qrCodeWidget/_overview.md +25 -0
- package/dist/widget-specifications/cf.cplace.qrCodeWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/_overview.md +78 -0
- package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.rest.config.widget.productionModeHintWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.rest.config.widget.productionModeHintWidget/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.rest.config.widget.productionModeHintWidget/_overview.md +44 -0
- package/dist/widget-specifications/cf.cplace.rest.config.widget.productionModeHintWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.simpleCalendar.calendar/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.simpleCalendar.calendar/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.simpleCalendar.calendar/_overview.md +42 -0
- package/dist/widget-specifications/cf.cplace.simpleCalendar.calendar/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.simpleForm.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.simpleForm.widget/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.simpleForm.widget/_overview.md +85 -0
- package/dist/widget-specifications/cf.cplace.simpleForm.widget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.tableDetailViewWidget.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.tableDetailViewWidget.widget/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.tableDetailViewWidget.widget/_overview.md +92 -0
- package/dist/widget-specifications/cf.cplace.tableDetailViewWidget.widget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.tableDetailViewWidget.widget/attributes.md +7 -0
- package/dist/widget-specifications/cf.cplace.treeTableWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.treeTableWidget/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.treeTableWidget/_overview.md +51 -0
- package/dist/widget-specifications/cf.cplace.treeTableWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.tuplesWidget.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.tuplesWidget.widget/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.tuplesWidget.widget/_overview.md +202 -0
- package/dist/widget-specifications/cf.cplace.tuplesWidget.widget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.videoWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.videoWidget/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.videoWidget/_overview.md +65 -0
- package/dist/widget-specifications/cf.cplace.videoWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/_implementation.md +12 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/_overview.md +117 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/cf.cplace.visualization.dataSource.md +5 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/cf.cplace.visualization.search.md +10 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/script.md +29 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/tableWidgetId.md +10 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingLineChart/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingLineChart/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingLineChart/_overview.md +72 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingLineChart/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.visualizations.tupleLineChart/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.visualizations.tupleLineChart/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.visualizations.tupleLineChart/_overview.md +50 -0
- package/dist/widget-specifications/cf.cplace.visualizations.tupleLineChart/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.attributeHistory/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.attributeHistory/_meta.json +11 -0
- package/dist/widget-specifications/cf.platform.attributeHistory/_overview.md +79 -0
- package/dist/widget-specifications/cf.platform.attributeHistory/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.attributes/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.attributes/_meta.json +9 -0
- package/dist/widget-specifications/cf.platform.attributes/_overview.md +89 -0
- package/dist/widget-specifications/cf.platform.attributes/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.comments/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.comments/_meta.json +9 -0
- package/dist/widget-specifications/cf.platform.comments/_overview.md +52 -0
- package/dist/widget-specifications/cf.platform.comments/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.connectedBarChart/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.connectedBarChart/_implementation.md +10 -0
- package/dist/widget-specifications/cf.platform.connectedBarChart/_meta.json +11 -0
- package/dist/widget-specifications/cf.platform.connectedBarChart/_overview.md +72 -0
- package/dist/widget-specifications/cf.platform.connectedBarChart/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.connectedBarChart/attributeName.md +12 -0
- package/dist/widget-specifications/cf.platform.connectedBarChart/search.md +17 -0
- package/dist/widget-specifications/cf.platform.connectedMatrix/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.connectedMatrix/_meta.json +11 -0
- package/dist/widget-specifications/cf.platform.connectedMatrix/_overview.md +189 -0
- package/dist/widget-specifications/cf.platform.connectedMatrix/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.connectedPieChart/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.connectedPieChart/_implementation.md +10 -0
- package/dist/widget-specifications/cf.platform.connectedPieChart/_meta.json +11 -0
- package/dist/widget-specifications/cf.platform.connectedPieChart/_overview.md +72 -0
- package/dist/widget-specifications/cf.platform.connectedPieChart/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.connectedPieChart/attributeName.md +12 -0
- package/dist/widget-specifications/cf.platform.connectedPieChart/search.md +12 -0
- package/dist/widget-specifications/cf.platform.connectedSingleAttribute/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.connectedSingleAttribute/_implementation.md +15 -0
- package/dist/widget-specifications/cf.platform.connectedSingleAttribute/_meta.json +10 -0
- package/dist/widget-specifications/cf.platform.connectedSingleAttribute/_overview.md +69 -0
- package/dist/widget-specifications/cf.platform.connectedSingleAttribute/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.connectedSingleAttribute/attributeName.md +10 -0
- package/dist/widget-specifications/cf.platform.connectedSingleAttribute/singleColumn.md +9 -0
- package/dist/widget-specifications/cf.platform.connectedSingleAttribute/singleSelectionWidgetId.md +3 -0
- package/dist/widget-specifications/cf.platform.connectedSingleAttribute/withLabel.md +11 -0
- package/dist/widget-specifications/cf.platform.connectedSingleAttribute/withValue.md +12 -0
- package/dist/widget-specifications/cf.platform.connectedTableFilter/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.connectedTableFilter/_meta.json +10 -0
- package/dist/widget-specifications/cf.platform.connectedTableFilter/_overview.md +89 -0
- package/dist/widget-specifications/cf.platform.connectedTableFilter/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.customRichStringAttribute/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.customRichStringAttribute/_meta.json +9 -0
- package/dist/widget-specifications/cf.platform.customRichStringAttribute/_overview.md +39 -0
- package/dist/widget-specifications/cf.platform.customRichStringAttribute/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsList/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsList/_meta.json +10 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsList/_overview.md +66 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsList/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsList/search.md +8 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/_implementation.md +10 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/_meta.json +11 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/_overview.md +109 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/columns.md +16 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/multiSortColumns.md +16 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/search.md +21 -0
- package/dist/widget-specifications/cf.platform.files/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.files/_meta.json +10 -0
- package/dist/widget-specifications/cf.platform.files/_overview.md +74 -0
- package/dist/widget-specifications/cf.platform.files/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.iframe/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.iframe/_meta.json +9 -0
- package/dist/widget-specifications/cf.platform.iframe/_overview.md +77 -0
- package/dist/widget-specifications/cf.platform.iframe/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.incomingLinks/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.incomingLinks/_meta.json +10 -0
- package/dist/widget-specifications/cf.platform.incomingLinks/_overview.md +83 -0
- package/dist/widget-specifications/cf.platform.incomingLinks/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.incomingReferences/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.incomingReferences/_meta.json +10 -0
- package/dist/widget-specifications/cf.platform.incomingReferences/_overview.md +48 -0
- package/dist/widget-specifications/cf.platform.incomingReferences/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.makeover.attributes/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.makeover.attributes/_meta.json +9 -0
- package/dist/widget-specifications/cf.platform.makeover.attributes/_overview.md +48 -0
- package/dist/widget-specifications/cf.platform.makeover.attributes/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.modificationInfo/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.modificationInfo/_meta.json +9 -0
- package/dist/widget-specifications/cf.platform.modificationInfo/_overview.md +27 -0
- package/dist/widget-specifications/cf.platform.modificationInfo/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.myElements/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.myElements/_meta.json +10 -0
- package/dist/widget-specifications/cf.platform.myElements/_overview.md +69 -0
- package/dist/widget-specifications/cf.platform.myElements/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.richString/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.richString/_meta.json +10 -0
- package/dist/widget-specifications/cf.platform.richString/_overview.md +43 -0
- package/dist/widget-specifications/cf.platform.richString/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/_implementation.md +18 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/_meta.json +10 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/_overview.md +83 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/cf.platform.entity.md +10 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/cf.platform.quotedAttributeName.md +12 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/cf.platform.singleColumn.md +9 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/cf.platform.useParent.md +11 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/cf.platform.withLabel.md +11 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/cf.platform.withValue.md +12 -0
- package/dist/widget-specifications/cf.platform.tags/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.tags/_meta.json +10 -0
- package/dist/widget-specifications/cf.platform.tags/_overview.md +49 -0
- package/dist/widget-specifications/cf.platform.tags/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.wiki/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.wiki/_meta.json +9 -0
- package/dist/widget-specifications/cf.platform.wiki/_overview.md +32 -0
- package/dist/widget-specifications/cf.platform.wiki/_summary.md +1 -0
- package/dist/widget-specifications/cf.projektplanung.gantt/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.projektplanung.gantt/_meta.json +11 -0
- package/dist/widget-specifications/cf.projektplanung.gantt/_overview.md +61 -0
- package/dist/widget-specifications/cf.projektplanung.gantt/_summary.md +1 -0
- package/dist/widget-specifications/cf.projektplanung.ganttTaskDemo/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.projektplanung.ganttTaskDemo/_meta.json +10 -0
- package/dist/widget-specifications/cf.projektplanung.ganttTaskDemo/_overview.md +65 -0
- package/dist/widget-specifications/cf.projektplanung.ganttTaskDemo/_summary.md +1 -0
- package/dist/widget-specifications/cf.projektplanung.multiGantt/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.projektplanung.multiGantt/_meta.json +11 -0
- package/dist/widget-specifications/cf.projektplanung.multiGantt/_overview.md +73 -0
- package/dist/widget-specifications/cf.projektplanung.multiGantt/_summary.md +1 -0
- package/dist/widget-specifications/cf.projektplanung.scheduleTreeTable/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.projektplanung.scheduleTreeTable/_meta.json +10 -0
- package/dist/widget-specifications/cf.projektplanung.scheduleTreeTable/_overview.md +84 -0
- package/dist/widget-specifications/cf.projektplanung.scheduleTreeTable/_summary.md +1 -0
- package/dist/widget-specifications/cf.projektplanung.singleGantt/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.projektplanung.singleGantt/_meta.json +12 -0
- package/dist/widget-specifications/cf.projektplanung.singleGantt/_overview.md +27 -0
- package/dist/widget-specifications/cf.projektplanung.singleGantt/_summary.md +1 -0
- package/dist/widget-specifications/cf.projektplanung.singleGanttLink/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.projektplanung.singleGanttLink/_meta.json +10 -0
- package/dist/widget-specifications/cf.projektplanung.singleGanttLink/_overview.md +84 -0
- package/dist/widget-specifications/cf.projektplanung.singleGanttLink/_summary.md +1 -0
- package/dist/widget-specifications/de.2lforge.curves.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/de.2lforge.curves.widget/_meta.json +12 -0
- package/dist/widget-specifications/de.2lforge.curves.widget/_overview.md +73 -0
- package/dist/widget-specifications/de.2lforge.curves.widget/_summary.md +1 -0
- package/dist/widget-specifications/de.2lforge.toolbar.datePickerWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/de.2lforge.toolbar.datePickerWidget/_meta.json +9 -0
- package/dist/widget-specifications/de.2lforge.toolbar.datePickerWidget/_overview.md +67 -0
- package/dist/widget-specifications/de.2lforge.toolbar.datePickerWidget/_summary.md +1 -0
- package/dist/widget-specifications/de.2lforge.toolbar.dropDownWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/de.2lforge.toolbar.dropDownWidget/_meta.json +10 -0
- package/dist/widget-specifications/de.2lforge.toolbar.dropDownWidget/_overview.md +58 -0
- package/dist/widget-specifications/de.2lforge.toolbar.dropDownWidget/_summary.md +1 -0
- package/dist/widget-specifications/de.2lforge.toolbar.miscWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/de.2lforge.toolbar.miscWidget/_meta.json +8 -0
- package/dist/widget-specifications/de.2lforge.toolbar.miscWidget/_overview.md +43 -0
- package/dist/widget-specifications/de.2lforge.toolbar.miscWidget/_summary.md +1 -0
- package/dist/widget-specifications/de.visualistik.visualRoadmap.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/de.visualistik.visualRoadmap.widget/_meta.json +11 -0
- package/dist/widget-specifications/de.visualistik.visualRoadmap.widget/_overview.md +47 -0
- package/dist/widget-specifications/de.visualistik.visualRoadmap.widget/_summary.md +1 -0
- package/dist/widget-specifications/index.d.ts.map +1 -0
- package/dist/widget-specifications/index.js +55 -0
- package/dist/widget-specifications/index.js.map +1 -0
- package/dist/widget-specifications/msg.scripts.imagegallery.basic/_catalog-data.json +12 -0
- package/dist/widget-specifications/msg.scripts.imagegallery.basic/_meta.json +10 -0
- package/dist/widget-specifications/msg.scripts.imagegallery.basic/_overview.md +55 -0
- package/dist/widget-specifications/msg.scripts.imagegallery.basic/_summary.md +1 -0
- package/dist/widget-specifications/tag-registry.json +63 -0
- package/package.json +70 -0
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { debugLogWithTag } from "../logger.js";
|
|
3
|
+
import { transformMultiplicityToBoolean } from '../utils.js';
|
|
4
|
+
import { WIDGET_SPECIFICATIONS } from '../widget-specifications/index.js';
|
|
5
|
+
import { readFileSync } from 'fs';
|
|
6
|
+
import { fileURLToPath } from 'url';
|
|
7
|
+
import { dirname, join } from 'path';
|
|
8
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
9
|
+
const __dirname = dirname(__filename);
|
|
10
|
+
function loadTagRegistry() {
|
|
11
|
+
const tagRegistryPath = join(__dirname, '..', 'widget-specifications', 'tag-registry.json');
|
|
12
|
+
const content = readFileSync(tagRegistryPath, 'utf8');
|
|
13
|
+
return JSON.parse(content);
|
|
14
|
+
}
|
|
15
|
+
function buildTagFilterDescription() {
|
|
16
|
+
const tagRegistry = loadTagRegistry();
|
|
17
|
+
let description = 'Filter widgets by tags (OR logic - returns widgets matching ANY tag).\n\n';
|
|
18
|
+
for (const dimension of Object.values(tagRegistry.dimensions)) {
|
|
19
|
+
const dim = dimension;
|
|
20
|
+
description += `**${dim.description}**:\n`;
|
|
21
|
+
for (const [tagKey, tagDesc] of Object.entries(dim.tags)) {
|
|
22
|
+
description += `- ${tagKey}: ${tagDesc}\n`;
|
|
23
|
+
}
|
|
24
|
+
description += '\n';
|
|
25
|
+
}
|
|
26
|
+
return description.trim();
|
|
27
|
+
}
|
|
28
|
+
const TOOL_LIST_WIDGET_DEFINITIONS = 'cplace_list_widget_definitions';
|
|
29
|
+
const TOOL_GET_WIDGET_DEFINITION = 'cplace_get_widget_definition';
|
|
30
|
+
export const WIDGET_TOOL_DEFINITIONS = {
|
|
31
|
+
[TOOL_LIST_WIDGET_DEFINITIONS]: {
|
|
32
|
+
description: `Get a list of all available widget definitions in the system that support the specified embedding context, with their basic metadata including names, descriptions, and apps.
|
|
33
|
+
|
|
34
|
+
⚠️ APP DEPENDENCY CHECK: Each widget includes a 'requiredApp' field:
|
|
35
|
+
- null: Widget is always available (platform widget, no app dependency)
|
|
36
|
+
- "cf.cplace.someApp": Widget requires this app to be installed in the workspace
|
|
37
|
+
|
|
38
|
+
BEFORE SELECTING A WIDGET for a specific workspace, verify the required app is installed using cplace_list_workspace_apps. Widgets with uninstalled requiredApp cannot be added to layouts.`,
|
|
39
|
+
inputSchema: {
|
|
40
|
+
embeddingContext: z.enum(["AS_WIDGET", "INSIDE_RICHSTRING", "INSIDE_WIDGET"]).default("AS_WIDGET").describe(`Filter widgets by embedding context support:
|
|
41
|
+
- AS_WIDGET (default): Widgets that support full widget embedding with frame and title
|
|
42
|
+
- INSIDE_RICHSTRING: Widgets that can be embedded in rich text content without frame
|
|
43
|
+
- INSIDE_WIDGET: Widgets that can be embedded inside other widgets without frame`),
|
|
44
|
+
tags: z.array(z.string()).optional().describe(buildTagFilterDescription())
|
|
45
|
+
},
|
|
46
|
+
annotations: { title: "List Widget Definitions" }
|
|
47
|
+
},
|
|
48
|
+
[TOOL_GET_WIDGET_DEFINITION]: {
|
|
49
|
+
description: `Get widget definition as a markdown Config Reference Card optimized for writing layout.define() scripts.
|
|
50
|
+
|
|
51
|
+
ALWAYS includes:
|
|
52
|
+
- Widget kind as heading
|
|
53
|
+
- Summary paragraph
|
|
54
|
+
|
|
55
|
+
OPTIONAL depth control:
|
|
56
|
+
- includeOverview: true → adds conceptual documentation (## Overview)
|
|
57
|
+
- includeDetails: true → adds implementation hints (## Implementation) and config attributes grouped by required/optional (## Config Attributes)
|
|
58
|
+
|
|
59
|
+
COMMON USAGE:
|
|
60
|
+
- Quick check: just widgetKinds (minimal response)
|
|
61
|
+
- Understanding: includeOverview: true
|
|
62
|
+
- Implementation: includeDetails: true
|
|
63
|
+
- Full details: both flags true
|
|
64
|
+
|
|
65
|
+
Widget kinds: 'cf.platform.connectedBarChart', 'cf.platform.wiki', etc.
|
|
66
|
+
Multiple widgets in one call are separated by --- horizontal rules.`,
|
|
67
|
+
inputSchema: {
|
|
68
|
+
widgetKinds: z.array(z.string()).describe("Array of widget kind identifiers (e.g., ['cf.platform.embeddedSearchAsTable', 'cf.platform.connectedBarChart'])"),
|
|
69
|
+
includeOverview: z.boolean().default(false).describe("Include conceptual documentation from _overview.md. Use when you need to understand widget purpose and capabilities."),
|
|
70
|
+
includeDetails: z.boolean().default(false).describe("Include config attributes (grouped by required/optional with type hints) and implementation hints from _implementation.md. Use when you need to configure the widget.")
|
|
71
|
+
},
|
|
72
|
+
annotations: { title: "Get Widget Definition" }
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
function constraintToFormat(constraint) {
|
|
76
|
+
if (!constraint)
|
|
77
|
+
return '(unknown)';
|
|
78
|
+
const type = constraint.attributeType || constraint.type;
|
|
79
|
+
switch (type) {
|
|
80
|
+
case 'boolean': return '(boolean)';
|
|
81
|
+
case 'number': return '(number)';
|
|
82
|
+
case 'string': return '(string)';
|
|
83
|
+
case 'localizedString': return '→ `{ en: "...", de: "..." }`';
|
|
84
|
+
case 'search': return '(string)';
|
|
85
|
+
case 'richString': return '(richString)';
|
|
86
|
+
case 'reference': return '(page UID)';
|
|
87
|
+
case 'dateTime': return '(ISO date string)';
|
|
88
|
+
case 'color': return '(color string)';
|
|
89
|
+
case 'textEnumeration': {
|
|
90
|
+
const values = (constraint.element || [])
|
|
91
|
+
.map((e) => `"${e.value}"`)
|
|
92
|
+
.join(' | ');
|
|
93
|
+
return values ? `(string: ${values})` : '(string, enumeration)';
|
|
94
|
+
}
|
|
95
|
+
case 'numberEnumeration': {
|
|
96
|
+
const values = (constraint.element || [])
|
|
97
|
+
.map((e) => e.value)
|
|
98
|
+
.join(' | ');
|
|
99
|
+
return values ? `(number: ${values})` : '(number, enumeration)';
|
|
100
|
+
}
|
|
101
|
+
case 'dynamicEnumeration': return '(string, dynamic)';
|
|
102
|
+
default: return `(${type || 'unknown'})`;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
function shouldShowLocalizedName(name, localizedName) {
|
|
106
|
+
const en = localizedName?.en;
|
|
107
|
+
if (!en || typeof en !== 'string')
|
|
108
|
+
return false;
|
|
109
|
+
return en !== name;
|
|
110
|
+
}
|
|
111
|
+
function formatAttributeLine(attr, widgetKind, widgetSpecs) {
|
|
112
|
+
const format = constraintToFormat(attr.constraint);
|
|
113
|
+
const multipleSuffix = attr.multiple ? ', multiple' : '';
|
|
114
|
+
let line = `- \`${attr.name}\``;
|
|
115
|
+
if (shouldShowLocalizedName(attr.name, attr.localizedName)) {
|
|
116
|
+
line += ` "${attr.localizedName.en}"`;
|
|
117
|
+
}
|
|
118
|
+
if (format.startsWith('→')) {
|
|
119
|
+
line += ` ${format}`;
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
if (multipleSuffix) {
|
|
123
|
+
line += ` ${format.slice(0, -1)}${multipleSuffix})`;
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
line += ` ${format}`;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
if (format.startsWith('→') && multipleSuffix) {
|
|
130
|
+
line += ` (multiple)`;
|
|
131
|
+
}
|
|
132
|
+
const specKey = `${widgetKind}.${attr.name}`;
|
|
133
|
+
const spec = widgetSpecs?.[specKey];
|
|
134
|
+
if (spec && typeof spec === 'string') {
|
|
135
|
+
const specLines = spec.trim().split('\n');
|
|
136
|
+
line += '\n' + specLines.map((s) => ` ${s}`).join('\n');
|
|
137
|
+
}
|
|
138
|
+
return line;
|
|
139
|
+
}
|
|
140
|
+
function buildWidgetMarkdown(widgetKind, apiResult, widgetSpecs, includeOverview, includeDetails) {
|
|
141
|
+
const lines = [];
|
|
142
|
+
lines.push(`# ${widgetKind}`);
|
|
143
|
+
lines.push('');
|
|
144
|
+
const summary = widgetSpecs?.['_summary'];
|
|
145
|
+
if (summary && typeof summary === 'string') {
|
|
146
|
+
lines.push(summary.trim());
|
|
147
|
+
}
|
|
148
|
+
if (includeOverview) {
|
|
149
|
+
const overview = widgetSpecs?.['_overview'];
|
|
150
|
+
if (overview && typeof overview === 'string') {
|
|
151
|
+
lines.push('');
|
|
152
|
+
lines.push('## Overview');
|
|
153
|
+
lines.push('');
|
|
154
|
+
lines.push(overview.trim());
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
if (includeDetails) {
|
|
158
|
+
const implementation = widgetSpecs?.['_implementation'];
|
|
159
|
+
if (implementation && typeof implementation === 'string') {
|
|
160
|
+
lines.push('');
|
|
161
|
+
lines.push('## Implementation');
|
|
162
|
+
lines.push('');
|
|
163
|
+
lines.push(implementation.trim());
|
|
164
|
+
}
|
|
165
|
+
let attributes = apiResult.configurationSchema?.attributes || [];
|
|
166
|
+
attributes = transformMultiplicityToBoolean(attributes);
|
|
167
|
+
const required = attributes.filter((a) => a.required);
|
|
168
|
+
const optional = attributes.filter((a) => !a.required);
|
|
169
|
+
lines.push('');
|
|
170
|
+
lines.push(`## Config Attributes (${attributes.length} total)`);
|
|
171
|
+
if (required.length > 0) {
|
|
172
|
+
lines.push('');
|
|
173
|
+
lines.push('### Required');
|
|
174
|
+
for (const attr of required) {
|
|
175
|
+
lines.push('');
|
|
176
|
+
lines.push(formatAttributeLine(attr, widgetKind, widgetSpecs));
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
if (optional.length > 0) {
|
|
180
|
+
lines.push('');
|
|
181
|
+
lines.push('### Optional');
|
|
182
|
+
for (const attr of optional) {
|
|
183
|
+
lines.push('');
|
|
184
|
+
lines.push(formatAttributeLine(attr, widgetKind, widgetSpecs));
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
return lines.join('\n');
|
|
189
|
+
}
|
|
190
|
+
export function registerWidgetTools(server, client) {
|
|
191
|
+
server.registerTool(TOOL_LIST_WIDGET_DEFINITIONS, WIDGET_TOOL_DEFINITIONS[TOOL_LIST_WIDGET_DEFINITIONS], async ({ embeddingContext = "AS_WIDGET", tags }) => {
|
|
192
|
+
debugLogWithTag('WIDGETS', `Starting widget definitions list request with embeddingContext: ${embeddingContext}${tags?.length ? `, tags: ${tags.join(', ')}` : ''}`);
|
|
193
|
+
try {
|
|
194
|
+
const result = await client.makeApiRequest('json/widget-definitions', 'GET', { embeddingContext });
|
|
195
|
+
if (result && typeof result === 'object' && Array.isArray(result.widgetDefinitions)) {
|
|
196
|
+
result.widgetDefinitions.forEach((widget) => {
|
|
197
|
+
const widgetSpecs = WIDGET_SPECIFICATIONS[widget.widgetKind];
|
|
198
|
+
if (widgetSpecs?.['_summary']) {
|
|
199
|
+
widget.summary = widgetSpecs['_summary'];
|
|
200
|
+
}
|
|
201
|
+
if (widgetSpecs?._meta?.requiredApp !== undefined) {
|
|
202
|
+
widget.requiredApp = widgetSpecs._meta.requiredApp;
|
|
203
|
+
}
|
|
204
|
+
});
|
|
205
|
+
debugLogWithTag('WIDGETS', `Enriched ${result.widgetDefinitions.filter((w) => w.summary).length} widgets with summaries`);
|
|
206
|
+
}
|
|
207
|
+
if (tags?.length && result.widgetDefinitions) {
|
|
208
|
+
result.widgetDefinitions = result.widgetDefinitions.filter((widget) => {
|
|
209
|
+
const widgetSpecs = WIDGET_SPECIFICATIONS[widget.widgetKind];
|
|
210
|
+
const widgetTags = widgetSpecs?._meta?.tags || [];
|
|
211
|
+
return tags.some(tag => widgetTags.includes(tag));
|
|
212
|
+
});
|
|
213
|
+
debugLogWithTag('WIDGETS', `Filtered to ${result.widgetDefinitions.length} widgets matching tags: ${tags.join(', ')}`);
|
|
214
|
+
}
|
|
215
|
+
debugLogWithTag('WIDGETS', `Retrieved widget definitions for context: ${embeddingContext}`);
|
|
216
|
+
return {
|
|
217
|
+
content: [{ type: "text", text: JSON.stringify(result, null, 2) }]
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
catch (error) {
|
|
221
|
+
return {
|
|
222
|
+
content: [{
|
|
223
|
+
type: "text",
|
|
224
|
+
text: `Error retrieving widget definitions: ${error instanceof Error ? error.message : String(error)}`
|
|
225
|
+
}],
|
|
226
|
+
isError: true
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
});
|
|
230
|
+
server.registerTool(TOOL_GET_WIDGET_DEFINITION, WIDGET_TOOL_DEFINITIONS[TOOL_GET_WIDGET_DEFINITION], async ({ widgetKinds, includeOverview = false, includeDetails = false }) => {
|
|
231
|
+
debugLogWithTag('WIDGETS', `Starting widget definition request for: ${widgetKinds.join(', ')} (includeOverview: ${includeOverview}, includeDetails: ${includeDetails})`);
|
|
232
|
+
try {
|
|
233
|
+
const parts = await Promise.all(widgetKinds.map(async (widgetKind) => {
|
|
234
|
+
try {
|
|
235
|
+
const result = await client.makeApiRequest('json/widget-definition', 'GET', { widgetKind });
|
|
236
|
+
const widgetSpecs = WIDGET_SPECIFICATIONS[widgetKind];
|
|
237
|
+
return buildWidgetMarkdown(widgetKind, result, widgetSpecs, includeOverview, includeDetails);
|
|
238
|
+
}
|
|
239
|
+
catch (error) {
|
|
240
|
+
return `# ${widgetKind}\n\nError: ${error instanceof Error ? error.message : String(error)}`;
|
|
241
|
+
}
|
|
242
|
+
}));
|
|
243
|
+
debugLogWithTag('WIDGETS', `Retrieved definitions for ${widgetKinds.length} widgets`);
|
|
244
|
+
return {
|
|
245
|
+
content: [{ type: "text", text: parts.join('\n\n---\n\n') }]
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
catch (error) {
|
|
249
|
+
return {
|
|
250
|
+
content: [{
|
|
251
|
+
type: "text",
|
|
252
|
+
text: `Error retrieving widget definitions: ${error instanceof Error ? error.message : String(error)}`
|
|
253
|
+
}],
|
|
254
|
+
isError: true
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
//# sourceMappingURL=widgets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widgets.js","sourceRoot":"","sources":["../../src/tools/widgets.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,8BAA8B,EAAE,M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6B,WAAW,CAAC,MAAM,UAAU,CAAC,CAAC;YAEtF,OAAO;gBACH,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC;aAC/D,CAAC;QACN,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,OAAO;gBACH,OAAO,EAAE,CAAC;wBACN,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,wCAAwC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE;qBACzG,CAAC;gBACF,OAAO,EAAE,IAAI;aAChB,CAAC;QACN,CAAC;IACL,CAAC,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import { CplaceApiClient } from '../api.js';
|
|
4
|
+
export declare const WORKFLOW_SCRIPT_TOOL_DEFINITIONS: {
|
|
5
|
+
readonly cplace_get_workflow_script: {
|
|
6
|
+
readonly description: "Retrieves workflow script content (state entry action or transition scripts). Supports action scripts (executed when entering state or after transition), condition scripts (control button visibility), and confirmation condition scripts (control confirmation dialog).";
|
|
7
|
+
readonly inputSchema: {
|
|
8
|
+
type: z.ZodEnum<["state", "transition"]>;
|
|
9
|
+
stateName: z.ZodOptional<z.ZodString>;
|
|
10
|
+
previousState: z.ZodOptional<z.ZodString>;
|
|
11
|
+
nextState: z.ZodOptional<z.ZodString>;
|
|
12
|
+
scriptType: z.ZodOptional<z.ZodEnum<["action", "condition", "confirmationCondition"]>>;
|
|
13
|
+
workspaceId: z.ZodString;
|
|
14
|
+
typeInternalName: z.ZodString;
|
|
15
|
+
attributeName: z.ZodString;
|
|
16
|
+
};
|
|
17
|
+
readonly annotations: {
|
|
18
|
+
readonly title: "Get Workflow Script";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
readonly cplace_manage_workflow_script: {
|
|
22
|
+
readonly description: "Creates, updates, or deletes workflow scripts (state or transition). Provide non-empty script to create/update. Provide null or empty string to delete the script. Scripts are written in cplacejs and have access to page context.";
|
|
23
|
+
readonly inputSchema: {
|
|
24
|
+
script: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
25
|
+
type: z.ZodEnum<["state", "transition"]>;
|
|
26
|
+
stateName: z.ZodOptional<z.ZodString>;
|
|
27
|
+
previousState: z.ZodOptional<z.ZodString>;
|
|
28
|
+
nextState: z.ZodOptional<z.ZodString>;
|
|
29
|
+
scriptType: z.ZodOptional<z.ZodEnum<["action", "condition", "confirmationCondition"]>>;
|
|
30
|
+
workspaceId: z.ZodString;
|
|
31
|
+
typeInternalName: z.ZodString;
|
|
32
|
+
attributeName: z.ZodString;
|
|
33
|
+
};
|
|
34
|
+
readonly annotations: {
|
|
35
|
+
readonly title: "Manage Workflow Script";
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
readonly cplace_edit_workflow_script: {
|
|
39
|
+
readonly description: "Edit a workflow script using str_replace — find an exact text match and replace it. Reads the current script, applies the replacement, and writes back. Use this instead of cplace_manage_workflow_script when making small changes to avoid reproducing the entire script.";
|
|
40
|
+
readonly inputSchema: {
|
|
41
|
+
old_str: z.ZodString;
|
|
42
|
+
new_str: z.ZodString;
|
|
43
|
+
replace_all: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
44
|
+
type: z.ZodEnum<["state", "transition"]>;
|
|
45
|
+
stateName: z.ZodOptional<z.ZodString>;
|
|
46
|
+
previousState: z.ZodOptional<z.ZodString>;
|
|
47
|
+
nextState: z.ZodOptional<z.ZodString>;
|
|
48
|
+
scriptType: z.ZodOptional<z.ZodEnum<["action", "condition", "confirmationCondition"]>>;
|
|
49
|
+
workspaceId: z.ZodString;
|
|
50
|
+
typeInternalName: z.ZodString;
|
|
51
|
+
attributeName: z.ZodString;
|
|
52
|
+
};
|
|
53
|
+
readonly annotations: {
|
|
54
|
+
readonly title: "Edit Workflow Script";
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
export declare function registerWorkflowScriptTools(server: McpServer, client: CplaceApiClient): void;
|
|
59
|
+
//# sourceMappingURL=workflow-scripts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-scripts.d.ts","sourceRoot":"","sources":["../../src/tools/workflow-scripts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AA6D5C,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBnC,CAAC;AAMX,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,eAAe,QA8QrF"}
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { debugLogWithTag } from "../logger.js";
|
|
3
|
+
import { applyStrReplace } from '../str-replace-utils.js';
|
|
4
|
+
const workflowScriptBaseSchema = {
|
|
5
|
+
workspaceId: z.string().describe("UID of the workspace containing the type (e.g., 'workspace/abc123')"),
|
|
6
|
+
typeInternalName: z.string().describe("Internal name of the type definition (e.g., 'cf.example.Task')"),
|
|
7
|
+
attributeName: z.string().describe("Name of the workflow attribute (e.g., 'status')")
|
|
8
|
+
};
|
|
9
|
+
const getWorkflowScriptSchema = {
|
|
10
|
+
...workflowScriptBaseSchema,
|
|
11
|
+
type: z.enum(["state", "transition"]).describe("Workflow element type: 'state' for state scripts, 'transition' for transition scripts"),
|
|
12
|
+
stateName: z.string().optional().describe("Required when type='state': Internal name of the workflow state (e.g., 'in-progress')"),
|
|
13
|
+
previousState: z.string().optional().describe("Required when type='transition': Source state internal name (e.g., 'open')"),
|
|
14
|
+
nextState: z.string().optional().describe("Required when type='transition': Target state internal name (e.g., 'in-progress')"),
|
|
15
|
+
scriptType: z.enum(["action", "condition", "confirmationCondition"]).optional().describe("Script type. Required for transitions ('action' | 'condition' | 'confirmationCondition'). " +
|
|
16
|
+
"For states: always 'action' (can be omitted)")
|
|
17
|
+
};
|
|
18
|
+
const manageWorkflowScriptSchema = {
|
|
19
|
+
...getWorkflowScriptSchema,
|
|
20
|
+
script: z.string().optional().nullable().describe("⚠️ Script content in cplacejs. Review cplace Low-Code documentation before writing scripts. " +
|
|
21
|
+
"Set to null or empty string to delete the script.")
|
|
22
|
+
};
|
|
23
|
+
const editWorkflowScriptSchema = {
|
|
24
|
+
...getWorkflowScriptSchema,
|
|
25
|
+
old_str: z.string().describe("The exact text to find in the workflow script (must match exactly, including whitespace and line breaks)"),
|
|
26
|
+
new_str: z.string().describe("The replacement text. Use empty string to delete the matched text."),
|
|
27
|
+
replace_all: z.boolean().optional().default(false).describe("If true, replace all occurrences of old_str. If false (default), fails when old_str matches more than once.")
|
|
28
|
+
};
|
|
29
|
+
const TOOL_GET_WORKFLOW_SCRIPT = 'cplace_get_workflow_script';
|
|
30
|
+
const TOOL_MANAGE_WORKFLOW_SCRIPT = 'cplace_manage_workflow_script';
|
|
31
|
+
const TOOL_EDIT_WORKFLOW_SCRIPT = 'cplace_edit_workflow_script';
|
|
32
|
+
export const WORKFLOW_SCRIPT_TOOL_DEFINITIONS = {
|
|
33
|
+
[TOOL_GET_WORKFLOW_SCRIPT]: {
|
|
34
|
+
description: "Retrieves workflow script content (state entry action or transition scripts). Supports action scripts (executed when entering state or after transition), condition scripts (control button visibility), and confirmation condition scripts (control confirmation dialog).",
|
|
35
|
+
inputSchema: getWorkflowScriptSchema,
|
|
36
|
+
annotations: { title: "Get Workflow Script" }
|
|
37
|
+
},
|
|
38
|
+
[TOOL_MANAGE_WORKFLOW_SCRIPT]: {
|
|
39
|
+
description: "Creates, updates, or deletes workflow scripts (state or transition). Provide non-empty script to create/update. Provide null or empty string to delete the script. Scripts are written in cplacejs and have access to page context.",
|
|
40
|
+
inputSchema: manageWorkflowScriptSchema,
|
|
41
|
+
annotations: { title: "Manage Workflow Script" }
|
|
42
|
+
},
|
|
43
|
+
[TOOL_EDIT_WORKFLOW_SCRIPT]: {
|
|
44
|
+
description: "Edit a workflow script using str_replace — find an exact text match and replace it. Reads the current script, applies the replacement, and writes back. Use this instead of cplace_manage_workflow_script when making small changes to avoid reproducing the entire script.",
|
|
45
|
+
inputSchema: editWorkflowScriptSchema,
|
|
46
|
+
annotations: { title: "Edit Workflow Script" }
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
export function registerWorkflowScriptTools(server, client) {
|
|
50
|
+
server.registerTool(TOOL_GET_WORKFLOW_SCRIPT, WORKFLOW_SCRIPT_TOOL_DEFINITIONS[TOOL_GET_WORKFLOW_SCRIPT], async (params) => {
|
|
51
|
+
if (params.type === "state") {
|
|
52
|
+
if (!params.stateName) {
|
|
53
|
+
return {
|
|
54
|
+
content: [{ type: "text", text: "Error: stateName is required when type='state'" }],
|
|
55
|
+
isError: true
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
else if (params.type === "transition") {
|
|
60
|
+
if (!params.scriptType) {
|
|
61
|
+
return {
|
|
62
|
+
content: [{ type: "text", text: "Error: scriptType is required when type='transition'" }],
|
|
63
|
+
isError: true
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
if (!params.previousState || !params.nextState) {
|
|
67
|
+
return {
|
|
68
|
+
content: [{ type: "text", text: "Error: previousState and nextState are required when type='transition'" }],
|
|
69
|
+
isError: true
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
if (params.type === "state") {
|
|
74
|
+
const scriptType = params.scriptType || "action";
|
|
75
|
+
debugLogWithTag('WORKFLOW_STATE_SCRIPT', `Retrieving ${scriptType} script for state '${params.stateName}' on ${params.typeInternalName}.${params.attributeName}`);
|
|
76
|
+
try {
|
|
77
|
+
const result = await client.makeApiRequest('json/workflow-state-script', 'GET', {
|
|
78
|
+
workspaceId: params.workspaceId,
|
|
79
|
+
typeInternalName: params.typeInternalName,
|
|
80
|
+
attributeName: params.attributeName,
|
|
81
|
+
stateName: params.stateName,
|
|
82
|
+
scriptType
|
|
83
|
+
});
|
|
84
|
+
debugLogWithTag('WORKFLOW_STATE_SCRIPT', `Successfully retrieved script for state '${params.stateName}'`);
|
|
85
|
+
return {
|
|
86
|
+
content: [{ type: "text", text: JSON.stringify(result, null, 2) }]
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
catch (error) {
|
|
90
|
+
return {
|
|
91
|
+
content: [{ type: "text", text: `Error retrieving workflow state script: ${error instanceof Error ? error.message : String(error)}` }],
|
|
92
|
+
isError: true
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
debugLogWithTag('WORKFLOW_TRANSITION_SCRIPT', `Retrieving ${params.scriptType} script for transition '${params.previousState}' -> '${params.nextState}' on ${params.typeInternalName}.${params.attributeName}`);
|
|
98
|
+
try {
|
|
99
|
+
const result = await client.makeApiRequest('json/workflow-transition-script', 'GET', {
|
|
100
|
+
workspaceId: params.workspaceId,
|
|
101
|
+
typeInternalName: params.typeInternalName,
|
|
102
|
+
attributeName: params.attributeName,
|
|
103
|
+
previousState: params.previousState,
|
|
104
|
+
nextState: params.nextState,
|
|
105
|
+
scriptType: params.scriptType
|
|
106
|
+
});
|
|
107
|
+
debugLogWithTag('WORKFLOW_TRANSITION_SCRIPT', `Successfully retrieved ${params.scriptType} script for transition '${params.previousState}' -> '${params.nextState}'`);
|
|
108
|
+
return {
|
|
109
|
+
content: [{ type: "text", text: JSON.stringify(result, null, 2) }]
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
catch (error) {
|
|
113
|
+
return {
|
|
114
|
+
content: [{ type: "text", text: `Error retrieving workflow transition script: ${error instanceof Error ? error.message : String(error)}` }],
|
|
115
|
+
isError: true
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
server.registerTool(TOOL_MANAGE_WORKFLOW_SCRIPT, WORKFLOW_SCRIPT_TOOL_DEFINITIONS[TOOL_MANAGE_WORKFLOW_SCRIPT], async (params) => {
|
|
121
|
+
if (params.type === "state") {
|
|
122
|
+
if (!params.stateName) {
|
|
123
|
+
return {
|
|
124
|
+
content: [{ type: "text", text: "Error: stateName is required when type='state'" }],
|
|
125
|
+
isError: true
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
else if (params.type === "transition") {
|
|
130
|
+
if (!params.scriptType) {
|
|
131
|
+
return {
|
|
132
|
+
content: [{ type: "text", text: "Error: scriptType is required when type='transition'" }],
|
|
133
|
+
isError: true
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
if (!params.previousState || !params.nextState) {
|
|
137
|
+
return {
|
|
138
|
+
content: [{ type: "text", text: "Error: previousState and nextState are required when type='transition'" }],
|
|
139
|
+
isError: true
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
const normalizedScript = (params.script === null || params.script === undefined || params.script.trim() === '')
|
|
144
|
+
? null
|
|
145
|
+
: params.script;
|
|
146
|
+
const operation = normalizedScript === null ? 'delete' : 'create/update';
|
|
147
|
+
if (params.type === "state") {
|
|
148
|
+
const scriptType = params.scriptType || "action";
|
|
149
|
+
debugLogWithTag('WORKFLOW_STATE_SCRIPT', `${operation} script for state '${params.stateName}' on ${params.typeInternalName}.${params.attributeName}`);
|
|
150
|
+
try {
|
|
151
|
+
const requestBody = {
|
|
152
|
+
workspaceId: params.workspaceId,
|
|
153
|
+
typeInternalName: params.typeInternalName,
|
|
154
|
+
attributeName: params.attributeName,
|
|
155
|
+
stateName: params.stateName,
|
|
156
|
+
scriptType,
|
|
157
|
+
script: normalizedScript
|
|
158
|
+
};
|
|
159
|
+
const result = await client.makeApiRequest('json/workflow-state-script', 'PATCH', undefined, requestBody);
|
|
160
|
+
debugLogWithTag('WORKFLOW_STATE_SCRIPT', `Successfully ${operation}d script for state '${params.stateName}'`);
|
|
161
|
+
return {
|
|
162
|
+
content: [{ type: "text", text: JSON.stringify(result, null, 2) }]
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
catch (error) {
|
|
166
|
+
return {
|
|
167
|
+
content: [{ type: "text", text: `Error managing workflow state script: ${error instanceof Error ? error.message : String(error)}` }],
|
|
168
|
+
isError: true
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
else {
|
|
173
|
+
debugLogWithTag('WORKFLOW_TRANSITION_SCRIPT', `${operation} ${params.scriptType} script for transition '${params.previousState}' -> '${params.nextState}' on ${params.typeInternalName}.${params.attributeName}`);
|
|
174
|
+
try {
|
|
175
|
+
const requestBody = {
|
|
176
|
+
workspaceId: params.workspaceId,
|
|
177
|
+
typeInternalName: params.typeInternalName,
|
|
178
|
+
attributeName: params.attributeName,
|
|
179
|
+
previousState: params.previousState,
|
|
180
|
+
nextState: params.nextState,
|
|
181
|
+
scriptType: params.scriptType,
|
|
182
|
+
script: normalizedScript
|
|
183
|
+
};
|
|
184
|
+
const result = await client.makeApiRequest('json/workflow-transition-script', 'PATCH', undefined, requestBody);
|
|
185
|
+
debugLogWithTag('WORKFLOW_TRANSITION_SCRIPT', `Successfully ${operation}d ${params.scriptType} script for transition '${params.previousState}' -> '${params.nextState}'`);
|
|
186
|
+
return {
|
|
187
|
+
content: [{ type: "text", text: JSON.stringify(result, null, 2) }]
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
catch (error) {
|
|
191
|
+
return {
|
|
192
|
+
content: [{ type: "text", text: `Error managing workflow transition script: ${error instanceof Error ? error.message : String(error)}` }],
|
|
193
|
+
isError: true
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
});
|
|
198
|
+
server.registerTool(TOOL_EDIT_WORKFLOW_SCRIPT, WORKFLOW_SCRIPT_TOOL_DEFINITIONS[TOOL_EDIT_WORKFLOW_SCRIPT], async (params) => {
|
|
199
|
+
if (params.type === "state") {
|
|
200
|
+
if (!params.stateName) {
|
|
201
|
+
return {
|
|
202
|
+
content: [{ type: "text", text: "Error: stateName is required when type='state'" }],
|
|
203
|
+
isError: true
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
else if (params.type === "transition") {
|
|
208
|
+
if (!params.scriptType) {
|
|
209
|
+
return {
|
|
210
|
+
content: [{ type: "text", text: "Error: scriptType is required when type='transition'" }],
|
|
211
|
+
isError: true
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
if (!params.previousState || !params.nextState) {
|
|
215
|
+
return {
|
|
216
|
+
content: [{ type: "text", text: "Error: previousState and nextState are required when type='transition'" }],
|
|
217
|
+
isError: true
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
const scriptLabel = params.type === "state"
|
|
222
|
+
? `state '${params.stateName}'`
|
|
223
|
+
: `transition '${params.previousState}' -> '${params.nextState}'`;
|
|
224
|
+
debugLogWithTag('EDIT_WORKFLOW_SCRIPT', `Editing script for ${scriptLabel} on ${params.typeInternalName}.${params.attributeName}`);
|
|
225
|
+
try {
|
|
226
|
+
const endpoint = params.type === "state"
|
|
227
|
+
? 'json/workflow-state-script'
|
|
228
|
+
: 'json/workflow-transition-script';
|
|
229
|
+
const getParams = {
|
|
230
|
+
workspaceId: params.workspaceId,
|
|
231
|
+
typeInternalName: params.typeInternalName,
|
|
232
|
+
attributeName: params.attributeName
|
|
233
|
+
};
|
|
234
|
+
if (params.type === "state") {
|
|
235
|
+
getParams.stateName = params.stateName;
|
|
236
|
+
getParams.scriptType = params.scriptType || "action";
|
|
237
|
+
}
|
|
238
|
+
else {
|
|
239
|
+
getParams.previousState = params.previousState;
|
|
240
|
+
getParams.nextState = params.nextState;
|
|
241
|
+
getParams.scriptType = params.scriptType;
|
|
242
|
+
}
|
|
243
|
+
const currentData = await client.makeApiRequest(endpoint, 'GET', getParams);
|
|
244
|
+
const currentScript = currentData.script;
|
|
245
|
+
if (currentScript === undefined || currentScript === null || currentScript === '') {
|
|
246
|
+
return {
|
|
247
|
+
content: [{ type: "text", text: `Error: No script found for ${scriptLabel}. Use cplace_manage_workflow_script to create a new script.` }],
|
|
248
|
+
isError: true
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
const result = applyStrReplace(currentScript, params.old_str, params.new_str, params.replace_all ?? false);
|
|
252
|
+
if (!result.success) {
|
|
253
|
+
return {
|
|
254
|
+
content: [{ type: "text", text: `Error: ${result.error}` }],
|
|
255
|
+
isError: true
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
const writeBody = { ...getParams, script: result.newContent };
|
|
259
|
+
await client.makeApiRequest(endpoint, 'PATCH', undefined, writeBody);
|
|
260
|
+
debugLogWithTag('EDIT_WORKFLOW_SCRIPT', `Successfully edited script for ${scriptLabel} (${result.replacementCount} replacement(s))`);
|
|
261
|
+
return {
|
|
262
|
+
content: [{ type: "text", text: `Successfully edited workflow script for ${scriptLabel}. Replaced ${result.replacementCount} occurrence(s).` }]
|
|
263
|
+
};
|
|
264
|
+
}
|
|
265
|
+
catch (error) {
|
|
266
|
+
debugLogWithTag('EDIT_WORKFLOW_SCRIPT', `Error: ${error instanceof Error ? error.message : String(error)}`);
|
|
267
|
+
return {
|
|
268
|
+
content: [{ type: "text", text: `Error editing workflow script: ${error instanceof Error ? error.message : String(error)}` }],
|
|
269
|
+
isError: true
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
//# sourceMappingURL=workflow-scripts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-scripts.js","sourceRoot":"","sources":["../../src/tools/workflow-scripts.ts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