@redvars/peacock 3.5.1 → 3.6.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/{BaseButton-DuASuVth.js → BaseButton-BNFAYn-S.js} +2 -2
- package/dist/{BaseButton-DuASuVth.js.map → BaseButton-BNFAYn-S.js.map} +1 -1
- package/dist/BaseInput-14YmcfK7.js +27 -0
- package/dist/BaseInput-14YmcfK7.js.map +1 -0
- package/dist/banner.js +2 -3
- package/dist/banner.js.map +1 -1
- package/dist/{button-DouvOfEU.js → button-colors-Ccys3hvS.js} +5 -294
- package/dist/button-colors-Ccys3hvS.js.map +1 -0
- package/dist/button-group.js +226 -6
- package/dist/button-group.js.map +1 -1
- package/dist/button.js +294 -8
- package/dist/button.js.map +1 -1
- package/dist/calendar-column-view.js +634 -0
- package/dist/calendar-column-view.js.map +1 -0
- package/dist/calendar-event-BrQ_SEKD.js +199 -0
- package/dist/calendar-event-BrQ_SEKD.js.map +1 -0
- package/dist/calendar-month-view.js +376 -0
- package/dist/calendar-month-view.js.map +1 -0
- package/dist/calendar.js +339 -0
- package/dist/calendar.js.map +1 -0
- package/dist/canvas.js +361 -0
- package/dist/canvas.js.map +1 -0
- package/dist/cb-compound-expression.js +125 -0
- package/dist/cb-compound-expression.js.map +1 -0
- package/dist/cb-divider.js +150 -0
- package/dist/cb-divider.js.map +1 -0
- package/dist/cb-expression.js +75 -0
- package/dist/cb-expression.js.map +1 -0
- package/dist/cb-predicate.js +137 -0
- package/dist/cb-predicate.js.map +1 -0
- package/dist/code-editor.js +2 -1
- package/dist/code-editor.js.map +1 -1
- package/dist/code-highlighter.js +1 -1
- package/dist/code-highlighter.js.map +1 -1
- package/dist/condition-builder.js +58 -0
- package/dist/condition-builder.js.map +1 -0
- package/dist/custom-elements-jsdocs.json +8479 -3965
- package/dist/custom-elements.json +15228 -7544
- package/dist/dropdown-button.js +216 -0
- package/dist/dropdown-button.js.map +1 -0
- package/dist/event-manager-D-QCmUgR.js +113 -0
- package/dist/event-manager-D-QCmUgR.js.map +1 -0
- package/dist/fab.js +1 -1
- package/dist/flow-designer-DvTUrDp5.js +1656 -0
- package/dist/flow-designer-DvTUrDp5.js.map +1 -0
- package/dist/flow-designer-node-BWrPuxAR.js +548 -0
- package/dist/flow-designer-node-BWrPuxAR.js.map +1 -0
- package/dist/flow-designer-node.js +4 -0
- package/dist/flow-designer-node.js.map +1 -0
- package/dist/flow-designer.js +16 -0
- package/dist/flow-designer.js.map +1 -0
- package/dist/html-editor.js +27516 -0
- package/dist/html-editor.js.map +1 -0
- package/dist/icon-button-CK1ZuE-2.js +247 -0
- package/dist/icon-button-CK1ZuE-2.js.map +1 -0
- package/dist/index.js +29 -6
- package/dist/index.js.map +1 -1
- package/dist/{is-dark-mode-DicqGkCJ.js → is-dark-mode-DOcaw4Yq.js} +2 -27
- package/dist/is-dark-mode-DOcaw4Yq.js.map +1 -0
- package/dist/modal.js +412 -0
- package/dist/modal.js.map +1 -0
- package/dist/{navigation-rail-Lxetd5-Z.js → navigation-rail-DTTkqohi.js} +1049 -2391
- package/dist/navigation-rail-DTTkqohi.js.map +1 -0
- package/dist/notification-manager.js +268 -0
- package/dist/notification-manager.js.map +1 -0
- package/dist/peacock-loader.js +93 -8
- package/dist/peacock-loader.js.map +1 -1
- package/dist/popover-NC7b1lTq.js +1971 -0
- package/dist/popover-NC7b1lTq.js.map +1 -0
- package/dist/popover-content.js +125 -0
- package/dist/popover-content.js.map +1 -0
- package/dist/popover.js +4 -0
- package/dist/popover.js.map +1 -0
- package/dist/split-button.js +388 -0
- package/dist/split-button.js.map +1 -0
- package/dist/src/__controllers/floating-controller.d.ts +35 -0
- package/dist/src/calendar/base-event.d.ts +10 -0
- package/dist/src/calendar/calendar-column-view.d.ts +41 -0
- package/dist/src/calendar/calendar-event.d.ts +7 -0
- package/dist/src/calendar/calendar-month-view.d.ts +31 -0
- package/dist/src/calendar/calendar.d.ts +65 -0
- package/dist/src/calendar/event-manager.d.ts +17 -0
- package/dist/src/calendar/index.d.ts +4 -0
- package/dist/src/calendar/types.d.ts +13 -0
- package/dist/src/calendar/utils.d.ts +31 -0
- package/dist/src/canvas/canvas.d.ts +92 -0
- package/dist/src/canvas/index.d.ts +2 -0
- package/dist/src/condition-builder/cb-compound-expression.d.ts +31 -0
- package/dist/src/condition-builder/cb-divider.d.ts +26 -0
- package/dist/src/condition-builder/cb-expression.d.ts +31 -0
- package/dist/src/condition-builder/cb-predicate.d.ts +30 -0
- package/dist/src/condition-builder/condition-builder.d.ts +27 -0
- package/dist/src/condition-builder/index.d.ts +5 -0
- package/dist/src/dropdown-button/dropdown-button.d.ts +68 -0
- package/dist/src/dropdown-button/index.d.ts +1 -0
- package/dist/src/flow-designer/commands.d.ts +66 -0
- package/dist/src/flow-designer/flow-designer-node.d.ts +46 -0
- package/dist/src/flow-designer/flow-designer.d.ts +133 -0
- package/dist/src/flow-designer/index.d.ts +7 -0
- package/dist/src/flow-designer/layout.d.ts +30 -0
- package/dist/src/flow-designer/types.d.ts +142 -0
- package/dist/src/flow-designer/validation.d.ts +43 -0
- package/dist/src/flow-designer/workflow-utils.d.ts +40 -0
- package/dist/src/html-editor/html-editor.d.ts +89 -0
- package/dist/src/html-editor/index.d.ts +2 -0
- package/dist/src/index.d.ts +15 -0
- package/dist/src/list/index.d.ts +2 -0
- package/dist/src/list/list-item.d.ts +35 -0
- package/dist/src/list/list.d.ts +28 -0
- package/dist/src/menu/menu/menu.d.ts +5 -7
- package/dist/src/menu/menu-item/menu-item.d.ts +14 -13
- package/dist/src/modal/index.d.ts +1 -0
- package/dist/src/modal/modal.d.ts +57 -0
- package/dist/src/navigation-rail/navigation-rail.d.ts +3 -7
- package/dist/src/notification-manager/index.d.ts +1 -0
- package/dist/src/notification-manager/notification-manager.d.ts +44 -0
- package/dist/src/number-field/number-field.d.ts +2 -2
- package/dist/src/popover/index.d.ts +2 -0
- package/dist/src/popover/popover-content.d.ts +29 -0
- package/dist/src/popover/popover.d.ts +62 -0
- package/dist/src/split-button/index.d.ts +1 -0
- package/dist/src/split-button/split-button.d.ts +72 -0
- package/dist/src/svg/index.d.ts +1 -0
- package/dist/src/svg/svg.d.ts +38 -0
- package/dist/src/toolbar/toolbar.d.ts +3 -3
- package/dist/src/tooltip/tooltip.d.ts +2 -15
- package/dist/test/flow-designer.test.d.ts +1 -0
- package/dist/toolbar.js +3 -3
- package/dist/toolbar.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +10 -2
- package/readme.md +3 -3
- package/src/__controllers/floating-controller.ts +237 -0
- package/src/banner/banner.scss +2 -3
- package/src/button/button/button.ts +1 -0
- package/src/calendar/base-event.ts +49 -0
- package/src/calendar/calendar-column-view.scss +326 -0
- package/src/calendar/calendar-column-view.ts +392 -0
- package/src/calendar/calendar-event.ts +20 -0
- package/src/calendar/calendar-month-view.scss +192 -0
- package/src/calendar/calendar-month-view.ts +244 -0
- package/src/calendar/calendar.scss +71 -0
- package/src/calendar/calendar.ts +298 -0
- package/src/calendar/event-manager.ts +117 -0
- package/src/calendar/index.ts +4 -0
- package/src/calendar/types.ts +14 -0
- package/src/calendar/utils.ts +180 -0
- package/src/canvas/canvas.scss +60 -0
- package/src/canvas/canvas.ts +391 -0
- package/src/canvas/index.ts +2 -0
- package/src/code-highlighter/code-highlighter.ts +1 -1
- package/src/condition-builder/cb-compound-expression.scss +37 -0
- package/src/condition-builder/cb-compound-expression.ts +80 -0
- package/src/condition-builder/cb-divider.scss +93 -0
- package/src/condition-builder/cb-divider.ts +56 -0
- package/src/condition-builder/cb-expression.scss +14 -0
- package/src/condition-builder/cb-expression.ts +49 -0
- package/src/condition-builder/cb-predicate.scss +35 -0
- package/src/condition-builder/cb-predicate.ts +102 -0
- package/src/condition-builder/condition-builder.scss +13 -0
- package/src/condition-builder/condition-builder.ts +38 -0
- package/src/condition-builder/index.ts +5 -0
- package/src/dropdown-button/demo/index.html +110 -0
- package/src/dropdown-button/dropdown-button.scss +22 -0
- package/src/dropdown-button/dropdown-button.ts +206 -0
- package/src/dropdown-button/index.ts +1 -0
- package/src/flow-designer/DEMO.md +239 -0
- package/src/flow-designer/commands.ts +278 -0
- package/src/flow-designer/flow-designer-node.ts +172 -0
- package/src/flow-designer/flow-designer.scss +457 -0
- package/src/flow-designer/flow-designer.ts +611 -0
- package/src/flow-designer/index.ts +41 -0
- package/src/flow-designer/layout.ts +357 -0
- package/src/flow-designer/types.ts +166 -0
- package/src/flow-designer/validation.ts +284 -0
- package/src/flow-designer/workflow-utils.ts +282 -0
- package/src/html-editor/html-editor.scss +188 -0
- package/src/html-editor/html-editor.ts +491 -0
- package/src/html-editor/index.ts +3 -0
- package/src/index.ts +27 -1
- package/src/list/index.ts +2 -0
- package/src/list/list-item.scss +111 -0
- package/src/list/list-item.ts +175 -0
- package/src/list/list.scss +24 -0
- package/src/list/list.ts +51 -0
- package/src/menu/menu/menu.scss +2 -2
- package/src/menu/menu/menu.ts +91 -101
- package/src/menu/menu-item/menu-item.scss +4 -0
- package/src/menu/menu-item/menu-item.ts +82 -78
- package/src/modal/index.ts +1 -0
- package/src/modal/modal.scss +206 -0
- package/src/modal/modal.ts +195 -0
- package/src/navigation-rail/navigation-rail-item.scss +7 -38
- package/src/navigation-rail/navigation-rail-item.ts +1 -2
- package/src/navigation-rail/navigation-rail.scss +17 -21
- package/src/navigation-rail/navigation-rail.ts +6 -9
- package/src/notification-manager/index.ts +1 -0
- package/src/notification-manager/notification-manager.scss +113 -0
- package/src/notification-manager/notification-manager.ts +199 -0
- package/src/number-field/number-field.ts +2 -2
- package/src/peacock-loader.ts +83 -0
- package/src/popover/index.ts +2 -0
- package/src/popover/popover-content.scss +69 -0
- package/src/popover/popover-content.ts +51 -0
- package/src/popover/popover.scss +7 -0
- package/src/popover/popover.ts +170 -0
- package/src/split-button/index.ts +1 -0
- package/src/split-button/split-button-colors.scss +56 -0
- package/src/split-button/split-button-sizes.scss +28 -0
- package/src/split-button/split-button.scss +79 -0
- package/src/split-button/split-button.ts +236 -0
- package/src/svg/index.ts +1 -0
- package/src/svg/svg.scss +91 -0
- package/src/svg/svg.ts +160 -0
- package/src/table/table.ts +2 -2
- package/src/toolbar/toolbar.ts +3 -3
- package/src/tooltip/tooltip.scss +4 -3
- package/src/tooltip/tooltip.ts +46 -104
- package/dist/button-DouvOfEU.js.map +0 -1
- package/dist/button-group-CEdMwvJJ.js +0 -464
- package/dist/button-group-CEdMwvJJ.js.map +0 -1
- package/dist/is-dark-mode-DicqGkCJ.js.map +0 -1
- package/dist/navigation-rail-Lxetd5-Z.js.map +0 -1
- package/dist/src/menu/menu/MenuSurfaceController.d.ts +0 -18
- package/src/menu/menu/MenuSurfaceController.ts +0 -61
|
@@ -0,0 +1,548 @@
|
|
|
1
|
+
import { a as i, _ as __decorate, I as IndividualComponent, i as i$1, A, b } from './IndividualComponent-DUINtMGK.js';
|
|
2
|
+
import { n } from './property-1psGvXOq.js';
|
|
3
|
+
|
|
4
|
+
var css_248z = i`* {
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.screen-reader-only {
|
|
9
|
+
display: none !important;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:host {
|
|
13
|
+
display: block;
|
|
14
|
+
--flow-designer-height: 600px;
|
|
15
|
+
--flow-designer-border-color: var(--color-outline-variant);
|
|
16
|
+
--flow-designer-background: var(--color-surface);
|
|
17
|
+
--flow-designer-border-radius: var(--shape-corner-medium);
|
|
18
|
+
--flow-designer-action-bar-bg: var(--color-surface-container);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.flow-designer-container {
|
|
22
|
+
position: relative;
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: var(--flow-designer-height);
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.editor-toolbar {
|
|
31
|
+
position: absolute;
|
|
32
|
+
top: 0.75rem;
|
|
33
|
+
right: 0.75rem;
|
|
34
|
+
z-index: 6;
|
|
35
|
+
}
|
|
36
|
+
.editor-toolbar .zoom-display {
|
|
37
|
+
font-size: 12px;
|
|
38
|
+
color: var(--color-on-surface-variant);
|
|
39
|
+
min-width: 40px;
|
|
40
|
+
text-align: center;
|
|
41
|
+
font-weight: 500;
|
|
42
|
+
}
|
|
43
|
+
.editor-toolbar wc-icon-button {
|
|
44
|
+
--button-container-shape: var(--shape-corner-full);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.validation-panel {
|
|
48
|
+
position: absolute;
|
|
49
|
+
left: 0.75rem;
|
|
50
|
+
right: 0.75rem;
|
|
51
|
+
top: 4.5rem;
|
|
52
|
+
z-index: 5;
|
|
53
|
+
background: var(--color-error-container);
|
|
54
|
+
color: var(--color-on-error-container);
|
|
55
|
+
padding: 0.75rem;
|
|
56
|
+
border: 1px solid var(--color-outline-variant);
|
|
57
|
+
border-radius: var(--shape-corner-medium);
|
|
58
|
+
max-height: 120px;
|
|
59
|
+
overflow-y: auto;
|
|
60
|
+
}
|
|
61
|
+
.validation-panel .validation-item {
|
|
62
|
+
display: flex;
|
|
63
|
+
gap: 0.5rem;
|
|
64
|
+
align-items: center;
|
|
65
|
+
margin-bottom: 0.5rem;
|
|
66
|
+
}
|
|
67
|
+
.validation-panel .validation-item.error {
|
|
68
|
+
color: var(--color-error);
|
|
69
|
+
}
|
|
70
|
+
.validation-panel .validation-item.warning {
|
|
71
|
+
color: var(--color-warning);
|
|
72
|
+
}
|
|
73
|
+
.validation-panel .validation-item wc-icon {
|
|
74
|
+
flex-shrink: 0;
|
|
75
|
+
--icon-size: 18px;
|
|
76
|
+
}
|
|
77
|
+
.validation-panel .validation-item span {
|
|
78
|
+
font-size: 12px;
|
|
79
|
+
white-space: pre-wrap;
|
|
80
|
+
}
|
|
81
|
+
.validation-panel .validation-item:last-child {
|
|
82
|
+
margin-bottom: 0;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.flow-designer {
|
|
86
|
+
flex: 1;
|
|
87
|
+
overflow: auto;
|
|
88
|
+
position: relative;
|
|
89
|
+
border-radius: var(--flow-designer-border-radius);
|
|
90
|
+
background-color: var(--flow-designer-background);
|
|
91
|
+
border: 1px solid var(--flow-designer-border-color);
|
|
92
|
+
cursor: grab;
|
|
93
|
+
}
|
|
94
|
+
.flow-designer:active {
|
|
95
|
+
cursor: grabbing;
|
|
96
|
+
}
|
|
97
|
+
.flow-designer .canvas-container {
|
|
98
|
+
position: relative;
|
|
99
|
+
min-width: 1000px;
|
|
100
|
+
min-height: 600px;
|
|
101
|
+
transform-origin: 0 0;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.connectors-layer {
|
|
105
|
+
position: absolute;
|
|
106
|
+
top: 0;
|
|
107
|
+
left: 0;
|
|
108
|
+
pointer-events: none;
|
|
109
|
+
z-index: 2;
|
|
110
|
+
overflow: visible;
|
|
111
|
+
color: var(--color-outline-variant);
|
|
112
|
+
}
|
|
113
|
+
.connectors-layer .connector {
|
|
114
|
+
fill: none;
|
|
115
|
+
stroke: var(--color-outline-variant, #64748b);
|
|
116
|
+
stroke-width: 2;
|
|
117
|
+
stroke-linecap: round;
|
|
118
|
+
stroke-linejoin: round;
|
|
119
|
+
}
|
|
120
|
+
.connectors-layer .connector.straight {
|
|
121
|
+
stroke-dasharray: none;
|
|
122
|
+
}
|
|
123
|
+
.connectors-layer .connector.curved {
|
|
124
|
+
stroke-dasharray: 5, 5;
|
|
125
|
+
}
|
|
126
|
+
.connectors-layer .connector.branch {
|
|
127
|
+
stroke: var(--color-primary);
|
|
128
|
+
opacity: 0.7;
|
|
129
|
+
}
|
|
130
|
+
.connectors-layer .connector.fork {
|
|
131
|
+
stroke: var(--color-secondary);
|
|
132
|
+
stroke-width: 2.5;
|
|
133
|
+
}
|
|
134
|
+
.connectors-layer .connector.join {
|
|
135
|
+
stroke: var(--color-tertiary);
|
|
136
|
+
stroke-width: 2.5;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
marker#arrowhead polygon {
|
|
140
|
+
fill: var(--color-outline-variant);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.swimlanes-container {
|
|
144
|
+
position: absolute;
|
|
145
|
+
inset: 0;
|
|
146
|
+
z-index: 1;
|
|
147
|
+
pointer-events: none;
|
|
148
|
+
}
|
|
149
|
+
.swimlanes-container .swimlane {
|
|
150
|
+
position: absolute;
|
|
151
|
+
left: 0;
|
|
152
|
+
right: 0;
|
|
153
|
+
background: color-mix(in srgb, var(--color-surface-container-low) 75%, transparent);
|
|
154
|
+
border-top: 1px solid var(--color-outline-variant);
|
|
155
|
+
border-bottom: 1px solid var(--color-outline-variant);
|
|
156
|
+
overflow: hidden;
|
|
157
|
+
}
|
|
158
|
+
.swimlanes-container .swimlane.parallel {
|
|
159
|
+
border-color: var(--color-secondary);
|
|
160
|
+
border-top-width: 2px;
|
|
161
|
+
border-bottom-width: 2px;
|
|
162
|
+
}
|
|
163
|
+
.swimlanes-container .swimlane .swimlane-header {
|
|
164
|
+
background: var(--color-surface-container);
|
|
165
|
+
position: absolute;
|
|
166
|
+
top: 0.5rem;
|
|
167
|
+
left: 0.75rem;
|
|
168
|
+
padding: 0.35rem 0.6rem;
|
|
169
|
+
font-size: 13px;
|
|
170
|
+
font-weight: 500;
|
|
171
|
+
color: var(--color-on-surface);
|
|
172
|
+
border: 1px solid var(--color-outline-variant);
|
|
173
|
+
border-radius: var(--shape-corner-medium);
|
|
174
|
+
text-overflow: ellipsis;
|
|
175
|
+
white-space: nowrap;
|
|
176
|
+
overflow: hidden;
|
|
177
|
+
max-width: 250px;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.nodes-layer {
|
|
181
|
+
position: absolute;
|
|
182
|
+
inset: 0;
|
|
183
|
+
width: 100%;
|
|
184
|
+
height: 100%;
|
|
185
|
+
z-index: 3;
|
|
186
|
+
pointer-events: none;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.node-card {
|
|
190
|
+
position: relative;
|
|
191
|
+
background: var(--color-surface-container);
|
|
192
|
+
border: 2px solid var(--color-outline-variant);
|
|
193
|
+
border-radius: var(--shape-corner-medium);
|
|
194
|
+
padding: 1rem;
|
|
195
|
+
height: 100%;
|
|
196
|
+
display: flex;
|
|
197
|
+
flex-direction: column;
|
|
198
|
+
cursor: pointer;
|
|
199
|
+
transition: all 200ms ease;
|
|
200
|
+
overflow: hidden;
|
|
201
|
+
}
|
|
202
|
+
.node-card .node-header {
|
|
203
|
+
display: flex;
|
|
204
|
+
gap: 0.5rem;
|
|
205
|
+
align-items: center;
|
|
206
|
+
margin-bottom: 0.5rem;
|
|
207
|
+
}
|
|
208
|
+
.node-card .node-header .node-icon {
|
|
209
|
+
flex-shrink: 0;
|
|
210
|
+
--icon-size: 20px;
|
|
211
|
+
color: var(--color-primary);
|
|
212
|
+
}
|
|
213
|
+
.node-card .node-header .node-title {
|
|
214
|
+
font-weight: 500;
|
|
215
|
+
font-size: 13px;
|
|
216
|
+
color: var(--color-on-surface);
|
|
217
|
+
overflow: hidden;
|
|
218
|
+
text-overflow: ellipsis;
|
|
219
|
+
white-space: nowrap;
|
|
220
|
+
flex: 1;
|
|
221
|
+
}
|
|
222
|
+
.node-card .node-body {
|
|
223
|
+
flex: 1;
|
|
224
|
+
display: flex;
|
|
225
|
+
flex-direction: column;
|
|
226
|
+
overflow: hidden;
|
|
227
|
+
}
|
|
228
|
+
.node-card .node-body .node-description {
|
|
229
|
+
font-size: 12px;
|
|
230
|
+
color: var(--color-on-surface-variant);
|
|
231
|
+
margin: 0 0 0.5rem 0;
|
|
232
|
+
line-height: 1.3;
|
|
233
|
+
overflow: hidden;
|
|
234
|
+
text-overflow: ellipsis;
|
|
235
|
+
display: -webkit-box;
|
|
236
|
+
-webkit-line-clamp: 2;
|
|
237
|
+
-webkit-box-orient: vertical;
|
|
238
|
+
}
|
|
239
|
+
.node-card .node-body .node-metadata {
|
|
240
|
+
display: flex;
|
|
241
|
+
gap: 0.5rem;
|
|
242
|
+
flex-wrap: wrap;
|
|
243
|
+
margin-top: auto;
|
|
244
|
+
}
|
|
245
|
+
.node-card .node-body .node-metadata .node-type-tag {
|
|
246
|
+
display: inline-block;
|
|
247
|
+
background: var(--color-primary-container);
|
|
248
|
+
color: var(--color-on-primary-container);
|
|
249
|
+
padding: 2px 6px;
|
|
250
|
+
border-radius: var(--shape-corner-small);
|
|
251
|
+
font-size: 11px;
|
|
252
|
+
font-weight: 500;
|
|
253
|
+
}
|
|
254
|
+
.node-card .node-body .node-metadata .node-id {
|
|
255
|
+
display: inline-block;
|
|
256
|
+
color: var(--color-on-surface-variant);
|
|
257
|
+
font-size: 11px;
|
|
258
|
+
font-family: monospace;
|
|
259
|
+
opacity: 0.7;
|
|
260
|
+
}
|
|
261
|
+
.node-card .node-actions {
|
|
262
|
+
display: flex;
|
|
263
|
+
gap: 0.5rem;
|
|
264
|
+
margin-top: 0.5rem;
|
|
265
|
+
padding-top: 0.5rem;
|
|
266
|
+
border-top: 1px solid var(--color-outline-variant);
|
|
267
|
+
}
|
|
268
|
+
.node-card .node-actions .btn-sm {
|
|
269
|
+
flex: 1;
|
|
270
|
+
padding: 4px 8px;
|
|
271
|
+
font-size: 11px;
|
|
272
|
+
border: 1px solid var(--color-outline);
|
|
273
|
+
background: var(--color-surface);
|
|
274
|
+
border-radius: var(--shape-corner-small);
|
|
275
|
+
cursor: pointer;
|
|
276
|
+
color: var(--color-on-surface);
|
|
277
|
+
transition: background 200ms ease;
|
|
278
|
+
}
|
|
279
|
+
.node-card .node-actions .btn-sm:hover {
|
|
280
|
+
background: var(--color-surface-container-highest);
|
|
281
|
+
}
|
|
282
|
+
.node-card.trigger {
|
|
283
|
+
border-left: 4px solid var(--color-success);
|
|
284
|
+
}
|
|
285
|
+
.node-card.trigger .node-icon {
|
|
286
|
+
color: var(--color-success);
|
|
287
|
+
}
|
|
288
|
+
.node-card.action {
|
|
289
|
+
border-left: 4px solid var(--color-info);
|
|
290
|
+
}
|
|
291
|
+
.node-card.action .node-icon {
|
|
292
|
+
color: var(--color-info);
|
|
293
|
+
}
|
|
294
|
+
.node-card.decision {
|
|
295
|
+
border-left: 4px solid var(--color-warning);
|
|
296
|
+
}
|
|
297
|
+
.node-card.decision .node-icon {
|
|
298
|
+
color: var(--color-warning);
|
|
299
|
+
}
|
|
300
|
+
.node-card.loop_start, .node-card.loop_end {
|
|
301
|
+
border-left: 4px solid var(--color-secondary);
|
|
302
|
+
}
|
|
303
|
+
.node-card.loop_start .node-icon, .node-card.loop_end .node-icon {
|
|
304
|
+
color: var(--color-secondary);
|
|
305
|
+
}
|
|
306
|
+
.node-card.fork, .node-card.join {
|
|
307
|
+
border-left: 4px solid var(--color-tertiary);
|
|
308
|
+
}
|
|
309
|
+
.node-card.fork .node-icon, .node-card.join .node-icon {
|
|
310
|
+
color: var(--color-tertiary);
|
|
311
|
+
}
|
|
312
|
+
.node-card[selected] {
|
|
313
|
+
border-color: var(--color-primary);
|
|
314
|
+
border-width: 2px;
|
|
315
|
+
box-shadow: 0 0 8px rgba(var(--color-primary-rgb), 0.3);
|
|
316
|
+
}
|
|
317
|
+
.node-card[editing] {
|
|
318
|
+
background: var(--color-surface-container-highest);
|
|
319
|
+
border-color: var(--color-primary);
|
|
320
|
+
}
|
|
321
|
+
.node-card:not([disabled]):hover {
|
|
322
|
+
border-color: var(--color-primary);
|
|
323
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
324
|
+
}
|
|
325
|
+
.node-card[disabled] {
|
|
326
|
+
opacity: 0.5;
|
|
327
|
+
cursor: not-allowed;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.positioned-node {
|
|
331
|
+
position: absolute;
|
|
332
|
+
pointer-events: auto;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.empty-state {
|
|
336
|
+
display: flex;
|
|
337
|
+
align-items: center;
|
|
338
|
+
justify-content: center;
|
|
339
|
+
height: 100%;
|
|
340
|
+
color: var(--color-on-surface-variant);
|
|
341
|
+
font-size: 14px;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
:host([disabled]) {
|
|
345
|
+
pointer-events: none;
|
|
346
|
+
opacity: 0.38;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
@media (max-width: 768px) {
|
|
350
|
+
.editor-toolbar {
|
|
351
|
+
top: 0.5rem;
|
|
352
|
+
right: 0.5rem;
|
|
353
|
+
}
|
|
354
|
+
.node-card {
|
|
355
|
+
padding: 0.75rem;
|
|
356
|
+
}
|
|
357
|
+
.node-card .node-header .node-icon {
|
|
358
|
+
--icon-size: 18px;
|
|
359
|
+
}
|
|
360
|
+
.node-card .node-header .node-title {
|
|
361
|
+
font-size: 12px;
|
|
362
|
+
}
|
|
363
|
+
.node-card .node-body .node-description {
|
|
364
|
+
font-size: 11px;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
@keyframes slideIn {
|
|
368
|
+
from {
|
|
369
|
+
opacity: 0;
|
|
370
|
+
transform: scale(0.9);
|
|
371
|
+
}
|
|
372
|
+
to {
|
|
373
|
+
opacity: 1;
|
|
374
|
+
transform: scale(1);
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
.node-card {
|
|
378
|
+
animation: slideIn 200ms ease-out;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
@media print {
|
|
382
|
+
.editor-toolbar,
|
|
383
|
+
.validation-panel {
|
|
384
|
+
display: none;
|
|
385
|
+
}
|
|
386
|
+
.flow-designer {
|
|
387
|
+
border: none;
|
|
388
|
+
overflow: visible;
|
|
389
|
+
}
|
|
390
|
+
}`;
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* Individual node component for flow designer
|
|
394
|
+
* Renders a single workflow node with customizable slot templates
|
|
395
|
+
*
|
|
396
|
+
* @tag wc-flow-designer-node
|
|
397
|
+
* @rawTag flow-designer-node
|
|
398
|
+
* @wip true
|
|
399
|
+
*/
|
|
400
|
+
let FlowDesignerNode = class FlowDesignerNode extends i$1 {
|
|
401
|
+
constructor() {
|
|
402
|
+
super(...arguments);
|
|
403
|
+
/**
|
|
404
|
+
* The workflow node to render
|
|
405
|
+
*/
|
|
406
|
+
this.node = { id: '', type: 'action', label: '' };
|
|
407
|
+
/**
|
|
408
|
+
* Whether this node is currently selected
|
|
409
|
+
*/
|
|
410
|
+
this.isSelected = false;
|
|
411
|
+
/**
|
|
412
|
+
* Whether this node is in edit mode
|
|
413
|
+
*/
|
|
414
|
+
this.isEditing = false;
|
|
415
|
+
/**
|
|
416
|
+
* Whether this node is disabled
|
|
417
|
+
*/
|
|
418
|
+
this.disabled = false;
|
|
419
|
+
/**
|
|
420
|
+
* Whether to show the delete button
|
|
421
|
+
*/
|
|
422
|
+
this.showDelete = true;
|
|
423
|
+
this._handleClick = () => {
|
|
424
|
+
this.dispatchEvent(new CustomEvent('node-click', {
|
|
425
|
+
detail: { nodeId: this.node.id },
|
|
426
|
+
bubbles: true,
|
|
427
|
+
composed: true,
|
|
428
|
+
}));
|
|
429
|
+
};
|
|
430
|
+
this._handleDoubleClick = () => {
|
|
431
|
+
this.dispatchEvent(new CustomEvent('node-edit-start', {
|
|
432
|
+
detail: { nodeId: this.node.id },
|
|
433
|
+
bubbles: true,
|
|
434
|
+
composed: true,
|
|
435
|
+
}));
|
|
436
|
+
};
|
|
437
|
+
this._handleDelete = (e) => {
|
|
438
|
+
e.stopPropagation();
|
|
439
|
+
if (confirm(`Delete "${this.node.label}"?`)) {
|
|
440
|
+
this.dispatchEvent(new CustomEvent('node-delete', {
|
|
441
|
+
detail: { nodeId: this.node.id },
|
|
442
|
+
bubbles: true,
|
|
443
|
+
composed: true,
|
|
444
|
+
}));
|
|
445
|
+
}
|
|
446
|
+
};
|
|
447
|
+
this._handleMouseEnter = () => {
|
|
448
|
+
// Node hover state handled via CSS
|
|
449
|
+
};
|
|
450
|
+
this._handleMouseLeave = () => {
|
|
451
|
+
// Node hover state handled via CSS
|
|
452
|
+
};
|
|
453
|
+
}
|
|
454
|
+
render() {
|
|
455
|
+
const { node, isSelected, isEditing, disabled } = this;
|
|
456
|
+
const nodeType = node.type || 'action';
|
|
457
|
+
return b `
|
|
458
|
+
<div
|
|
459
|
+
class="node-card ${nodeType}"
|
|
460
|
+
?selected=${isSelected}
|
|
461
|
+
?editing=${isEditing}
|
|
462
|
+
?disabled=${disabled}
|
|
463
|
+
@click=${this._handleClick}
|
|
464
|
+
@dblclick=${this._handleDoubleClick}
|
|
465
|
+
role="button"
|
|
466
|
+
tabindex="0"
|
|
467
|
+
@keydown=${(e) => {
|
|
468
|
+
if (e.key === 'Enter' || e.key === ' ')
|
|
469
|
+
this._handleClick();
|
|
470
|
+
}}
|
|
471
|
+
>
|
|
472
|
+
<!-- Customizable header slot -->
|
|
473
|
+
<slot name="${nodeType}-header">
|
|
474
|
+
${this._renderDefaultHeader()}
|
|
475
|
+
</slot>
|
|
476
|
+
|
|
477
|
+
<!-- Customizable body slot -->
|
|
478
|
+
<slot name="${nodeType}-body">${this._renderDefaultBody()}</slot>
|
|
479
|
+
|
|
480
|
+
<!-- Action buttons -->
|
|
481
|
+
${this.isEditing
|
|
482
|
+
? b `
|
|
483
|
+
<div class="node-actions">
|
|
484
|
+
<button class="btn-sm" @click=${this._handleDelete}>
|
|
485
|
+
Delete
|
|
486
|
+
</button>
|
|
487
|
+
</div>
|
|
488
|
+
`
|
|
489
|
+
: A}
|
|
490
|
+
</div>
|
|
491
|
+
`;
|
|
492
|
+
}
|
|
493
|
+
_renderDefaultHeader() {
|
|
494
|
+
const { node } = this;
|
|
495
|
+
const iconMap = {
|
|
496
|
+
trigger: 'play-circle',
|
|
497
|
+
action: 'check-circle',
|
|
498
|
+
decision: 'help-circle',
|
|
499
|
+
loop_start: 'repeat',
|
|
500
|
+
loop_end: 'repeat',
|
|
501
|
+
fork: 'git-branch',
|
|
502
|
+
join: 'git-merge',
|
|
503
|
+
};
|
|
504
|
+
const icon = iconMap[node.type] || 'activity';
|
|
505
|
+
return b `
|
|
506
|
+
<div class="node-header">
|
|
507
|
+
<wc-icon provider="carbon" name=${icon} class="node-icon"></wc-icon>
|
|
508
|
+
<span class="node-title">${node.label}</span>
|
|
509
|
+
</div>
|
|
510
|
+
`;
|
|
511
|
+
}
|
|
512
|
+
_renderDefaultBody() {
|
|
513
|
+
const { node } = this;
|
|
514
|
+
return b `
|
|
515
|
+
<div class="node-body">
|
|
516
|
+
${node.description
|
|
517
|
+
? b `<p class="node-description">${node.description}</p>`
|
|
518
|
+
: A}
|
|
519
|
+
<div class="node-metadata">
|
|
520
|
+
<span class="node-type-tag">${node.type}</span>
|
|
521
|
+
${node.id ? b `<span class="node-id">${node.id}</span>` : A}
|
|
522
|
+
</div>
|
|
523
|
+
</div>
|
|
524
|
+
`;
|
|
525
|
+
}
|
|
526
|
+
};
|
|
527
|
+
FlowDesignerNode.styles = [css_248z];
|
|
528
|
+
__decorate([
|
|
529
|
+
n({ type: Object })
|
|
530
|
+
], FlowDesignerNode.prototype, "node", void 0);
|
|
531
|
+
__decorate([
|
|
532
|
+
n({ type: Boolean, reflect: true, attribute: 'selected' })
|
|
533
|
+
], FlowDesignerNode.prototype, "isSelected", void 0);
|
|
534
|
+
__decorate([
|
|
535
|
+
n({ type: Boolean, reflect: true, attribute: 'editing' })
|
|
536
|
+
], FlowDesignerNode.prototype, "isEditing", void 0);
|
|
537
|
+
__decorate([
|
|
538
|
+
n({ type: Boolean, reflect: true })
|
|
539
|
+
], FlowDesignerNode.prototype, "disabled", void 0);
|
|
540
|
+
__decorate([
|
|
541
|
+
n({ type: Boolean, attribute: 'show-delete' })
|
|
542
|
+
], FlowDesignerNode.prototype, "showDelete", void 0);
|
|
543
|
+
FlowDesignerNode = __decorate([
|
|
544
|
+
IndividualComponent
|
|
545
|
+
], FlowDesignerNode);
|
|
546
|
+
|
|
547
|
+
export { FlowDesignerNode as F, css_248z as c };
|
|
548
|
+
//# sourceMappingURL=flow-designer-node-BWrPuxAR.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow-designer-node-BWrPuxAR.js","sources":["../../src/flow-designer/flow-designer-node.ts"],"sourcesContent":["import { html, LitElement, nothing } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport IndividualComponent from '@/IndividualComponent.js';\nimport styles from './flow-designer.scss';\nimport type { WorkflowNode } from './types.js';\n\n/**\n * Individual node component for flow designer\n * Renders a single workflow node with customizable slot templates\n *\n * @tag wc-flow-designer-node\n * @rawTag flow-designer-node\n * @wip true\n */\n@IndividualComponent\nexport class FlowDesignerNode extends LitElement {\n static styles = [styles];\n\n /**\n * The workflow node to render\n */\n @property({ type: Object })\n node: WorkflowNode = { id: '', type: 'action', label: '' };\n\n /**\n * Whether this node is currently selected\n */\n @property({ type: Boolean, reflect: true, attribute: 'selected' })\n isSelected: boolean = false;\n\n /**\n * Whether this node is in edit mode\n */\n @property({ type: Boolean, reflect: true, attribute: 'editing' })\n isEditing: boolean = false;\n\n /**\n * Whether this node is disabled\n */\n @property({ type: Boolean, reflect: true })\n disabled: boolean = false;\n\n /**\n * Whether to show the delete button\n */\n @property({ type: Boolean, attribute: 'show-delete' })\n showDelete: boolean = true;\n\n private _handleClick = () => {\n this.dispatchEvent(\n new CustomEvent('node-click', {\n detail: { nodeId: this.node.id },\n bubbles: true,\n composed: true,\n })\n );\n };\n\n private _handleDoubleClick = () => {\n this.dispatchEvent(\n new CustomEvent('node-edit-start', {\n detail: { nodeId: this.node.id },\n bubbles: true,\n composed: true,\n })\n );\n };\n\n private _handleDelete = (e: Event) => {\n e.stopPropagation();\n if (confirm(`Delete \"${this.node.label}\"?`)) {\n this.dispatchEvent(\n new CustomEvent('node-delete', {\n detail: { nodeId: this.node.id },\n bubbles: true,\n composed: true,\n })\n );\n }\n };\n\n private _handleMouseEnter = () => {\n // Node hover state handled via CSS\n };\n\n private _handleMouseLeave = () => {\n // Node hover state handled via CSS\n };\n\n render() {\n const { node, isSelected, isEditing, disabled } = this;\n const nodeType = node.type || 'action';\n\n return html`\n <div\n class=\"node-card ${nodeType}\"\n ?selected=${isSelected}\n ?editing=${isEditing}\n ?disabled=${disabled}\n @click=${this._handleClick}\n @dblclick=${this._handleDoubleClick}\n role=\"button\"\n tabindex=\"0\"\n @keydown=${(e: KeyboardEvent) => {\n if (e.key === 'Enter' || e.key === ' ') this._handleClick();\n }}\n >\n <!-- Customizable header slot -->\n <slot name=\"${nodeType}-header\">\n ${this._renderDefaultHeader()}\n </slot>\n\n <!-- Customizable body slot -->\n <slot name=\"${nodeType}-body\">${this._renderDefaultBody()}</slot>\n\n <!-- Action buttons -->\n ${this.isEditing\n ? html`\n <div class=\"node-actions\">\n <button class=\"btn-sm\" @click=${this._handleDelete}>\n Delete\n </button>\n </div>\n `\n : nothing}\n </div>\n `;\n }\n\n private _renderDefaultHeader() {\n const { node } = this;\n const iconMap: Record<string, string> = {\n trigger: 'play-circle',\n action: 'check-circle',\n decision: 'help-circle',\n loop_start: 'repeat',\n loop_end: 'repeat',\n fork: 'git-branch',\n join: 'git-merge',\n };\n\n const icon = iconMap[node.type] || 'activity';\n\n return html`\n <div class=\"node-header\">\n <wc-icon provider=\"carbon\" name=${icon} class=\"node-icon\"></wc-icon>\n <span class=\"node-title\">${node.label}</span>\n </div>\n `;\n }\n\n private _renderDefaultBody() {\n const { node } = this;\n return html`\n <div class=\"node-body\">\n ${node.description\n ? html`<p class=\"node-description\">${node.description}</p>`\n : nothing}\n <div class=\"node-metadata\">\n <span class=\"node-type-tag\">${node.type}</span>\n ${node.id ? html`<span class=\"node-id\">${node.id}</span>` : nothing}\n </div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'wc-flow-designer-node': FlowDesignerNode;\n }\n}\n"],"names":["LitElement","html","nothing","styles","property"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AA,gBAAA,CAAA,SAAA,EAAA,MAAA,EAAA,MAAA,CAAA;AAM3D,UAAA,CAAA;AADC,IAAAA,CAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE;AACrC,CAAA,EAAA,gBAAA,CAAA,SAAA,EAAA,YAAA,EAAA,MAAA,CAAA;AAM5B,UAAA,CAAA;AADC,IAAAA,CAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE;AACrC,CAAA,EAAA,gBAAA,CAAA,SAAA,EAAA,WAAA,EAAA,MAAA,CAAA;AAM3B,UAAA,CAAA;IADCA,CAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE;AAChB,CAAA,EAAA,gBAAA,CAAA,SAAA,EAAA,UAAA,EAAA,MAAA,CAAA;AAM1B,UAAA,CAAA;IADCA,CAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE;AAC1B,CAAA,EAAA,gBAAA,CAAA,SAAA,EAAA,YAAA,EAAA,MAAA,CAAA;AA/BhB,gBAAgB,GAAA,UAAA,CAAA;IAD5B;AACY,CAAA,EAAA,gBAAgB,CAsJ5B;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow-designer-node.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import './IndividualComponent-DUINtMGK.js';
|
|
2
|
+
import './property-1psGvXOq.js';
|
|
3
|
+
import './state-DwbEjqVk.js';
|
|
4
|
+
import './query-QBcUV-L_.js';
|
|
5
|
+
import './toolbar.js';
|
|
6
|
+
import './icon-button-CK1ZuE-2.js';
|
|
7
|
+
export { F as FlowDesigner } from './flow-designer-DvTUrDp5.js';
|
|
8
|
+
import './flow-designer-node-BWrPuxAR.js';
|
|
9
|
+
import './class-map-YU7g0o3B.js';
|
|
10
|
+
import './directive-ZPhl09Yt.js';
|
|
11
|
+
import './BaseButton-BNFAYn-S.js';
|
|
12
|
+
import './dispatch-event-utils-CuEqjlPT.js';
|
|
13
|
+
import './BaseHyperlinkMixin-BNuwbiEf.js';
|
|
14
|
+
import './button-colors-Ccys3hvS.js';
|
|
15
|
+
import './unsafe-html-BsGUjx94.js';
|
|
16
|
+
//# sourceMappingURL=flow-designer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow-designer.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|