@nuraly/lumenui 0.1.0 → 0.2.1
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/dist/nuralyui.bundle.js +23024 -17355
- package/dist/nuralyui.bundle.js.gz +0 -0
- package/dist/src/components/alert/alert.component.d.ts +8 -5
- package/dist/src/components/alert/alert.component.js +24 -20
- package/dist/src/components/alert/alert.style.d.ts +0 -7
- package/dist/src/components/alert/alert.style.js +48 -90
- package/dist/src/components/alert/bundle.js +82 -108
- package/dist/src/components/alert/bundle.js.gz +0 -0
- package/dist/src/components/badge/badge.component.d.ts +9 -8
- package/dist/src/components/badge/badge.component.js +17 -14
- package/dist/src/components/badge/badge.style.d.ts +0 -7
- package/dist/src/components/badge/badge.style.js +49 -107
- package/dist/src/components/badge/bundle.js +81 -119
- package/dist/src/components/badge/bundle.js.gz +0 -0
- package/dist/src/components/breadcrumb/breadcrumb.component.d.ts +8 -10
- package/dist/src/components/breadcrumb/breadcrumb.component.js +16 -15
- package/dist/src/components/breadcrumb/breadcrumb.style.d.ts +0 -7
- package/dist/src/components/breadcrumb/breadcrumb.style.js +42 -60
- package/dist/src/components/breadcrumb/bundle.js +96 -93
- package/dist/src/components/breadcrumb/bundle.js.gz +0 -0
- package/dist/src/components/button/bundle.js +221 -470
- package/dist/src/components/button/bundle.js.gz +0 -0
- package/dist/src/components/button/button.component.d.ts +2 -1
- package/dist/src/components/button/button.component.js +6 -6
- package/dist/src/components/button/button.style.d.ts +0 -7
- package/dist/src/components/button/button.style.js +167 -433
- package/dist/src/components/canvas/base-canvas.component.d.ts +2 -1
- package/dist/src/components/canvas/base-canvas.component.js +1 -0
- package/dist/src/components/canvas/bundle.js +16919 -9595
- package/dist/src/components/canvas/bundle.js.gz +0 -0
- package/dist/src/components/canvas/canvas.constants.d.ts +1 -1
- package/dist/src/components/canvas/canvas.constants.js +1 -1
- package/dist/src/components/canvas/chatbot-panel.style.js +31 -31
- package/dist/src/components/canvas/index.d.ts +2 -0
- package/dist/src/components/canvas/index.js +3 -0
- package/dist/src/components/canvas/whiteboard-canvas.component.d.ts +3 -1
- package/dist/src/components/canvas/whiteboard-canvas.component.js +19 -1
- package/dist/src/components/canvas/whiteboard-canvas.style.js +159 -138
- package/dist/src/components/canvas/whiteboard-node.component.d.ts +2 -1
- package/dist/src/components/canvas/whiteboard-node.component.js +2 -1
- package/dist/src/components/canvas/whiteboard-node.style.js +44 -44
- package/dist/src/components/canvas/workflow-canvas-only.d.ts +4 -0
- package/dist/src/components/canvas/workflow-canvas-only.js +5 -0
- package/dist/src/components/canvas/workflow-canvas.component.d.ts +3 -1
- package/dist/src/components/canvas/workflow-canvas.component.js +24 -2
- package/dist/src/components/canvas/workflow-canvas.style.js +776 -648
- package/dist/src/components/canvas/workflow-canvas.types.d.ts +113 -4
- package/dist/src/components/canvas/workflow-canvas.types.js +646 -3
- package/dist/src/components/canvas/workflow-node.component.d.ts +3 -2
- package/dist/src/components/canvas/workflow-node.component.js +5 -5
- package/dist/src/components/canvas/workflow-node.style.js +183 -181
- package/dist/src/components/card/bundle.js +43 -35
- package/dist/src/components/card/bundle.js.gz +0 -0
- package/dist/src/components/card/card.component.d.ts +6 -1
- package/dist/src/components/card/card.component.js +8 -2
- package/dist/src/components/card/card.style.js +26 -30
- package/dist/src/components/carousel/bundle.js +8 -8
- package/dist/src/components/carousel/bundle.js.gz +0 -0
- package/dist/src/components/carousel/carousel.component.d.ts +12 -0
- package/dist/src/components/carousel/carousel.component.js +16 -4
- package/dist/src/components/chatbot/bundle.js +422 -406
- package/dist/src/components/chatbot/bundle.js.gz +0 -0
- package/dist/src/components/chatbot/chatbot.component.d.ts +2 -1
- package/dist/src/components/chatbot/chatbot.component.js +1 -0
- package/dist/src/components/chatbot/chatbot.style.js +277 -277
- package/dist/src/components/checkbox/bundle.js +86 -245
- package/dist/src/components/checkbox/bundle.js.gz +0 -0
- package/dist/src/components/checkbox/checkbox.component.d.ts +5 -2
- package/dist/src/components/checkbox/checkbox.component.js +11 -13
- package/dist/src/components/checkbox/checkbox.style.js +56 -231
- package/dist/src/components/code-editor/bundle.js +151 -25
- package/dist/src/components/code-editor/bundle.js.gz +0 -0
- package/dist/src/components/code-editor/code-editor.component.d.ts +18 -56
- package/dist/src/components/code-editor/code-editor.component.js +141 -394
- package/dist/src/components/code-editor/code-editor.style.js +139 -15
- package/dist/src/components/collapse/bundle.js +97 -84
- package/dist/src/components/collapse/bundle.js.gz +0 -0
- package/dist/src/components/collapse/collapse.component.d.ts +7 -1
- package/dist/src/components/collapse/collapse.component.js +11 -2
- package/dist/src/components/collapse/collapse.style.js +60 -60
- package/dist/src/components/colorpicker/bundle.js +85 -48
- package/dist/src/components/colorpicker/bundle.js.gz +0 -0
- package/dist/src/components/colorpicker/color-holder.component.d.ts +2 -4
- package/dist/src/components/colorpicker/color-holder.component.js +5 -6
- package/dist/src/components/colorpicker/color-holder.style.js +11 -11
- package/dist/src/components/colorpicker/color-picker.component.d.ts +2 -1
- package/dist/src/components/colorpicker/color-picker.component.js +1 -0
- package/dist/src/components/colorpicker/color-picker.style.js +12 -12
- package/dist/src/components/colorpicker/default-color-sets.component.d.ts +2 -2
- package/dist/src/components/colorpicker/default-color-sets.component.js +4 -3
- package/dist/src/components/colorpicker/default-color-sets.style.js +5 -5
- package/dist/src/components/container/bundle.js +24 -14
- package/dist/src/components/container/bundle.js.gz +0 -0
- package/dist/src/components/container/container.component.d.ts +4 -1
- package/dist/src/components/container/container.component.js +7 -5
- package/dist/src/components/container/container.style.js +9 -9
- package/dist/src/components/datepicker/bundle.js +193 -177
- package/dist/src/components/datepicker/bundle.js.gz +0 -0
- package/dist/src/components/datepicker/datepicker.component.d.ts +2 -1
- package/dist/src/components/datepicker/datepicker.component.js +1 -0
- package/dist/src/components/datepicker/datepicker.style.js +65 -65
- package/dist/src/components/datepicker/datepicker.style.variables.js +91 -91
- package/dist/src/components/db-connection-select/bundle.js +7 -6
- package/dist/src/components/db-connection-select/bundle.js.gz +0 -0
- package/dist/src/components/db-connection-select/db-connection-select.component.d.ts +3 -0
- package/dist/src/components/db-connection-select/db-connection-select.component.js +4 -0
- package/dist/src/components/divider/bundle.js +61 -35
- package/dist/src/components/divider/bundle.js.gz +0 -0
- package/dist/src/components/divider/divider.component.d.ts +4 -6
- package/dist/src/components/divider/divider.component.js +10 -14
- package/dist/src/components/divider/divider.style.js +41 -31
- package/dist/src/components/document/bundle.js +50 -48
- package/dist/src/components/document/bundle.js.gz +0 -0
- package/dist/src/components/document/document.component.d.ts +12 -1
- package/dist/src/components/document/document.component.js +18 -6
- package/dist/src/components/document/document.style.js +21 -36
- package/dist/src/components/dropdown/bundle.js +117 -101
- package/dist/src/components/dropdown/bundle.js.gz +0 -0
- package/dist/src/components/dropdown/dropdown.component.d.ts +2 -1
- package/dist/src/components/dropdown/dropdown.component.js +1 -0
- package/dist/src/components/dropdown/dropdown.style.js +68 -68
- package/dist/src/components/file-upload/bundle.js +82 -76
- package/dist/src/components/file-upload/bundle.js.gz +0 -0
- package/dist/src/components/file-upload/file-upload.component.d.ts +2 -1
- package/dist/src/components/file-upload/file-upload.component.js +1 -0
- package/dist/src/components/file-upload/styles.js +59 -59
- package/dist/src/components/flex/bundle.js +18 -8
- package/dist/src/components/flex/bundle.js.gz +0 -0
- package/dist/src/components/flex/flex.component.d.ts +4 -1
- package/dist/src/components/flex/flex.component.js +7 -4
- package/dist/src/components/flex/flex.style.js +2 -2
- package/dist/src/components/form/bundle.js +22 -10
- package/dist/src/components/form/bundle.js.gz +0 -0
- package/dist/src/components/form/form.component.d.ts +4 -1
- package/dist/src/components/form/form.component.js +5 -1
- package/dist/src/components/form/form.style.js +2 -2
- package/dist/src/components/grid/bundle.js +26 -14
- package/dist/src/components/grid/bundle.js.gz +0 -0
- package/dist/src/components/grid/col.component.d.ts +4 -1
- package/dist/src/components/grid/col.component.js +4 -1
- package/dist/src/components/grid/col.style.js +2 -2
- package/dist/src/components/grid/row.component.d.ts +4 -1
- package/dist/src/components/grid/row.component.js +4 -1
- package/dist/src/components/grid/row.style.js +2 -2
- package/dist/src/components/icon/bundle.js +78 -252
- package/dist/src/components/icon/bundle.js.gz +0 -0
- package/dist/src/components/icon/icon-paths.d.ts +2 -0
- package/dist/src/components/icon/icon-paths.js +141 -0
- package/dist/src/components/icon/icon.component.d.ts +10 -12
- package/dist/src/components/icon/icon.component.js +42 -93
- package/dist/src/components/icon/icon.style.js +42 -130
- package/dist/src/components/icon/icon.variables.js +9 -9
- package/dist/src/components/iconpicker/bundle.js +859 -1511
- package/dist/src/components/iconpicker/bundle.js.gz +0 -0
- package/dist/src/components/iconpicker/icon-picker.component.d.ts +2 -1
- package/dist/src/components/iconpicker/icon-picker.component.js +1 -0
- package/dist/src/components/iconpicker/icon-picker.style.js +13 -13
- package/dist/src/components/image/bundle.js +43 -33
- package/dist/src/components/image/bundle.js.gz +0 -0
- package/dist/src/components/image/image.component.d.ts +10 -1
- package/dist/src/components/image/image.component.js +13 -3
- package/dist/src/components/image/image.style.js +19 -26
- package/dist/src/components/input/bundle.js +420 -644
- package/dist/src/components/input/bundle.js.gz +0 -0
- package/dist/src/components/input/input.component.d.ts +16 -3
- package/dist/src/components/input/input.component.js +43 -27
- package/dist/src/components/input/input.style.d.ts +1 -1
- package/dist/src/components/input/input.style.js +331 -634
- package/dist/src/components/kv-secret-select/bundle.js +2 -1
- package/dist/src/components/kv-secret-select/bundle.js.gz +0 -0
- package/dist/src/components/kv-secret-select/kv-secret-select.component.d.ts +3 -0
- package/dist/src/components/kv-secret-select/kv-secret-select.component.js +4 -0
- package/dist/src/components/label/bundle.js +37 -60
- package/dist/src/components/label/bundle.js.gz +0 -0
- package/dist/src/components/label/label.component.d.ts +8 -4
- package/dist/src/components/label/label.component.js +9 -14
- package/dist/src/components/label/label.style.js +17 -25
- package/dist/src/components/label/label.style.variables.js +18 -18
- package/dist/src/components/layout/bundle.js +86 -70
- package/dist/src/components/layout/bundle.js.gz +0 -0
- package/dist/src/components/layout/content.component.d.ts +2 -1
- package/dist/src/components/layout/content.component.js +2 -1
- package/dist/src/components/layout/content.style.js +3 -3
- package/dist/src/components/layout/footer.component.d.ts +2 -1
- package/dist/src/components/layout/footer.component.js +3 -2
- package/dist/src/components/layout/footer.style.js +7 -7
- package/dist/src/components/layout/header.component.d.ts +2 -1
- package/dist/src/components/layout/header.component.js +3 -2
- package/dist/src/components/layout/header.style.js +7 -7
- package/dist/src/components/layout/layout.component.d.ts +4 -7
- package/dist/src/components/layout/layout.component.js +9 -22
- package/dist/src/components/layout/layout.style.js +1 -1
- package/dist/src/components/layout/sider.component.d.ts +3 -1
- package/dist/src/components/layout/sider.component.js +3 -1
- package/dist/src/components/layout/sider.style.js +29 -29
- package/dist/src/components/menu/bundle.js +135 -125
- package/dist/src/components/menu/bundle.js.gz +0 -0
- package/dist/src/components/menu/menu.component.d.ts +2 -1
- package/dist/src/components/menu/menu.component.js +1 -0
- package/dist/src/components/menu/menu.style.js +87 -87
- package/dist/src/components/modal/bundle.js +105 -96
- package/dist/src/components/modal/bundle.js.gz +0 -0
- package/dist/src/components/modal/modal.component.d.ts +2 -1
- package/dist/src/components/modal/modal.component.js +1 -0
- package/dist/src/components/modal/modal.style.js +69 -71
- package/dist/src/components/panel/bundle.js +190 -391
- package/dist/src/components/panel/bundle.js.gz +0 -0
- package/dist/src/components/panel/panel.component.d.ts +2 -1
- package/dist/src/components/panel/panel.component.js +1 -0
- package/dist/src/components/panel/panel.style.js +65 -65
- package/dist/src/components/popconfirm/bundle.js +107 -93
- package/dist/src/components/popconfirm/bundle.js.gz +0 -0
- package/dist/src/components/popconfirm/popconfirm-manager.component.d.ts +2 -1
- package/dist/src/components/popconfirm/popconfirm-manager.component.js +1 -0
- package/dist/src/components/popconfirm/popconfirm-manager.style.js +16 -16
- package/dist/src/components/popconfirm/popconfirm.component.d.ts +2 -1
- package/dist/src/components/popconfirm/popconfirm.component.js +9 -5
- package/dist/src/components/popconfirm/popconfirm.style.js +43 -43
- package/dist/src/components/radio/bundle.js +56 -86
- package/dist/src/components/radio/bundle.js.gz +0 -0
- package/dist/src/components/radio/radio.component.d.ts +8 -2
- package/dist/src/components/radio/radio.component.js +17 -9
- package/dist/src/components/radio/radio.style.js +30 -77
- package/dist/src/components/radio-group/bundle.js +125 -89
- package/dist/src/components/radio-group/bundle.js.gz +0 -0
- package/dist/src/components/radio-group/radio-group.component.d.ts +5 -1
- package/dist/src/components/radio-group/radio-group.component.js +18 -10
- package/dist/src/components/radio-group/radio-group.style.js +44 -44
- package/dist/src/components/select/bundle.js +260 -367
- package/dist/src/components/select/bundle.js.gz +0 -0
- package/dist/src/components/select/select.component.d.ts +12 -17
- package/dist/src/components/select/select.component.js +35 -35
- package/dist/src/components/select/select.style.js +184 -324
- package/dist/src/components/skeleton/bundle.js +82 -162
- package/dist/src/components/skeleton/bundle.js.gz +0 -0
- package/dist/src/components/skeleton/skeleton.component.d.ts +10 -5
- package/dist/src/components/skeleton/skeleton.component.js +20 -7
- package/dist/src/components/skeleton/skeleton.style.js +34 -133
- package/dist/src/components/slider-input/bundle.js +89 -88
- package/dist/src/components/slider-input/bundle.js.gz +0 -0
- package/dist/src/components/slider-input/slider-input.component.d.ts +11 -0
- package/dist/src/components/slider-input/slider-input.component.js +20 -8
- package/dist/src/components/slider-input/slider-input.style.js +47 -47
- package/dist/src/components/slider-input/slider-input.style.variables.js +32 -32
- package/dist/src/components/table/bundle.js +149 -128
- package/dist/src/components/table/bundle.js.gz +0 -0
- package/dist/src/components/table/table.component.d.ts +2 -1
- package/dist/src/components/table/table.component.js +1 -0
- package/dist/src/components/table/table.style.js +79 -79
- package/dist/src/components/tabs/bundle.js +462 -663
- package/dist/src/components/tabs/bundle.js.gz +0 -0
- package/dist/src/components/tabs/tabs.component.d.ts +6 -1
- package/dist/src/components/tabs/tabs.component.js +8 -1
- package/dist/src/components/tabs/tabs.style.js +200 -201
- package/dist/src/components/tag/bundle.js +44 -36
- package/dist/src/components/tag/bundle.js.gz +0 -0
- package/dist/src/components/tag/tag.component.d.ts +7 -6
- package/dist/src/components/tag/tag.component.js +10 -19
- package/dist/src/components/tag/tag.style.js +20 -24
- package/dist/src/components/textarea/bundle.js +131 -94
- package/dist/src/components/textarea/bundle.js.gz +0 -0
- package/dist/src/components/textarea/textarea.component.d.ts +7 -1
- package/dist/src/components/textarea/textarea.component.js +10 -3
- package/dist/src/components/textarea/textarea.style.d.ts +1 -13
- package/dist/src/components/textarea/textarea.style.js +79 -91
- package/dist/src/components/timeline/bundle.js +71 -134
- package/dist/src/components/timeline/bundle.js.gz +0 -0
- package/dist/src/components/timeline/timeline.component.d.ts +9 -6
- package/dist/src/components/timeline/timeline.component.js +16 -13
- package/dist/src/components/timeline/timeline.style.d.ts +0 -7
- package/dist/src/components/timeline/timeline.style.js +41 -122
- package/dist/src/components/timepicker/bundle.js +196 -166
- package/dist/src/components/timepicker/bundle.js.gz +0 -0
- package/dist/src/components/timepicker/timepicker.component.d.ts +2 -1
- package/dist/src/components/timepicker/timepicker.component.js +1 -0
- package/dist/src/components/timepicker/timepicker.style.js +42 -42
- package/dist/src/components/timepicker/timepicker.style.variables.js +91 -91
- package/dist/src/components/toast/bundle.js +97 -81
- package/dist/src/components/toast/bundle.js.gz +0 -0
- package/dist/src/components/toast/toast.component.d.ts +2 -1
- package/dist/src/components/toast/toast.component.js +1 -0
- package/dist/src/components/toast/toast.style.js +62 -62
- package/dist/src/components/tooltips/bundle.js +10 -10
- package/dist/src/components/tooltips/bundle.js.gz +0 -0
- package/dist/src/components/tooltips/tooltips.component.d.ts +8 -0
- package/dist/src/components/tooltips/tooltips.component.js +9 -1
- package/dist/src/components/tooltips/tooltips.style.js +6 -6
- package/dist/src/components/video/bundle.js +47 -36
- package/dist/src/components/video/bundle.js.gz +0 -0
- package/dist/src/components/video/video.component.d.ts +12 -1
- package/dist/src/components/video/video.component.js +18 -6
- package/dist/src/components/video/video.style.js +18 -24
- package/package.json +25 -12
- package/packages/common/dist/VERSIONS.md +2 -2
- package/packages/common/dist/shared/base-mixin.d.ts +21 -19
- package/packages/common/dist/shared/base-mixin.d.ts.map +1 -1
- package/packages/common/dist/shared/base-mixin.js +102 -18
- package/packages/common/dist/shared/base-mixin.js.map +1 -1
- package/packages/common/dist/shared/index.d.ts +1 -0
- package/packages/common/dist/shared/index.d.ts.map +1 -1
- package/packages/common/dist/shared/index.js +2 -0
- package/packages/common/dist/shared/index.js.map +1 -1
- package/packages/common/dist/shared/style-injector.d.ts +11 -0
- package/packages/common/dist/shared/style-injector.d.ts.map +1 -0
- package/packages/common/dist/shared/style-injector.js +53 -0
- package/packages/common/dist/shared/style-injector.js.map +1 -0
- package/packages/common/dist/shared/theme-mixin.d.ts +2 -24
- package/packages/common/dist/shared/theme-mixin.d.ts.map +1 -1
- package/packages/common/dist/shared/theme-mixin.js +5 -38
- package/packages/common/dist/shared/theme-mixin.js.map +1 -1
- package/packages/themes/dist/default.css +0 -10
- package/packages/themes/dist/package.json +1 -1
|
Binary file
|
|
@@ -24,7 +24,7 @@ export declare const TABLE_MIN_HEIGHT = 120;
|
|
|
24
24
|
export declare const VIEWPORT_ADD_NODE_OFFSET_X = 400;
|
|
25
25
|
export declare const VIEWPORT_ADD_NODE_OFFSET_Y = 200;
|
|
26
26
|
export declare const TRIGGER_POLL_INTERVAL_MS = 10000;
|
|
27
|
-
export declare const PERSISTENT_TRIGGER_TYPE_NAMES: readonly ["TELEGRAM_BOT", "SLACK_SOCKET", "DISCORD_BOT", "WHATSAPP_WEBHOOK", "CUSTOM_WEBSOCKET"];
|
|
27
|
+
export declare const PERSISTENT_TRIGGER_TYPE_NAMES: readonly ["TELEGRAM_BOT", "SLACK_SOCKET", "DISCORD_BOT", "WHATSAPP_WEBHOOK", "CUSTOM_WEBSOCKET", "RABBITMQ_TRIGGER", "CALENDLY_TRIGGER", "KAFKA_TRIGGER"];
|
|
28
28
|
export declare const FILL_COLOR_PRESETS: readonly ["#fef08a", "#bbf7d0", "#bfdbfe", "#fecaca", "#e9d5ff", "#fed7aa", "#ffffff", "#f3f4f6"];
|
|
29
29
|
export declare const BORDER_COLOR_PRESETS: readonly ["#8b5cf6", "#3b82f6", "#ef4444", "#22c55e", "#f59e0b", "#6b7280", "#1a1a1a", "#e5e7eb"];
|
|
30
30
|
export declare const TEXT_COLOR_PRESETS: readonly ["#1a1a1a", "#374151", "#713f12", "#1e3a5f", "#7f1d1d", "#4c1d95", "#ffffff"];
|
|
@@ -30,7 +30,7 @@ export const VIEWPORT_ADD_NODE_OFFSET_Y = 200;
|
|
|
30
30
|
// ==================== Trigger Polling ====================
|
|
31
31
|
export const TRIGGER_POLL_INTERVAL_MS = 10000;
|
|
32
32
|
export const PERSISTENT_TRIGGER_TYPE_NAMES = [
|
|
33
|
-
'TELEGRAM_BOT', 'SLACK_SOCKET', 'DISCORD_BOT', 'WHATSAPP_WEBHOOK', 'CUSTOM_WEBSOCKET',
|
|
33
|
+
'TELEGRAM_BOT', 'SLACK_SOCKET', 'DISCORD_BOT', 'WHATSAPP_WEBHOOK', 'CUSTOM_WEBSOCKET', 'RABBITMQ_TRIGGER', 'CALENDLY_TRIGGER', 'KAFKA_TRIGGER',
|
|
34
34
|
];
|
|
35
35
|
// ==================== Color Presets ====================
|
|
36
36
|
export const FILL_COLOR_PRESETS = [
|
|
@@ -22,9 +22,9 @@ export const chatbotPanelStyles = css `
|
|
|
22
22
|
z-index: 999;
|
|
23
23
|
display: flex;
|
|
24
24
|
flex-direction: column;
|
|
25
|
-
background:
|
|
26
|
-
border-left: 1px solid
|
|
27
|
-
box-shadow:
|
|
25
|
+
background: #f4f4f4;
|
|
26
|
+
border-left: 1px solid #e0e0e0;
|
|
27
|
+
box-shadow: 0 4px 16px rgba(0,0,0,0.2);
|
|
28
28
|
animation: chatbot-panel-slide-in 0.2s ease-out;
|
|
29
29
|
/* Override canvas touch-action:none so inputs/scrolling work on mobile */
|
|
30
30
|
touch-action: auto;
|
|
@@ -39,44 +39,44 @@ export const chatbotPanelStyles = css `
|
|
|
39
39
|
display: flex;
|
|
40
40
|
align-items: center;
|
|
41
41
|
justify-content: space-between;
|
|
42
|
-
padding:
|
|
43
|
-
border-bottom: 1px solid
|
|
44
|
-
background:
|
|
42
|
+
padding: 0.5rem 0.75rem;
|
|
43
|
+
border-bottom: 1px solid #e0e0e0;
|
|
44
|
+
background: #e8e8e8;
|
|
45
45
|
flex-shrink: 0;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.chatbot-panel-title {
|
|
49
49
|
display: flex;
|
|
50
50
|
align-items: center;
|
|
51
|
-
gap:
|
|
52
|
-
font-family:
|
|
53
|
-
font-size:
|
|
54
|
-
font-weight:
|
|
55
|
-
color:
|
|
51
|
+
gap: 0.5rem;
|
|
52
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
53
|
+
font-size: 0.875rem;
|
|
54
|
+
font-weight: 600;
|
|
55
|
+
color: #161616;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.chatbot-panel-title nr-icon {
|
|
59
|
-
color:
|
|
59
|
+
color: #7c3aed;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.chatbot-panel-close {
|
|
63
63
|
background: none;
|
|
64
64
|
border: none;
|
|
65
|
-
color:
|
|
65
|
+
color: #525252;
|
|
66
66
|
cursor: pointer;
|
|
67
|
-
padding:
|
|
67
|
+
padding: 0.25rem;
|
|
68
68
|
min-width: 44px;
|
|
69
69
|
min-height: 44px;
|
|
70
70
|
display: flex;
|
|
71
71
|
align-items: center;
|
|
72
72
|
justify-content: center;
|
|
73
|
-
border-radius:
|
|
74
|
-
transition: all
|
|
73
|
+
border-radius: 4px;
|
|
74
|
+
transition: all 0.15s ease;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.chatbot-panel-close:hover {
|
|
78
|
-
color:
|
|
79
|
-
background:
|
|
78
|
+
color: #161616;
|
|
79
|
+
background: rgba(0, 0, 0, 0.05);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.chatbot-panel-content {
|
|
@@ -117,7 +117,7 @@ export const chatbotPanelStyles = css `
|
|
|
117
117
|
width: 16px;
|
|
118
118
|
height: 16px;
|
|
119
119
|
border-radius: 50%;
|
|
120
|
-
background:
|
|
120
|
+
background: #da1e28;
|
|
121
121
|
color: #fff;
|
|
122
122
|
font-size: 10px;
|
|
123
123
|
font-weight: 600;
|
|
@@ -132,51 +132,51 @@ export const chatbotPanelStyles = css `
|
|
|
132
132
|
.chatbot-panel[data-theme="carbon-light"],
|
|
133
133
|
.chatbot-panel[data-theme="default-light"],
|
|
134
134
|
.chatbot-panel[data-theme="default"] {
|
|
135
|
-
background:
|
|
136
|
-
border-color:
|
|
135
|
+
background: #f4f4f4;
|
|
136
|
+
border-color: #e0e0e0;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
.chatbot-panel[data-theme="light"] .chatbot-panel-header,
|
|
140
140
|
.chatbot-panel[data-theme="carbon-light"] .chatbot-panel-header,
|
|
141
141
|
.chatbot-panel[data-theme="default-light"] .chatbot-panel-header,
|
|
142
142
|
.chatbot-panel[data-theme="default"] .chatbot-panel-header {
|
|
143
|
-
background:
|
|
144
|
-
border-color:
|
|
143
|
+
background: #e8e8e8;
|
|
144
|
+
border-color: #e0e0e0;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
.chatbot-panel[data-theme="light"] .chatbot-panel-title,
|
|
148
148
|
.chatbot-panel[data-theme="carbon-light"] .chatbot-panel-title,
|
|
149
149
|
.chatbot-panel[data-theme="default-light"] .chatbot-panel-title,
|
|
150
150
|
.chatbot-panel[data-theme="default"] .chatbot-panel-title {
|
|
151
|
-
color:
|
|
151
|
+
color: #161616;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
/* Dark theme for chatbot panel */
|
|
155
155
|
.chatbot-panel[data-theme="dark"],
|
|
156
156
|
.chatbot-panel[data-theme="carbon-dark"],
|
|
157
157
|
.chatbot-panel[data-theme="default-dark"] {
|
|
158
|
-
background:
|
|
159
|
-
border-color:
|
|
158
|
+
background: #f4f4f4;
|
|
159
|
+
border-color: #e0e0e0;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
.chatbot-panel[data-theme="dark"] .chatbot-panel-header,
|
|
163
163
|
.chatbot-panel[data-theme="carbon-dark"] .chatbot-panel-header,
|
|
164
164
|
.chatbot-panel[data-theme="default-dark"] .chatbot-panel-header {
|
|
165
|
-
background:
|
|
166
|
-
border-color:
|
|
165
|
+
background: #e8e8e8;
|
|
166
|
+
border-color: #e0e0e0;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
.chatbot-panel[data-theme="dark"] .chatbot-panel-title,
|
|
170
170
|
.chatbot-panel[data-theme="carbon-dark"] .chatbot-panel-title,
|
|
171
171
|
.chatbot-panel[data-theme="default-dark"] .chatbot-panel-title {
|
|
172
|
-
color:
|
|
172
|
+
color: #e5e5e5;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
.chatbot-panel[data-theme="dark"] .chatbot-panel-close:hover,
|
|
176
176
|
.chatbot-panel[data-theme="carbon-dark"] .chatbot-panel-close:hover,
|
|
177
177
|
.chatbot-panel[data-theme="default-dark"] .chatbot-panel-close:hover {
|
|
178
|
-
color:
|
|
179
|
-
background:
|
|
178
|
+
color: #e5e5e5;
|
|
179
|
+
background: rgba(255, 255, 255, 0.1);
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
/* Mobile: chatbot panel full-screen */
|
|
@@ -4,6 +4,8 @@ export * from './canvas.constants.js';
|
|
|
4
4
|
export * from './workflow-canvas.types.js';
|
|
5
5
|
export * from './workflow-node.component.js';
|
|
6
6
|
export * from './workflow-canvas.component.js';
|
|
7
|
+
export * from './whiteboard-node.component.js';
|
|
8
|
+
export * from './whiteboard-canvas.component.js';
|
|
7
9
|
export { DataOperation, DATA_OPERATIONS, FilterOperator, FILTER_OPERATORS, DEFAULT_DATA_NODE_CONFIG, DATA_NODE_SECTIONS, DATA_OPERATIONS as DataOperations, validateDataNodeConfig, shouldShowSection, } from './data-node/data-node.types.js';
|
|
8
10
|
export { dataNodeFieldStyles } from './data-node/data-node-fields.style.js';
|
|
9
11
|
export * from './data-node/data-node-fields.component.js';
|
|
@@ -8,6 +8,9 @@ export * from './canvas.constants.js';
|
|
|
8
8
|
export * from './workflow-canvas.types.js';
|
|
9
9
|
export * from './workflow-node.component.js';
|
|
10
10
|
export * from './workflow-canvas.component.js';
|
|
11
|
+
// Whiteboard canvas components
|
|
12
|
+
export * from './whiteboard-node.component.js';
|
|
13
|
+
export * from './whiteboard-canvas.component.js';
|
|
11
14
|
// Data node components and types - re-export runtime values only
|
|
12
15
|
// Types should be imported directly from './data-node/data-node.types.js' when needed
|
|
13
16
|
export { DataOperation, DATA_OPERATIONS, FilterOperator, FILTER_OPERATORS, DEFAULT_DATA_NODE_CONFIG, DATA_NODE_SECTIONS, DATA_OPERATIONS as DataOperations, validateDataNodeConfig, shouldShowSection, } from './data-node/data-node.types.js';
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { Workflow, WorkflowNode, CanvasType } from './workflow-canvas.types.js';
|
|
7
7
|
import './whiteboard-node.component.js';
|
|
8
|
+
import '../select/select.component.js';
|
|
8
9
|
import { BaseCanvasElement } from './base-canvas.component.js';
|
|
9
10
|
/**
|
|
10
11
|
* Whiteboard canvas component for visual whiteboard editing (Miro-style)
|
|
@@ -15,7 +16,8 @@ import { BaseCanvasElement } from './base-canvas.component.js';
|
|
|
15
16
|
* @fires viewport-changed - When viewport (pan/zoom) changes
|
|
16
17
|
*/
|
|
17
18
|
export declare class WhiteboardCanvasElement extends BaseCanvasElement {
|
|
18
|
-
static
|
|
19
|
+
static useShadowDom: boolean;
|
|
20
|
+
static styles: (import("lit").CSSResult | import("lit").CSSResult[])[];
|
|
19
21
|
private _wbActiveColorPicker;
|
|
20
22
|
private wbShapesFlyoutOpen;
|
|
21
23
|
protected normalizeNodes(nodes: WorkflowNode[]): WorkflowNode[];
|
|
@@ -13,7 +13,15 @@ import { html, nothing } from 'lit';
|
|
|
13
13
|
import { customElement, state } from 'lit/decorators.js';
|
|
14
14
|
import { CanvasType, isWhiteboardNode, WhiteboardNodeType, } from './workflow-canvas.types.js';
|
|
15
15
|
import { styles } from './whiteboard-canvas.style.js';
|
|
16
|
+
import { styles as inputStyles } from '../input/input.style.js';
|
|
17
|
+
import labelStyles from '../label/label.style.js';
|
|
18
|
+
import { buttonStyles } from '../button/button.style.js';
|
|
19
|
+
import { styles as selectStyles } from '../select/select.style.js';
|
|
20
|
+
import { styles as checkboxStyles } from '../checkbox/checkbox.style.js';
|
|
21
|
+
import { styles as alertStyles } from '../alert/alert.style.js';
|
|
22
|
+
import { styles as radioStyles } from '../radio/radio.style.js';
|
|
16
23
|
import './whiteboard-node.component.js';
|
|
24
|
+
import '../select/select.component.js';
|
|
17
25
|
// Templates
|
|
18
26
|
import { renderWbSidebarTemplate, } from './templates/index.js';
|
|
19
27
|
import { renderWbFloatingToolbarTemplate } from './templates/wb-floating-toolbar.template.js';
|
|
@@ -342,7 +350,17 @@ let WhiteboardCanvasElement = class WhiteboardCanvasElement extends BaseCanvasEl
|
|
|
342
350
|
`;
|
|
343
351
|
}
|
|
344
352
|
};
|
|
345
|
-
WhiteboardCanvasElement.
|
|
353
|
+
WhiteboardCanvasElement.useShadowDom = true;
|
|
354
|
+
WhiteboardCanvasElement.styles = [
|
|
355
|
+
styles,
|
|
356
|
+
inputStyles,
|
|
357
|
+
labelStyles,
|
|
358
|
+
buttonStyles,
|
|
359
|
+
selectStyles,
|
|
360
|
+
checkboxStyles,
|
|
361
|
+
alertStyles,
|
|
362
|
+
radioStyles,
|
|
363
|
+
];
|
|
346
364
|
__decorate([
|
|
347
365
|
state()
|
|
348
366
|
], WhiteboardCanvasElement.prototype, "_wbActiveColorPicker", void 0);
|