@syncended/dsh-automations 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.js +43 -40
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -3106,7 +3106,7 @@ window.__ModuleLoader__.load({
|
|
|
3106
3106
|
".dsh-auto-root *,.dsh-auto-root *::before,.dsh-auto-root *::after{box-sizing:border-box;}",
|
|
3107
3107
|
".dsh-auto-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;}",
|
|
3108
3108
|
".dsh-auto-head h2{margin:0;font-size:18px;font-weight:600;line-height:1.35;}",
|
|
3109
|
-
".dsh-auto-sub{margin:3px 0 0;font-size:
|
|
3109
|
+
".dsh-auto-sub{margin:3px 0 0;font-size:13px;line-height:20px;color:var(--dsh-auto-muted);max-width:560px;}",
|
|
3110
3110
|
".dsh-auto-flash{margin:0;padding:9px 12px;border-radius:10px;font-size:13px;line-height:1.45;word-break:break-word;}",
|
|
3111
3111
|
".dsh-auto-flash-error{background:color-mix(in srgb,var(--dsh-auto-danger) 12%,transparent);color:var(--dsh-auto-danger);}",
|
|
3112
3112
|
".dsh-auto-flash-success{background:color-mix(in srgb,var(--dsh-auto-success) 12%,transparent);color:var(--dsh-auto-success);}",
|
|
@@ -3114,7 +3114,7 @@ window.__ModuleLoader__.load({
|
|
|
3114
3114
|
".dsh-auto-linkbtn{appearance:none;font:inherit;font-size:inherit;color:inherit;text-decoration:underline;cursor:pointer;background:none;border:none;padding:0;}",
|
|
3115
3115
|
".dsh-auto-danger-button{color:var(--dsh-auto-danger);}",
|
|
3116
3116
|
".dsh-auto-danger-button:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover-danger,color-mix(in srgb,var(--dsh-auto-danger) 10%,transparent));}",
|
|
3117
|
-
".dsh-auto-input,.dsh-auto-select,.dsh-auto-textarea{width:100%;min-height:
|
|
3117
|
+
".dsh-auto-input,.dsh-auto-select,.dsh-auto-textarea{width:100%;min-height:36px;padding:6px 11px;border:1px solid var(--dsh-auto-border);border-radius:8px;background:var(--dsh-auto-input-bg);color:var(--dsh-auto-text);font-family:inherit;font-size:14px;line-height:22px;}",
|
|
3118
3118
|
".dsh-auto-input,.dsh-auto-textarea{appearance:none;}",
|
|
3119
3119
|
".dsh-auto-input::placeholder,.dsh-auto-textarea::placeholder{color:var(--dsh-auto-caption);}",
|
|
3120
3120
|
".dsh-auto-select option{background:var(--dsh-auto-input-bg);color:var(--dsh-auto-text);}",
|
|
@@ -3122,7 +3122,7 @@ window.__ModuleLoader__.load({
|
|
|
3122
3122
|
".dsh-auto-input[aria-invalid=\"true\"],.dsh-auto-select[aria-invalid=\"true\"],.dsh-auto-textarea[aria-invalid=\"true\"]{border-color:var(--dsh-auto-danger);}",
|
|
3123
3123
|
".dsh-auto-input:disabled,.dsh-auto-select:disabled,.dsh-auto-textarea:disabled{opacity:1;color:var(--dsh-auto-muted);background:var(--dsh-auto-surface-active);cursor:default;}",
|
|
3124
3124
|
".dsh-auto-picker-root{width:100%;display:flex;}",
|
|
3125
|
-
".dsh-auto-picker-trigger{appearance:none;width:100%;height:
|
|
3125
|
+
".dsh-auto-picker-trigger{appearance:none;width:100%;height:36px;padding:0 11px;border:1px solid var(--dsh-auto-border);border-radius:8px;background:var(--dsh-auto-input-bg);color:var(--dsh-auto-text);display:flex;align-items:center;gap:8px;font-family:inherit;font-size:14px;line-height:22px;text-align:left;cursor:pointer;}",
|
|
3126
3126
|
".dsh-auto-picker-trigger:hover{background:var(--dsw-alias-interactive-bg-hover,var(--dsh-auto-input-bg));}",
|
|
3127
3127
|
".dsh-auto-picker-trigger:focus-visible{outline:none;border-color:var(--dsh-auto-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--dsh-auto-accent) 18%,transparent);}",
|
|
3128
3128
|
".dsh-auto-picker-trigger-icon{flex:none;color:var(--dsh-auto-muted);}",
|
|
@@ -3132,13 +3132,13 @@ window.__ModuleLoader__.load({
|
|
|
3132
3132
|
".dsh-auto-picker-item-copy{min-width:0;display:flex;flex-direction:column;white-space:normal;}",
|
|
3133
3133
|
".dsh-auto-picker-item-label{color:inherit;font-size:14px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}",
|
|
3134
3134
|
".dsh-auto-picker-item-detail{color:var(--dsh-auto-muted,var(--dsw-alias-label-tertiary,#81858c));font-size:12px;line-height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}",
|
|
3135
|
-
".dsh-auto-combobox-control{width:100%;height:
|
|
3135
|
+
".dsh-auto-combobox-control{width:100%;height:36px;padding:0 10px;display:flex;align-items:center;gap:8px;border:1px solid var(--dsh-auto-border);border-radius:8px;background:var(--dsh-auto-input-bg);color:var(--dsh-auto-text);cursor:text;}",
|
|
3136
3136
|
".dsh-auto-combobox-control:hover{background:var(--dsw-alias-interactive-bg-hover,var(--dsh-auto-input-bg));}",
|
|
3137
3137
|
".dsh-auto-combobox-control:focus-within,.dsh-auto-combobox-control[data-open=\"true\"]{border-color:var(--dsh-auto-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--dsh-auto-accent) 18%,transparent);}",
|
|
3138
3138
|
".dsh-auto-combobox-control:has(.dsh-auto-combobox-input[aria-invalid=\"true\"]){border-color:var(--dsh-auto-danger);}",
|
|
3139
3139
|
".dsh-auto-combobox-control:has(.dsh-auto-combobox-input:disabled){background:var(--dsh-auto-surface-active);color:var(--dsh-auto-muted);cursor:default;}",
|
|
3140
3140
|
".dsh-auto-combobox-control-icon,.dsh-auto-combobox-chevron{width:16px;height:16px;flex:none;display:inline-flex;align-items:center;justify-content:center;color:var(--dsh-auto-muted);pointer-events:none;}",
|
|
3141
|
-
".dsh-auto-combobox-input{appearance:none;min-width:0;height:100%;flex:1;padding:0;border:0;outline:0;background:transparent;color:inherit;font:inherit;font-size:
|
|
3141
|
+
".dsh-auto-combobox-input{appearance:none;min-width:0;height:100%;flex:1;padding:0;border:0;outline:0;background:transparent;color:inherit;font:inherit;font-size:14px;line-height:22px;}",
|
|
3142
3142
|
".dsh-auto-combobox-input::placeholder{color:var(--dsh-auto-caption);}",
|
|
3143
3143
|
".dsh-auto-combobox-input:disabled{cursor:default;}",
|
|
3144
3144
|
".dsh-auto-combobox-chevron{transition:transform .12s ease;}",
|
|
@@ -3164,52 +3164,53 @@ window.__ModuleLoader__.load({
|
|
|
3164
3164
|
".dsh-auto-permission-glyph-write{color:var(--dsh-auto-accent);}",
|
|
3165
3165
|
".dsh-auto-permission-glyph-danger{color:var(--dsh-auto-danger);}",
|
|
3166
3166
|
".dsh-auto-permission-glyph-custom{color:var(--dsh-auto-muted);}",
|
|
3167
|
-
".dsh-auto-textarea{resize:vertical;min-height:
|
|
3168
|
-
".dsh-auto-prompt{min-height:
|
|
3167
|
+
".dsh-auto-textarea{resize:vertical;min-height:120px;}",
|
|
3168
|
+
".dsh-auto-prompt{min-height:154px;line-height:22px;}",
|
|
3169
3169
|
".dsh-auto-check{display:inline-flex;align-items:center;gap:8px;font-size:13px;cursor:pointer;min-height:34px;}",
|
|
3170
3170
|
".dsh-auto-check input{width:16px;height:16px;margin:0;accent-color:var(--dsh-auto-accent);cursor:pointer;}",
|
|
3171
|
-
".dsh-auto-form{box-sizing:border-box;width:min(100%,
|
|
3172
|
-
".dsh-auto-form-header{display:flex;align-items:flex-start;justify-content:space-between;gap:
|
|
3173
|
-
".dsh-auto-form-heading{min-width:0;display:flex;flex-direction:column;gap:
|
|
3174
|
-
".dsh-auto-form h3{margin:0;font-size:
|
|
3175
|
-
".dsh-auto-form-heading p{margin:0;color:var(--dsh-auto-muted);font-size:
|
|
3176
|
-
".dsh-auto-form-enabled{flex:none;margin-top:
|
|
3171
|
+
".dsh-auto-form{box-sizing:border-box;width:min(100%,780px);margin:0 auto;padding:0 0 4px;background:transparent;display:flex;flex-direction:column;gap:18px;}",
|
|
3172
|
+
".dsh-auto-form-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:2px 2px 0;}",
|
|
3173
|
+
".dsh-auto-form-heading{min-width:0;display:flex;flex-direction:column;gap:4px;}",
|
|
3174
|
+
".dsh-auto-form h3{margin:0;font-size:18px;font-weight:600;line-height:26px;}",
|
|
3175
|
+
".dsh-auto-form-heading p{margin:0;color:var(--dsh-auto-muted);font-size:13px;line-height:20px;}",
|
|
3176
|
+
".dsh-auto-form-enabled{flex:none;margin-top:1px;padding:6px 10px;border:1px solid var(--dsh-auto-border);border-radius:999px;background:var(--dsh-auto-surface);font-size:13px;line-height:20px;}",
|
|
3177
3177
|
".dsh-auto-form-section,.dsh-auto-advanced{border:1px solid var(--dsh-auto-border);border-radius:14px;background:var(--dsh-auto-surface);box-shadow:0 1px 1px color-mix(in srgb,var(--dsh-auto-text) 4%,transparent);}",
|
|
3178
|
-
".dsh-auto-form-section{padding:
|
|
3179
|
-
".dsh-auto-form-section-head{display:flex;align-items:flex-start;gap:
|
|
3180
|
-
".dsh-auto-form-section-icon{width:
|
|
3181
|
-
".dsh-auto-form-section-copy{min-width:0;display:flex;flex-direction:column;gap:
|
|
3182
|
-
".dsh-auto-form-section-title{margin:0;color:var(--dsh-auto-text);font-size:
|
|
3183
|
-
".dsh-auto-form-section-description{margin:0;color:var(--dsh-auto-muted);font-size:
|
|
3184
|
-
".dsh-auto-formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px
|
|
3185
|
-
".dsh-auto-field{display:flex;flex-direction:column;gap:
|
|
3178
|
+
".dsh-auto-form-section{padding:18px;display:flex;flex-direction:column;gap:18px;}",
|
|
3179
|
+
".dsh-auto-form-section-head{display:flex;align-items:flex-start;gap:12px;}",
|
|
3180
|
+
".dsh-auto-form-section-icon{width:34px;height:34px;flex:none;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;color:var(--dsh-auto-accent);background:color-mix(in srgb,var(--dsh-auto-accent) 10%,transparent);}",
|
|
3181
|
+
".dsh-auto-form-section-copy{min-width:0;display:flex;flex-direction:column;gap:2px;}",
|
|
3182
|
+
".dsh-auto-form-section-title{margin:0;color:var(--dsh-auto-text);font-size:16px;font-weight:600;line-height:22px;}",
|
|
3183
|
+
".dsh-auto-form-section-description{margin:0;color:var(--dsh-auto-muted);font-size:12px;line-height:18px;}",
|
|
3184
|
+
".dsh-auto-formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 14px;}",
|
|
3185
|
+
".dsh-auto-field{display:flex;flex-direction:column;gap:6px;min-width:0;}",
|
|
3186
3186
|
".dsh-auto-field-full{grid-column:1/-1;}",
|
|
3187
|
-
".dsh-auto-label{font-size:
|
|
3187
|
+
".dsh-auto-label{font-size:14px;font-weight:400;line-height:22px;color:var(--dsh-auto-text-secondary);}",
|
|
3188
3188
|
".dsh-auto-required{color:var(--dsh-auto-danger);}",
|
|
3189
|
-
".dsh-auto-hint{margin:0;font-size:
|
|
3190
|
-
".dsh-auto-schedule-modes{display:flex;align-items:center;gap:
|
|
3191
|
-
".dsh-auto-schedule-
|
|
3192
|
-
".dsh-auto-schedule-summary
|
|
3193
|
-
".dsh-auto-schedule-
|
|
3189
|
+
".dsh-auto-hint{margin:0;font-size:12px;line-height:18px;color:var(--dsh-auto-muted);}",
|
|
3190
|
+
".dsh-auto-schedule-modes{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}",
|
|
3191
|
+
".dsh-auto-schedule-modes button{height:32px;padding:0 11px;border-radius:16px;font-size:14px;line-height:22px;}",
|
|
3192
|
+
".dsh-auto-schedule-summary{min-height:48px;padding:11px 13px;border:1px solid color-mix(in srgb,var(--dsh-auto-accent) 20%,var(--dsh-auto-border));border-radius:10px;background:color-mix(in srgb,var(--dsh-auto-accent) 6%,var(--dsh-auto-input-bg));display:flex;align-items:center;justify-content:space-between;gap:12px;}",
|
|
3193
|
+
".dsh-auto-schedule-summary-copy{min-width:0;color:var(--dsh-auto-text-secondary);font-size:14px;font-weight:400;line-height:22px;}",
|
|
3194
|
+
".dsh-auto-schedule-expression{min-width:0;max-width:100%;flex:none;padding:3px 7px;border-radius:6px;background:var(--dsw-alias-interactive-bg-hover,rgba(38,49,72,.06));color:var(--dsh-auto-muted);font-size:12px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}",
|
|
3194
3195
|
".dsh-auto-cron-input{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-variant-numeric:tabular-nums;letter-spacing:.02em;}",
|
|
3195
|
-
".dsh-auto-cron-guide{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:
|
|
3196
|
-
".dsh-auto-cron-guide-field{min-width:0;padding:7px
|
|
3197
|
-
".dsh-auto-cron-guide-value{max-width:100%;overflow:hidden;text-overflow:ellipsis;color:var(--dsh-auto-text);font-size:
|
|
3198
|
-
".dsh-auto-cron-guide-label{color:var(--dsh-auto-text-secondary);font-size:
|
|
3199
|
-
".dsh-auto-cron-guide-range{color:var(--dsh-auto-caption);font-size:
|
|
3200
|
-
".dsh-auto-cron-syntax{margin:0;color:var(--dsh-auto-muted);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:
|
|
3196
|
+
".dsh-auto-cron-guide{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:4px;}",
|
|
3197
|
+
".dsh-auto-cron-guide-field{min-width:0;padding:9px 7px;border:1px solid var(--dsh-auto-border);border-radius:9px;background:var(--dsh-auto-input-bg);text-align:center;display:flex;flex-direction:column;align-items:center;gap:2px;}",
|
|
3198
|
+
".dsh-auto-cron-guide-value{max-width:100%;overflow:hidden;text-overflow:ellipsis;color:var(--dsh-auto-text);font-size:14px;font-weight:600;line-height:20px;}",
|
|
3199
|
+
".dsh-auto-cron-guide-label{color:var(--dsh-auto-text-secondary);font-size:12px;font-weight:500;line-height:18px;}",
|
|
3200
|
+
".dsh-auto-cron-guide-range{color:var(--dsh-auto-caption);font-size:10px;line-height:14px;}",
|
|
3201
|
+
".dsh-auto-cron-syntax{margin:0;color:var(--dsh-auto-muted);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;line-height:18px;}",
|
|
3201
3202
|
".dsh-auto-advanced{overflow:hidden;}",
|
|
3202
|
-
".dsh-auto-advanced-trigger{box-sizing:border-box;width:100%;min-height:
|
|
3203
|
+
".dsh-auto-advanced-trigger{box-sizing:border-box;width:100%;min-height:72px;padding:16px 18px;border:0;background:transparent;color:inherit;text-align:left;font:inherit;display:flex;align-items:center;gap:12px;cursor:pointer;}",
|
|
3203
3204
|
".dsh-auto-advanced-trigger:hover{background:var(--dsw-alias-interactive-bg-hover,rgba(38,49,72,.06));}",
|
|
3204
3205
|
".dsh-auto-advanced-trigger:focus-visible{outline:2px solid var(--dsh-auto-accent);outline-offset:-2px;border-radius:13px;}",
|
|
3205
|
-
".dsh-auto-advanced-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:
|
|
3206
|
-
".dsh-auto-advanced-summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--dsh-auto-muted);font-size:
|
|
3206
|
+
".dsh-auto-advanced-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px;}",
|
|
3207
|
+
".dsh-auto-advanced-summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--dsh-auto-muted);font-size:12px;line-height:18px;}",
|
|
3207
3208
|
".dsh-auto-advanced-chevron{flex:none;color:var(--dsh-auto-muted);transition:transform .15s ease;}",
|
|
3208
3209
|
".dsh-auto-advanced-chevron-open{transform:rotate(180deg);}",
|
|
3209
|
-
".dsh-auto-advanced-content{margin:0
|
|
3210
|
+
".dsh-auto-advanced-content{margin:0 18px;padding:18px 0;border-top:1px solid var(--dsh-auto-border);}",
|
|
3210
3211
|
".dsh-auto-advanced-content[hidden]{display:none;}",
|
|
3211
|
-
".dsh-auto-form-footer{position:sticky;z-index:4;bottom:8px;align-self:flex-end;max-width:100%;padding:
|
|
3212
|
-
".dsh-auto-formerror{margin:0;padding:
|
|
3212
|
+
".dsh-auto-form-footer{position:sticky;z-index:4;bottom:8px;align-self:flex-end;max-width:100%;padding:10px 11px;border:1px solid var(--dsh-auto-border);border-radius:12px;background:var(--dsh-auto-surface);box-shadow:var(--dsw-shadow-lv2,0 6px 18px rgba(15,17,21,.12));display:flex;flex-direction:column;gap:8px;}",
|
|
3213
|
+
".dsh-auto-formerror{margin:0;padding:9px 11px;border-radius:8px;background:color-mix(in srgb,var(--dsh-auto-danger) 10%,transparent);color:var(--dsh-auto-danger);font-size:13px;line-height:20px;}",
|
|
3213
3214
|
".dsh-auto-formactions{display:flex;gap:8px;justify-content:flex-end;align-items:center;flex-wrap:wrap;}",
|
|
3214
3215
|
".dsh-auto-jobs{display:flex;flex-direction:column;gap:10px;}",
|
|
3215
3216
|
".dsh-auto-card{border:1px solid var(--dsh-auto-border);border-radius:12px;padding:12px 14px;background:var(--dsh-auto-surface);display:flex;flex-direction:column;gap:10px;}",
|
|
@@ -3259,7 +3260,9 @@ window.__ModuleLoader__.load({
|
|
|
3259
3260
|
".dsh-auto-empty,.dsh-auto-loading,.dsh-auto-error{padding:22px 16px;text-align:center;border:1px dashed var(--dsh-auto-border);border-radius:12px;font-size:13px;color:var(--dsh-auto-text-secondary);}",
|
|
3260
3261
|
".dsh-auto-error{color:var(--dsh-auto-danger);display:flex;flex-direction:column;gap:10px;align-items:center;}",
|
|
3261
3262
|
"@container dsh-auto-workspace (max-width:680px){.dsh-auto-formgrid{grid-template-columns:1fr;}.dsh-auto-form-header{align-items:center;}.dsh-auto-schedule-summary{align-items:flex-start;flex-direction:column;}.dsh-auto-card-head{flex-direction:column;align-items:flex-start;}.dsh-auto-run-name{max-width:150px;}}",
|
|
3262
|
-
"@
|
|
3263
|
+
"@container dsh-auto-workspace (max-width:460px){.dsh-auto-form-header{align-items:flex-start;flex-direction:column;}.dsh-auto-cron-guide{grid-template-columns:repeat(2,minmax(0,1fr));}.dsh-auto-cron-guide-field:last-child{grid-column:1/-1;}}",
|
|
3264
|
+
"@media (max-width:640px){.dsh-auto-workspace-toolbar{padding-inline:8px;}.dsh-auto-workspace-scroll{padding:16px 14px 28px;}.dsh-auto-formgrid{grid-template-columns:1fr;}.dsh-auto-form-header{align-items:center;}.dsh-auto-form-section{padding:16px;}.dsh-auto-advanced-trigger{padding:14px 15px;}.dsh-auto-advanced-content{margin-inline:15px;padding-block:16px;}.dsh-auto-schedule-summary{align-items:flex-start;flex-direction:column;}.dsh-auto-cron-guide{gap:4px;}.dsh-auto-cron-guide-field{padding-inline:4px;}.dsh-auto-card-head{flex-direction:column;align-items:flex-start;}.dsh-auto-run-name{max-width:150px;}}",
|
|
3265
|
+
"@media (max-width:480px){.dsh-auto-form-header{align-items:flex-start;flex-direction:column;}.dsh-auto-cron-guide{grid-template-columns:repeat(2,minmax(0,1fr));}.dsh-auto-cron-guide-field:last-child{grid-column:1/-1;}}",
|
|
3263
3266
|
].join("\n");
|
|
3264
3267
|
|
|
3265
3268
|
function apply(ctx) {
|