@ketvietlab/ketsuite 0.1.30 → 0.1.31
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/cli.js +1 -1
- package/dist/modules/backend/design/client/backend-shell.d.mts.map +1 -1
- package/dist/modules/backend/design/client/backend-shell.mjs +1 -1
- package/dist/modules/backend/design/client/backend-shell.mjs.map +2 -2
- package/dist/modules/backend/design/client/ket-table.d.mts.map +1 -1
- package/dist/modules/backend/design/client/ket-table.mjs +1 -1
- package/dist/modules/backend/design/client/ket-table.mjs.map +2 -2
- package/dist/modules/backend/design/client/search-filter.d.mts.map +1 -1
- package/dist/modules/backend/design/client/search-filter.mjs +1 -1
- package/dist/modules/backend/design/client/search-filter.mjs.map +2 -2
- package/dist/modules/backend/design/content.css +5 -5
- package/dist/modules/backend/design/controls.css +10 -36
- package/dist/modules/backend/design/forms.css +2 -188
- package/dist/modules/backend/design/lists.css +1 -50
- package/dist/modules/crm_backend/client/crm-case-modal.d.mts +8 -8
- package/dist/modules/crm_backend/client/crm-case-modal.d.mts.map +1 -1
- package/dist/modules/crm_backend/client/crm-case-modal.mjs +1 -1
- package/dist/modules/crm_backend/client/crm-case-modal.mjs.map +3 -3
- package/dist/modules/crm_backend/client/crm-configuration-modal.d.mts +35 -35
- package/dist/modules/crm_backend/client/crm-configuration-modal.d.mts.map +1 -1
- package/dist/modules/crm_backend/client/crm-configuration-modal.mjs +1 -1
- package/dist/modules/crm_backend/client/crm-configuration-modal.mjs.map +3 -3
- package/dist/modules/product_backend/client/attribute-modal.d.mts +5 -5
- package/dist/modules/product_backend/client/attribute-modal.d.mts.map +1 -1
- package/dist/modules/product_backend/client/attribute-modal.mjs +1 -1
- package/dist/modules/product_backend/client/attribute-modal.mjs.map +3 -3
- package/dist/modules/product_backend/client/product-modal.d.mts +8 -8
- package/dist/modules/product_backend/client/product-modal.d.mts.map +1 -1
- package/dist/modules/product_backend/client/product-modal.mjs +1 -1
- package/dist/modules/product_backend/client/product-modal.mjs.map +3 -3
- package/dist/modules/product_backend/client/variant-editor.d.mts +2 -2
- package/dist/modules/product_backend/client/variant-editor.d.mts.map +1 -1
- package/dist/modules/product_backend/client/variant-editor.mjs +1 -1
- package/dist/modules/product_backend/client/variant-editor.mjs.map +2 -2
- package/dist/modules/purchase_backend/client/purchase-order-modal.d.mts +5 -5
- package/dist/modules/purchase_backend/client/purchase-order-modal.d.mts.map +1 -1
- package/dist/modules/purchase_backend/client/purchase-order-modal.mjs +1 -1
- package/dist/modules/purchase_backend/client/purchase-order-modal.mjs.map +3 -3
- package/dist/modules/purchase_backend/client/vendor-pricelist-modal.d.mts +4 -4
- package/dist/modules/purchase_backend/client/vendor-pricelist-modal.d.mts.map +1 -1
- package/dist/modules/purchase_backend/client/vendor-pricelist-modal.mjs +1 -1
- package/dist/modules/purchase_backend/client/vendor-pricelist-modal.mjs.map +3 -3
- package/dist/modules/sale_backend/client/invoicing-policy-modal.d.mts +4 -4
- package/dist/modules/sale_backend/client/invoicing-policy-modal.d.mts.map +1 -1
- package/dist/modules/sale_backend/client/invoicing-policy-modal.mjs +1 -1
- package/dist/modules/sale_backend/client/invoicing-policy-modal.mjs.map +3 -3
- package/dist/modules/sale_backend/client/sale-order-modal.d.mts +5 -5
- package/dist/modules/sale_backend/client/sale-order-modal.d.mts.map +1 -1
- package/dist/modules/sale_backend/client/sale-order-modal.mjs +1 -1
- package/dist/modules/sale_backend/client/sale-order-modal.mjs.map +3 -3
- package/dist/modules/stock_backend/client/inventory-count-modal.d.mts +4 -4
- package/dist/modules/stock_backend/client/inventory-count-modal.d.mts.map +1 -1
- package/dist/modules/stock_backend/client/inventory-count-modal.mjs +1 -1
- package/dist/modules/stock_backend/client/inventory-count-modal.mjs.map +3 -3
- package/dist/modules/stock_backend/client/stock-configuration-modal.d.mts +14 -14
- package/dist/modules/stock_backend/client/stock-configuration-modal.d.mts.map +1 -1
- package/dist/modules/stock_backend/client/stock-configuration-modal.mjs +1 -1
- package/dist/modules/stock_backend/client/stock-configuration-modal.mjs.map +3 -3
- package/dist/modules/stock_backend/client/stock-transfer-modal.d.mts +4 -4
- package/dist/modules/stock_backend/client/stock-transfer-modal.d.mts.map +1 -1
- package/dist/modules/stock_backend/client/stock-transfer-modal.mjs +1 -1
- package/dist/modules/stock_backend/client/stock-transfer-modal.mjs.map +3 -3
- package/dist/modules/user_backend/client/access-policy-modal.d.mts +4 -4
- package/dist/modules/user_backend/client/access-policy-modal.d.mts.map +1 -1
- package/dist/modules/user_backend/client/access-policy-modal.mjs +1 -1
- package/dist/modules/user_backend/client/access-policy-modal.mjs.map +3 -3
- package/dist/modules/user_backend/client/role-modal.d.mts +6 -6
- package/dist/modules/user_backend/client/role-modal.d.mts.map +1 -1
- package/dist/modules/user_backend/client/role-modal.mjs +1 -1
- package/dist/modules/user_backend/client/role-modal.mjs.map +3 -3
- package/dist/modules/user_backend/client/user-modal.d.mts +9 -9
- package/dist/modules/user_backend/client/user-modal.d.mts.map +1 -1
- package/dist/modules/user_backend/client/user-modal.mjs +1 -1
- package/dist/modules/user_backend/client/user-modal.mjs.map +3 -3
- package/dist/scaffold/index.js +1 -1
- package/dist/ui/client/record-modal-form.d.ts +10 -0
- package/dist/ui/client/record-modal-form.d.ts.map +1 -1
- package/dist/ui/client/record-modal-form.js +3 -1
- package/dist/ui/client/record-modal-form.js.map +1 -1
- package/dist/ui/client/record-modal.d.ts +9 -1
- package/dist/ui/client/record-modal.d.ts.map +1 -1
- package/dist/ui/client/record-modal.js +78 -17
- package/dist/ui/client/record-modal.js.map +1 -1
- package/dist/ui/index.d.ts +2 -2
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +2 -2
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/record-modal.d.ts +3 -0
- package/dist/ui/record-modal.d.ts.map +1 -1
- package/dist/ui/record-modal.js +15 -1
- package/dist/ui/record-modal.js.map +1 -1
- package/package.json +4 -4
|
@@ -574,18 +574,18 @@
|
|
|
574
574
|
}
|
|
575
575
|
|
|
576
576
|
@media (hover: hover) {
|
|
577
|
-
:where([data-
|
|
577
|
+
:where([data-control="action"]:not([data-ui])):hover:not(:disabled, [aria-disabled="true"]),
|
|
578
578
|
[data-ui="record-row"] > a:hover {
|
|
579
579
|
border-color: var(--admin-line-strong);
|
|
580
580
|
background: var(--admin-surface-hover);
|
|
581
581
|
color: var(--admin-ink);
|
|
582
582
|
}
|
|
583
|
-
:where([data-
|
|
583
|
+
:where([data-control="action"]:not([data-ui]))[data-variant="primary"]:hover:not(:disabled) {
|
|
584
584
|
border-color: var(--admin-accent-hover);
|
|
585
585
|
background: var(--admin-accent-hover);
|
|
586
586
|
color: var(--admin-accent-ink);
|
|
587
587
|
}
|
|
588
|
-
:where([data-
|
|
588
|
+
:where([data-control="action"]:not([data-ui]))[data-variant="destructive"]:hover:not(:disabled) {
|
|
589
589
|
border-color: var(--admin-danger);
|
|
590
590
|
background: var(--admin-danger);
|
|
591
591
|
color: #fff;
|
|
@@ -606,10 +606,10 @@
|
|
|
606
606
|
/* A button sits in a row with the fields it submits, so it is the height of
|
|
607
607
|
one. The 2.75rem touch target this used to take stood half again as tall
|
|
608
608
|
as the input above it and read as a banner rather than a control. */
|
|
609
|
-
:where([data-
|
|
609
|
+
:where([data-control="action"]:not([data-ui]))[data-size] {
|
|
610
610
|
min-block-size: var(--admin-field-height);
|
|
611
611
|
}
|
|
612
|
-
:where([data-
|
|
612
|
+
:where([data-control="action"]:not([data-ui]))[data-icon-only="true"][data-size] {
|
|
613
613
|
inline-size: var(--admin-field-height);
|
|
614
614
|
}
|
|
615
615
|
[data-ui="section-head"],
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
|
|
69
69
|
/* Action hierarchy. Primary is brand-600, not brand-500: normal-size white
|
|
70
70
|
labels need the stronger token to meet AA. */
|
|
71
|
-
:where([data-
|
|
71
|
+
:where([data-control="action"]:not([data-ui])) {
|
|
72
72
|
display: inline-flex;
|
|
73
73
|
min-block-size: var(--admin-control-height);
|
|
74
74
|
align-items: center;
|
|
@@ -91,47 +91,47 @@
|
|
|
91
91
|
transform var(--admin-motion-fast);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
:where([data-
|
|
94
|
+
:where([data-control="action"]:not([data-ui]))[data-size="compact"] {
|
|
95
95
|
min-block-size: var(--admin-control-height);
|
|
96
96
|
padding-inline: 0.5rem;
|
|
97
97
|
border-radius: var(--admin-radius-sm);
|
|
98
98
|
font-size: 0.875rem;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
:where([data-
|
|
101
|
+
:where([data-control="action"]:not([data-ui]))[data-size="prominent"] {
|
|
102
102
|
min-block-size: var(--admin-control-height);
|
|
103
103
|
padding-inline: var(--admin-gap);
|
|
104
104
|
font-size: 0.875rem;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
:where([data-
|
|
107
|
+
:where([data-control="action"]:not([data-ui]))[data-variant="primary"] {
|
|
108
108
|
border-color: var(--admin-accent);
|
|
109
109
|
background: var(--admin-accent);
|
|
110
110
|
color: var(--admin-accent-ink);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
:where([data-
|
|
113
|
+
:where([data-control="action"]:not([data-ui]))[data-variant="tertiary"] {
|
|
114
114
|
border-color: transparent;
|
|
115
115
|
background: transparent;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
:where([data-
|
|
118
|
+
:where([data-control="action"]:not([data-ui]))[data-variant="destructive"] {
|
|
119
119
|
border-color: var(--admin-danger-line);
|
|
120
120
|
background: var(--admin-danger-soft);
|
|
121
121
|
color: var(--admin-danger-strong);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
:where([data-
|
|
124
|
+
:where([data-control="action"]:not([data-ui]))[data-icon-only="true"] {
|
|
125
125
|
inline-size: var(--admin-control-height);
|
|
126
126
|
padding: 0;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
:where([data-
|
|
129
|
+
:where([data-control="action"]:not([data-ui]))[data-icon-only="true"][data-size="compact"] {
|
|
130
130
|
min-block-size: var(--admin-control-height);
|
|
131
131
|
inline-size: var(--admin-control-height);
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
:where([data-
|
|
134
|
+
:where([data-control="action"]:not([data-ui])):is(:disabled, [aria-disabled="true"]) {
|
|
135
135
|
border-color: var(--admin-line);
|
|
136
136
|
background: var(--admin-surface-subtle);
|
|
137
137
|
color: var(--admin-ink-disabled);
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
opacity: 0.82;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
:where([data-
|
|
142
|
+
:where([data-control="action"]:not([data-ui])):active:not(:disabled, [aria-disabled="true"]) {
|
|
143
143
|
transform: translateY(1px);
|
|
144
144
|
}
|
|
145
145
|
[data-ui="action-icon"] {
|
|
@@ -156,12 +156,6 @@
|
|
|
156
156
|
border-radius: 50%;
|
|
157
157
|
animation: ket-action-spin 700ms linear infinite;
|
|
158
158
|
}
|
|
159
|
-
[data-ui="action-group"] {
|
|
160
|
-
display: flex;
|
|
161
|
-
flex-wrap: wrap;
|
|
162
|
-
align-items: center;
|
|
163
|
-
gap: var(--admin-gap-xs);
|
|
164
|
-
}
|
|
165
159
|
@keyframes ket-action-spin {
|
|
166
160
|
to {
|
|
167
161
|
transform: rotate(1turn);
|
|
@@ -309,26 +303,6 @@
|
|
|
309
303
|
opacity: 0.82;
|
|
310
304
|
}
|
|
311
305
|
|
|
312
|
-
[data-ui="tag"] {
|
|
313
|
-
display: inline-flex;
|
|
314
|
-
min-block-size: 1.625rem;
|
|
315
|
-
align-items: center;
|
|
316
|
-
gap: var(--admin-gap-xs);
|
|
317
|
-
padding-inline: var(--admin-gap-sm);
|
|
318
|
-
border: 1px solid var(--admin-line);
|
|
319
|
-
border-radius: var(--admin-radius-sm);
|
|
320
|
-
background: var(--admin-surface-subtle);
|
|
321
|
-
color: var(--admin-ink-secondary);
|
|
322
|
-
font-size: var(--admin-size-sm);
|
|
323
|
-
font-weight: 600;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
[data-ui="tag-remove"] {
|
|
327
|
-
color: inherit;
|
|
328
|
-
font-size: var(--admin-size-md);
|
|
329
|
-
line-height: 1;
|
|
330
|
-
text-decoration: none;
|
|
331
|
-
}
|
|
332
306
|
[data-ui="count-badge"] {
|
|
333
307
|
display: inline-grid;
|
|
334
308
|
min-inline-size: 1.25rem;
|
|
@@ -1,47 +1,8 @@
|
|
|
1
1
|
/* Shared sections, relations, modal, media and form components. */
|
|
2
2
|
|
|
3
3
|
@layer ket.app {
|
|
4
|
-
/*
|
|
5
|
-
|
|
6
|
-
display: grid;
|
|
7
|
-
gap: var(--admin-gap-sm);
|
|
8
|
-
min-inline-size: 0;
|
|
9
|
-
}
|
|
10
|
-
[data-ui="section-head"] {
|
|
11
|
-
display: flex;
|
|
12
|
-
align-items: flex-start;
|
|
13
|
-
justify-content: space-between;
|
|
14
|
-
gap: var(--admin-gap);
|
|
15
|
-
}
|
|
16
|
-
[data-ui="section-eyebrow"],
|
|
17
|
-
[data-ui="section-title"],
|
|
18
|
-
[data-ui="section-description"] {
|
|
19
|
-
margin: 0;
|
|
20
|
-
}
|
|
21
|
-
[data-ui="section-eyebrow"] {
|
|
22
|
-
color: var(--admin-ink-secondary);
|
|
23
|
-
font-size: var(--admin-size-xs);
|
|
24
|
-
font-weight: 700;
|
|
25
|
-
letter-spacing: 0.075em;
|
|
26
|
-
text-transform: uppercase;
|
|
27
|
-
}
|
|
28
|
-
[data-ui="section-title"] {
|
|
29
|
-
color: var(--admin-ink);
|
|
30
|
-
font-size: var(--admin-size-md);
|
|
31
|
-
line-height: 1.35;
|
|
32
|
-
}
|
|
33
|
-
[data-ui="section-description"] {
|
|
34
|
-
margin-block-start: var(--admin-gap-xs);
|
|
35
|
-
color: var(--admin-ink-secondary);
|
|
36
|
-
font-size: var(--admin-size-sm);
|
|
37
|
-
}
|
|
38
|
-
[data-ui="section-actions"] {
|
|
39
|
-
flex: 0 0 auto;
|
|
40
|
-
}
|
|
41
|
-
[data-ui="section-body"] {
|
|
42
|
-
min-inline-size: 0;
|
|
43
|
-
}
|
|
44
|
-
|
|
4
|
+
/* Section and ModalSheet are public DS components. Their typography,
|
|
5
|
+
spacing and responsive geometry must not be overridden here. */
|
|
45
6
|
[data-ui="surface"] {
|
|
46
7
|
min-inline-size: 0;
|
|
47
8
|
border: 1px solid var(--admin-divider-subtle);
|
|
@@ -131,133 +92,6 @@
|
|
|
131
92
|
font: inherit;
|
|
132
93
|
}
|
|
133
94
|
|
|
134
|
-
[data-ui="modal-sheet"][data-size="large"] {
|
|
135
|
-
inline-size: min(56rem, calc(100vw - var(--admin-gap-lg)));
|
|
136
|
-
}
|
|
137
|
-
[data-ui="modal-layer"][data-presentation="dialog"] {
|
|
138
|
-
place-items: center;
|
|
139
|
-
padding: var(--admin-gap-lg);
|
|
140
|
-
}
|
|
141
|
-
[data-ui="modal-layer"][data-presentation="dialog"] [data-ui="modal-sheet"] {
|
|
142
|
-
inline-size: min(56rem, 100%);
|
|
143
|
-
block-size: auto;
|
|
144
|
-
max-block-size: calc(100dvh - var(--admin-gap-lg) * 2);
|
|
145
|
-
border: 1px solid var(--admin-line-strong);
|
|
146
|
-
border-radius: var(--admin-radius-lg);
|
|
147
|
-
overflow: hidden;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
/* Large describes the working width, not a required amount of empty height.
|
|
151
|
-
Content determines the block size until the viewport cap is reached; the
|
|
152
|
-
sheet body already owns overflow for genuinely long workbenches. */
|
|
153
|
-
[data-ui="modal-layer"][data-presentation="dialog"] [data-ui="modal-sheet"][data-size="large"] {
|
|
154
|
-
inline-size: min(1200px, 100%);
|
|
155
|
-
block-size: auto;
|
|
156
|
-
max-block-size: calc(100dvh - 100px);
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
/* URL-addressable modal workspace. The backdrop is a real close link and
|
|
160
|
-
the sheet owns its scroll, so the document never grows horizontally. */
|
|
161
|
-
[data-ui="modal-layer"] {
|
|
162
|
-
position: fixed;
|
|
163
|
-
inset: 0;
|
|
164
|
-
z-index: 100;
|
|
165
|
-
display: grid;
|
|
166
|
-
min-inline-size: 0;
|
|
167
|
-
justify-items: end;
|
|
168
|
-
}
|
|
169
|
-
body:has([data-ui="modal-layer"][data-route-modal="true"]) {
|
|
170
|
-
overflow: hidden;
|
|
171
|
-
}
|
|
172
|
-
[data-ui="modal-backdrop"] {
|
|
173
|
-
position: absolute;
|
|
174
|
-
z-index: 0;
|
|
175
|
-
inset: 0;
|
|
176
|
-
display: block;
|
|
177
|
-
background: color-mix(in srgb, #000 36%, transparent);
|
|
178
|
-
text-decoration: none;
|
|
179
|
-
}
|
|
180
|
-
button[data-ui="modal-backdrop"] {
|
|
181
|
-
padding: 0;
|
|
182
|
-
border: 0;
|
|
183
|
-
cursor: pointer;
|
|
184
|
-
}
|
|
185
|
-
[data-ui="modal-backdrop"] > span {
|
|
186
|
-
position: absolute;
|
|
187
|
-
inline-size: 1px;
|
|
188
|
-
block-size: 1px;
|
|
189
|
-
overflow: hidden;
|
|
190
|
-
clip-path: inset(50%);
|
|
191
|
-
white-space: nowrap;
|
|
192
|
-
}
|
|
193
|
-
[data-ui="modal-sheet"] {
|
|
194
|
-
position: relative;
|
|
195
|
-
z-index: 1;
|
|
196
|
-
display: grid;
|
|
197
|
-
inline-size: min(34rem, calc(100vw - var(--admin-gap-lg)));
|
|
198
|
-
max-inline-size: 100%;
|
|
199
|
-
block-size: 100dvh;
|
|
200
|
-
min-inline-size: 0;
|
|
201
|
-
grid-template-rows: auto minmax(0, 1fr);
|
|
202
|
-
border-inline-start: 1px solid var(--admin-line-strong);
|
|
203
|
-
background: var(--admin-surface);
|
|
204
|
-
box-shadow: var(--admin-shadow-float);
|
|
205
|
-
}
|
|
206
|
-
[data-ui="modal-head"] {
|
|
207
|
-
display: flex;
|
|
208
|
-
min-inline-size: 0;
|
|
209
|
-
align-items: center;
|
|
210
|
-
justify-content: space-between;
|
|
211
|
-
gap: var(--admin-gap);
|
|
212
|
-
padding: var(--admin-gap) var(--admin-gap-md);
|
|
213
|
-
border-block-end: 1px solid var(--admin-line);
|
|
214
|
-
}
|
|
215
|
-
[data-ui="modal-heading"] {
|
|
216
|
-
display: grid;
|
|
217
|
-
min-inline-size: 0;
|
|
218
|
-
gap: var(--admin-gap-xs);
|
|
219
|
-
}
|
|
220
|
-
/* The title and what state its record is in read as one line. */
|
|
221
|
-
[data-ui="modal-title-row"] {
|
|
222
|
-
display: flex;
|
|
223
|
-
min-inline-size: 0;
|
|
224
|
-
align-items: center;
|
|
225
|
-
gap: var(--admin-gap-sm);
|
|
226
|
-
}
|
|
227
|
-
[data-ui="modal-title"] {
|
|
228
|
-
min-inline-size: 0;
|
|
229
|
-
margin: 0;
|
|
230
|
-
overflow: hidden;
|
|
231
|
-
color: var(--admin-ink);
|
|
232
|
-
font-size: var(--admin-size-md);
|
|
233
|
-
line-height: 1.35;
|
|
234
|
-
text-overflow: ellipsis;
|
|
235
|
-
white-space: nowrap;
|
|
236
|
-
}
|
|
237
|
-
[data-ui="modal-description"] {
|
|
238
|
-
margin: 0;
|
|
239
|
-
color: var(--admin-ink-muted);
|
|
240
|
-
font-size: var(--admin-size-sm);
|
|
241
|
-
line-height: 1.45;
|
|
242
|
-
}
|
|
243
|
-
[data-ui="modal-close"] {
|
|
244
|
-
display: grid;
|
|
245
|
-
inline-size: 2.75rem;
|
|
246
|
-
block-size: 2.75rem;
|
|
247
|
-
flex: 0 0 auto;
|
|
248
|
-
place-items: center;
|
|
249
|
-
border: 1px solid var(--admin-line);
|
|
250
|
-
border-radius: var(--admin-radius-sm);
|
|
251
|
-
color: var(--admin-ink-secondary);
|
|
252
|
-
text-decoration: none;
|
|
253
|
-
}
|
|
254
|
-
[data-ui="modal-body"] {
|
|
255
|
-
min-inline-size: 0;
|
|
256
|
-
overflow: auto;
|
|
257
|
-
padding: var(--admin-gap-md);
|
|
258
|
-
overscroll-behavior: contain;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
95
|
[data-ui="media"] {
|
|
262
96
|
display: grid;
|
|
263
97
|
min-inline-size: 0;
|
|
@@ -414,11 +248,6 @@
|
|
|
414
248
|
grid-column: 2;
|
|
415
249
|
align-self: end;
|
|
416
250
|
}
|
|
417
|
-
[data-ui="form-grid"] {
|
|
418
|
-
display: grid;
|
|
419
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
420
|
-
gap: var(--admin-gap-sm) var(--admin-gap-lg);
|
|
421
|
-
}
|
|
422
251
|
[data-ui="form-field"] {
|
|
423
252
|
display: grid;
|
|
424
253
|
min-inline-size: 0;
|
|
@@ -891,21 +720,6 @@
|
|
|
891
720
|
[data-ui="relation-dialog-actions"] [data-ui="action"] {
|
|
892
721
|
flex: 0 0 auto;
|
|
893
722
|
}
|
|
894
|
-
[data-ui="modal-layer"],
|
|
895
|
-
[data-ui="modal-layer"][data-presentation="dialog"] {
|
|
896
|
-
padding: 0;
|
|
897
|
-
}
|
|
898
|
-
/* Include every size: the large desktop dialog must not override mobile height. */
|
|
899
|
-
[data-ui="modal-layer"] [data-ui="modal-sheet"],
|
|
900
|
-
[data-ui="modal-layer"] [data-ui="modal-sheet"][data-size],
|
|
901
|
-
[data-ui="modal-layer"][data-presentation="dialog"] [data-ui="modal-sheet"][data-size] {
|
|
902
|
-
inline-size: 100%;
|
|
903
|
-
block-size: 100dvh;
|
|
904
|
-
max-block-size: 100dvh;
|
|
905
|
-
box-shadow: none;
|
|
906
|
-
border: 0;
|
|
907
|
-
border-radius: 0;
|
|
908
|
-
}
|
|
909
723
|
}
|
|
910
724
|
|
|
911
725
|
/* Compatibility RecordForm uses `form-field` while the public FormPage
|
|
@@ -1141,56 +1141,7 @@
|
|
|
1141
1141
|
color: var(--admin-accent-text);
|
|
1142
1142
|
}
|
|
1143
1143
|
|
|
1144
|
-
/*
|
|
1145
|
-
The tone is named for what it means, not for what it looks like. A design
|
|
1146
|
-
team that wants "draft" amber changes one rule and every draft follows. */
|
|
1147
|
-
|
|
1148
|
-
[data-ui="badge"] {
|
|
1149
|
-
display: inline-flex;
|
|
1150
|
-
min-block-size: 1.375rem;
|
|
1151
|
-
align-items: center;
|
|
1152
|
-
gap: 0.3125rem;
|
|
1153
|
-
padding-inline: 0.4375rem;
|
|
1154
|
-
border-radius: var(--admin-radius-sm);
|
|
1155
|
-
font-size: var(--admin-size-xs);
|
|
1156
|
-
font-weight: 600;
|
|
1157
|
-
line-height: 1.2;
|
|
1158
|
-
white-space: nowrap;
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
|
-
[data-ui="badge"]::before {
|
|
1162
|
-
inline-size: 0.375rem;
|
|
1163
|
-
block-size: 0.375rem;
|
|
1164
|
-
flex: 0 0 auto;
|
|
1165
|
-
border-radius: 50%;
|
|
1166
|
-
background: currentColor;
|
|
1167
|
-
content: "";
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
|
-
[data-ui="badge"][data-tone="neutral"] {
|
|
1171
|
-
background: var(--admin-neutral-soft);
|
|
1172
|
-
color: var(--admin-neutral);
|
|
1173
|
-
}
|
|
1174
|
-
|
|
1175
|
-
[data-ui="badge"][data-tone="info"] {
|
|
1176
|
-
background: var(--admin-accent-soft);
|
|
1177
|
-
color: var(--admin-accent-text);
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
|
-
[data-ui="badge"][data-tone="positive"] {
|
|
1181
|
-
background: var(--admin-success-soft);
|
|
1182
|
-
color: var(--admin-success);
|
|
1183
|
-
}
|
|
1184
|
-
|
|
1185
|
-
[data-ui="badge"][data-tone="warning"] {
|
|
1186
|
-
background: var(--admin-warning-soft);
|
|
1187
|
-
color: var(--admin-warning);
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
|
-
[data-ui="badge"][data-tone="danger"] {
|
|
1191
|
-
background: var(--admin-danger-soft);
|
|
1192
|
-
color: var(--admin-danger);
|
|
1193
|
-
}
|
|
1144
|
+
/* Badge appearance is owned by the public design system. */
|
|
1194
1145
|
|
|
1195
1146
|
[data-ui="qr-code"] {
|
|
1196
1147
|
display: block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare var
|
|
1
|
+
declare var yn: (e: any) => any, vn: (e: any, t: any) => {
|
|
2
2
|
id: any;
|
|
3
3
|
stageId?: any;
|
|
4
4
|
teamId?: any;
|
|
@@ -7,7 +7,7 @@ declare var fn: (e: any) => any, bn: (e: any, t: any) => {
|
|
|
7
7
|
tagIds: string[];
|
|
8
8
|
expectedVersion?: number | undefined;
|
|
9
9
|
idempotencyKey: `${string}-${string}-${string}-${string}-${string}`;
|
|
10
|
-
},
|
|
10
|
+
}, Fi: {
|
|
11
11
|
kind: string;
|
|
12
12
|
size: string;
|
|
13
13
|
fixedHeight: string;
|
|
@@ -52,7 +52,7 @@ declare var fn: (e: any) => any, bn: (e: any, t: any) => {
|
|
|
52
52
|
id: string;
|
|
53
53
|
label: (e: any) => any;
|
|
54
54
|
visible: (e: any) => boolean;
|
|
55
|
-
view: typeof
|
|
55
|
+
view: typeof yn;
|
|
56
56
|
}[];
|
|
57
57
|
actions: (e: any) => any;
|
|
58
58
|
dialogs: {
|
|
@@ -116,13 +116,13 @@ declare var fn: (e: any) => any, bn: (e: any, t: any) => {
|
|
|
116
116
|
};
|
|
117
117
|
create: {
|
|
118
118
|
fn: string;
|
|
119
|
-
input: typeof
|
|
119
|
+
input: typeof vn;
|
|
120
120
|
after: string;
|
|
121
121
|
openTab: string;
|
|
122
122
|
};
|
|
123
123
|
save: {
|
|
124
124
|
fn: string;
|
|
125
|
-
input: typeof
|
|
125
|
+
input: typeof vn;
|
|
126
126
|
after: string;
|
|
127
127
|
};
|
|
128
128
|
move: {
|
|
@@ -291,12 +291,12 @@ declare var fn: (e: any) => any, bn: (e: any, t: any) => {
|
|
|
291
291
|
after: string;
|
|
292
292
|
};
|
|
293
293
|
};
|
|
294
|
-
},
|
|
294
|
+
}, Yf: () => {
|
|
295
295
|
view: () => any;
|
|
296
|
-
mount: ({ root:
|
|
296
|
+
mount: ({ root: l, lifetime: c }: {
|
|
297
297
|
lifetime: any;
|
|
298
298
|
root: any;
|
|
299
299
|
}) => void;
|
|
300
300
|
};
|
|
301
|
-
export {
|
|
301
|
+
export { Yf as caseModal, Fi as caseModalDefinition };
|
|
302
302
|
//# sourceMappingURL=crm-case-modal.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crm-case-modal.d.mts","sourceRoot":"","sources":["../../../../../../../packages/ketsuite/src/modules/crm_backend/client/crm-case-modal.mjs"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"crm-case-modal.d.mts","sourceRoot":"","sources":["../../../../../../../packages/ketsuite/src/modules/crm_backend/client/crm-case-modal.mjs"],"names":[],"mappings":"AACg6yD,QAAA,IAA05H,EAAE,iBAAm6B,EAA2sG,EAAE;;;;;;;;;CAA0sB,EAA6D,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAA2hK,EAAE;YAAiB,KAAK;YAAI,KAAK;YAAQ,OAAO;;;YAAmB,EAAE;YAAiB,KAAK;YAAI,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAAqZ,QAAQ;gBAAM,QAAQ;gBAAiB,qBAAqB;gBAA+B,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAAqwB,MAAM;gBAAM,MAAM;gBAAe,UAAU;gBAAmB,cAAc;;;;;;;gBAA2E,EAAE;gBAAqB,QAAQ;gBAAiB,aAAa;gBAAsC,cAAc;;;;;;;gBAAuE,EAAE;gBAAqB,QAAQ;gBAAiB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;gBAAmb,EAAE;gBAAK,MAAM;gBAAM,IAAI;gBAAa,UAAU;gBAAY,cAAc;;;;;;;;oBAA6E,QAAQ;oBAAY,KAAK;oBAAM,MAAM;;;;gBAA2B,EAAE;;;;;;;gBAAgF,EAAE;gBAAM,cAAc;;;;;CAAwB,EAAC,EAAE;;;;;;CAAO,CAAC;AAAA,OAAM,EAAC,EAAE,IAAI,SAAS,EAAC,EAAE,IAAI,mBAAmB,EAAC,CAAC"}
|