openxiangda 1.0.0

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.
Files changed (121) hide show
  1. package/README.md +58 -0
  2. package/bin/openxiangda.js +11 -0
  3. package/lib/cli.js +2423 -0
  4. package/lib/config.js +121 -0
  5. package/lib/http.js +47 -0
  6. package/lib/skills.js +371 -0
  7. package/lib/utils.js +87 -0
  8. package/lib/workspace-init.js +139 -0
  9. package/openxiangda-skills/SKILL.md +128 -0
  10. package/openxiangda-skills/references/architecture-patterns.md +242 -0
  11. package/openxiangda-skills/references/automation-v3.md +129 -0
  12. package/openxiangda-skills/references/component-guide.md +198 -0
  13. package/openxiangda-skills/references/forms/component-registry.md +53 -0
  14. package/openxiangda-skills/references/forms/form-schema.md +109 -0
  15. package/openxiangda-skills/references/forms/layout-and-rules.md +24 -0
  16. package/openxiangda-skills/references/openxiangda-api.md +466 -0
  17. package/openxiangda-skills/references/pages/page-sdk.md +13 -0
  18. package/openxiangda-skills/references/pages/publish-flow.md +36 -0
  19. package/openxiangda-skills/references/pages/workspace-structure.md +38 -0
  20. package/openxiangda-skills/references/permissions-settings.md +147 -0
  21. package/openxiangda-skills/references/platform-data-model.md +305 -0
  22. package/openxiangda-skills/references/style-system.md +492 -0
  23. package/openxiangda-skills/references/troubleshooting.md +246 -0
  24. package/openxiangda-skills/references/workflow-v3.md +105 -0
  25. package/openxiangda-skills/references/workspace-state.md +45 -0
  26. package/openxiangda-skills/skills/openxiangda-app/SKILL.md +64 -0
  27. package/openxiangda-skills/skills/openxiangda-core/SKILL.md +143 -0
  28. package/openxiangda-skills/skills/openxiangda-form/SKILL.md +76 -0
  29. package/openxiangda-skills/skills/openxiangda-inspect/SKILL.md +40 -0
  30. package/openxiangda-skills/skills/openxiangda-page/SKILL.md +62 -0
  31. package/openxiangda-skills/skills/openxiangda-permission-settings/SKILL.md +95 -0
  32. package/openxiangda-skills/skills/openxiangda-workflow-automation/SKILL.md +97 -0
  33. package/package.json +126 -0
  34. package/packages/sdk/bin/lowcode-workspace.mjs +4 -0
  35. package/packages/sdk/dist/build/index.cjs +33 -0
  36. package/packages/sdk/dist/build/index.cjs.map +1 -0
  37. package/packages/sdk/dist/build/index.d.mts +40 -0
  38. package/packages/sdk/dist/build/index.d.ts +40 -0
  39. package/packages/sdk/dist/build/index.mjs +8 -0
  40. package/packages/sdk/dist/build/index.mjs.map +1 -0
  41. package/packages/sdk/dist/components/index.cjs +18700 -0
  42. package/packages/sdk/dist/components/index.cjs.map +1 -0
  43. package/packages/sdk/dist/components/index.d.mts +2094 -0
  44. package/packages/sdk/dist/components/index.d.ts +2094 -0
  45. package/packages/sdk/dist/components/index.mjs +18649 -0
  46. package/packages/sdk/dist/components/index.mjs.map +1 -0
  47. package/packages/sdk/dist/runtime/index.cjs +1469 -0
  48. package/packages/sdk/dist/runtime/index.cjs.map +1 -0
  49. package/packages/sdk/dist/runtime/index.d.mts +831 -0
  50. package/packages/sdk/dist/runtime/index.d.ts +831 -0
  51. package/packages/sdk/dist/runtime/index.mjs +1420 -0
  52. package/packages/sdk/dist/runtime/index.mjs.map +1 -0
  53. package/packages/sdk/dist/styles/antd-theme.cjs +60 -0
  54. package/packages/sdk/dist/styles/antd-theme.cjs.map +1 -0
  55. package/packages/sdk/dist/styles/antd-theme.d.mts +5 -0
  56. package/packages/sdk/dist/styles/antd-theme.d.ts +5 -0
  57. package/packages/sdk/dist/styles/antd-theme.mjs +35 -0
  58. package/packages/sdk/dist/styles/antd-theme.mjs.map +1 -0
  59. package/packages/sdk/dist/styles/tailwind-preset.cjs +2641 -0
  60. package/packages/sdk/dist/styles/tailwind-preset.cjs.map +1 -0
  61. package/packages/sdk/dist/styles/tailwind-preset.d.mts +75 -0
  62. package/packages/sdk/dist/styles/tailwind-preset.d.ts +75 -0
  63. package/packages/sdk/dist/styles/tailwind-preset.mjs +2618 -0
  64. package/packages/sdk/dist/styles/tailwind-preset.mjs.map +1 -0
  65. package/packages/sdk/dist/styles/tokens.css +73 -0
  66. package/packages/sdk/src/build-source/README.md +9 -0
  67. package/packages/sdk/src/build-source/bin/lowcode-workspace.mjs +7 -0
  68. package/packages/sdk/src/build-source/package.json +34 -0
  69. package/packages/sdk/src/build-source/scripts/build-forms.mjs +824 -0
  70. package/packages/sdk/src/build-source/scripts/build-forms.runtime-entry.test.ts +18 -0
  71. package/packages/sdk/src/build-source/scripts/build-pages.mjs +793 -0
  72. package/packages/sdk/src/build-source/scripts/build-workspace.mjs +64 -0
  73. package/packages/sdk/src/build-source/scripts/publish-all.mjs +127 -0
  74. package/packages/sdk/src/build-source/scripts/publish-oss.mjs +149 -0
  75. package/packages/sdk/src/build-source/scripts/register-bundle.mjs +1 -0
  76. package/packages/sdk/src/build-source/scripts/register.mjs +329 -0
  77. package/packages/sdk/src/build-source/scripts/sync-schema.mjs +301 -0
  78. package/packages/sdk/src/build-source/scripts/utils/form-api.mjs +639 -0
  79. package/packages/sdk/src/build-source/scripts/utils/form-api.test.ts +244 -0
  80. package/packages/sdk/src/build-source/scripts/utils/form-runtime-assets.mjs +57 -0
  81. package/packages/sdk/src/build-source/scripts/utils/form-runtime-assets.test.ts +135 -0
  82. package/packages/sdk/src/build-source/scripts/utils/incremental.mjs +210 -0
  83. package/packages/sdk/src/build-source/scripts/utils/load-config.mjs +257 -0
  84. package/packages/sdk/src/build-source/scripts/utils/load-config.test.ts +44 -0
  85. package/packages/sdk/src/build-source/scripts/utils/mime-types.mjs +70 -0
  86. package/packages/sdk/src/build-source/scripts/utils/namespace-css.mjs +61 -0
  87. package/packages/sdk/src/build-source/scripts/utils/oss-client.mjs +128 -0
  88. package/packages/sdk/src/build-source/scripts/utils/pages.mjs +80 -0
  89. package/packages/sdk/src/build-source/scripts/utils/progress.mjs +57 -0
  90. package/packages/sdk/src/build-source/scripts/utils/register-payload.mjs +89 -0
  91. package/packages/sdk/src/build-source/scripts/utils/register-payload.test.ts +76 -0
  92. package/packages/sdk/src/build-source/scripts/utils/runtime-css-check.mjs +44 -0
  93. package/packages/sdk/src/build-source/scripts/utils/runtime-css-check.test.ts +54 -0
  94. package/packages/sdk/src/build-source/scripts/utils/schema-transform.mjs +130 -0
  95. package/packages/sdk/src/build-source/scripts/utils/schema-transform.test.ts +141 -0
  96. package/packages/sdk/src/build-source/scripts/utils/tailwind-config.mjs +227 -0
  97. package/packages/sdk/src/build-source/scripts/utils/tailwind-config.test.ts +187 -0
  98. package/packages/sdk/src/build-source/src/cli.mjs +679 -0
  99. package/templates/sy-lowcode-app-workspace/app-workspace.config.ts +34 -0
  100. package/templates/sy-lowcode-app-workspace/examples/forms/customer/page.tsx +1 -0
  101. package/templates/sy-lowcode-app-workspace/examples/forms/customer/schema.ts +35 -0
  102. package/templates/sy-lowcode-app-workspace/index.html +12 -0
  103. package/templates/sy-lowcode-app-workspace/package.json +49 -0
  104. package/templates/sy-lowcode-app-workspace/postcss.config.cjs +6 -0
  105. package/templates/sy-lowcode-app-workspace/scripts/build-js-code.mjs +100 -0
  106. package/templates/sy-lowcode-app-workspace/src/dev/App.tsx +26 -0
  107. package/templates/sy-lowcode-app-workspace/src/forms/.gitkeep +1 -0
  108. package/templates/sy-lowcode-app-workspace/src/forms/README.md +48 -0
  109. package/templates/sy-lowcode-app-workspace/src/index.css +28 -0
  110. package/templates/sy-lowcode-app-workspace/src/js-code-nodes/.gitkeep +1 -0
  111. package/templates/sy-lowcode-app-workspace/src/js-code-nodes/types.d.ts +3 -0
  112. package/templates/sy-lowcode-app-workspace/src/main.tsx +36 -0
  113. package/templates/sy-lowcode-app-workspace/src/pages/.gitkeep +1 -0
  114. package/templates/sy-lowcode-app-workspace/src/shared/form-schema.ts +128 -0
  115. package/templates/sy-lowcode-app-workspace/src/types/app-workspace.types.ts +31 -0
  116. package/templates/sy-lowcode-app-workspace/tailwind.config.cjs +30 -0
  117. package/templates/sy-lowcode-app-workspace/tsconfig.app.json +24 -0
  118. package/templates/sy-lowcode-app-workspace/tsconfig.js-code-nodes.json +15 -0
  119. package/templates/sy-lowcode-app-workspace/tsconfig.json +7 -0
  120. package/templates/sy-lowcode-app-workspace/tsconfig.node.json +10 -0
  121. package/templates/sy-lowcode-app-workspace/vite.config.ts +32 -0
