@w6w/ui 0.2.66 → 0.2.67
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/CHANGELOG.md +11 -1
- package/README.md +5 -3
- package/dist/FormBuilder.d.ts +19 -0
- package/dist/ManualWebhookPanel.d.ts +34 -0
- package/dist/TriggerFillForm.d.ts +3 -0
- package/dist/WebhookListenPanel.d.ts +8 -1
- package/dist/components/AuthFieldsForm.d.ts +10 -0
- package/dist/components/AuthGuide.d.ts +19 -1
- package/dist/components/CallableList.d.ts +30 -4
- package/dist/components/Combobox.d.ts +5 -0
- package/dist/components/ExpressionOptions.d.ts +22 -0
- package/dist/{connection-app-meta-CKBbgN7e.js → connection-app-meta-DEC0n4PA.js} +4894 -4211
- package/dist/connection-app-meta-DEC0n4PA.js.map +1 -0
- package/dist/connection-app-meta-Dk6F3KEH.cjs +29 -0
- package/dist/connection-app-meta-Dk6F3KEH.cjs.map +1 -0
- package/dist/dynamic-fields.d.ts +3 -0
- package/dist/flow-types.d.ts +2 -0
- package/dist/flow.cjs +6 -5
- package/dist/flow.cjs.map +1 -1
- package/dist/flow.mjs +3515 -2436
- package/dist/flow.mjs.map +1 -1
- package/dist/form-schema.d.ts +236 -0
- package/dist/form-trigger.d.ts +8 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +1325 -1272
- package/dist/index.mjs.map +1 -1
- package/dist/provider.d.ts +12 -0
- package/dist/resolve-params.d.ts +2 -0
- package/dist/types.d.ts +17 -1
- package/dist/workflow-connections.d.ts +11 -0
- package/package.json +2 -2
- package/src/styles/_callable-list.scss +37 -3
- package/src/styles/_connections.scss +29 -0
- package/src/styles/_expression-modal.scss +7 -0
- package/src/styles/_form-builder.scss +232 -0
- package/src/styles/_sections.scss +29 -0
- package/src/styles.css +386 -3
- package/src/styles.scss +1 -0
- package/dist/connection-app-meta-CKBbgN7e.js.map +0 -1
- package/dist/connection-app-meta-DfA6Yqhh.cjs +0 -28
- package/dist/connection-app-meta-DfA6Yqhh.cjs.map +0 -1
package/src/styles.css
CHANGED
|
@@ -1678,6 +1678,14 @@ select optgroup {
|
|
|
1678
1678
|
|
|
1679
1679
|
/* A step's per-field sources, nested under its whole-output source, so three
|
|
1680
1680
|
upstream steps x four fields reads as a tree rather than a flat wall. */
|
|
1681
|
+
/* A Connections binding's app · account caption, under its row (`ExpressionEditorModal`). */
|
|
1682
|
+
.w6w-exprmodal-connection-note {
|
|
1683
|
+
margin: -2px 0 2px 22px;
|
|
1684
|
+
overflow: hidden;
|
|
1685
|
+
text-overflow: ellipsis;
|
|
1686
|
+
white-space: nowrap;
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1681
1689
|
.w6w-exprmodal-subsources {
|
|
1682
1690
|
display: flex;
|
|
1683
1691
|
flex-direction: column;
|
|
@@ -3751,6 +3759,275 @@ input.w6w-stepbuilder-search.w6w-stepbuilder-search:focus {
|
|
|
3751
3759
|
text-transform: uppercase;
|
|
3752
3760
|
}
|
|
3753
3761
|
|
|
3762
|
+
.w6w-form-builder {
|
|
3763
|
+
display: flex;
|
|
3764
|
+
flex-direction: column;
|
|
3765
|
+
gap: var(--w6w-sp-3);
|
|
3766
|
+
min-width: 0;
|
|
3767
|
+
}
|
|
3768
|
+
|
|
3769
|
+
.w6w-form-problems {
|
|
3770
|
+
margin: 0;
|
|
3771
|
+
padding: var(--w6w-sp-2) var(--w6w-sp-2-5);
|
|
3772
|
+
list-style: none;
|
|
3773
|
+
border: 1px solid var(--w6w-health-degraded);
|
|
3774
|
+
border-radius: 8px;
|
|
3775
|
+
color: var(--w6w-text);
|
|
3776
|
+
font-size: var(--w6w-fs-xs);
|
|
3777
|
+
display: flex;
|
|
3778
|
+
flex-direction: column;
|
|
3779
|
+
gap: var(--w6w-sp-1);
|
|
3780
|
+
}
|
|
3781
|
+
|
|
3782
|
+
.w6w-form-problem-link {
|
|
3783
|
+
border: 0;
|
|
3784
|
+
padding: 0;
|
|
3785
|
+
background: transparent;
|
|
3786
|
+
font: inherit;
|
|
3787
|
+
color: inherit;
|
|
3788
|
+
text-align: left;
|
|
3789
|
+
text-decoration: underline;
|
|
3790
|
+
cursor: pointer;
|
|
3791
|
+
}
|
|
3792
|
+
|
|
3793
|
+
.w6w-form-section-label {
|
|
3794
|
+
color: var(--w6w-text);
|
|
3795
|
+
font-weight: var(--w6w-fw-semibold);
|
|
3796
|
+
font-size: var(--w6w-fs-sm);
|
|
3797
|
+
}
|
|
3798
|
+
|
|
3799
|
+
.w6w-form-section-label .w6w-muted {
|
|
3800
|
+
font-weight: normal;
|
|
3801
|
+
}
|
|
3802
|
+
|
|
3803
|
+
.w6w-form-fields {
|
|
3804
|
+
display: flex;
|
|
3805
|
+
flex-direction: column;
|
|
3806
|
+
gap: var(--w6w-sp-1-5);
|
|
3807
|
+
}
|
|
3808
|
+
|
|
3809
|
+
.w6w-form-empty {
|
|
3810
|
+
padding: var(--w6w-sp-4) var(--w6w-sp-3);
|
|
3811
|
+
border: 1px dashed var(--w6w-border);
|
|
3812
|
+
border-radius: 8px;
|
|
3813
|
+
text-align: center;
|
|
3814
|
+
color: var(--w6w-muted);
|
|
3815
|
+
font-size: var(--w6w-fs-sm);
|
|
3816
|
+
}
|
|
3817
|
+
|
|
3818
|
+
.w6w-form-empty.is-drop-target {
|
|
3819
|
+
border-color: var(--w6w-accent);
|
|
3820
|
+
color: var(--w6w-accent);
|
|
3821
|
+
}
|
|
3822
|
+
|
|
3823
|
+
.w6w-form-field {
|
|
3824
|
+
border: 1px solid var(--w6w-border);
|
|
3825
|
+
border-radius: 8px;
|
|
3826
|
+
background: var(--w6w-panel);
|
|
3827
|
+
min-width: 0;
|
|
3828
|
+
}
|
|
3829
|
+
|
|
3830
|
+
.w6w-form-field.is-open {
|
|
3831
|
+
border-color: var(--w6w-accent);
|
|
3832
|
+
}
|
|
3833
|
+
|
|
3834
|
+
.w6w-form-field.is-dragging {
|
|
3835
|
+
opacity: 0.45;
|
|
3836
|
+
}
|
|
3837
|
+
|
|
3838
|
+
.w6w-form-field.is-drop-before {
|
|
3839
|
+
box-shadow: 0 -3px 0 var(--w6w-accent);
|
|
3840
|
+
}
|
|
3841
|
+
|
|
3842
|
+
.w6w-form-field.is-drop-after {
|
|
3843
|
+
box-shadow: 0 3px 0 var(--w6w-accent);
|
|
3844
|
+
}
|
|
3845
|
+
|
|
3846
|
+
.w6w-form-field.is-page-break {
|
|
3847
|
+
border-style: dashed;
|
|
3848
|
+
background: transparent;
|
|
3849
|
+
}
|
|
3850
|
+
|
|
3851
|
+
.w6w-form-field-head {
|
|
3852
|
+
display: flex;
|
|
3853
|
+
align-items: center;
|
|
3854
|
+
gap: var(--w6w-sp-1);
|
|
3855
|
+
padding: var(--w6w-sp-1);
|
|
3856
|
+
}
|
|
3857
|
+
|
|
3858
|
+
.w6w-form-field-summary {
|
|
3859
|
+
flex: 1 1 auto;
|
|
3860
|
+
min-width: 0;
|
|
3861
|
+
display: flex;
|
|
3862
|
+
align-items: center;
|
|
3863
|
+
gap: var(--w6w-sp-2);
|
|
3864
|
+
border: 0;
|
|
3865
|
+
background: transparent;
|
|
3866
|
+
padding: var(--w6w-sp-1);
|
|
3867
|
+
font: inherit;
|
|
3868
|
+
color: var(--w6w-text);
|
|
3869
|
+
text-align: left;
|
|
3870
|
+
cursor: pointer;
|
|
3871
|
+
}
|
|
3872
|
+
|
|
3873
|
+
.w6w-form-field-summary > svg {
|
|
3874
|
+
margin-left: auto;
|
|
3875
|
+
flex-shrink: 0;
|
|
3876
|
+
color: var(--w6w-muted);
|
|
3877
|
+
transition: transform 0.15s;
|
|
3878
|
+
}
|
|
3879
|
+
|
|
3880
|
+
.w6w-form-field.is-open .w6w-form-field-summary > svg {
|
|
3881
|
+
transform: rotate(180deg);
|
|
3882
|
+
}
|
|
3883
|
+
|
|
3884
|
+
.w6w-form-field-type {
|
|
3885
|
+
flex-shrink: 0;
|
|
3886
|
+
min-width: 88px;
|
|
3887
|
+
font-size: var(--w6w-fs-xs);
|
|
3888
|
+
color: var(--w6w-muted);
|
|
3889
|
+
}
|
|
3890
|
+
|
|
3891
|
+
.w6w-form-field-label {
|
|
3892
|
+
min-width: 0;
|
|
3893
|
+
overflow: hidden;
|
|
3894
|
+
text-overflow: ellipsis;
|
|
3895
|
+
white-space: nowrap;
|
|
3896
|
+
font-size: var(--w6w-fs-sm);
|
|
3897
|
+
}
|
|
3898
|
+
|
|
3899
|
+
.w6w-form-req {
|
|
3900
|
+
color: var(--w6w-danger);
|
|
3901
|
+
}
|
|
3902
|
+
|
|
3903
|
+
.w6w-form-field-name {
|
|
3904
|
+
flex-shrink: 1;
|
|
3905
|
+
min-width: 0;
|
|
3906
|
+
overflow: hidden;
|
|
3907
|
+
text-overflow: ellipsis;
|
|
3908
|
+
white-space: nowrap;
|
|
3909
|
+
font-size: var(--w6w-fs-xs);
|
|
3910
|
+
color: var(--w6w-muted);
|
|
3911
|
+
}
|
|
3912
|
+
|
|
3913
|
+
.w6w-form-field-badge {
|
|
3914
|
+
flex-shrink: 0;
|
|
3915
|
+
font-size: var(--w6w-fs-xs);
|
|
3916
|
+
padding: 0 var(--w6w-sp-1);
|
|
3917
|
+
border-radius: 4px;
|
|
3918
|
+
border: 1px solid var(--w6w-border);
|
|
3919
|
+
color: var(--w6w-muted);
|
|
3920
|
+
}
|
|
3921
|
+
|
|
3922
|
+
.w6w-form-field-body {
|
|
3923
|
+
display: flex;
|
|
3924
|
+
flex-direction: column;
|
|
3925
|
+
gap: var(--w6w-sp-2-5);
|
|
3926
|
+
padding: var(--w6w-sp-2) var(--w6w-sp-2-5) var(--w6w-sp-3);
|
|
3927
|
+
border-top: 1px solid var(--w6w-border);
|
|
3928
|
+
}
|
|
3929
|
+
|
|
3930
|
+
.w6w-form-checks {
|
|
3931
|
+
display: flex;
|
|
3932
|
+
flex-wrap: wrap;
|
|
3933
|
+
gap: var(--w6w-sp-2) var(--w6w-sp-4);
|
|
3934
|
+
}
|
|
3935
|
+
|
|
3936
|
+
.w6w-form-check {
|
|
3937
|
+
display: inline-flex;
|
|
3938
|
+
align-items: center;
|
|
3939
|
+
gap: var(--w6w-sp-1-5);
|
|
3940
|
+
font-size: var(--w6w-fs-sm);
|
|
3941
|
+
color: var(--w6w-text);
|
|
3942
|
+
}
|
|
3943
|
+
|
|
3944
|
+
.w6w-form-options {
|
|
3945
|
+
display: flex;
|
|
3946
|
+
flex-direction: column;
|
|
3947
|
+
gap: var(--w6w-sp-1);
|
|
3948
|
+
}
|
|
3949
|
+
|
|
3950
|
+
.w6w-form-option {
|
|
3951
|
+
display: grid;
|
|
3952
|
+
grid-template-columns: auto minmax(0, 2fr) minmax(0, 1fr) auto;
|
|
3953
|
+
gap: var(--w6w-sp-1);
|
|
3954
|
+
align-items: center;
|
|
3955
|
+
}
|
|
3956
|
+
|
|
3957
|
+
.w6w-form-option.is-dragging {
|
|
3958
|
+
opacity: 0.45;
|
|
3959
|
+
}
|
|
3960
|
+
|
|
3961
|
+
.w6w-form-option.is-drop-before {
|
|
3962
|
+
box-shadow: 0 -2px 0 var(--w6w-accent);
|
|
3963
|
+
}
|
|
3964
|
+
|
|
3965
|
+
.w6w-form-option input,
|
|
3966
|
+
.w6w-form-cond select,
|
|
3967
|
+
.w6w-form-cond input,
|
|
3968
|
+
.w6w-form-color input[type=text] {
|
|
3969
|
+
min-width: 0;
|
|
3970
|
+
background: var(--w6w-panel-2);
|
|
3971
|
+
border: 1px solid var(--w6w-border);
|
|
3972
|
+
border-radius: 8px;
|
|
3973
|
+
padding: var(--w6w-sp-1-5) var(--w6w-sp-2);
|
|
3974
|
+
color: var(--w6w-text);
|
|
3975
|
+
font: inherit;
|
|
3976
|
+
font-size: var(--w6w-fs-sm);
|
|
3977
|
+
}
|
|
3978
|
+
|
|
3979
|
+
.w6w-form-cond {
|
|
3980
|
+
display: flex;
|
|
3981
|
+
flex-wrap: wrap;
|
|
3982
|
+
align-items: center;
|
|
3983
|
+
gap: var(--w6w-sp-1-5);
|
|
3984
|
+
padding: var(--w6w-sp-2);
|
|
3985
|
+
border-radius: 8px;
|
|
3986
|
+
background: var(--w6w-panel-2);
|
|
3987
|
+
}
|
|
3988
|
+
|
|
3989
|
+
.w6w-form-cond select,
|
|
3990
|
+
.w6w-form-cond input {
|
|
3991
|
+
background: var(--w6w-panel);
|
|
3992
|
+
flex: 1 1 110px;
|
|
3993
|
+
}
|
|
3994
|
+
|
|
3995
|
+
.w6w-form-cond-add {
|
|
3996
|
+
align-self: flex-start;
|
|
3997
|
+
}
|
|
3998
|
+
|
|
3999
|
+
.w6w-form-group-body {
|
|
4000
|
+
display: flex;
|
|
4001
|
+
flex-direction: column;
|
|
4002
|
+
gap: var(--w6w-sp-2-5);
|
|
4003
|
+
margin-top: var(--w6w-sp-2-5);
|
|
4004
|
+
}
|
|
4005
|
+
|
|
4006
|
+
.w6w-form-color {
|
|
4007
|
+
display: flex;
|
|
4008
|
+
gap: var(--w6w-sp-1);
|
|
4009
|
+
align-items: center;
|
|
4010
|
+
}
|
|
4011
|
+
|
|
4012
|
+
.w6w-form-color input[type=color] {
|
|
4013
|
+
width: 34px;
|
|
4014
|
+
height: 32px;
|
|
4015
|
+
padding: 0;
|
|
4016
|
+
border: 1px solid var(--w6w-border);
|
|
4017
|
+
border-radius: 6px;
|
|
4018
|
+
background: transparent;
|
|
4019
|
+
}
|
|
4020
|
+
|
|
4021
|
+
.w6w-form-color input[type=text] {
|
|
4022
|
+
flex: 1;
|
|
4023
|
+
}
|
|
4024
|
+
|
|
4025
|
+
/* Beats `.w6w-field textarea`'s inherited font: the template's comment columns need monospace. */
|
|
4026
|
+
.w6w-field textarea.w6w-form-css {
|
|
4027
|
+
font-family: var(--w6w-font-mono);
|
|
4028
|
+
font-size: var(--w6w-fs-xs);
|
|
4029
|
+
}
|
|
4030
|
+
|
|
3754
4031
|
.w6w-stepconfig-header {
|
|
3755
4032
|
display: flex;
|
|
3756
4033
|
flex-direction: column;
|
|
@@ -4430,6 +4707,40 @@ input.w6w-stepbuilder-search.w6w-stepbuilder-search:focus {
|
|
|
4430
4707
|
}
|
|
4431
4708
|
|
|
4432
4709
|
/* Webhook "Listen for test event": the waiting row, its pulse, and the folded manual payload. */
|
|
4710
|
+
/* The webhook / form URL panel sits above the step's own form in Configure. */
|
|
4711
|
+
.w6w-url-panel {
|
|
4712
|
+
margin-bottom: var(--w6w-sp-4);
|
|
4713
|
+
}
|
|
4714
|
+
|
|
4715
|
+
.w6w-listen-url {
|
|
4716
|
+
display: flex;
|
|
4717
|
+
align-items: center;
|
|
4718
|
+
gap: var(--w6w-sp-2);
|
|
4719
|
+
}
|
|
4720
|
+
|
|
4721
|
+
.w6w-listen-url > :first-child {
|
|
4722
|
+
flex: 1;
|
|
4723
|
+
min-width: 0;
|
|
4724
|
+
}
|
|
4725
|
+
|
|
4726
|
+
/* A manual webhook (the user adds the URL in the vendor): the warning and the app's own steps. */
|
|
4727
|
+
.w6w-manual-webhook-note {
|
|
4728
|
+
padding: var(--w6w-sp-2) var(--w6w-sp-2-5);
|
|
4729
|
+
border-left: 3px solid var(--w6w-health-degraded);
|
|
4730
|
+
border-radius: 4px;
|
|
4731
|
+
background: var(--w6w-panel-2);
|
|
4732
|
+
color: var(--w6w-text);
|
|
4733
|
+
font-size: var(--w6w-fs-sm);
|
|
4734
|
+
}
|
|
4735
|
+
|
|
4736
|
+
.w6w-manual-webhook-steps ol {
|
|
4737
|
+
margin: var(--w6w-sp-1) 0 0;
|
|
4738
|
+
padding-left: var(--w6w-sp-5);
|
|
4739
|
+
display: flex;
|
|
4740
|
+
flex-direction: column;
|
|
4741
|
+
gap: var(--w6w-sp-1);
|
|
4742
|
+
}
|
|
4743
|
+
|
|
4433
4744
|
.w6w-listen-waiting {
|
|
4434
4745
|
display: flex;
|
|
4435
4746
|
align-items: center;
|
|
@@ -6562,11 +6873,50 @@ button.w6w-rel-open:focus-visible strong {
|
|
|
6562
6873
|
margin: 0;
|
|
6563
6874
|
}
|
|
6564
6875
|
|
|
6565
|
-
|
|
6876
|
+
/* Status tabs (All · Active · Draft · Archived) on the left, the search box on the right;
|
|
6877
|
+
they wrap onto two lines on a narrow panel. */
|
|
6878
|
+
.w6w-callable-list-filters {
|
|
6566
6879
|
display: flex;
|
|
6880
|
+
flex-wrap: wrap;
|
|
6567
6881
|
align-items: center;
|
|
6568
|
-
|
|
6569
|
-
|
|
6882
|
+
justify-content: space-between;
|
|
6883
|
+
gap: var(--w6w-sp-2) var(--w6w-sp-3);
|
|
6884
|
+
}
|
|
6885
|
+
|
|
6886
|
+
/* A fieldset (the tab group), reset to the segmented box `.w6w-subtabs` draws. */
|
|
6887
|
+
.w6w-callable-list-tabs {
|
|
6888
|
+
margin: 0;
|
|
6889
|
+
min-width: 0;
|
|
6890
|
+
}
|
|
6891
|
+
|
|
6892
|
+
.w6w-callable-list-filters .w6w-subtab {
|
|
6893
|
+
display: inline-flex;
|
|
6894
|
+
align-items: center;
|
|
6895
|
+
gap: var(--w6w-sp-1-5);
|
|
6896
|
+
}
|
|
6897
|
+
|
|
6898
|
+
.w6w-callable-list-count {
|
|
6899
|
+
font-size: 11px;
|
|
6900
|
+
font-variant-numeric: tabular-nums;
|
|
6901
|
+
color: var(--w6w-muted);
|
|
6902
|
+
}
|
|
6903
|
+
|
|
6904
|
+
/* Same box as `.w6w-field` inputs: no host page styles a bare search input. */
|
|
6905
|
+
.w6w-callable-list-search {
|
|
6906
|
+
flex: 0 1 240px;
|
|
6907
|
+
min-width: 160px;
|
|
6908
|
+
background: var(--w6w-panel-2);
|
|
6909
|
+
border: 1px solid var(--w6w-border);
|
|
6910
|
+
border-radius: 8px;
|
|
6911
|
+
padding: var(--w6w-sp-1-5) var(--w6w-sp-2-5);
|
|
6912
|
+
color: var(--w6w-text);
|
|
6913
|
+
font-size: var(--w6w-fs-sm);
|
|
6914
|
+
font-family: inherit;
|
|
6915
|
+
}
|
|
6916
|
+
|
|
6917
|
+
.w6w-callable-list-search:focus {
|
|
6918
|
+
outline: none;
|
|
6919
|
+
border-color: var(--w6w-accent);
|
|
6570
6920
|
}
|
|
6571
6921
|
|
|
6572
6922
|
.w6w-callable-list-actions {
|
|
@@ -7323,6 +7673,39 @@ button.w6w-rel-open:focus-visible strong {
|
|
|
7323
7673
|
user-select: all;
|
|
7324
7674
|
}
|
|
7325
7675
|
|
|
7676
|
+
/* AddConnectionModal / EditConnectionModal: domain-wide delegation, spelled out. */
|
|
7677
|
+
.w6w-delegation {
|
|
7678
|
+
display: flex;
|
|
7679
|
+
flex-direction: column;
|
|
7680
|
+
gap: var(--w6w-sp-2);
|
|
7681
|
+
padding: var(--w6w-sp-3);
|
|
7682
|
+
border: 1px solid var(--w6w-border);
|
|
7683
|
+
border-radius: var(--w6w-radius);
|
|
7684
|
+
background: var(--w6w-panel-2);
|
|
7685
|
+
font-size: var(--w6w-fs-sm);
|
|
7686
|
+
}
|
|
7687
|
+
|
|
7688
|
+
.w6w-delegation h4 {
|
|
7689
|
+
margin: 0;
|
|
7690
|
+
font-size: var(--w6w-fs-sm);
|
|
7691
|
+
}
|
|
7692
|
+
|
|
7693
|
+
.w6w-delegation ol {
|
|
7694
|
+
margin: 0;
|
|
7695
|
+
padding-left: var(--w6w-sp-4);
|
|
7696
|
+
display: flex;
|
|
7697
|
+
flex-direction: column;
|
|
7698
|
+
gap: var(--w6w-sp-2);
|
|
7699
|
+
}
|
|
7700
|
+
|
|
7701
|
+
.w6w-delegation .w6w-scopes {
|
|
7702
|
+
margin-top: var(--w6w-sp-1);
|
|
7703
|
+
}
|
|
7704
|
+
|
|
7705
|
+
.w6w-delegation .w6w-scopes code {
|
|
7706
|
+
background: var(--w6w-panel);
|
|
7707
|
+
}
|
|
7708
|
+
|
|
7326
7709
|
/* Data stores (F-2): DataStoreList, ColumnsEditor, CsvPanel and the data-grid/entry rules ported from Studio's Data store detail page. */
|
|
7327
7710
|
.w6w-data-store-list {
|
|
7328
7711
|
display: flex;
|