@@ -0,0 +1,2641 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // packages/sdk/src/styles/tailwind-preset.ts
21
+ var tailwind_preset_exports = {};
22
+ __export(tailwind_preset_exports, {
23
+ default: () => tailwind_preset_default
24
+ });
25
+ module.exports = __toCommonJS(tailwind_preset_exports);
26
+
27
+ // packages/sdk/src/components/tailwind.preset.ts
28
+ var syComponentSafelist = [
29
+ "sy-grid",
30
+ "sy-flex",
31
+ "sy-gap-3",
32
+ "sy-gap-4",
33
+ "sy-gap-y-3",
34
+ "sy-gap-y-4",
35
+ "sy-gap-y-5",
36
+ "sy-gap-y-6",
37
+ "sy-gap-y-8",
38
+ "sy-gap-x-4",
39
+ "sy-gap-x-6",
40
+ "sy-gap-x-8",
41
+ "sy-pt-4",
42
+ "sy-mr-2",
43
+ "sy-grid-cols-1",
44
+ "sy-grid-cell",
45
+ "md:sy-grid-cols-2",
46
+ "lg:sy-grid-cols-3",
47
+ "lg:sy-grid-cols-4",
48
+ "sy-form-actions",
49
+ "sy-form-renderer",
50
+ "sy-form-layout",
51
+ "sy-form-section",
52
+ "sy-form-section-plain",
53
+ "sy-form-section-card",
54
+ "sy-form-section-accent-blue",
55
+ "sy-form-section-accent-green",
56
+ "sy-form-section-header",
57
+ "sy-form-section-heading",
58
+ "sy-form-section-marker",
59
+ "sy-form-section-icon",
60
+ "sy-form-section-title-block",
61
+ "sy-form-section-title",
62
+ "sy-form-section-description",
63
+ "sy-form-section-arrow",
64
+ "sy-form-section-content",
65
+ "sy-layout-field",
66
+ "sy-field-wrapper",
67
+ "sy-field-label",
68
+ "sy-field-control",
69
+ "sy-field-readonly-value",
70
+ "sy-field-required",
71
+ "sy-field-tips",
72
+ "sy-field-error",
73
+ "sy-option-color-tag",
74
+ "sy-option-group-colored",
75
+ "sy-option-readonly-list",
76
+ "sy-form-container",
77
+ "sy-form-container-sm",
78
+ "sy-form-container-md",
79
+ "sy-form-container-lg",
80
+ "sy-form-container-xl",
81
+ "sy-form-container-full",
82
+ "sy-form-header",
83
+ "sy-form-title",
84
+ "sy-form-description",
85
+ "sy-form-body",
86
+ "sy-submit-runtime-page",
87
+ "sy-submit-page",
88
+ "sy-submit-card",
89
+ "sy-submit-form-shell",
90
+ "sy-lowcode-page",
91
+ "sy-page-section",
92
+ "sy-page-section-header",
93
+ "sy-page-section-title",
94
+ "sy-page-section-description",
95
+ "sy-page-section-body",
96
+ "sy-page-grid",
97
+ "sy-page-heading",
98
+ "sy-page-text",
99
+ "sy-page-unknown-node",
100
+ "sy-select-with-picker",
101
+ "sy-picker-trigger",
102
+ "sy-org-picker",
103
+ "sy-user-picker",
104
+ "sy-file-list",
105
+ "sy-image-grid",
106
+ "sy-attachment-upload-inline",
107
+ "sy-image-upload-inline",
108
+ "sy-upload-paste-zone",
109
+ "sy-mobile-field-trigger",
110
+ "sy-mobile-line-input",
111
+ "sy-mobile-text-input",
112
+ "sy-mobile-textarea-input",
113
+ "sy-mobile-number-input",
114
+ "sy-mobile-bottom-sheet",
115
+ "sy-mobile-bottom-sheet-content",
116
+ "sy-mobile-option-sheet",
117
+ "sy-mobile-choice-group",
118
+ "sy-mobile-image-grid",
119
+ "sy-mobile-date-sheet",
120
+ "sy-mobile-date-time-picker",
121
+ "sy-mobile-date-range-value",
122
+ "sy-editor",
123
+ "sy-editor-file-input",
124
+ "sy-detail-page",
125
+ "sy-detail-header",
126
+ "sy-detail-header-inner",
127
+ "sy-detail-main",
128
+ "sy-detail-card",
129
+ "sy-detail-summary-panel",
130
+ "sy-summary-panel-content",
131
+ "sy-summary-status-row",
132
+ "sy-summary-title",
133
+ "sy-summary-mobile-identity",
134
+ "sy-summary-mobile-person",
135
+ "sy-summary-mobile-avatar",
136
+ "sy-summary-mobile-person-name",
137
+ "sy-summary-mobile-time",
138
+ "sy-summary-meta-list",
139
+ "sy-summary-meta-item",
140
+ "sy-summary-meta-icon",
141
+ "sy-summary-meta-body",
142
+ "sy-summary-meta-label",
143
+ "sy-summary-meta-value",
144
+ "sy-process-summary",
145
+ "sy-process-summary-with-stamp",
146
+ "sy-process-status-stamp",
147
+ "sy-process-status-stamp-ring",
148
+ "sy-process-status-stamp-text",
149
+ "sy-process-status-stamp-star",
150
+ "sy-process-status-stamp-running",
151
+ "sy-process-status-stamp-approved",
152
+ "sy-process-status-stamp-rejected",
153
+ "sy-process-status-stamp-danger",
154
+ "sy-process-status-stamp-neutral",
155
+ "sy-readonly-files",
156
+ "sy-readonly-images",
157
+ "sy-readonly-attachments",
158
+ "sy-readonly-file-header",
159
+ "sy-readonly-bundle-download",
160
+ "sy-readonly-file-list",
161
+ "sy-readonly-file-item",
162
+ "sy-readonly-image-grid",
163
+ "sy-readonly-image-card",
164
+ "sy-readonly-image-thumb",
165
+ "sy-readonly-image-name",
166
+ "sy-image-preview-overlay",
167
+ "sy-image-preview-mask",
168
+ "sy-image-preview-dialog",
169
+ "sy-image-preview-close",
170
+ "sy-file-size-inline",
171
+ "sy-association-selector",
172
+ "sy-address-mobile",
173
+ "sy-location-field",
174
+ "sy-signature-field",
175
+ "sy-subform"
176
+ ];
177
+ var internalUtilitySafelist = [
178
+ "absolute",
179
+ "after:absolute",
180
+ "after:bg-transparent",
181
+ "after:h-5",
182
+ "after:rounded",
183
+ "after:right-1",
184
+ "after:top-1/2",
185
+ "after:w-0.5",
186
+ "after:-translate-y-1/2",
187
+ "animate-pulse",
188
+ "backdrop-blur",
189
+ "backdrop-blur-lg",
190
+ "bg-amber-50",
191
+ "bg-ant-bg-container",
192
+ "bg-ant-bg-container/95",
193
+ "bg-ant-bg-elevated",
194
+ "bg-ant-bg-layout",
195
+ "bg-blue-50",
196
+ "bg-blue-50/60",
197
+ "bg-blue-100",
198
+ "bg-blue-500",
199
+ "bg-emerald-50",
200
+ "bg-gray-50/70",
201
+ "bg-gray-100",
202
+ "bg-gray-200",
203
+ "bg-green-100",
204
+ "bg-green-500",
205
+ "bg-red-50",
206
+ "bg-white",
207
+ "bg-white/80",
208
+ "block",
209
+ "border",
210
+ "border-2",
211
+ "border-amber-300",
212
+ "border-ant-border-secondary",
213
+ "border-b",
214
+ "border-blue-200",
215
+ "border-blue-300",
216
+ "border-blue-400",
217
+ "border-dashed",
218
+ "border-gray-100",
219
+ "border-gray-200",
220
+ "border-l",
221
+ "border-l-2",
222
+ "border-red-300",
223
+ "border-t",
224
+ "bottom-0",
225
+ "break-words",
226
+ "cursor-col-resize",
227
+ "cursor-pointer",
228
+ "duration-150",
229
+ "duration-1000",
230
+ "fixed",
231
+ "flex",
232
+ "flex-1",
233
+ "flex-col",
234
+ "flex-shrink-0",
235
+ "flex-wrap",
236
+ "font-medium",
237
+ "font-normal",
238
+ "font-semibold",
239
+ "gap-1",
240
+ "gap-1.5",
241
+ "gap-2",
242
+ "gap-3",
243
+ "gap-4",
244
+ "gap-5",
245
+ "grid",
246
+ "grid-cols-1",
247
+ "grid-cols-2",
248
+ "grid-cols-[1fr_auto_1fr]",
249
+ "grid-cols-[minmax(120px,1fr)_120px_minmax(160px,1fr)_auto]",
250
+ "h-0.5",
251
+ "h-1",
252
+ "h-3",
253
+ "h-6",
254
+ "h-7",
255
+ "h-8",
256
+ "h-10",
257
+ "h-11",
258
+ "h-12",
259
+ "h-16",
260
+ "h-full",
261
+ "hidden",
262
+ "hover:after:bg-ant-color-primary",
263
+ "inline-block",
264
+ "inline-flex",
265
+ "items-center",
266
+ "items-end",
267
+ "items-start",
268
+ "justify-between",
269
+ "justify-center",
270
+ "justify-end",
271
+ "justify-start",
272
+ "leading-5",
273
+ "leading-6",
274
+ "leading-9",
275
+ "left-0",
276
+ "left-[21px]",
277
+ "m-0",
278
+ "max-w-4xl",
279
+ "max-w-[1440px]",
280
+ "max-w-[180px]",
281
+ "mb-1",
282
+ "mb-2",
283
+ "mb-3",
284
+ "mb-4",
285
+ "mb-5",
286
+ "mb-6",
287
+ "md:flex-nowrap",
288
+ "md:flex-row",
289
+ "md:grid-cols-2",
290
+ "md:grid-cols-3",
291
+ "md:grid-cols-4",
292
+ "md:grid-cols-[160px_1fr]",
293
+ "md:items-center",
294
+ "md:justify-between",
295
+ "md:-mb-5",
296
+ "md:-mb-6",
297
+ "md:-mx-5",
298
+ "md:-mx-6",
299
+ "md:p-5",
300
+ "md:p-6",
301
+ "md:pb-8",
302
+ "md:px-4",
303
+ "md:px-5",
304
+ "md:px-6",
305
+ "md:py-4",
306
+ "md:py-6",
307
+ "md:text-[28px]",
308
+ "md:w-auto",
309
+ "min-h-0",
310
+ "min-h-6",
311
+ "min-h-[360px]",
312
+ "min-w-0",
313
+ "min-w-[88px]",
314
+ "ml-1",
315
+ "ml-2",
316
+ "ml-4",
317
+ "mr-2",
318
+ "mt-0.5",
319
+ "mt-1",
320
+ "mt-2",
321
+ "mt-3",
322
+ "mt-4",
323
+ "mt-5",
324
+ "mt-6",
325
+ "mx-4",
326
+ "mx-auto",
327
+ "my-1",
328
+ "object-cover",
329
+ "overflow-hidden",
330
+ "overflow-x-auto",
331
+ "p-0",
332
+ "p-4",
333
+ "p-5",
334
+ "p-6",
335
+ "pb-0",
336
+ "pb-4",
337
+ "pb-5",
338
+ "pb-8",
339
+ "pb-24",
340
+ "pl-3",
341
+ "pl-4",
342
+ "pr-3",
343
+ "pt-4",
344
+ "px-1.5",
345
+ "px-2",
346
+ "px-2.5",
347
+ "px-3",
348
+ "px-4",
349
+ "px-5",
350
+ "px-6",
351
+ "py-0.5",
352
+ "py-1",
353
+ "py-2",
354
+ "py-3",
355
+ "py-4",
356
+ "py-6",
357
+ "py-8",
358
+ "py-16",
359
+ "relative",
360
+ "right-0",
361
+ "rounded",
362
+ "rounded-b-lg",
363
+ "rounded-full",
364
+ "rounded-lg",
365
+ "rounded-md",
366
+ "rounded-xl",
367
+ "shadow-[0_-8px_24px_rgba(15,23,42,0.06)]",
368
+ "shadow-[0_0_0_4px_var(--ant-color-bg-layout,#f5f5f5)]",
369
+ "shadow-sm",
370
+ "shrink-0",
371
+ "sm:block",
372
+ "space-y-2",
373
+ "space-y-3",
374
+ "space-y-4",
375
+ "space-y-5",
376
+ "space-y-6",
377
+ "supports-[padding:max(0px)]:pb-[max(0.75rem,env(safe-area-inset-bottom))]",
378
+ "text-2xl",
379
+ "text-amber-700",
380
+ "text-ant-color-text",
381
+ "text-ant-color-text-quaternary",
382
+ "text-ant-color-text-secondary",
383
+ "text-ant-color-text-tertiary",
384
+ "text-ant-primary",
385
+ "text-ant-text",
386
+ "text-ant-text-secondary",
387
+ "text-ant-text-tertiary",
388
+ "text-base",
389
+ "text-blue-500",
390
+ "text-blue-600",
391
+ "text-blue-700",
392
+ "text-center",
393
+ "text-emerald-700",
394
+ "text-gray-300",
395
+ "text-gray-400",
396
+ "text-gray-500",
397
+ "text-gray-600",
398
+ "text-gray-900",
399
+ "text-green-500",
400
+ "text-red-700",
401
+ "text-left",
402
+ "text-lg",
403
+ "text-sm",
404
+ "text-xl",
405
+ "text-xs",
406
+ "top-0",
407
+ "top-11",
408
+ "transition-all",
409
+ "truncate",
410
+ "w-0.5",
411
+ "w-3",
412
+ "w-4",
413
+ "w-6",
414
+ "w-7",
415
+ "w-8",
416
+ "w-10",
417
+ "w-11",
418
+ "w-12",
419
+ "w-48",
420
+ "w-[260px]",
421
+ "w-full",
422
+ "whitespace-nowrap",
423
+ "z-10",
424
+ "z-20",
425
+ "-mb-4",
426
+ "-mx-4",
427
+ "-right-3"
428
+ ];
429
+ var sySafelist = Array.from(/* @__PURE__ */ new Set([...syComponentSafelist, ...internalUtilitySafelist]));
430
+ var tailwind_preset_default = {
431
+ important: ".sy-app-workspace",
432
+ safelist: sySafelist,
433
+ theme: {
434
+ extend: {
435
+ colors: {
436
+ primary: "var(--sy-color-primary)",
437
+ success: "var(--sy-color-success)",
438
+ warning: "var(--sy-color-warning)",
439
+ error: "var(--sy-color-error)",
440
+ default: "var(--sy-color-text)",
441
+ secondary: "var(--sy-color-text-secondary)",
442
+ tertiary: "var(--sy-color-text-tertiary)",
443
+ disabled: "var(--sy-color-text-disabled)",
444
+ container: "var(--sy-color-bg-container)",
445
+ layout: "var(--sy-color-bg-layout)",
446
+ elevated: "var(--sy-color-bg-elevated)",
447
+ border: "var(--sy-color-border)",
448
+ "ant-primary": "var(--ant-color-primary, #1677ff)",
449
+ "ant-text": "var(--ant-color-text, rgba(0,0,0,0.88))",
450
+ "ant-text-secondary": "var(--ant-color-text-secondary, rgba(0,0,0,0.65))",
451
+ "ant-text-tertiary": "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))",
452
+ "ant-text-quaternary": "var(--ant-color-text-quaternary, rgba(0,0,0,0.25))",
453
+ "ant-color-primary": "var(--ant-color-primary, #1677ff)",
454
+ "ant-color-text": "var(--ant-color-text, rgba(0,0,0,0.88))",
455
+ "ant-color-text-secondary": "var(--ant-color-text-secondary, rgba(0,0,0,0.65))",
456
+ "ant-color-text-tertiary": "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))",
457
+ "ant-color-text-quaternary": "var(--ant-color-text-quaternary, rgba(0,0,0,0.25))",
458
+ "ant-border": "var(--ant-color-border, #d9d9d9)",
459
+ "ant-border-secondary": "var(--ant-color-border-secondary, #f0f0f0)",
460
+ "ant-error": "var(--ant-color-error, #ff4d4f)",
461
+ "ant-success": "var(--ant-color-success, #52c41a)",
462
+ "ant-warning": "var(--ant-color-warning, #faad14)",
463
+ "ant-bg-container": "var(--ant-color-bg-container, #ffffff)",
464
+ "ant-bg-elevated": "var(--ant-color-bg-elevated, #ffffff)",
465
+ "ant-bg-layout": "var(--ant-color-bg-layout, #f5f5f5)",
466
+ "ant-split": "var(--ant-color-split, rgba(0,0,0,0.06))"
467
+ },
468
+ spacing: {
469
+ xs: "var(--sy-spacing-xs)",
470
+ sm: "var(--sy-spacing-sm)",
471
+ md: "var(--sy-spacing-md)",
472
+ lg: "var(--sy-spacing-lg)",
473
+ xl: "var(--sy-spacing-xl)",
474
+ "form-gap": "var(--sy-form-gap, 16px)",
475
+ "form-padding": "var(--sy-form-padding, 24px)",
476
+ "form-field-height": "var(--sy-form-field-height, 32px)"
477
+ },
478
+ borderRadius: {
479
+ sm: "var(--sy-radius-sm)",
480
+ md: "var(--sy-radius-md)",
481
+ lg: "var(--sy-radius-lg)",
482
+ form: "var(--sy-form-radius, 6px)"
483
+ },
484
+ fontSize: {
485
+ "sm-sy": "var(--sy-font-size-sm)",
486
+ "base-sy": "var(--sy-font-size-base)",
487
+ "lg-sy": "var(--sy-font-size-lg)",
488
+ "xl-sy": "var(--sy-font-size-xl)",
489
+ "2xl-sy": "var(--sy-font-size-2xl)"
490
+ },
491
+ boxShadow: {
492
+ subtle: "var(--sy-shadow-sm)",
493
+ card: "var(--sy-shadow-md)",
494
+ popover: "var(--sy-shadow-lg)"
495
+ }
496
+ }
497
+ },
498
+ corePlugins: {
499
+ preflight: false
500
+ },
501
+ plugins: [
502
+ ({ addUtilities, addComponents }) => {
503
+ addUtilities(
504
+ {
505
+ ".sy-grid": { display: "grid" },
506
+ ".sy-flex": { display: "flex" },
507
+ ".sy-gap-3": { gap: "0.75rem" },
508
+ ".sy-gap-4": { gap: "1rem" },
509
+ ".sy-gap-y-3": { rowGap: "0.75rem" },
510
+ ".sy-gap-y-4": { rowGap: "1rem" },
511
+ ".sy-gap-y-5": { rowGap: "1.25rem" },
512
+ ".sy-gap-y-6": { rowGap: "1.5rem" },
513
+ ".sy-gap-y-8": { rowGap: "2rem" },
514
+ ".sy-gap-x-4": { columnGap: "1rem" },
515
+ ".sy-gap-x-6": { columnGap: "1.5rem" },
516
+ ".sy-gap-x-8": { columnGap: "2rem" },
517
+ ".sy-pt-4": { paddingTop: "1rem" },
518
+ ".sy-mr-2": { marginRight: "0.5rem" },
519
+ ".sy-grid-cols-1": { gridTemplateColumns: "repeat(1, minmax(0, 1fr))" },
520
+ ".sy-grid-cols-2": { gridTemplateColumns: "repeat(2, minmax(0, 1fr))" },
521
+ ".sy-grid-cols-3": { gridTemplateColumns: "repeat(3, minmax(0, 1fr))" },
522
+ ".sy-grid-cols-4": { gridTemplateColumns: "repeat(4, minmax(0, 1fr))" }
523
+ },
524
+ ["responsive"]
525
+ );
526
+ addComponents({
527
+ ".sy-grid-cell": {
528
+ minWidth: "0"
529
+ },
530
+ ".sy-grid-cell > * + *": {
531
+ marginTop: "var(--sy-form-field-row-gap, 24px)"
532
+ },
533
+ ".sy-form-layout": {
534
+ display: "flex",
535
+ flexDirection: "column",
536
+ gap: "var(--sy-form-field-row-gap, 24px)"
537
+ },
538
+ ".sy-form-renderer": {
539
+ minWidth: "0"
540
+ },
541
+ ".sy-runtime-page, .sy-form-container, .sy-form-shell, .sy-form-renderer, .sy-lowcode-page": {
542
+ "--ant-form-item-margin-bottom": "12px !important"
543
+ },
544
+ ".sy-runtime-page :where(.ant-form, .ant-form-item), .sy-form-container :where(.ant-form, .ant-form-item), .sy-form-shell :where(.ant-form, .ant-form-item), .sy-form-renderer :where(.ant-form, .ant-form-item), .sy-lowcode-page :where(.ant-form, .ant-form-item)": {
545
+ "--ant-form-item-margin-bottom": "12px !important"
546
+ },
547
+ ".sy-form-renderer.sy-grid": {
548
+ rowGap: "0"
549
+ },
550
+ ".sy-form-renderer.sy-form-layout, .sy-form-renderer .sy-form-layout": {
551
+ gap: "0"
552
+ },
553
+ ".sy-form-renderer .sy-grid-cell > * + *": {
554
+ marginTop: "0"
555
+ },
556
+ ".sy-runtime-page__content.sy-detail-page": {
557
+ maxWidth: "100% !important",
558
+ padding: "0 !important"
559
+ },
560
+ ".sy-detail-page": {
561
+ width: "100%"
562
+ },
563
+ ".sy-detail-header": {
564
+ width: "100%",
565
+ background: "var(--ant-color-bg-container, #ffffff)",
566
+ borderBottom: "0"
567
+ },
568
+ ".sy-detail-header-inner": {
569
+ width: "100%",
570
+ maxWidth: "1120px",
571
+ margin: "0 auto",
572
+ padding: "24px 24px 20px"
573
+ },
574
+ ".sy-detail-main": {
575
+ width: "100%",
576
+ maxWidth: "1180px",
577
+ margin: "0 auto",
578
+ padding: "24px 24px 96px",
579
+ display: "flex",
580
+ flexDirection: "column",
581
+ gap: "24px"
582
+ },
583
+ ".sy-detail-card": {
584
+ width: "100%",
585
+ border: "1px solid var(--ant-color-border-secondary, #f0f0f0)",
586
+ borderRadius: "8px",
587
+ background: "var(--ant-color-bg-container, #ffffff)",
588
+ padding: "24px"
589
+ },
590
+ ".sy-detail-summary-panel": {
591
+ border: "0 !important",
592
+ borderRadius: "0 !important",
593
+ boxShadow: "none !important"
594
+ },
595
+ ".sy-summary-mobile-identity": {
596
+ display: "none"
597
+ },
598
+ ".sy-process-summary": {
599
+ position: "relative"
600
+ },
601
+ ".sy-process-summary-with-stamp .sy-summary-panel-content": {
602
+ paddingRight: "168px",
603
+ minHeight: "128px"
604
+ },
605
+ ".sy-process-status-stamp": {
606
+ position: "absolute",
607
+ top: "18px",
608
+ right: "24px",
609
+ zIndex: "1",
610
+ width: "116px",
611
+ height: "116px",
612
+ color: "var(--sy-process-status-stamp-color)",
613
+ pointerEvents: "none",
614
+ userSelect: "none",
615
+ opacity: "0.92",
616
+ transform: "rotate(-10deg)"
617
+ },
618
+ ".sy-process-status-stamp-running": {
619
+ "--sy-process-status-stamp-color": "#62c8ee"
620
+ },
621
+ ".sy-process-status-stamp-approved": {
622
+ "--sy-process-status-stamp-color": "#5fd08f"
623
+ },
624
+ ".sy-process-status-stamp-rejected": {
625
+ "--sy-process-status-stamp-color": "#ffc15d"
626
+ },
627
+ ".sy-process-status-stamp-danger": {
628
+ "--sy-process-status-stamp-color": "#ff7875"
629
+ },
630
+ ".sy-process-status-stamp-neutral": {
631
+ "--sy-process-status-stamp-color": "#9ca3af"
632
+ },
633
+ ".sy-process-status-stamp-ring": {
634
+ position: "relative",
635
+ display: "block",
636
+ width: "100%",
637
+ height: "100%",
638
+ border: "3px solid currentColor",
639
+ borderRadius: "9999px"
640
+ },
641
+ ".sy-process-status-stamp-ring::before": {
642
+ content: '""',
643
+ position: "absolute",
644
+ inset: "7px",
645
+ border: "2px solid currentColor",
646
+ borderRadius: "9999px"
647
+ },
648
+ ".sy-process-status-stamp-text": {
649
+ position: "absolute",
650
+ left: "50%",
651
+ top: "50%",
652
+ transform: "translate(-50%, -50%) rotate(-22deg)",
653
+ zIndex: "2",
654
+ whiteSpace: "nowrap",
655
+ fontSize: "24px",
656
+ lineHeight: "1",
657
+ fontWeight: "700",
658
+ letterSpacing: "0",
659
+ textShadow: "0 0 3px #fff, 0 0 5px #fff"
660
+ },
661
+ ".sy-process-status-stamp-star": {
662
+ position: "absolute",
663
+ transform: "translate(-50%, -50%)",
664
+ zIndex: "1",
665
+ fontSize: "9px",
666
+ lineHeight: "1"
667
+ },
668
+ ".sy-submit-page": {
669
+ minHeight: "100%"
670
+ },
671
+ ".sy-runtime-page.sy-submit-runtime-page": {
672
+ minHeight: "0"
673
+ },
674
+ ".sy-submit-card": {
675
+ minHeight: "var(--sy-submit-card-min-height, max(0px, min(640px, calc(100vh - var(--sy-submit-card-viewport-offset, 220px)))))"
676
+ },
677
+ ".sy-submit-form-shell": {
678
+ display: "flex !important",
679
+ minHeight: "100%",
680
+ flex: "1 1 auto",
681
+ flexDirection: "column"
682
+ },
683
+ ".sy-form-section": {
684
+ width: "100%",
685
+ minWidth: "0",
686
+ marginBottom: "16px",
687
+ "--sy-form-section-accent-color": "var(--ant-color-primary, #1677ff)",
688
+ "--sy-form-section-accent-bg": "var(--ant-color-primary-bg, #e6f4ff)"
689
+ },
690
+ ".sy-form-section-accent-blue": {
691
+ "--sy-form-section-accent-color": "var(--ant-color-primary, #1677ff)",
692
+ "--sy-form-section-accent-bg": "var(--ant-color-primary-bg, #e6f4ff)"
693
+ },
694
+ ".sy-form-section-accent-green": {
695
+ "--sy-form-section-accent-color": "var(--ant-color-success, #52c41a)",
696
+ "--sy-form-section-accent-bg": "var(--ant-color-success-bg, #f6ffed)"
697
+ },
698
+ ".sy-form-section-header": {
699
+ display: "flex",
700
+ alignItems: "center",
701
+ justifyContent: "space-between",
702
+ gap: "12px",
703
+ minWidth: "0",
704
+ outline: "none"
705
+ },
706
+ '.sy-form-section-header[role="button"]': {
707
+ cursor: "pointer"
708
+ },
709
+ '.sy-form-section-header[role="button"]:focus-visible': {
710
+ borderRadius: "6px",
711
+ boxShadow: "0 0 0 3px var(--ant-control-outline, rgba(22,119,255,0.16))"
712
+ },
713
+ ".sy-form-section-heading": {
714
+ display: "flex",
715
+ alignItems: "center",
716
+ minWidth: "0"
717
+ },
718
+ ".sy-form-section-marker": {
719
+ flex: "0 0 auto",
720
+ width: "4px",
721
+ height: "24px",
722
+ marginRight: "12px",
723
+ borderRadius: "999px",
724
+ backgroundColor: "var(--sy-form-section-accent-color)"
725
+ },
726
+ ".sy-form-section-icon": {
727
+ display: "inline-flex",
728
+ alignItems: "center",
729
+ justifyContent: "center",
730
+ flex: "0 0 auto",
731
+ width: "22px",
732
+ height: "22px",
733
+ marginRight: "12px",
734
+ color: "var(--sy-form-section-accent-color)",
735
+ fontSize: "20px",
736
+ lineHeight: "1"
737
+ },
738
+ ".sy-form-section-title-block": {
739
+ minWidth: "0"
740
+ },
741
+ ".sy-form-section-title": {
742
+ margin: "0",
743
+ fontSize: "16px",
744
+ lineHeight: "24px",
745
+ fontWeight: "600",
746
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))"
747
+ },
748
+ ".sy-form-section-description": {
749
+ margin: "4px 0 0",
750
+ fontSize: "13px",
751
+ lineHeight: "20px",
752
+ color: "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))"
753
+ },
754
+ ".sy-form-section-arrow": {
755
+ flex: "0 0 auto",
756
+ color: "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))",
757
+ fontSize: "12px",
758
+ lineHeight: "1",
759
+ transition: "transform 0.2s ease"
760
+ },
761
+ ".sy-form-section-content": {
762
+ minWidth: "0",
763
+ padding: "28px 32px",
764
+ border: "1px solid var(--ant-color-border-secondary, #f0f0f0)",
765
+ borderRadius: "8px",
766
+ background: "var(--ant-color-bg-container, #ffffff)",
767
+ boxShadow: "0 1px 2px rgba(15, 23, 42, 0.03)"
768
+ },
769
+ ".sy-form-section-plain": {
770
+ background: "transparent",
771
+ border: "0",
772
+ boxShadow: "none"
773
+ },
774
+ ".sy-form-section-plain > .sy-form-section-header": {
775
+ marginBottom: "20px"
776
+ },
777
+ '.sy-form-section[data-collapsed="true"] > .sy-form-section-header': {
778
+ marginBottom: "0"
779
+ },
780
+ ".sy-form-section-card": {
781
+ overflow: "hidden",
782
+ border: "1px solid var(--ant-color-border-secondary, #f0f0f0)",
783
+ borderRadius: "8px",
784
+ background: "var(--ant-color-bg-container, #ffffff)",
785
+ boxShadow: "0 4px 16px rgba(15, 23, 42, 0.04)"
786
+ },
787
+ ".sy-form-section-card > .sy-form-section-header": {
788
+ marginBottom: "0",
789
+ padding: "18px 24px",
790
+ borderBottom: "1px solid var(--ant-color-split, rgba(0,0,0,0.06))",
791
+ background: "var(--sy-form-section-accent-bg)"
792
+ },
793
+ ".sy-form-section-card > .sy-form-section-content": {
794
+ padding: "28px 24px 32px",
795
+ border: "0",
796
+ borderRadius: "0",
797
+ boxShadow: "none"
798
+ },
799
+ '.sy-form-section-card[data-collapsed="true"] > .sy-form-section-header': {
800
+ borderBottom: "0"
801
+ },
802
+ "@media (max-width: 640px)": {
803
+ ".sy-detail-header": {
804
+ background: "linear-gradient(180deg, var(--ant-color-primary, #3b82f6) 0 118px, var(--ant-color-bg-layout, #f5f5f5) 118px 100%)",
805
+ padding: "18px 20px 20px"
806
+ },
807
+ ".sy-detail-header-inner": {
808
+ maxWidth: "100%",
809
+ padding: "0"
810
+ },
811
+ ".sy-detail-summary-panel": {
812
+ overflow: "hidden",
813
+ borderRadius: "12px !important",
814
+ background: "var(--ant-color-bg-container, #ffffff)"
815
+ },
816
+ ".sy-detail-summary-panel .sy-summary-panel-content": {
817
+ padding: "26px 28px"
818
+ },
819
+ ".sy-detail-summary-panel .sy-summary-status-row": {
820
+ display: "none"
821
+ },
822
+ ".sy-detail-summary-panel .sy-summary-title": {
823
+ fontSize: "20px",
824
+ lineHeight: "30px",
825
+ fontWeight: "700"
826
+ },
827
+ ".sy-detail-summary-panel .sy-summary-mobile-identity": {
828
+ display: "flex",
829
+ flexDirection: "column",
830
+ gap: "8px",
831
+ marginTop: "18px",
832
+ color: "var(--ant-color-text-secondary, rgba(0,0,0,0.65))",
833
+ fontSize: "15px",
834
+ lineHeight: "23px"
835
+ },
836
+ ".sy-detail-summary-panel .sy-summary-mobile-person": {
837
+ display: "inline-flex",
838
+ alignItems: "center",
839
+ minWidth: "0",
840
+ gap: "8px"
841
+ },
842
+ ".sy-detail-summary-panel .sy-summary-mobile-avatar": {
843
+ display: "inline-flex",
844
+ alignItems: "center",
845
+ justifyContent: "center",
846
+ flex: "0 0 auto"
847
+ },
848
+ ".sy-detail-summary-panel .sy-summary-mobile-avatar .ant-avatar": {
849
+ background: "var(--ant-color-fill-secondary, rgba(0,0,0,0.06))",
850
+ color: "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))"
851
+ },
852
+ ".sy-detail-summary-panel .sy-summary-mobile-person-name": {
853
+ minWidth: "0",
854
+ overflow: "hidden",
855
+ textOverflow: "ellipsis",
856
+ whiteSpace: "nowrap"
857
+ },
858
+ ".sy-detail-summary-panel .sy-summary-mobile-time": {
859
+ color: "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))",
860
+ fontSize: "13px",
861
+ lineHeight: "20px"
862
+ },
863
+ ".sy-detail-summary-panel .sy-summary-meta-list": {
864
+ display: "none"
865
+ },
866
+ ".sy-detail-main": {
867
+ maxWidth: "100%",
868
+ padding: "0 0 96px"
869
+ },
870
+ ".sy-process-summary-with-stamp .sy-summary-panel-content": {
871
+ paddingRight: "112px",
872
+ minHeight: "124px"
873
+ },
874
+ ".sy-process-summary-with-stamp .sy-summary-title": {
875
+ maxWidth: "100%"
876
+ },
877
+ ".sy-process-status-stamp": {
878
+ top: "16px",
879
+ right: "16px",
880
+ width: "82px",
881
+ height: "82px"
882
+ },
883
+ ".sy-process-status-stamp-ring": {
884
+ borderWidth: "2px"
885
+ },
886
+ ".sy-process-status-stamp-ring::before": {
887
+ inset: "5px",
888
+ borderWidth: "1.5px"
889
+ },
890
+ ".sy-process-status-stamp-text": {
891
+ fontSize: "17px"
892
+ },
893
+ ".sy-process-status-stamp-star": {
894
+ fontSize: "6px"
895
+ },
896
+ ".sy-form-section-content": {
897
+ padding: "20px 16px"
898
+ },
899
+ ".sy-form-section-card > .sy-form-section-header": {
900
+ padding: "16px"
901
+ },
902
+ ".sy-form-section-card > .sy-form-section-content": {
903
+ padding: "20px 16px 24px"
904
+ }
905
+ },
906
+ ".sy-layout-field, .sy-layout-field-full": {
907
+ width: "100%",
908
+ minWidth: "0"
909
+ },
910
+ "@media (min-width: 768px)": {
911
+ ".sy-layout-field": {
912
+ maxWidth: "50%"
913
+ }
914
+ },
915
+ // FieldWrapper
916
+ ".sy-field-wrapper": {
917
+ display: "flex",
918
+ flexDirection: "column",
919
+ gap: "8px",
920
+ minWidth: "0"
921
+ },
922
+ ".sy-field-label": {
923
+ display: "inline-flex",
924
+ alignItems: "center",
925
+ fontSize: "14px",
926
+ lineHeight: "22px",
927
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))",
928
+ fontWeight: "400"
929
+ },
930
+ ".sy-field-control": {
931
+ "& .ant-input": { width: "100%" },
932
+ "& .ant-select": { width: "100%" },
933
+ "& .ant-picker": { width: "100%" },
934
+ "& .ant-input-number": { width: "100%" }
935
+ },
936
+ ".sy-field-readonly-value": {
937
+ fontSize: "14px",
938
+ lineHeight: "32px",
939
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))",
940
+ minHeight: "32px",
941
+ padding: "0"
942
+ },
943
+ ".sy-field-required": {
944
+ color: "var(--ant-color-error, #ff4d4f)",
945
+ marginRight: "4px"
946
+ },
947
+ ".sy-field-tips": {
948
+ color: "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))",
949
+ fontSize: "12px",
950
+ lineHeight: "18px",
951
+ marginTop: "4px"
952
+ },
953
+ ".sy-field-tips :where(p, ul, ol, blockquote, pre)": {
954
+ marginTop: "0",
955
+ marginBottom: "4px"
956
+ },
957
+ ".sy-field-tips :where(p, ul, ol, blockquote, pre):last-child": {
958
+ marginBottom: "0"
959
+ },
960
+ ".sy-field-error": {
961
+ color: "var(--ant-color-error, #ff4d4f)",
962
+ fontSize: "12px",
963
+ marginTop: "4px"
964
+ },
965
+ ".sy-option-color-tag": {
966
+ display: "inline-flex",
967
+ alignItems: "center",
968
+ justifyContent: "center",
969
+ minHeight: "22px",
970
+ padding: "1px 8px",
971
+ borderRadius: "4px",
972
+ lineHeight: "20px",
973
+ fontSize: "13px",
974
+ fontWeight: "400",
975
+ whiteSpace: "nowrap",
976
+ verticalAlign: "middle",
977
+ marginInlineEnd: "0"
978
+ },
979
+ ".sy-option-group-colored .ant-radio-wrapper, .sy-option-group-colored .ant-checkbox-wrapper": {
980
+ alignItems: "center"
981
+ },
982
+ ".sy-option-group-colored .ant-radio, .sy-option-group-colored .ant-checkbox": {
983
+ alignSelf: "center"
984
+ },
985
+ ".sy-option-readonly-list": {
986
+ display: "inline-flex",
987
+ alignItems: "center",
988
+ flexWrap: "wrap",
989
+ gap: "4px",
990
+ minHeight: "32px"
991
+ },
992
+ // FormActions
993
+ ".sy-form-actions": {
994
+ display: "flex",
995
+ justifyContent: "flex-end",
996
+ gap: "12px",
997
+ paddingTop: "24px",
998
+ marginTop: "8px",
999
+ borderTop: "1px solid var(--ant-color-split, rgba(0,0,0,0.06))"
1000
+ },
1001
+ // FormContainer
1002
+ ".sy-form-container": {
1003
+ margin: "0 auto",
1004
+ padding: "24px",
1005
+ backgroundColor: "var(--ant-color-bg-container, #ffffff)"
1006
+ },
1007
+ ".sy-form-container-sm": { maxWidth: "480px" },
1008
+ ".sy-form-container-md": { maxWidth: "640px" },
1009
+ ".sy-form-container-lg": { maxWidth: "800px" },
1010
+ ".sy-form-container-xl": { maxWidth: "960px" },
1011
+ ".sy-form-container-full": { maxWidth: "100%" },
1012
+ ".sy-form-header": { marginBottom: "24px" },
1013
+ ".sy-form-title": {
1014
+ fontSize: "20px",
1015
+ fontWeight: "600",
1016
+ lineHeight: "28px",
1017
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))",
1018
+ margin: "0"
1019
+ },
1020
+ ".sy-form-description": {
1021
+ fontSize: "14px",
1022
+ color: "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))",
1023
+ marginTop: "4px",
1024
+ margin: "4px 0 0 0"
1025
+ },
1026
+ ".sy-form-body": {},
1027
+ // Lowcode page runtime
1028
+ ".sy-lowcode-page": {
1029
+ display: "flex",
1030
+ flexDirection: "column",
1031
+ gap: "16px",
1032
+ minHeight: "100%",
1033
+ padding: "16px 24px",
1034
+ background: "var(--ant-color-bg-layout, #f5f5f5)",
1035
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))"
1036
+ },
1037
+ ".sy-page-section": {
1038
+ width: "100%",
1039
+ minWidth: "0"
1040
+ },
1041
+ ".sy-page-section-header": {
1042
+ marginBottom: "12px"
1043
+ },
1044
+ ".sy-page-section-title": {
1045
+ margin: "0",
1046
+ fontSize: "16px",
1047
+ lineHeight: "24px",
1048
+ fontWeight: "600",
1049
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))"
1050
+ },
1051
+ ".sy-page-section-description": {
1052
+ margin: "4px 0 0",
1053
+ fontSize: "13px",
1054
+ lineHeight: "20px",
1055
+ color: "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))"
1056
+ },
1057
+ ".sy-page-section-body": {
1058
+ display: "flex",
1059
+ flexDirection: "column",
1060
+ gap: "16px",
1061
+ minWidth: "0"
1062
+ },
1063
+ ".sy-page-grid": {
1064
+ minWidth: "0"
1065
+ },
1066
+ ".sy-page-heading": {
1067
+ margin: "0",
1068
+ fontWeight: "600",
1069
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))",
1070
+ lineHeight: "1.28"
1071
+ },
1072
+ "h1.sy-page-heading": { fontSize: "28px" },
1073
+ "h2.sy-page-heading": { fontSize: "22px" },
1074
+ "h3.sy-page-heading": { fontSize: "18px" },
1075
+ "h4.sy-page-heading": { fontSize: "16px" },
1076
+ ".sy-page-text": {
1077
+ margin: "0",
1078
+ fontSize: "14px",
1079
+ lineHeight: "22px",
1080
+ color: "var(--ant-color-text-secondary, rgba(0,0,0,0.65))"
1081
+ },
1082
+ ".sy-page-unknown-node": {
1083
+ minWidth: "0"
1084
+ },
1085
+ // Rich field controls
1086
+ ".sy-select-with-picker": {
1087
+ display: "flex",
1088
+ gap: "8px",
1089
+ alignItems: "center",
1090
+ width: "100%",
1091
+ minWidth: "0"
1092
+ },
1093
+ ".sy-picker-trigger": {
1094
+ flex: "0 0 auto",
1095
+ height: "32px",
1096
+ minWidth: "56px",
1097
+ padding: "0 12px",
1098
+ border: "1px solid var(--ant-color-border, #d9d9d9)",
1099
+ borderRadius: "6px",
1100
+ background: "var(--ant-color-bg-container, #fff)",
1101
+ color: "var(--ant-color-primary, #1677ff)",
1102
+ fontSize: "14px",
1103
+ lineHeight: "30px",
1104
+ cursor: "pointer",
1105
+ transition: "all 0.2s"
1106
+ },
1107
+ ".sy-picker-trigger:hover:not(:disabled)": {
1108
+ borderColor: "var(--ant-color-primary-hover, #4096ff)",
1109
+ color: "var(--ant-color-primary-hover, #4096ff)",
1110
+ background: "var(--ant-color-primary-bg, #e6f4ff)"
1111
+ },
1112
+ ".sy-picker-trigger:disabled": {
1113
+ cursor: "not-allowed",
1114
+ color: "var(--ant-color-text-disabled, rgba(0,0,0,0.25))",
1115
+ borderColor: "var(--ant-color-border, #d9d9d9)",
1116
+ background: "var(--ant-color-fill-quaternary, rgba(0,0,0,0.02))"
1117
+ },
1118
+ ".sy-empty": {
1119
+ color: "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))",
1120
+ padding: "16px",
1121
+ textAlign: "center"
1122
+ },
1123
+ // Organization picker
1124
+ ".sy-org-picker, .sy-user-picker": {
1125
+ display: "flex",
1126
+ flexDirection: "column",
1127
+ gap: "12px"
1128
+ },
1129
+ ".sy-org-picker-main": {
1130
+ display: "grid",
1131
+ gridTemplateColumns: "minmax(320px, 1fr) minmax(150px, 220px)",
1132
+ gap: "12px",
1133
+ height: "min(560px, calc(100vh - 240px))",
1134
+ minHeight: "420px",
1135
+ minWidth: "0"
1136
+ },
1137
+ ".sy-user-picker-main": {
1138
+ display: "grid",
1139
+ gridTemplateColumns: "minmax(300px, 38%) minmax(260px, 1fr)",
1140
+ gridTemplateRows: "minmax(420px, 1fr) minmax(96px, 150px)",
1141
+ gap: "12px",
1142
+ height: "min(620px, calc(100vh - 240px))",
1143
+ minHeight: "500px",
1144
+ minWidth: "0"
1145
+ },
1146
+ ".sy-org-picker-tree, .sy-user-picker-depts, .sy-user-picker-members": {
1147
+ minWidth: "0",
1148
+ border: "1px solid var(--ant-color-border-secondary, #f0f0f0)",
1149
+ borderRadius: "6px",
1150
+ padding: "8px",
1151
+ overflow: "auto"
1152
+ },
1153
+ ".sy-user-picker-depts": {
1154
+ gridColumn: "1",
1155
+ gridRow: "1"
1156
+ },
1157
+ ".sy-user-picker-members": {
1158
+ gridColumn: "2",
1159
+ gridRow: "1 / span 2",
1160
+ display: "flex",
1161
+ flexDirection: "column",
1162
+ minHeight: "0",
1163
+ overflow: "hidden"
1164
+ },
1165
+ ".sy-user-picker-member-panel": {
1166
+ flex: "1",
1167
+ minHeight: "0",
1168
+ display: "flex",
1169
+ flexDirection: "column",
1170
+ overflow: "hidden"
1171
+ },
1172
+ ".sy-user-picker-member-spin": {
1173
+ flex: "1",
1174
+ minHeight: "0",
1175
+ display: "flex",
1176
+ flexDirection: "column",
1177
+ overflow: "hidden"
1178
+ },
1179
+ ".sy-user-picker-member-spin > .ant-spin-container": {
1180
+ flex: "1",
1181
+ minHeight: "0",
1182
+ display: "flex",
1183
+ flexDirection: "column",
1184
+ overflow: "hidden"
1185
+ },
1186
+ ".sy-user-picker-members > .ant-spin-nested-loading, .sy-user-picker-members > .ant-spin-nested-loading > .ant-spin-container": {
1187
+ minHeight: "0",
1188
+ flex: "1",
1189
+ display: "flex",
1190
+ flexDirection: "column"
1191
+ },
1192
+ ".sy-user-picker-list": {
1193
+ flex: "1",
1194
+ minHeight: "0",
1195
+ overflow: "auto"
1196
+ },
1197
+ ".sy-user-picker-row": {
1198
+ display: "flex",
1199
+ alignItems: "center",
1200
+ gap: "8px",
1201
+ width: "100%",
1202
+ border: "0",
1203
+ background: "transparent",
1204
+ padding: "8px",
1205
+ textAlign: "left",
1206
+ cursor: "pointer",
1207
+ borderRadius: "4px"
1208
+ },
1209
+ ".sy-user-picker-row:hover, .sy-user-picker-row.is-active": {
1210
+ background: "var(--ant-control-item-bg-hover, rgba(0,0,0,0.04))"
1211
+ },
1212
+ ".sy-user-picker-pagination": {
1213
+ display: "flex",
1214
+ alignItems: "center",
1215
+ justifyContent: "space-between",
1216
+ gap: "8px",
1217
+ paddingTop: "8px",
1218
+ borderTop: "1px solid var(--ant-color-border-secondary, #f0f0f0)",
1219
+ color: "var(--ant-color-text-secondary, rgba(0,0,0,0.65))",
1220
+ fontSize: "12px"
1221
+ },
1222
+ ".sy-org-picker-selected, .sy-user-picker-selected": {
1223
+ border: "1px solid var(--ant-color-border-secondary, #f0f0f0)",
1224
+ borderRadius: "6px",
1225
+ padding: "8px",
1226
+ minWidth: "0",
1227
+ overflow: "auto"
1228
+ },
1229
+ ".sy-user-picker-selected": {
1230
+ gridColumn: "1",
1231
+ gridRow: "2",
1232
+ maxHeight: "150px"
1233
+ },
1234
+ ".sy-org-picker-selected-head": {
1235
+ display: "flex",
1236
+ justifyContent: "space-between",
1237
+ alignItems: "center",
1238
+ marginBottom: "8px"
1239
+ },
1240
+ ".sy-org-picker-tags": {
1241
+ display: "flex",
1242
+ flexWrap: "wrap",
1243
+ gap: "6px"
1244
+ },
1245
+ ".sy-org-picker-footer": {
1246
+ display: "flex",
1247
+ justifyContent: "flex-end",
1248
+ gap: "8px"
1249
+ },
1250
+ ".sy-org-picker-mobile, .sy-user-picker-mobile, .sy-address-mobile": {
1251
+ height: "100%",
1252
+ display: "flex",
1253
+ flexDirection: "column",
1254
+ background: "var(--ant-color-bg-container, #fff)",
1255
+ minWidth: "0"
1256
+ },
1257
+ ".sy-org-picker-mobile-head, .sy-address-mobile-head": {
1258
+ display: "flex",
1259
+ alignItems: "center",
1260
+ justifyContent: "space-between",
1261
+ padding: "12px",
1262
+ borderBottom: "1px solid var(--ant-color-split, rgba(0,0,0,0.06))"
1263
+ },
1264
+ ".sy-org-picker-mobile-head button, .sy-address-mobile-head button, .sy-address-mobile-path button": {
1265
+ border: "0",
1266
+ background: "transparent",
1267
+ color: "var(--ant-color-primary, #1677ff)",
1268
+ cursor: "pointer"
1269
+ },
1270
+ ".sy-org-picker-breadcrumb, .sy-address-mobile-path": {
1271
+ display: "flex",
1272
+ gap: "6px",
1273
+ flexWrap: "wrap",
1274
+ padding: "8px 12px",
1275
+ borderBottom: "1px solid var(--ant-color-split, rgba(0,0,0,0.06))",
1276
+ maxWidth: "100%",
1277
+ overflowX: "auto"
1278
+ },
1279
+ ".sy-address-mobile-path .is-active": {
1280
+ fontWeight: "600",
1281
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))"
1282
+ },
1283
+ ".sy-address-mobile-list": {
1284
+ flex: "1",
1285
+ overflow: "auto",
1286
+ padding: "8px"
1287
+ },
1288
+ ".sy-address-mobile-list button": {
1289
+ display: "block",
1290
+ width: "100%",
1291
+ border: "0",
1292
+ background: "transparent",
1293
+ padding: "10px 8px",
1294
+ textAlign: "left",
1295
+ borderRadius: "4px"
1296
+ },
1297
+ ".sy-address-mobile-list button.is-active": {
1298
+ background: "var(--ant-control-item-bg-active, #e6f4ff)",
1299
+ color: "var(--ant-color-primary, #1677ff)"
1300
+ },
1301
+ ".sy-address-mobile-detail, .sy-address-mobile-footer": {
1302
+ padding: "12px",
1303
+ borderTop: "1px solid var(--ant-color-split, rgba(0,0,0,0.06))"
1304
+ },
1305
+ ".sy-address-mobile-trigger": {
1306
+ minWidth: "0",
1307
+ overflow: "hidden",
1308
+ textOverflow: "ellipsis",
1309
+ whiteSpace: "nowrap"
1310
+ },
1311
+ ".sy-address-mobile-trigger > span": {
1312
+ display: "block",
1313
+ overflow: "hidden",
1314
+ textOverflow: "ellipsis",
1315
+ whiteSpace: "nowrap"
1316
+ },
1317
+ ".sy-address-mobile-footer": {
1318
+ display: "flex",
1319
+ justifyContent: "flex-end",
1320
+ gap: "8px"
1321
+ },
1322
+ // Mobile field primitives
1323
+ ".sy-mobile-field-trigger": {
1324
+ width: "100%",
1325
+ minHeight: "64px",
1326
+ display: "flex",
1327
+ alignItems: "center",
1328
+ gap: "10px",
1329
+ border: "0",
1330
+ borderBottom: "1px solid var(--ant-color-border-secondary, #f0f0f0)",
1331
+ background: "transparent",
1332
+ padding: "8px 0 14px",
1333
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))",
1334
+ fontSize: "18px",
1335
+ lineHeight: "28px",
1336
+ textAlign: "left",
1337
+ cursor: "pointer"
1338
+ },
1339
+ ".sy-mobile-field-trigger.is-disabled": {
1340
+ color: "var(--ant-color-text-disabled, rgba(0,0,0,0.25))",
1341
+ cursor: "not-allowed"
1342
+ },
1343
+ ".sy-mobile-field-trigger-text": {
1344
+ flex: "1",
1345
+ minWidth: "0",
1346
+ overflow: "hidden",
1347
+ textOverflow: "ellipsis",
1348
+ whiteSpace: "nowrap"
1349
+ },
1350
+ ".sy-mobile-field-trigger-text.is-placeholder": {
1351
+ color: "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))"
1352
+ },
1353
+ ".sy-mobile-date-range-value": {
1354
+ fontSize: "16px",
1355
+ lineHeight: "24px"
1356
+ },
1357
+ ".sy-mobile-field-arrow": {
1358
+ flex: "0 0 auto",
1359
+ color: "var(--ant-color-text-quaternary, rgba(0,0,0,0.25))",
1360
+ fontSize: "18px"
1361
+ },
1362
+ ".sy-mobile-field-clear": {
1363
+ flex: "0 0 auto",
1364
+ display: "inline-flex",
1365
+ alignItems: "center",
1366
+ justifyContent: "center",
1367
+ width: "28px",
1368
+ height: "28px",
1369
+ color: "var(--ant-color-text-quaternary, rgba(0,0,0,0.25))"
1370
+ },
1371
+ ".sy-mobile-line-input": {
1372
+ width: "100%",
1373
+ minHeight: "56px",
1374
+ display: "flex",
1375
+ alignItems: "center",
1376
+ gap: "8px",
1377
+ borderBottom: "1px solid var(--ant-color-border-secondary, #f0f0f0)",
1378
+ background: "transparent",
1379
+ padding: "6px 0 12px",
1380
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))"
1381
+ },
1382
+ ".sy-mobile-line-input .adm-input, .sy-mobile-line-input .adm-text-area": {
1383
+ flex: "1",
1384
+ minWidth: "0",
1385
+ "--font-size": "16px",
1386
+ "--color": "var(--ant-color-text, rgba(0,0,0,0.88))",
1387
+ "--placeholder-color": "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))"
1388
+ },
1389
+ ".sy-mobile-line-input .adm-input-element, .sy-mobile-line-input .adm-text-area-element": {
1390
+ lineHeight: "24px"
1391
+ },
1392
+ ".sy-mobile-line-input .adm-input-clear": {
1393
+ color: "var(--ant-color-text-quaternary, rgba(0,0,0,0.25))"
1394
+ },
1395
+ ".sy-mobile-textarea-input": {
1396
+ alignItems: "flex-start",
1397
+ minHeight: "92px"
1398
+ },
1399
+ ".sy-mobile-textarea-input .adm-text-area-count": {
1400
+ color: "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))",
1401
+ fontSize: "13px",
1402
+ paddingTop: "6px"
1403
+ },
1404
+ ".sy-mobile-number-input .sy-number-unit-prefix, .sy-mobile-number-input .sy-number-unit-suffix, .sy-mobile-text-input .sy-input-prefix, .sy-mobile-text-input .sy-input-suffix": {
1405
+ flex: "0 0 auto",
1406
+ color: "var(--ant-color-text-secondary, rgba(0,0,0,0.65))",
1407
+ fontSize: "15px",
1408
+ lineHeight: "22px"
1409
+ },
1410
+ ".sy-mobile-text-input .sy-input-count": {
1411
+ flex: "0 0 auto",
1412
+ color: "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))",
1413
+ fontSize: "13px",
1414
+ lineHeight: "20px"
1415
+ },
1416
+ ".sy-mobile-bottom-sheet": {
1417
+ overflow: "hidden",
1418
+ borderRadius: "10px 10px 0 0",
1419
+ background: "var(--ant-color-bg-container, #fff)"
1420
+ },
1421
+ ".sy-mobile-bottom-sheet-content": {
1422
+ height: "100%",
1423
+ minHeight: "0"
1424
+ },
1425
+ ".sy-mobile-sheet-header": {
1426
+ display: "grid",
1427
+ gridTemplateColumns: "88px 1fr 88px",
1428
+ alignItems: "center",
1429
+ minHeight: "58px",
1430
+ padding: "0 12px",
1431
+ borderBottom: "1px solid var(--ant-color-border-secondary, #f0f0f0)"
1432
+ },
1433
+ ".sy-mobile-sheet-title": {
1434
+ minWidth: "0",
1435
+ overflow: "hidden",
1436
+ textOverflow: "ellipsis",
1437
+ whiteSpace: "nowrap",
1438
+ textAlign: "center",
1439
+ fontSize: "18px",
1440
+ lineHeight: "26px",
1441
+ fontWeight: "500"
1442
+ },
1443
+ ".sy-mobile-sheet-action": {
1444
+ border: "0",
1445
+ background: "transparent",
1446
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))",
1447
+ fontSize: "17px",
1448
+ lineHeight: "24px",
1449
+ cursor: "pointer",
1450
+ textAlign: "left"
1451
+ },
1452
+ ".sy-mobile-sheet-action.is-primary": {
1453
+ color: "var(--ant-color-primary, #1677ff)",
1454
+ textAlign: "right"
1455
+ },
1456
+ ".sy-mobile-sheet-action:disabled": {
1457
+ color: "var(--ant-color-text-disabled, rgba(0,0,0,0.25))",
1458
+ cursor: "not-allowed"
1459
+ },
1460
+ ".sy-mobile-search": {
1461
+ height: "48px",
1462
+ display: "flex",
1463
+ alignItems: "center",
1464
+ gap: "8px",
1465
+ padding: "0 14px",
1466
+ borderRadius: "6px",
1467
+ background: "var(--ant-color-fill-quaternary, rgba(0,0,0,0.04))",
1468
+ color: "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))"
1469
+ },
1470
+ ".sy-mobile-search input": {
1471
+ flex: "1",
1472
+ minWidth: "0",
1473
+ border: "0",
1474
+ outline: "0",
1475
+ background: "transparent",
1476
+ fontSize: "18px",
1477
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))"
1478
+ },
1479
+ ".sy-mobile-option-sheet": {
1480
+ height: "100%",
1481
+ display: "flex",
1482
+ flexDirection: "column",
1483
+ minHeight: "0"
1484
+ },
1485
+ ".sy-mobile-option-search": {
1486
+ padding: "14px 14px 16px",
1487
+ borderBottom: "1px solid var(--ant-color-border-secondary, #f0f0f0)"
1488
+ },
1489
+ ".sy-mobile-option-list": {
1490
+ flex: "1",
1491
+ minHeight: "0",
1492
+ overflowY: "auto"
1493
+ },
1494
+ ".sy-mobile-option-row": {
1495
+ width: "100%",
1496
+ minHeight: "64px",
1497
+ display: "flex",
1498
+ alignItems: "center",
1499
+ gap: "14px",
1500
+ border: "0",
1501
+ borderBottom: "1px solid var(--ant-color-border-secondary, #f0f0f0)",
1502
+ background: "transparent",
1503
+ padding: "0 16px",
1504
+ textAlign: "left",
1505
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))",
1506
+ fontSize: "18px",
1507
+ cursor: "pointer"
1508
+ },
1509
+ ".sy-mobile-option-row:disabled": {
1510
+ color: "var(--ant-color-text-disabled, rgba(0,0,0,0.25))",
1511
+ cursor: "not-allowed"
1512
+ },
1513
+ ".sy-mobile-option-check": {
1514
+ flex: "0 0 auto",
1515
+ width: "22px",
1516
+ height: "22px",
1517
+ border: "2px solid #c8cdd2",
1518
+ background: "#fff"
1519
+ },
1520
+ ".sy-mobile-option-check.is-radio": {
1521
+ borderRadius: "999px"
1522
+ },
1523
+ ".sy-mobile-option-check.is-checkbox": {
1524
+ borderRadius: "5px"
1525
+ },
1526
+ ".sy-mobile-option-row.is-active .sy-mobile-option-check": {
1527
+ borderColor: "var(--ant-color-primary, #1677ff)",
1528
+ background: "var(--ant-color-primary, #1677ff)",
1529
+ boxShadow: "inset 0 0 0 4px #fff"
1530
+ },
1531
+ ".sy-mobile-option-label": {
1532
+ minWidth: "0",
1533
+ overflow: "hidden",
1534
+ textOverflow: "ellipsis",
1535
+ whiteSpace: "nowrap"
1536
+ },
1537
+ ".sy-mobile-sheet-footer": {
1538
+ flex: "0 0 auto",
1539
+ borderTop: "1px solid var(--ant-color-border-secondary, #f0f0f0)",
1540
+ padding: "12px 18px calc(12px + env(safe-area-inset-bottom))",
1541
+ background: "var(--ant-color-bg-container, #fff)"
1542
+ },
1543
+ ".sy-mobile-sheet-count": {
1544
+ marginBottom: "12px",
1545
+ fontSize: "18px",
1546
+ lineHeight: "26px",
1547
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))"
1548
+ },
1549
+ ".sy-mobile-sheet-count span": {
1550
+ color: "var(--ant-color-primary, #1677ff)",
1551
+ margin: "0 4px"
1552
+ },
1553
+ ".sy-mobile-sheet-footer-actions": {
1554
+ display: "grid",
1555
+ gridTemplateColumns: "1fr 1fr",
1556
+ gap: "12px"
1557
+ },
1558
+ ".sy-mobile-sheet-button": {
1559
+ height: "52px",
1560
+ border: "1px solid var(--ant-color-border, #d9d9d9)",
1561
+ borderRadius: "8px",
1562
+ background: "var(--ant-color-bg-container, #fff)",
1563
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))",
1564
+ fontSize: "18px",
1565
+ cursor: "pointer"
1566
+ },
1567
+ ".sy-mobile-sheet-button.is-primary": {
1568
+ borderColor: "var(--ant-color-primary, #1677ff)",
1569
+ background: "var(--ant-color-primary, #1677ff)",
1570
+ color: "#fff"
1571
+ },
1572
+ ".sy-mobile-choice-group": {
1573
+ display: "flex",
1574
+ flexWrap: "wrap",
1575
+ gap: "12px 28px",
1576
+ padding: "4px 0 12px",
1577
+ borderBottom: "1px solid var(--ant-color-border-secondary, #f0f0f0)"
1578
+ },
1579
+ ".sy-mobile-choice-group.is-vertical": {
1580
+ flexDirection: "column",
1581
+ gap: "10px"
1582
+ },
1583
+ ".sy-mobile-choice-item": {
1584
+ display: "inline-flex",
1585
+ alignItems: "center",
1586
+ gap: "8px",
1587
+ minHeight: "32px",
1588
+ border: "0",
1589
+ background: "transparent",
1590
+ padding: "0",
1591
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))",
1592
+ fontSize: "16px",
1593
+ lineHeight: "24px",
1594
+ cursor: "pointer"
1595
+ },
1596
+ ".sy-mobile-choice-item:disabled": {
1597
+ color: "var(--ant-color-text-disabled, rgba(0,0,0,0.25))",
1598
+ cursor: "not-allowed"
1599
+ },
1600
+ ".sy-mobile-choice-control": {
1601
+ width: "22px",
1602
+ height: "22px",
1603
+ border: "2px solid #c8cdd2",
1604
+ background: "#fff"
1605
+ },
1606
+ ".sy-mobile-choice-item.is-radio .sy-mobile-choice-control": {
1607
+ borderRadius: "999px"
1608
+ },
1609
+ ".sy-mobile-choice-item.is-checkbox .sy-mobile-choice-control": {
1610
+ borderRadius: "5px"
1611
+ },
1612
+ ".sy-mobile-choice-item.is-active .sy-mobile-choice-control": {
1613
+ borderColor: "var(--ant-color-primary, #1677ff)",
1614
+ background: "var(--ant-color-primary, #1677ff)",
1615
+ boxShadow: "inset 0 0 0 4px #fff"
1616
+ },
1617
+ ".sy-mobile-date-sheet .adm-calendar": {
1618
+ "--cell-size": "52px",
1619
+ paddingBottom: "12px"
1620
+ },
1621
+ ".sy-mobile-date-sheet .adm-calendar-header": {
1622
+ minHeight: "56px",
1623
+ borderBottom: "1px solid var(--ant-color-border-secondary, #f0f0f0)"
1624
+ },
1625
+ ".sy-mobile-date-sheet .adm-calendar-title": {
1626
+ fontSize: "20px",
1627
+ fontWeight: "600"
1628
+ },
1629
+ ".sy-mobile-date-time-footer": {
1630
+ display: "flex",
1631
+ alignItems: "center",
1632
+ justifyContent: "space-between",
1633
+ gap: "12px",
1634
+ padding: "10px 28px 20px",
1635
+ fontSize: "18px",
1636
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))"
1637
+ },
1638
+ ".sy-mobile-date-time-label": {
1639
+ border: "0",
1640
+ background: "transparent",
1641
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))",
1642
+ fontSize: "18px",
1643
+ cursor: "pointer"
1644
+ },
1645
+ ".sy-mobile-time-pill": {
1646
+ minWidth: "118px",
1647
+ minHeight: "44px",
1648
+ border: "0",
1649
+ borderRadius: "6px",
1650
+ background: "var(--ant-color-fill-secondary, rgba(0,0,0,0.08))",
1651
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))",
1652
+ fontSize: "18px",
1653
+ cursor: "pointer"
1654
+ },
1655
+ ".sy-mobile-time-pill.is-active": {
1656
+ background: "var(--ant-color-primary, #1677ff)",
1657
+ color: "#fff"
1658
+ },
1659
+ ".sy-mobile-time-picker": {
1660
+ "--height": "336px",
1661
+ "--item-height": "58px",
1662
+ "--item-font-size": "22px"
1663
+ },
1664
+ ".sy-mobile-date-time-picker": {
1665
+ "--item-font-size": "20px"
1666
+ },
1667
+ ".sy-mobile-date-time-picker .adm-picker-view-column:first-child": {
1668
+ flex: "1.55",
1669
+ minWidth: "126px"
1670
+ },
1671
+ ".sy-mobile-date-time-picker .adm-picker-view-column:first-child .adm-picker-view-column-item": {
1672
+ padding: "0 2px",
1673
+ fontSize: "17px"
1674
+ },
1675
+ ".sy-mobile-date-time-picker .adm-picker-view-column:first-child .adm-picker-view-column-item-label": {
1676
+ overflow: "visible",
1677
+ textOverflow: "clip",
1678
+ whiteSpace: "nowrap"
1679
+ },
1680
+ // Files and images
1681
+ ".sy-upload-inline": {
1682
+ display: "inline-flex",
1683
+ alignItems: "center",
1684
+ gap: "12px",
1685
+ minHeight: "40px",
1686
+ maxWidth: "100%",
1687
+ padding: "4px",
1688
+ border: "1px dashed var(--ant-color-border, #d9d9d9)",
1689
+ borderRadius: "8px",
1690
+ background: "var(--ant-color-bg-container, #fff)",
1691
+ color: "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))"
1692
+ },
1693
+ ".sy-upload-inline > .ant-upload": {
1694
+ display: "inline-flex",
1695
+ flex: "0 0 auto"
1696
+ },
1697
+ ".sy-image-upload-inline, .sy-attachment-upload-inline": {
1698
+ width: "min(100%, 408px)"
1699
+ },
1700
+ ".sy-upload-button": {
1701
+ display: "inline-flex",
1702
+ alignItems: "center",
1703
+ justifyContent: "center",
1704
+ gap: "6px",
1705
+ minHeight: "34px",
1706
+ padding: "4px 14px",
1707
+ border: "1px solid var(--ant-color-border, #d9d9d9)",
1708
+ borderRadius: "6px",
1709
+ background: "var(--ant-color-bg-container, #fff)",
1710
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))",
1711
+ cursor: "pointer",
1712
+ fontSize: "14px"
1713
+ },
1714
+ ".sy-upload-button:disabled": {
1715
+ color: "var(--ant-color-text-disabled, rgba(0,0,0,0.25))",
1716
+ cursor: "not-allowed"
1717
+ },
1718
+ ".sy-upload-paste-zone": {
1719
+ display: "inline-flex",
1720
+ flex: "1 1 auto",
1721
+ alignItems: "center",
1722
+ minWidth: "210px",
1723
+ minHeight: "34px",
1724
+ padding: "0 10px",
1725
+ borderRadius: "6px",
1726
+ outline: "none",
1727
+ cursor: "text",
1728
+ userSelect: "text",
1729
+ whiteSpace: "nowrap",
1730
+ color: "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))"
1731
+ },
1732
+ ".sy-upload-paste-zone:hover, .sy-upload-paste-zone:focus-visible": {
1733
+ background: "var(--ant-control-item-bg-hover, rgba(0,0,0,0.04))"
1734
+ },
1735
+ ".sy-upload-paste-zone:focus-visible": {
1736
+ boxShadow: "0 0 0 3px var(--ant-control-outline, rgba(22,119,255,0.16))"
1737
+ },
1738
+ ".sy-upload-paste-zone.is-disabled": {
1739
+ cursor: "not-allowed",
1740
+ userSelect: "none",
1741
+ color: "var(--ant-color-text-disabled, rgba(0,0,0,0.25))"
1742
+ },
1743
+ ".sy-sr-only": {
1744
+ position: "absolute",
1745
+ width: "1px",
1746
+ height: "1px",
1747
+ padding: "0",
1748
+ margin: "-1px",
1749
+ overflow: "hidden",
1750
+ clip: "rect(0, 0, 0, 0)",
1751
+ whiteSpace: "nowrap",
1752
+ border: "0"
1753
+ },
1754
+ ".sy-file-list": {
1755
+ display: "flex",
1756
+ flexDirection: "column",
1757
+ gap: "8px",
1758
+ marginTop: "8px"
1759
+ },
1760
+ ".sy-file-item": {
1761
+ display: "flex",
1762
+ alignItems: "center",
1763
+ gap: "10px",
1764
+ minHeight: "76px",
1765
+ padding: "10px 14px",
1766
+ border: "0",
1767
+ borderRadius: "8px",
1768
+ background: "var(--ant-color-fill-quaternary, #f5f5f5)"
1769
+ },
1770
+ ".sy-file-icon": {
1771
+ width: "46px",
1772
+ height: "46px",
1773
+ borderRadius: "6px",
1774
+ display: "inline-flex",
1775
+ flexDirection: "column",
1776
+ alignItems: "center",
1777
+ justifyContent: "center",
1778
+ gap: "1px",
1779
+ background: "#9099a3",
1780
+ fontSize: "10px",
1781
+ lineHeight: "12px",
1782
+ color: "#fff",
1783
+ overflow: "hidden"
1784
+ },
1785
+ ".sy-file-icon svg": {
1786
+ fontSize: "22px"
1787
+ },
1788
+ ".sy-file-icon-pdf": {
1789
+ background: "#e74c3c"
1790
+ },
1791
+ ".sy-file-icon-excel": {
1792
+ background: "#38b77a"
1793
+ },
1794
+ ".sy-file-icon-word": {
1795
+ background: "#4c8df6"
1796
+ },
1797
+ ".sy-file-icon-ppt": {
1798
+ background: "#f08a3e"
1799
+ },
1800
+ ".sy-file-icon-image": {
1801
+ background: "#6aa8ff"
1802
+ },
1803
+ ".sy-file-meta": {
1804
+ flex: "1",
1805
+ minWidth: "0"
1806
+ },
1807
+ ".sy-file-name": {
1808
+ display: "block",
1809
+ fontSize: "16px",
1810
+ lineHeight: "24px",
1811
+ overflow: "hidden",
1812
+ textOverflow: "ellipsis",
1813
+ whiteSpace: "nowrap"
1814
+ },
1815
+ ".sy-file-sub": {
1816
+ fontSize: "12px",
1817
+ color: "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))"
1818
+ },
1819
+ ".sy-file-size-inline": {
1820
+ marginLeft: "8px",
1821
+ color: "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))",
1822
+ fontWeight: "400"
1823
+ },
1824
+ ".sy-file-actions": {
1825
+ display: "flex",
1826
+ alignItems: "center",
1827
+ gap: "12px",
1828
+ flex: "0 0 auto"
1829
+ },
1830
+ ".sy-file-action": {
1831
+ border: "0",
1832
+ padding: "0",
1833
+ background: "transparent",
1834
+ color: "var(--ant-color-text-quaternary, rgba(0,0,0,0.35))",
1835
+ cursor: "pointer",
1836
+ whiteSpace: "nowrap",
1837
+ fontSize: "18px"
1838
+ },
1839
+ ".sy-file-action:disabled": {
1840
+ color: "var(--ant-color-text-disabled, rgba(0,0,0,0.25))",
1841
+ cursor: "not-allowed"
1842
+ },
1843
+ ".sy-readonly-files": {
1844
+ width: "100%",
1845
+ minWidth: "0"
1846
+ },
1847
+ ".sy-readonly-file-header": {
1848
+ display: "flex",
1849
+ alignItems: "center",
1850
+ justifyContent: "flex-end",
1851
+ minHeight: "20px",
1852
+ marginBottom: "8px"
1853
+ },
1854
+ ".sy-readonly-bundle-download": {
1855
+ border: "0",
1856
+ padding: "0",
1857
+ background: "transparent",
1858
+ color: "var(--ant-color-primary, #1677ff)",
1859
+ cursor: "pointer",
1860
+ fontSize: "14px",
1861
+ lineHeight: "20px"
1862
+ },
1863
+ ".sy-readonly-file-list": {
1864
+ marginTop: "0"
1865
+ },
1866
+ ".sy-readonly-file-item": {
1867
+ minHeight: "72px",
1868
+ borderRadius: "6px",
1869
+ background: "var(--ant-color-fill-quaternary, #f5f5f5)"
1870
+ },
1871
+ ".sy-readonly-file-item .sy-file-icon": {
1872
+ width: "50px",
1873
+ height: "50px"
1874
+ },
1875
+ ".sy-readonly-file-item .sy-file-name": {
1876
+ fontSize: "16px",
1877
+ lineHeight: "24px",
1878
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))",
1879
+ textDecoration: "none"
1880
+ },
1881
+ ".sy-readonly-file-item a.sy-file-name:hover": {
1882
+ color: "var(--ant-color-primary, #1677ff)",
1883
+ textDecoration: "underline"
1884
+ },
1885
+ ".sy-readonly-file-item .sy-file-actions": {
1886
+ gap: "16px"
1887
+ },
1888
+ ".sy-readonly-file-item .sy-file-action": {
1889
+ color: "var(--ant-color-text-quaternary, rgba(0,0,0,0.35))"
1890
+ },
1891
+ ".sy-readonly-image-grid": {
1892
+ display: "grid",
1893
+ gridTemplateColumns: "repeat(2, minmax(0, 124px))",
1894
+ gap: "12px 16px"
1895
+ },
1896
+ ".sy-readonly-image-card": {
1897
+ minWidth: "0"
1898
+ },
1899
+ ".sy-readonly-image-thumb": {
1900
+ width: "100%",
1901
+ aspectRatio: "1 / 1",
1902
+ border: "1px solid var(--ant-color-border-secondary, #f0f0f0)",
1903
+ borderRadius: "8px",
1904
+ padding: "0",
1905
+ overflow: "hidden",
1906
+ background: "var(--ant-color-bg-container, #fff)",
1907
+ cursor: "pointer"
1908
+ },
1909
+ ".sy-readonly-image-thumb img": {
1910
+ width: "100%",
1911
+ height: "100%",
1912
+ objectFit: "cover",
1913
+ display: "block"
1914
+ },
1915
+ ".sy-readonly-image-name": {
1916
+ marginTop: "6px",
1917
+ overflow: "hidden",
1918
+ textOverflow: "ellipsis",
1919
+ whiteSpace: "nowrap",
1920
+ textAlign: "center",
1921
+ color: "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))",
1922
+ fontSize: "14px",
1923
+ lineHeight: "20px"
1924
+ },
1925
+ ".sy-readonly-files.is-mobile .sy-file-list": {
1926
+ gap: "6px",
1927
+ marginTop: "0"
1928
+ },
1929
+ ".sy-readonly-files.is-mobile .sy-readonly-file-item": {
1930
+ minHeight: "68px",
1931
+ padding: "10px 12px",
1932
+ gap: "10px"
1933
+ },
1934
+ ".sy-readonly-files.is-mobile .sy-file-icon": {
1935
+ width: "48px",
1936
+ height: "48px",
1937
+ borderRadius: "4px"
1938
+ },
1939
+ ".sy-readonly-files.is-mobile .sy-file-name": {
1940
+ fontSize: "15px",
1941
+ lineHeight: "22px"
1942
+ },
1943
+ ".sy-readonly-files.is-mobile .sy-file-sub, .sy-readonly-files.is-mobile .sy-file-size-inline": {
1944
+ fontSize: "14px"
1945
+ },
1946
+ ".sy-readonly-files.is-mobile .sy-file-actions": {
1947
+ gap: "12px"
1948
+ },
1949
+ ".sy-readonly-files.is-mobile .sy-file-action": {
1950
+ fontSize: "16px"
1951
+ },
1952
+ ".sy-readonly-files.is-mobile .sy-readonly-bundle-download, .sy-readonly-files.is-mobile .sy-readonly-file-header": {
1953
+ display: "none"
1954
+ },
1955
+ ".sy-image-preview-overlay": {
1956
+ position: "fixed",
1957
+ inset: "0",
1958
+ zIndex: "1000",
1959
+ display: "flex",
1960
+ alignItems: "center",
1961
+ justifyContent: "center",
1962
+ padding: "24px"
1963
+ },
1964
+ ".sy-image-preview-mask": {
1965
+ position: "absolute",
1966
+ inset: "0",
1967
+ border: "0",
1968
+ padding: "0",
1969
+ background: "rgba(0,0,0,0.72)",
1970
+ cursor: "zoom-out"
1971
+ },
1972
+ ".sy-image-preview-dialog": {
1973
+ position: "relative",
1974
+ zIndex: "1",
1975
+ maxWidth: "min(920px, 92vw)",
1976
+ maxHeight: "88vh",
1977
+ display: "flex",
1978
+ alignItems: "center",
1979
+ justifyContent: "center"
1980
+ },
1981
+ ".sy-image-preview-dialog img": {
1982
+ display: "block",
1983
+ maxWidth: "100%",
1984
+ maxHeight: "88vh",
1985
+ objectFit: "contain",
1986
+ borderRadius: "8px",
1987
+ background: "#fff"
1988
+ },
1989
+ ".sy-image-preview-close": {
1990
+ position: "absolute",
1991
+ right: "-14px",
1992
+ top: "-14px",
1993
+ zIndex: "2",
1994
+ width: "32px",
1995
+ height: "32px",
1996
+ border: "0",
1997
+ borderRadius: "999px",
1998
+ background: "rgba(0,0,0,0.68)",
1999
+ color: "#fff",
2000
+ cursor: "pointer",
2001
+ fontSize: "22px",
2002
+ lineHeight: "32px"
2003
+ },
2004
+ ".sy-mobile-upload-button": {
2005
+ display: "inline-flex",
2006
+ alignItems: "center",
2007
+ justifyContent: "center",
2008
+ minHeight: "36px",
2009
+ gap: "8px",
2010
+ padding: "6px 12px",
2011
+ border: "1px solid var(--ant-color-border, #d9d9d9)",
2012
+ borderRadius: "8px",
2013
+ background: "var(--ant-color-bg-container, #fff)",
2014
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))",
2015
+ cursor: "pointer"
2016
+ },
2017
+ ".sy-mobile-upload-button.is-disabled": {
2018
+ color: "var(--ant-color-text-disabled, rgba(0,0,0,0.25))",
2019
+ cursor: "not-allowed",
2020
+ background: "var(--ant-color-fill-quaternary, rgba(0,0,0,0.02))"
2021
+ },
2022
+ ".sy-mobile-hidden-input": {
2023
+ display: "none"
2024
+ },
2025
+ ".sy-image-grid": {
2026
+ display: "grid",
2027
+ gridTemplateColumns: "repeat(auto-fill, minmax(96px, 1fr))",
2028
+ gap: "8px",
2029
+ marginTop: "8px"
2030
+ },
2031
+ ".sy-image-file-list": {
2032
+ maxWidth: "516px"
2033
+ },
2034
+ ".sy-image-file-thumb": {
2035
+ width: "58px",
2036
+ height: "58px",
2037
+ flex: "0 0 auto",
2038
+ border: "1px solid var(--ant-color-border-secondary, #f0f0f0)",
2039
+ borderRadius: "8px",
2040
+ overflow: "hidden",
2041
+ background: "#fff",
2042
+ padding: "0",
2043
+ cursor: "pointer"
2044
+ },
2045
+ ".sy-image-file-thumb img": {
2046
+ width: "100%",
2047
+ height: "100%",
2048
+ objectFit: "cover"
2049
+ },
2050
+ ".sy-mobile-image-grid": {
2051
+ display: "grid",
2052
+ gridTemplateColumns: "repeat(3, minmax(0, 1fr))",
2053
+ gap: "10px 12px"
2054
+ },
2055
+ ".sy-mobile-image-card": {
2056
+ position: "relative",
2057
+ minWidth: "0"
2058
+ },
2059
+ ".sy-mobile-image-thumb": {
2060
+ position: "relative",
2061
+ aspectRatio: "1 / 1",
2062
+ border: "1px solid var(--ant-color-border-secondary, #f0f0f0)",
2063
+ borderRadius: "8px",
2064
+ overflow: "visible",
2065
+ background: "var(--ant-color-fill-quaternary, #f5f5f5)"
2066
+ },
2067
+ ".sy-mobile-image-thumb .sy-image-preview": {
2068
+ width: "100%",
2069
+ height: "100%",
2070
+ border: "0",
2071
+ borderRadius: "8px",
2072
+ overflow: "hidden",
2073
+ padding: "0",
2074
+ background: "transparent"
2075
+ },
2076
+ ".sy-mobile-image-thumb img": {
2077
+ width: "100%",
2078
+ height: "100%",
2079
+ objectFit: "cover"
2080
+ },
2081
+ ".sy-mobile-image-thumb .sy-file-action-remove": {
2082
+ position: "absolute",
2083
+ right: "-9px",
2084
+ top: "-9px",
2085
+ zIndex: "2",
2086
+ width: "22px",
2087
+ height: "22px",
2088
+ borderRadius: "999px",
2089
+ background: "rgba(0,0,0,0.38)",
2090
+ color: "#fff",
2091
+ display: "inline-flex",
2092
+ alignItems: "center",
2093
+ justifyContent: "center",
2094
+ fontSize: "12px"
2095
+ },
2096
+ ".sy-mobile-image-name": {
2097
+ marginTop: "6px",
2098
+ minWidth: "0",
2099
+ overflow: "hidden",
2100
+ textOverflow: "ellipsis",
2101
+ whiteSpace: "nowrap",
2102
+ color: "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))",
2103
+ fontSize: "14px",
2104
+ lineHeight: "20px"
2105
+ },
2106
+ ".sy-mobile-image-upload-tile": {
2107
+ aspectRatio: "1 / 1",
2108
+ border: "1px dashed var(--ant-color-border, #d9d9d9)",
2109
+ borderRadius: "8px",
2110
+ background: "var(--ant-color-bg-container, #fff)",
2111
+ display: "flex",
2112
+ flexDirection: "column",
2113
+ alignItems: "center",
2114
+ justifyContent: "center",
2115
+ gap: "8px",
2116
+ color: "var(--ant-color-text-secondary, rgba(0,0,0,0.65))",
2117
+ fontSize: "16px",
2118
+ cursor: "pointer"
2119
+ },
2120
+ ".sy-mobile-image-upload-tile svg": {
2121
+ color: "var(--ant-color-text-quaternary, rgba(0,0,0,0.35))",
2122
+ fontSize: "30px"
2123
+ },
2124
+ ".sy-image-thumb": {
2125
+ position: "relative",
2126
+ aspectRatio: "1 / 1",
2127
+ borderRadius: "6px",
2128
+ overflow: "hidden",
2129
+ border: "1px solid var(--ant-color-border-secondary, #f0f0f0)",
2130
+ background: "var(--ant-color-fill-tertiary, rgba(0,0,0,0.04))"
2131
+ },
2132
+ ".sy-image-preview": {
2133
+ width: "100%",
2134
+ height: "100%",
2135
+ border: "0",
2136
+ padding: "0",
2137
+ background: "transparent",
2138
+ cursor: "pointer"
2139
+ },
2140
+ ".sy-image-preview:disabled": {
2141
+ cursor: "default"
2142
+ },
2143
+ ".sy-image-thumb img": {
2144
+ width: "100%",
2145
+ height: "100%",
2146
+ objectFit: "cover"
2147
+ },
2148
+ ".sy-image-state": {
2149
+ position: "absolute",
2150
+ inset: "0",
2151
+ display: "flex",
2152
+ alignItems: "center",
2153
+ justifyContent: "center",
2154
+ padding: "8px",
2155
+ fontSize: "12px",
2156
+ color: "var(--ant-color-text-secondary, rgba(0,0,0,0.65))",
2157
+ textAlign: "center",
2158
+ wordBreak: "break-all",
2159
+ background: "rgba(255,255,255,0.72)"
2160
+ },
2161
+ ".sy-image-actions": {
2162
+ position: "absolute",
2163
+ right: "4px",
2164
+ bottom: "4px",
2165
+ zIndex: "2",
2166
+ display: "flex",
2167
+ gap: "4px",
2168
+ padding: "2px 4px",
2169
+ borderRadius: "4px",
2170
+ background: "rgba(255,255,255,0.9)",
2171
+ boxShadow: "0 1px 4px rgba(0,0,0,0.08)"
2172
+ },
2173
+ ".sy-image-actions button": {
2174
+ border: "0",
2175
+ padding: "0",
2176
+ background: "transparent",
2177
+ color: "var(--ant-color-primary, #1677ff)",
2178
+ cursor: "pointer",
2179
+ fontSize: "12px",
2180
+ lineHeight: "18px"
2181
+ },
2182
+ ".sy-image-actions button:disabled": {
2183
+ color: "var(--ant-color-text-disabled, rgba(0,0,0,0.25))",
2184
+ cursor: "not-allowed"
2185
+ },
2186
+ ".sy-image-meta": {
2187
+ position: "absolute",
2188
+ left: "4px",
2189
+ top: "4px",
2190
+ zIndex: "1",
2191
+ maxWidth: "calc(100% - 8px)",
2192
+ padding: "1px 4px",
2193
+ borderRadius: "4px",
2194
+ background: "rgba(0,0,0,0.48)",
2195
+ color: "#fff",
2196
+ fontSize: "11px",
2197
+ lineHeight: "16px",
2198
+ pointerEvents: "none"
2199
+ },
2200
+ // Editor
2201
+ ".sy-editor": {
2202
+ border: "1px solid var(--ant-color-border, #d9d9d9)",
2203
+ borderRadius: "6px",
2204
+ background: "var(--ant-color-bg-container, #fff)",
2205
+ overflow: "hidden",
2206
+ transition: "border-color 0.15s ease, box-shadow 0.15s ease"
2207
+ },
2208
+ ".sy-editor:focus-within": {
2209
+ borderColor: "var(--ant-color-primary, #1677ff)",
2210
+ boxShadow: "0 0 0 1px var(--ant-color-primary, #1677ff)"
2211
+ },
2212
+ ".sy-editor.is-disabled": {
2213
+ background: "var(--ant-color-fill-quaternary, rgba(0,0,0,0.02))"
2214
+ },
2215
+ ".sy-editor.is-mobile": {
2216
+ border: "0",
2217
+ borderBottom: "1px solid var(--ant-color-split, rgba(0,0,0,0.06))",
2218
+ borderRadius: "0",
2219
+ background: "transparent",
2220
+ boxShadow: "none"
2221
+ },
2222
+ ".sy-editor.is-mobile:focus-within": {
2223
+ borderBottomColor: "var(--ant-color-primary, #1677ff)",
2224
+ boxShadow: "none"
2225
+ },
2226
+ ".sy-editor-toolbar": {
2227
+ display: "flex",
2228
+ alignItems: "center",
2229
+ flexWrap: "nowrap",
2230
+ gap: "0",
2231
+ minHeight: "44px",
2232
+ padding: "6px 12px",
2233
+ overflowX: "auto",
2234
+ overflowY: "hidden",
2235
+ scrollbarWidth: "thin",
2236
+ borderBottom: "1px solid var(--ant-color-split, rgba(0,0,0,0.06))",
2237
+ background: "var(--ant-color-fill-quaternary, #f7f8fb)"
2238
+ },
2239
+ ".sy-editor-toolbar-group": {
2240
+ display: "inline-flex",
2241
+ alignItems: "center",
2242
+ flexWrap: "nowrap",
2243
+ gap: "2px",
2244
+ padding: "0 8px",
2245
+ borderRight: "1px solid var(--ant-color-split, rgba(0,0,0,0.06))"
2246
+ },
2247
+ ".sy-editor-toolbar-group:first-child": {
2248
+ paddingLeft: "0"
2249
+ },
2250
+ ".sy-editor-toolbar-group:last-child": {
2251
+ borderRight: "0",
2252
+ paddingRight: "0"
2253
+ },
2254
+ ".sy-editor-toolbar .ant-btn": {
2255
+ minWidth: "30px",
2256
+ height: "30px",
2257
+ paddingInline: "7px",
2258
+ borderColor: "transparent",
2259
+ background: "transparent",
2260
+ boxShadow: "none",
2261
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))"
2262
+ },
2263
+ ".sy-editor-toolbar .ant-btn:not(:disabled):hover": {
2264
+ borderColor: "transparent",
2265
+ background: "var(--ant-color-fill-secondary, rgba(0,0,0,0.06))",
2266
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))"
2267
+ },
2268
+ ".sy-editor-toolbar .ant-btn-primary": {
2269
+ borderColor: "transparent",
2270
+ background: "var(--ant-color-primary-bg, #e6f4ff)",
2271
+ color: "var(--ant-color-primary, #1677ff)",
2272
+ boxShadow: "none"
2273
+ },
2274
+ ".sy-editor-toolbar-select": {
2275
+ flex: "0 0 auto",
2276
+ minWidth: "72px"
2277
+ },
2278
+ ".sy-editor-toolbar-select .ant-select-selector": {
2279
+ borderColor: "transparent !important",
2280
+ background: "transparent !important",
2281
+ boxShadow: "none !important",
2282
+ paddingInline: "4px !important"
2283
+ },
2284
+ ".sy-editor-toolbar-select:hover .ant-select-selector": {
2285
+ background: "var(--ant-color-fill-secondary, rgba(0,0,0,0.06)) !important"
2286
+ },
2287
+ ".sy-editor-color": {
2288
+ width: "30px",
2289
+ height: "30px",
2290
+ border: "1px solid transparent",
2291
+ borderRadius: "4px",
2292
+ padding: "3px",
2293
+ background: "transparent",
2294
+ cursor: "pointer"
2295
+ },
2296
+ ".sy-editor-color:hover": {
2297
+ background: "var(--ant-color-fill-secondary, rgba(0,0,0,0.06))"
2298
+ },
2299
+ ".sy-editor-color-presets": {
2300
+ display: "inline-flex",
2301
+ alignItems: "center"
2302
+ },
2303
+ ".sy-editor-swatch": {
2304
+ width: "20px",
2305
+ height: "20px",
2306
+ border: "1px solid rgba(0,0,0,0.08)",
2307
+ borderRadius: "4px",
2308
+ cursor: "pointer",
2309
+ padding: "0"
2310
+ },
2311
+ ".sy-editor-file-input": {
2312
+ display: "none !important",
2313
+ position: "absolute !important",
2314
+ width: "1px !important",
2315
+ height: "1px !important",
2316
+ opacity: "0 !important",
2317
+ pointerEvents: "none !important"
2318
+ },
2319
+ ".sy-editor-body": {
2320
+ padding: "28px 44px",
2321
+ overflow: "auto",
2322
+ cursor: "text"
2323
+ },
2324
+ ".sy-editor.is-mobile .sy-editor-body": {
2325
+ padding: "6px 0 12px",
2326
+ minHeight: "120px",
2327
+ overflow: "visible"
2328
+ },
2329
+ ".sy-editor-prose": {
2330
+ outline: "none",
2331
+ minHeight: "inherit",
2332
+ whiteSpace: "pre-wrap",
2333
+ fontSize: "14px",
2334
+ lineHeight: "22px",
2335
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))"
2336
+ },
2337
+ ".sy-editor.is-mobile .sy-editor-prose": {
2338
+ fontSize: "16px",
2339
+ lineHeight: "24px"
2340
+ },
2341
+ ".sy-editor-readonly": {
2342
+ whiteSpace: "pre-wrap"
2343
+ },
2344
+ ".sy-summary-richtext": {
2345
+ display: "block",
2346
+ maxWidth: "100%"
2347
+ },
2348
+ ".sy-summary-richtext p": {
2349
+ margin: "0 0 4px"
2350
+ },
2351
+ ".sy-summary-json": {
2352
+ margin: "0",
2353
+ whiteSpace: "pre-wrap",
2354
+ wordBreak: "break-word",
2355
+ fontFamily: 'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',
2356
+ fontSize: "12px",
2357
+ lineHeight: "1.5"
2358
+ },
2359
+ ".sy-editor-prose p": { margin: "0 0 8px" },
2360
+ ".sy-editor-prose blockquote, .sy-editor-readonly blockquote": {
2361
+ margin: "8px 0",
2362
+ paddingLeft: "12px",
2363
+ borderLeft: "3px solid var(--ant-color-border, #d9d9d9)",
2364
+ color: "var(--ant-color-text-secondary, rgba(0,0,0,0.65))"
2365
+ },
2366
+ ".sy-editor-prose pre, .sy-editor-readonly pre": {
2367
+ margin: "8px 0",
2368
+ padding: "10px 12px",
2369
+ borderRadius: "6px",
2370
+ background: "var(--ant-color-fill-quaternary, rgba(0,0,0,0.02))",
2371
+ overflowX: "auto"
2372
+ },
2373
+ '.sy-editor-prose ul[data-type="taskList"], .sy-editor-readonly ul[data-type="taskList"]': {
2374
+ paddingLeft: "0",
2375
+ listStyle: "none"
2376
+ },
2377
+ '.sy-editor-prose li[data-type="taskItem"], .sy-editor-readonly li[data-type="taskItem"]': {
2378
+ display: "flex",
2379
+ alignItems: "flex-start",
2380
+ gap: "8px"
2381
+ },
2382
+ '.sy-editor-prose li[data-type="taskItem"] > label, .sy-editor-readonly li[data-type="taskItem"] > label': {
2383
+ flex: "0 0 auto",
2384
+ marginTop: "2px"
2385
+ },
2386
+ '.sy-editor-prose li[data-type="taskItem"] > div, .sy-editor-readonly li[data-type="taskItem"] > div': {
2387
+ minWidth: "0",
2388
+ flex: "1"
2389
+ },
2390
+ ".sy-editor-prose table, .sy-editor-readonly table": {
2391
+ borderCollapse: "collapse",
2392
+ width: "100%",
2393
+ tableLayout: "fixed",
2394
+ margin: "8px 0"
2395
+ },
2396
+ ".sy-editor-prose td, .sy-editor-prose th, .sy-editor-readonly td, .sy-editor-readonly th": {
2397
+ border: "1px solid var(--ant-color-border-secondary, #f0f0f0)",
2398
+ padding: "6px"
2399
+ },
2400
+ ".sy-editor-image": {
2401
+ maxWidth: "100%",
2402
+ borderRadius: "4px"
2403
+ },
2404
+ ".sy-editor-footer": {
2405
+ display: "flex",
2406
+ justifyContent: "space-between",
2407
+ gap: "8px",
2408
+ marginTop: "4px",
2409
+ fontSize: "12px",
2410
+ color: "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))"
2411
+ },
2412
+ ".sy-editor-footer-error": {
2413
+ color: "var(--ant-color-error, #ff4d4f)"
2414
+ },
2415
+ ".sy-editor-modal-form": {
2416
+ display: "flex",
2417
+ flexDirection: "column",
2418
+ gap: "12px"
2419
+ },
2420
+ ".sy-editor-table-size label": {
2421
+ display: "grid",
2422
+ gridTemplateColumns: "48px minmax(0, 1fr)",
2423
+ alignItems: "center",
2424
+ gap: "12px"
2425
+ },
2426
+ // Association and location/signature
2427
+ ".sy-association-selector": {
2428
+ display: "flex",
2429
+ flexDirection: "column",
2430
+ gap: "12px"
2431
+ },
2432
+ ".sy-association-selected": {
2433
+ display: "flex",
2434
+ flexWrap: "wrap",
2435
+ gap: "6px",
2436
+ paddingTop: "4px"
2437
+ },
2438
+ ".sy-location-field": {
2439
+ display: "flex",
2440
+ flexDirection: "column",
2441
+ gap: "8px"
2442
+ },
2443
+ ".sy-location-meta, .sy-signature-hash": {
2444
+ fontSize: "12px",
2445
+ color: "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))"
2446
+ },
2447
+ ".sy-signature-field": {
2448
+ display: "flex",
2449
+ flexDirection: "column",
2450
+ alignItems: "flex-start",
2451
+ gap: "8px"
2452
+ },
2453
+ ".sy-signature-preview": {
2454
+ border: "1px solid var(--ant-color-border-secondary, #f0f0f0)",
2455
+ background: "var(--ant-color-bg-container, #fff)",
2456
+ padding: "4px",
2457
+ borderRadius: "6px"
2458
+ },
2459
+ ".sy-signature-preview img": {
2460
+ display: "block",
2461
+ maxWidth: "240px",
2462
+ maxHeight: "120px"
2463
+ },
2464
+ ".sy-signature-canvas-wrap": {
2465
+ display: "flex",
2466
+ flexDirection: "column",
2467
+ gap: "8px"
2468
+ },
2469
+ // Subform
2470
+ ".sy-subform": {
2471
+ display: "flex",
2472
+ flexDirection: "column",
2473
+ gap: "12px",
2474
+ width: "100%"
2475
+ },
2476
+ ".sy-subform-toolbar": {
2477
+ display: "flex",
2478
+ alignItems: "center",
2479
+ justifyContent: "flex-end",
2480
+ gap: "12px",
2481
+ minHeight: "34px"
2482
+ },
2483
+ ".sy-subform-row-count": {
2484
+ color: "var(--ant-color-text-secondary, rgba(0,0,0,0.65))",
2485
+ fontSize: "14px",
2486
+ lineHeight: "22px"
2487
+ },
2488
+ ".sy-subform-table-wrap": {
2489
+ overflowX: "auto",
2490
+ border: "1px solid var(--ant-color-border, #d9d9d9)",
2491
+ borderRadius: "8px",
2492
+ background: "var(--ant-color-bg-container, #fff)",
2493
+ boxShadow: "0 4px 14px rgba(15, 23, 42, 0.06)"
2494
+ },
2495
+ ".sy-subform-table": {
2496
+ width: "100%",
2497
+ minWidth: "720px",
2498
+ borderCollapse: "separate",
2499
+ borderSpacing: "0"
2500
+ },
2501
+ ".sy-subform-table th, .sy-subform-table td": {
2502
+ borderBottom: "1px solid var(--ant-color-border-secondary, #f0f0f0)",
2503
+ borderRight: "1px solid var(--ant-color-border-secondary, #f0f0f0)",
2504
+ textAlign: "left",
2505
+ verticalAlign: "middle"
2506
+ },
2507
+ ".sy-subform-table th": {
2508
+ padding: "12px 14px",
2509
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))",
2510
+ background: "var(--ant-color-fill-quaternary, #fafafa)",
2511
+ fontSize: "14px",
2512
+ fontWeight: "600",
2513
+ lineHeight: "22px",
2514
+ whiteSpace: "nowrap"
2515
+ },
2516
+ ".sy-subform-table td": {
2517
+ padding: "14px 10px",
2518
+ background: "var(--ant-color-bg-container, #fff)"
2519
+ },
2520
+ ".sy-subform-table th:last-child, .sy-subform-table td:last-child": {
2521
+ borderRight: "0",
2522
+ textAlign: "right",
2523
+ width: "88px"
2524
+ },
2525
+ ".sy-subform-table tbody tr:last-child td": {
2526
+ borderBottom: "0"
2527
+ },
2528
+ ".sy-subform-table tbody tr:hover td": {
2529
+ background: "var(--ant-control-item-bg-hover, #f5f5f5)"
2530
+ },
2531
+ ".sy-subform-table .sy-field-wrapper": {
2532
+ margin: "0"
2533
+ },
2534
+ ".sy-subform-table .sy-field-label, .sy-subform-table .sy-field-tips": {
2535
+ display: "none"
2536
+ },
2537
+ ".sy-subform-table .sy-field-control > *": {
2538
+ width: "100%"
2539
+ },
2540
+ ".sy-subform-card": {
2541
+ overflow: "hidden",
2542
+ border: "1px solid var(--ant-color-border-secondary, #f0f0f0)",
2543
+ borderRadius: "8px",
2544
+ background: "var(--ant-color-bg-container, #fff)",
2545
+ boxShadow: "0 2px 10px rgba(15, 23, 42, 0.04)"
2546
+ },
2547
+ ".sy-subform-card-head": {
2548
+ display: "flex",
2549
+ justifyContent: "space-between",
2550
+ alignItems: "center",
2551
+ gap: "10px",
2552
+ padding: "10px 12px",
2553
+ borderBottom: "1px solid var(--ant-color-border-secondary, #f0f0f0)",
2554
+ background: "var(--ant-color-fill-quaternary, #fafafa)"
2555
+ },
2556
+ ".sy-subform-card-head strong": {
2557
+ display: "inline-flex",
2558
+ alignItems: "center",
2559
+ borderRadius: "6px",
2560
+ padding: "2px 8px",
2561
+ color: "var(--ant-color-primary, #1677ff)",
2562
+ background: "var(--ant-color-primary-bg, #e6f4ff)",
2563
+ fontSize: "13px",
2564
+ lineHeight: "20px"
2565
+ },
2566
+ ".sy-subform-mobile-cell": {
2567
+ display: "grid",
2568
+ gridTemplateColumns: "96px minmax(0, 1fr)",
2569
+ gap: "10px",
2570
+ alignItems: "start",
2571
+ padding: "10px 12px",
2572
+ borderBottom: "1px solid var(--ant-color-border-secondary, #f0f0f0)"
2573
+ },
2574
+ ".sy-subform-mobile-cell:last-child": {
2575
+ borderBottom: "0"
2576
+ },
2577
+ ".sy-subform-mobile-cell label": {
2578
+ paddingTop: "5px",
2579
+ color: "var(--ant-color-text, rgba(0,0,0,0.88))",
2580
+ fontSize: "14px",
2581
+ lineHeight: "22px"
2582
+ },
2583
+ ".sy-subform-link-button": {
2584
+ border: "0",
2585
+ background: "transparent",
2586
+ color: "var(--ant-color-primary, #1677ff)",
2587
+ cursor: "pointer",
2588
+ padding: "0 2px",
2589
+ fontSize: "14px",
2590
+ lineHeight: "22px"
2591
+ },
2592
+ ".sy-subform-danger-button": {
2593
+ color: "var(--ant-color-error, #ff4d4f)"
2594
+ },
2595
+ ".sy-subform-link-button:disabled": {
2596
+ color: "var(--ant-color-text-quaternary, rgba(0,0,0,0.25))",
2597
+ cursor: "not-allowed"
2598
+ },
2599
+ ".sy-subform-add-button": {
2600
+ border: "1px solid var(--ant-color-primary, #1677ff)",
2601
+ borderRadius: "6px",
2602
+ background: "var(--ant-color-primary-bg, #e6f4ff)",
2603
+ color: "var(--ant-color-primary, #1677ff)",
2604
+ cursor: "pointer",
2605
+ padding: "5px 12px",
2606
+ fontSize: "14px",
2607
+ lineHeight: "22px"
2608
+ },
2609
+ ".sy-subform-add-button:disabled": {
2610
+ borderColor: "var(--ant-color-border, #d9d9d9)",
2611
+ background: "var(--ant-color-fill-quaternary, #fafafa)",
2612
+ color: "var(--ant-color-text-quaternary, rgba(0,0,0,0.25))",
2613
+ cursor: "not-allowed"
2614
+ },
2615
+ ".sy-subform-empty": {
2616
+ color: "var(--ant-color-text-tertiary, rgba(0,0,0,0.45))",
2617
+ padding: "10px 12px",
2618
+ border: "1px dashed var(--ant-color-border, #d9d9d9)",
2619
+ borderRadius: "8px",
2620
+ background: "var(--ant-color-fill-quaternary, #fafafa)",
2621
+ textAlign: "center"
2622
+ },
2623
+ // Spinner (kept for backward compat)
2624
+ ".sy-spinner": {
2625
+ width: "14px",
2626
+ height: "14px",
2627
+ border: "2px solid currentColor",
2628
+ borderTopColor: "transparent",
2629
+ borderRadius: "9999px",
2630
+ animation: "sy-spin 0.8s linear infinite"
2631
+ },
2632
+ "@keyframes sy-spin": {
2633
+ to: {
2634
+ transform: "rotate(360deg)"
2635
+ }
2636
+ }
2637
+ });
2638
+ }
2639
+ ]
2640
+ };
2641
+ //# sourceMappingURL=tailwind-preset.cjs.map