@crediblemark/build 0.24.9 → 0.25.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/README.md +88 -152
- package/dist/{ArrayField-ABD3HGQK.css → ArrayField-HGGIE5AL.css} +73 -72
- package/dist/ArrayField-N36WXYIG.mjs +19 -0
- package/dist/{Editor-3EPLDK4J.mjs → Editor-CD7CMRO5.mjs} +7 -7
- package/dist/{ObjectField-RGVFMP6O.css → ObjectField-NKMT3CLS.css} +73 -72
- package/dist/ObjectField-RMXFC6TI.mjs +19 -0
- package/dist/{actions-CEH_5LMY.d.mts → actions-LaZpJ1KE.d.mts} +6 -1
- package/dist/{actions-CEH_5LMY.d.ts → actions-LaZpJ1KE.d.ts} +6 -1
- package/dist/{chunk-NV5F47RH.mjs → chunk-3S3KWE2J.mjs} +7 -7
- package/dist/{chunk-VE6BIQKS.mjs → chunk-BC5TH63U.mjs} +1 -1
- package/dist/{chunk-XLNVCM4Q.mjs → chunk-BPBYJDIJ.mjs} +129 -135
- package/dist/{chunk-5JSNFZKX.mjs → chunk-JKWSSGAY.mjs} +7 -7
- package/dist/{chunk-MFTVX2ME.mjs → chunk-MLM27DOG.mjs} +1 -1
- package/dist/{chunk-VZMLLRBL.mjs → chunk-NJZPPQVT.mjs} +4 -4
- package/dist/{chunk-KUWVOWUV.mjs → chunk-NSDGBGNG.mjs} +1 -1
- package/dist/{chunk-SJLXKGIW.mjs → chunk-OUXISRNA.mjs} +13 -13
- package/dist/{chunk-XQ5K5BWA.mjs → chunk-PQXVFRLA.mjs} +9 -9
- package/dist/{chunk-WH3A7FAR.mjs → chunk-UPNU77XM.mjs} +1 -1
- package/dist/{chunk-YE4FXNJW.mjs → chunk-WEPD3OBO.mjs} +2 -2
- package/dist/{full-SYDEKGLJ.mjs → full-HTQAR5N2.mjs} +5 -5
- package/dist/{index-CkSfgrvw.d.ts → index-Bj2x5pZ7.d.ts} +1 -1
- package/dist/{index-Cxwg4vUV.d.mts → index-CD3PszvP.d.mts} +1 -1
- package/dist/index.css +73 -72
- package/dist/index.d.mts +5 -10
- package/dist/index.d.ts +5 -10
- package/dist/index.js +206 -220
- package/dist/index.mjs +11 -11
- package/dist/internal.d.mts +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/{loaded-NHGZU7V3.mjs → loaded-AHSNCA4P.mjs} +2 -2
- package/dist/{loaded-5JH76RZT.mjs → loaded-CDAPR2WZ.mjs} +2 -2
- package/dist/{loaded-ON5OAY2P.mjs → loaded-Q7N3MNZB.mjs} +2 -2
- package/dist/no-external.css +73 -72
- package/dist/no-external.d.mts +3 -3
- package/dist/no-external.d.ts +3 -3
- package/dist/no-external.js +206 -220
- package/dist/no-external.mjs +11 -11
- package/dist/rsc.d.mts +2 -2
- package/dist/rsc.d.ts +2 -2
- package/dist/{walk-tree-B4ZvMfxS.d.ts → walk-tree-BEw6kTXm.d.ts} +1 -1
- package/dist/{walk-tree-C78ZVz19.d.mts → walk-tree-BO8uRNcW.d.mts} +1 -1
- package/package.json +1 -1
- package/dist/ArrayField-OPQ2CJX7.mjs +0 -19
- package/dist/ObjectField-ITKHRUX2.mjs +0 -19
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ArrayField
|
|
3
|
+
} from "./chunk-NJZPPQVT.mjs";
|
|
4
|
+
import "./chunk-PQXVFRLA.mjs";
|
|
5
|
+
import "./chunk-UPNU77XM.mjs";
|
|
6
|
+
import "./chunk-AL77I3BV.mjs";
|
|
7
|
+
import "./chunk-JKWSSGAY.mjs";
|
|
8
|
+
import "./chunk-MLM27DOG.mjs";
|
|
9
|
+
import "./chunk-NSDGBGNG.mjs";
|
|
10
|
+
import "./chunk-BC5TH63U.mjs";
|
|
11
|
+
import "./chunk-BPBYJDIJ.mjs";
|
|
12
|
+
import "./chunk-64A37UUC.mjs";
|
|
13
|
+
import "./chunk-SMAWAXVX.mjs";
|
|
14
|
+
import "./chunk-BFHV72KK.mjs";
|
|
15
|
+
import "./chunk-7LXZOPYT.mjs";
|
|
16
|
+
import "./chunk-AFVEAZTD.mjs";
|
|
17
|
+
export {
|
|
18
|
+
ArrayField
|
|
19
|
+
};
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
} from "./chunk-DEUK76GN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
LoadedRichTextMenu
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WEPD3OBO.mjs";
|
|
7
7
|
import {
|
|
8
8
|
EditorInner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UPNU77XM.mjs";
|
|
10
10
|
import "./chunk-AL77I3BV.mjs";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-JKWSSGAY.mjs";
|
|
12
|
+
import "./chunk-MLM27DOG.mjs";
|
|
13
|
+
import "./chunk-NSDGBGNG.mjs";
|
|
14
|
+
import "./chunk-BC5TH63U.mjs";
|
|
15
15
|
import {
|
|
16
16
|
useAppStore,
|
|
17
17
|
useAppStoreApi
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-BPBYJDIJ.mjs";
|
|
19
19
|
import "./chunk-64A37UUC.mjs";
|
|
20
20
|
import "./chunk-SMAWAXVX.mjs";
|
|
21
21
|
import "./chunk-BFHV72KK.mjs";
|
|
@@ -53,44 +53,45 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
/* css-module:/home/crediblemark/Project/Credibuild/components/AutoField/styles.module.css/#css-module-data */
|
|
56
|
-
.
|
|
56
|
+
._InputWrapper_rcfsp_1:not(._InputWrapper--object_rcfsp_1):not(._InputWrapper--array_rcfsp_1) {
|
|
57
57
|
border: 1px solid var(--credbuild-color-grey-10);
|
|
58
58
|
border-radius: 5px;
|
|
59
|
-
padding:
|
|
59
|
+
padding: 4px 8px;
|
|
60
60
|
background-color: var(--credbuild-color-white);
|
|
61
61
|
transition: all 0.2s ease;
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
._InputWrapper_rcfsp_1 + ._InputWrapper_rcfsp_1 {
|
|
64
64
|
margin-top: 2px;
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
._InputWrapper_rcfsp_1:not(._InputWrapper--object_rcfsp_1):not(._InputWrapper--array_rcfsp_1):hover {
|
|
67
67
|
border-color: var(--credbuild-color-grey-08);
|
|
68
68
|
background-color: var(--credbuild-color-grey-11);
|
|
69
69
|
}
|
|
70
|
-
._Input-
|
|
70
|
+
._Input-label_rcfsp_18 {
|
|
71
71
|
align-items: center;
|
|
72
|
-
color: var(--credbuild-color-grey-
|
|
72
|
+
color: var(--credbuild-color-grey-06);
|
|
73
73
|
display: flex;
|
|
74
74
|
padding-bottom: 2px;
|
|
75
|
-
font-size:
|
|
75
|
+
font-size: 9px;
|
|
76
76
|
font-weight: 500;
|
|
77
77
|
text-transform: uppercase;
|
|
78
|
-
letter-spacing: 0.
|
|
78
|
+
letter-spacing: 0.08em;
|
|
79
|
+
opacity: 0.7;
|
|
79
80
|
}
|
|
80
|
-
._Input-label--
|
|
81
|
+
._Input-label--noChildren_rcfsp_30 {
|
|
81
82
|
padding-bottom: 0;
|
|
82
83
|
}
|
|
83
|
-
._Input-
|
|
84
|
+
._Input-labelIcon_rcfsp_34 {
|
|
84
85
|
color: var(--credbuild-color-grey-07);
|
|
85
86
|
display: flex;
|
|
86
87
|
margin-inline-end: 4px;
|
|
87
88
|
padding-inline-start: 4px;
|
|
88
89
|
}
|
|
89
|
-
._Input-
|
|
90
|
+
._Input-disabledIcon_rcfsp_41 {
|
|
90
91
|
color: var(--credbuild-color-grey-05);
|
|
91
92
|
margin-inline-start: auto;
|
|
92
93
|
}
|
|
93
|
-
._Input-
|
|
94
|
+
._Input-input_rcfsp_46 {
|
|
94
95
|
background: transparent;
|
|
95
96
|
border: none;
|
|
96
97
|
border-radius: 0;
|
|
@@ -105,11 +106,11 @@
|
|
|
105
106
|
outline: none;
|
|
106
107
|
}
|
|
107
108
|
@media (min-width: 458px) {
|
|
108
|
-
._Input-
|
|
109
|
-
font-size:
|
|
109
|
+
._Input-input_rcfsp_46 {
|
|
110
|
+
font-size: 12px;
|
|
110
111
|
}
|
|
111
112
|
}
|
|
112
|
-
select._Input-
|
|
113
|
+
select._Input-input_rcfsp_46 {
|
|
113
114
|
appearance: none;
|
|
114
115
|
background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23c3c3c3'><polygon points='0,0 100,0 50,50'/></svg>") no-repeat;
|
|
115
116
|
background-size: 12px;
|
|
@@ -118,29 +119,29 @@ select._Input-input_1xuyz_45 {
|
|
|
118
119
|
background-color: var(--credbuild-color-white);
|
|
119
120
|
cursor: pointer;
|
|
120
121
|
}
|
|
121
|
-
select._Input-
|
|
122
|
+
select._Input-input_rcfsp_46:dir(rtl) {
|
|
122
123
|
background-position: 12px calc(50% + 3px);
|
|
123
124
|
}
|
|
124
125
|
@media (hover: hover) and (pointer: fine) {
|
|
125
|
-
.
|
|
126
|
-
.
|
|
126
|
+
._Input_rcfsp_1:has(> input):hover ._Input-input_rcfsp_46:not([readonly]),
|
|
127
|
+
._Input_rcfsp_1:has(> textarea):hover ._Input-input_rcfsp_46:not([readonly]) {
|
|
127
128
|
border-color: var(--credbuild-color-grey-05);
|
|
128
129
|
transition: none;
|
|
129
130
|
}
|
|
130
|
-
.
|
|
131
|
+
._Input_rcfsp_1:has(> select):hover ._Input-input_rcfsp_46:not([disabled]) {
|
|
131
132
|
background-color: var(--credbuild-color-azure-12);
|
|
132
133
|
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%235a5a5a'><polygon points='0,0 100,0 50,50'/></svg>");
|
|
133
134
|
border-color: var(--credbuild-color-grey-05);
|
|
134
135
|
transition: none;
|
|
135
136
|
}
|
|
136
137
|
}
|
|
137
|
-
._Input-
|
|
138
|
+
._Input-input_rcfsp_46:focus {
|
|
138
139
|
border-color: var(--credbuild-color-grey-05);
|
|
139
140
|
outline: 2px solid var(--credbuild-color-azure-05);
|
|
140
141
|
transition: none;
|
|
141
142
|
}
|
|
142
|
-
._Input--
|
|
143
|
-
._Input--
|
|
143
|
+
._Input--readOnly_rcfsp_102 > ._Input-input_rcfsp_46,
|
|
144
|
+
._Input--readOnly_rcfsp_102 > select._Input-input_rcfsp_46 {
|
|
144
145
|
background-color: var(--credbuild-color-grey-11);
|
|
145
146
|
border-color: var(--credbuild-color-grey-09);
|
|
146
147
|
color: var(--credbuild-color-grey-04);
|
|
@@ -149,34 +150,34 @@ select._Input-input_1xuyz_45:dir(rtl) {
|
|
|
149
150
|
outline: 0;
|
|
150
151
|
transition: none;
|
|
151
152
|
}
|
|
152
|
-
._Input-
|
|
153
|
+
._Input-radioGroupItems_rcfsp_113 {
|
|
153
154
|
display: flex;
|
|
154
155
|
border: 1px solid var(--credbuild-color-grey-09);
|
|
155
156
|
border-radius: 4px;
|
|
156
157
|
flex-wrap: wrap;
|
|
157
158
|
}
|
|
158
|
-
._Input-
|
|
159
|
+
._Input-radio_rcfsp_113 {
|
|
159
160
|
border-inline-end: 1px solid var(--credbuild-color-grey-09);
|
|
160
161
|
flex-grow: 1;
|
|
161
162
|
}
|
|
162
|
-
._Input-
|
|
163
|
+
._Input-radio_rcfsp_113:first-of-type {
|
|
163
164
|
border-bottom-left-radius: 4px;
|
|
164
165
|
border-top-left-radius: 4px;
|
|
165
166
|
}
|
|
166
|
-
._Input-
|
|
167
|
+
._Input-radio_rcfsp_113:first-of-type ._Input-radioInner_rcfsp_130 {
|
|
167
168
|
border-bottom-left-radius: 3px;
|
|
168
169
|
border-top-left-radius: 3px;
|
|
169
170
|
}
|
|
170
|
-
._Input-
|
|
171
|
+
._Input-radio_rcfsp_113:last-of-type {
|
|
171
172
|
border-bottom-right-radius: 4px;
|
|
172
173
|
border-inline-end: 0;
|
|
173
174
|
border-top-right-radius: 4px;
|
|
174
175
|
}
|
|
175
|
-
._Input-
|
|
176
|
+
._Input-radio_rcfsp_113:last-of-type ._Input-radioInner_rcfsp_130 {
|
|
176
177
|
border-bottom-right-radius: 3px;
|
|
177
178
|
border-top-right-radius: 3px;
|
|
178
179
|
}
|
|
179
|
-
._Input-
|
|
180
|
+
._Input-radioInner_rcfsp_130 {
|
|
180
181
|
background-color: var(--credbuild-color-white);
|
|
181
182
|
color: var(--credbuild-color-grey-04);
|
|
182
183
|
cursor: pointer;
|
|
@@ -185,32 +186,32 @@ select._Input-input_1xuyz_45:dir(rtl) {
|
|
|
185
186
|
text-align: center;
|
|
186
187
|
transition: background-color 50ms ease-in;
|
|
187
188
|
}
|
|
188
|
-
._Input-
|
|
189
|
+
._Input-radio_rcfsp_113:has(:focus-visible) {
|
|
189
190
|
outline: 2px solid var(--credbuild-color-azure-05);
|
|
190
191
|
outline-offset: 2px;
|
|
191
192
|
position: relative;
|
|
192
193
|
}
|
|
193
194
|
@media (hover: hover) and (pointer: fine) {
|
|
194
|
-
._Input-
|
|
195
|
+
._Input-radioInner_rcfsp_130:hover {
|
|
195
196
|
background-color: var(--credbuild-color-azure-12);
|
|
196
197
|
transition: none;
|
|
197
198
|
}
|
|
198
199
|
}
|
|
199
|
-
._Input--
|
|
200
|
+
._Input--readOnly_rcfsp_102 ._Input-radioInner_rcfsp_130 {
|
|
200
201
|
background-color: var(--credbuild-color-white);
|
|
201
202
|
color: var(--credbuild-color-grey-04);
|
|
202
203
|
cursor: default;
|
|
203
204
|
}
|
|
204
|
-
._Input-
|
|
205
|
+
._Input-radio_rcfsp_113 ._Input-radioInput_rcfsp_175:checked ~ ._Input-radioInner_rcfsp_130 {
|
|
205
206
|
background-color: var(--credbuild-color-azure-11);
|
|
206
207
|
color: var(--credbuild-color-azure-04);
|
|
207
208
|
font-weight: 500;
|
|
208
209
|
}
|
|
209
|
-
._Input--
|
|
210
|
+
._Input--readOnly_rcfsp_102 ._Input-radioInput_rcfsp_175:checked ~ ._Input-radioInner_rcfsp_130 {
|
|
210
211
|
background-color: var(--credbuild-color-grey-11);
|
|
211
212
|
color: var(--credbuild-color-grey-04);
|
|
212
213
|
}
|
|
213
|
-
._Input-
|
|
214
|
+
._Input-radio_rcfsp_113 ._Input-radioInput_rcfsp_175 {
|
|
214
215
|
clip: rect(0 0 0 0);
|
|
215
216
|
clip-path: inset(100%);
|
|
216
217
|
height: 1px;
|
|
@@ -219,7 +220,7 @@ select._Input-input_1xuyz_45:dir(rtl) {
|
|
|
219
220
|
white-space: nowrap;
|
|
220
221
|
width: 1px;
|
|
221
222
|
}
|
|
222
|
-
textarea._Input-
|
|
223
|
+
textarea._Input-input_rcfsp_46 {
|
|
223
224
|
margin-bottom: -4px;
|
|
224
225
|
}
|
|
225
226
|
|
|
@@ -1079,18 +1080,18 @@ textarea._Input-input_1xuyz_45 {
|
|
|
1079
1080
|
}
|
|
1080
1081
|
|
|
1081
1082
|
/* css-module:/home/crediblemark/Project/Credibuild/components/AutoField/fields/ArrayField/styles.module.css/#css-module-data */
|
|
1082
|
-
.
|
|
1083
|
+
._ArrayField_rvhj3_5 {
|
|
1083
1084
|
display: flex;
|
|
1084
1085
|
flex-direction: column;
|
|
1085
1086
|
background: var(--credbuild-color-azure-11);
|
|
1086
1087
|
border: 1px solid var(--credbuild-color-grey-09);
|
|
1087
1088
|
border-radius: 4px;
|
|
1088
1089
|
}
|
|
1089
|
-
._ArrayField--
|
|
1090
|
+
._ArrayField--isDraggingFrom_rvhj3_13 {
|
|
1090
1091
|
background-color: var(--credbuild-color-azure-11);
|
|
1091
1092
|
overflow: hidden;
|
|
1092
1093
|
}
|
|
1093
|
-
._ArrayField-
|
|
1094
|
+
._ArrayField-addButton_rvhj3_18 {
|
|
1094
1095
|
background-color: var(--credbuild-color-white);
|
|
1095
1096
|
border: none;
|
|
1096
1097
|
border-radius: 3px;
|
|
@@ -1104,139 +1105,139 @@ textarea._Input-input_1xuyz_45 {
|
|
|
1104
1105
|
text-align: left;
|
|
1105
1106
|
transition: background-color 50ms ease-in;
|
|
1106
1107
|
}
|
|
1107
|
-
._ArrayField--
|
|
1108
|
+
._ArrayField--hasItems_rvhj3_33 > ._ArrayField-addButton_rvhj3_18 {
|
|
1108
1109
|
border-top: 1px solid var(--credbuild-color-grey-09);
|
|
1109
1110
|
border-top-left-radius: 0;
|
|
1110
1111
|
border-top-right-radius: 0;
|
|
1111
1112
|
}
|
|
1112
|
-
._ArrayField-
|
|
1113
|
+
._ArrayField-addButton_rvhj3_18:focus-visible {
|
|
1113
1114
|
outline: 2px solid var(--credbuild-color-azure-05);
|
|
1114
1115
|
outline-offset: 2px;
|
|
1115
1116
|
position: relative;
|
|
1116
1117
|
}
|
|
1117
1118
|
@media (hover: hover) and (pointer: fine) {
|
|
1118
|
-
.
|
|
1119
|
+
._ArrayField_rvhj3_5:not(._ArrayField--isDraggingFrom_rvhj3_13) > ._ArrayField-addButton_rvhj3_18:hover {
|
|
1119
1120
|
background: var(--credbuild-color-azure-12);
|
|
1120
1121
|
color: var(--credbuild-color-azure-04);
|
|
1121
1122
|
transition: none;
|
|
1122
1123
|
}
|
|
1123
1124
|
}
|
|
1124
|
-
.
|
|
1125
|
+
._ArrayField_rvhj3_5:not(._ArrayField--isDraggingFrom_rvhj3_13) > ._ArrayField-addButton_rvhj3_18:active {
|
|
1125
1126
|
background: var(--credbuild-color-azure-11);
|
|
1126
1127
|
color: var(--credbuild-color-azure-04);
|
|
1127
1128
|
transition: none;
|
|
1128
1129
|
}
|
|
1129
|
-
._ArrayField-
|
|
1130
|
+
._ArrayField-inner_rvhj3_59 {
|
|
1130
1131
|
margin-top: -1px;
|
|
1131
1132
|
}
|
|
1132
|
-
.
|
|
1133
|
+
._ArrayFieldItem_rvhj3_67 {
|
|
1133
1134
|
border-top-left-radius: 3px;
|
|
1134
1135
|
border-top-right-radius: 3px;
|
|
1135
1136
|
display: block;
|
|
1136
1137
|
position: relative;
|
|
1137
1138
|
}
|
|
1138
|
-
.
|
|
1139
|
+
._ArrayFieldItem_rvhj3_67 {
|
|
1139
1140
|
border-top: 1px solid var(--credbuild-color-grey-09);
|
|
1140
1141
|
}
|
|
1141
|
-
._ArrayFieldItem--
|
|
1142
|
+
._ArrayFieldItem--isDragging_rvhj3_78 {
|
|
1142
1143
|
border-top: transparent;
|
|
1143
1144
|
}
|
|
1144
|
-
._ArrayFieldItem--
|
|
1145
|
+
._ArrayFieldItem--isExpanded_rvhj3_82::before {
|
|
1145
1146
|
display: none;
|
|
1146
1147
|
}
|
|
1147
|
-
._ArrayFieldItem--
|
|
1148
|
+
._ArrayFieldItem--isExpanded_rvhj3_82 {
|
|
1148
1149
|
border-bottom: 0;
|
|
1149
1150
|
outline-offset: 0px !important;
|
|
1150
1151
|
outline: 1px solid var(--credbuild-color-azure-07) !important;
|
|
1151
1152
|
z-index: 2;
|
|
1152
1153
|
}
|
|
1153
|
-
._ArrayFieldItem--
|
|
1154
|
+
._ArrayFieldItem--isDragging_rvhj3_78 {
|
|
1154
1155
|
outline: 2px var(--credbuild-color-azure-09) solid !important;
|
|
1155
1156
|
}
|
|
1156
|
-
._ArrayFieldItem--
|
|
1157
|
+
._ArrayFieldItem--isDragging_rvhj3_78 ._ArrayFieldItem-summary_rvhj3_97:active {
|
|
1157
1158
|
background-color: var(--credbuild-color-white);
|
|
1158
1159
|
}
|
|
1159
|
-
.
|
|
1160
|
+
._ArrayFieldItem_rvhj3_67 + ._ArrayFieldItem_rvhj3_67 {
|
|
1160
1161
|
border-top-left-radius: 0;
|
|
1161
1162
|
border-top-right-radius: 0;
|
|
1162
1163
|
}
|
|
1163
|
-
._ArrayFieldItem-
|
|
1164
|
+
._ArrayFieldItem-summary_rvhj3_97 {
|
|
1164
1165
|
background: var(--credbuild-color-white);
|
|
1165
1166
|
color: var(--credbuild-color-grey-04);
|
|
1166
1167
|
cursor: pointer;
|
|
1167
1168
|
display: flex;
|
|
1168
1169
|
align-items: center;
|
|
1169
|
-
gap:
|
|
1170
|
+
gap: 4px;
|
|
1170
1171
|
justify-content: space-between;
|
|
1171
|
-
font-size:
|
|
1172
|
+
font-size: 11px;
|
|
1172
1173
|
list-style: none;
|
|
1173
|
-
padding:
|
|
1174
|
+
padding: 4px 10px;
|
|
1174
1175
|
position: relative;
|
|
1175
1176
|
overflow: hidden;
|
|
1176
1177
|
transition: background-color 50ms ease-in;
|
|
1177
1178
|
}
|
|
1178
|
-
._ArrayFieldItem--
|
|
1179
|
+
._ArrayFieldItem--noFields_rvhj3_122 > ._ArrayFieldItem-summary_rvhj3_97 {
|
|
1179
1180
|
cursor: grab;
|
|
1180
1181
|
}
|
|
1181
|
-
.
|
|
1182
|
+
._ArrayFieldItem_rvhj3_67:first-of-type > ._ArrayFieldItem-summary_rvhj3_97 {
|
|
1182
1183
|
border-top-left-radius: 3px;
|
|
1183
1184
|
border-top-right-radius: 3px;
|
|
1184
1185
|
}
|
|
1185
|
-
._ArrayField--
|
|
1186
|
+
._ArrayField--addDisabled_rvhj3_131 > ._ArrayField-inner_rvhj3_59 > ._ArrayFieldItem_rvhj3_67:last-of-type:not(._ArrayFieldItem--isExpanded_rvhj3_82) > ._ArrayFieldItem-summary_rvhj3_97 {
|
|
1186
1187
|
border-bottom-left-radius: 3px;
|
|
1187
1188
|
border-bottom-right-radius: 3px;
|
|
1188
1189
|
}
|
|
1189
|
-
._ArrayField--
|
|
1190
|
+
._ArrayField--addDisabled_rvhj3_131 > ._ArrayField-inner_rvhj3_59 > ._ArrayFieldItem--isExpanded_rvhj3_82:last-of-type {
|
|
1190
1191
|
border-bottom-left-radius: 3px;
|
|
1191
1192
|
border-bottom-right-radius: 3px;
|
|
1192
1193
|
}
|
|
1193
|
-
._ArrayFieldItem-
|
|
1194
|
+
._ArrayFieldItem-summary_rvhj3_97:focus-visible {
|
|
1194
1195
|
outline: 2px solid var(--credbuild-color-azure-05);
|
|
1195
1196
|
outline-offset: 2px;
|
|
1196
1197
|
}
|
|
1197
1198
|
@media (hover: hover) and (pointer: fine) {
|
|
1198
|
-
._ArrayFieldItem-
|
|
1199
|
+
._ArrayFieldItem-summary_rvhj3_97:hover {
|
|
1199
1200
|
background-color: var(--credbuild-color-azure-12);
|
|
1200
1201
|
transition: none;
|
|
1201
1202
|
}
|
|
1202
1203
|
}
|
|
1203
|
-
._ArrayFieldItem-
|
|
1204
|
+
._ArrayFieldItem-summary_rvhj3_97:active {
|
|
1204
1205
|
background-color: var(--credbuild-color-azure-11);
|
|
1205
1206
|
transition: none;
|
|
1206
1207
|
}
|
|
1207
|
-
._ArrayFieldItem--
|
|
1208
|
+
._ArrayFieldItem--isExpanded_rvhj3_82 > ._ArrayFieldItem-summary_rvhj3_97 {
|
|
1208
1209
|
background: var(--credbuild-color-azure-11);
|
|
1209
1210
|
color: var(--credbuild-color-azure-04);
|
|
1210
1211
|
font-weight: 600;
|
|
1211
1212
|
transition: none;
|
|
1212
1213
|
}
|
|
1213
|
-
._ArrayFieldItem-
|
|
1214
|
+
._ArrayFieldItem-body_rvhj3_170 {
|
|
1214
1215
|
background: var(--credbuild-color-white);
|
|
1215
1216
|
display: none;
|
|
1216
1217
|
}
|
|
1217
|
-
._ArrayFieldItem--
|
|
1218
|
+
._ArrayFieldItem--isExpanded_rvhj3_82 > ._ArrayFieldItem-body_rvhj3_170 {
|
|
1218
1219
|
display: block;
|
|
1219
1220
|
}
|
|
1220
|
-
._ArrayFieldItem-
|
|
1221
|
+
._ArrayFieldItem-fieldset_rvhj3_179 {
|
|
1221
1222
|
border: none;
|
|
1222
1223
|
border-top: 1px solid var(--credbuild-color-grey-09);
|
|
1223
1224
|
margin: 0;
|
|
1224
1225
|
min-width: 0;
|
|
1225
|
-
padding:
|
|
1226
|
+
padding: 6px 10px;
|
|
1226
1227
|
}
|
|
1227
|
-
._ArrayFieldItem-
|
|
1228
|
+
._ArrayFieldItem-rhs_rvhj3_187 {
|
|
1228
1229
|
display: flex;
|
|
1229
1230
|
gap: 4px;
|
|
1230
1231
|
align-items: center;
|
|
1231
1232
|
}
|
|
1232
|
-
._ArrayFieldItem-
|
|
1233
|
+
._ArrayFieldItem-actions_rvhj3_193 {
|
|
1233
1234
|
color: var(--credbuild-color-grey-04);
|
|
1234
1235
|
display: flex;
|
|
1235
1236
|
gap: 4px;
|
|
1236
1237
|
opacity: 0;
|
|
1237
1238
|
}
|
|
1238
|
-
._ArrayFieldItem-
|
|
1239
|
-
._ArrayFieldItem-
|
|
1239
|
+
._ArrayFieldItem-summary_rvhj3_97:focus-within > ._ArrayFieldItem-rhs_rvhj3_187 > ._ArrayFieldItem-actions_rvhj3_193,
|
|
1240
|
+
._ArrayFieldItem-summary_rvhj3_97:hover > ._ArrayFieldItem-rhs_rvhj3_187 > ._ArrayFieldItem-actions_rvhj3_193 {
|
|
1240
1241
|
opacity: 1;
|
|
1241
1242
|
}
|
|
1242
1243
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ObjectField
|
|
3
|
+
} from "./chunk-3S3KWE2J.mjs";
|
|
4
|
+
import "./chunk-PQXVFRLA.mjs";
|
|
5
|
+
import "./chunk-UPNU77XM.mjs";
|
|
6
|
+
import "./chunk-AL77I3BV.mjs";
|
|
7
|
+
import "./chunk-JKWSSGAY.mjs";
|
|
8
|
+
import "./chunk-MLM27DOG.mjs";
|
|
9
|
+
import "./chunk-NSDGBGNG.mjs";
|
|
10
|
+
import "./chunk-BC5TH63U.mjs";
|
|
11
|
+
import "./chunk-BPBYJDIJ.mjs";
|
|
12
|
+
import "./chunk-64A37UUC.mjs";
|
|
13
|
+
import "./chunk-SMAWAXVX.mjs";
|
|
14
|
+
import "./chunk-BFHV72KK.mjs";
|
|
15
|
+
import "./chunk-7LXZOPYT.mjs";
|
|
16
|
+
import "./chunk-AFVEAZTD.mjs";
|
|
17
|
+
export {
|
|
18
|
+
ObjectField
|
|
19
|
+
};
|
|
@@ -180,6 +180,11 @@ interface CredBuildRichTextOptions {
|
|
|
180
180
|
underline: Partial<UnderlineOptions> | false;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
+
interface ResponsiveValue {
|
|
184
|
+
desktop?: number | string;
|
|
185
|
+
tablet?: number | string;
|
|
186
|
+
mobile?: number | string;
|
|
187
|
+
}
|
|
183
188
|
type FieldOption = {
|
|
184
189
|
label: string;
|
|
185
190
|
value: string | number | boolean | undefined | null | object;
|
|
@@ -835,4 +840,4 @@ type CredBuildAction = {
|
|
|
835
840
|
recordHistory?: boolean;
|
|
836
841
|
} & (ReorderAction | InsertAction | MoveAction | ReplaceAction | ReplaceRootAction | RemoveAction | DuplicateAction | SetAction | SetDataAction | SetUiAction | RegisterZoneAction | UnregisterZoneAction);
|
|
837
842
|
|
|
838
|
-
export { type
|
|
843
|
+
export { type DefaultRootProps as $, type AppState as A, type BaseData as B, type CredBuildAction as C, type Data as D, type BaseField as E, type Fields as F, type CacheOpts as G, type History as H, type IframeConfig as I, type ComponentConfigExtensions as J, type ComponentConfigParams as K, type ComponentDataMap as L, type Metadata as M, type ComponentDataOptionalId as N, type OnAction as O, type PrivateAppState as P, type ComponentMetadata as Q, type RootData as R, type ConfigParams as S, type CredBuildComponent as T, type UserGenerics as U, type Viewports as V, type WithId as W, type CredBuildContext as X, type CredBuildMetadata as Y, type CustomField as Z, type CustomFieldRender as _, type Config as a, type DefaultRootRenderProps as a0, type Direction as a1, type DragAxis as a2, type ExternalField as a3, type ExternalFieldWithAdaptor as a4, type ExtractConfigParams as a5, type ExtractField as a6, type FieldMetadata as a7, type FieldRenderFunctions as a8, type FieldTransformFn as a9, type FieldTransformFnParams as aa, type ItemWithId as ab, type MappedItem as ac, type NumberField as ad, type ObjectField as ae, type OverrideKey as af, type RadioField as ag, type RichText as ah, type RootConfig as ai, type RootDataWithoutProps as aj, type SelectField as ak, type Slot as al, type SlotComponent as am, type SlotField as an, type TextField as ao, type TextareaField as ap, type Viewport as aq, type WithChildren as ar, type WithCredBuildProps as as, type WithSlotProps as at, overrideKeys as au, type Content as b, type ComponentData as c, type DefaultComponents as d, type DefaultComponentProps as e, type DefaultRootFieldProps as f, type Permissions as g, type RootDataWithProps as h, type ResolveDataTrigger as i, type Plugin as j, type Overrides as k, type UiState as l, type ComponentConfig as m, type FieldTransforms as n, type RichtextField as o, type Field as p, type FieldProps as q, type ResponsiveValue as r, type DropZoneProps as s, type InitialHistory as t, type ItemSelector as u, type PluginInternal as v, type Adaptor as w, type ArrayField as x, type ArrayState as y, type AsFieldProps as z };
|
|
@@ -180,6 +180,11 @@ interface CredBuildRichTextOptions {
|
|
|
180
180
|
underline: Partial<UnderlineOptions> | false;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
+
interface ResponsiveValue {
|
|
184
|
+
desktop?: number | string;
|
|
185
|
+
tablet?: number | string;
|
|
186
|
+
mobile?: number | string;
|
|
187
|
+
}
|
|
183
188
|
type FieldOption = {
|
|
184
189
|
label: string;
|
|
185
190
|
value: string | number | boolean | undefined | null | object;
|
|
@@ -835,4 +840,4 @@ type CredBuildAction = {
|
|
|
835
840
|
recordHistory?: boolean;
|
|
836
841
|
} & (ReorderAction | InsertAction | MoveAction | ReplaceAction | ReplaceRootAction | RemoveAction | DuplicateAction | SetAction | SetDataAction | SetUiAction | RegisterZoneAction | UnregisterZoneAction);
|
|
837
842
|
|
|
838
|
-
export { type
|
|
843
|
+
export { type DefaultRootProps as $, type AppState as A, type BaseData as B, type CredBuildAction as C, type Data as D, type BaseField as E, type Fields as F, type CacheOpts as G, type History as H, type IframeConfig as I, type ComponentConfigExtensions as J, type ComponentConfigParams as K, type ComponentDataMap as L, type Metadata as M, type ComponentDataOptionalId as N, type OnAction as O, type PrivateAppState as P, type ComponentMetadata as Q, type RootData as R, type ConfigParams as S, type CredBuildComponent as T, type UserGenerics as U, type Viewports as V, type WithId as W, type CredBuildContext as X, type CredBuildMetadata as Y, type CustomField as Z, type CustomFieldRender as _, type Config as a, type DefaultRootRenderProps as a0, type Direction as a1, type DragAxis as a2, type ExternalField as a3, type ExternalFieldWithAdaptor as a4, type ExtractConfigParams as a5, type ExtractField as a6, type FieldMetadata as a7, type FieldRenderFunctions as a8, type FieldTransformFn as a9, type FieldTransformFnParams as aa, type ItemWithId as ab, type MappedItem as ac, type NumberField as ad, type ObjectField as ae, type OverrideKey as af, type RadioField as ag, type RichText as ah, type RootConfig as ai, type RootDataWithoutProps as aj, type SelectField as ak, type Slot as al, type SlotComponent as am, type SlotField as an, type TextField as ao, type TextareaField as ap, type Viewport as aq, type WithChildren as ar, type WithCredBuildProps as as, type WithSlotProps as at, overrideKeys as au, type Content as b, type ComponentData as c, type DefaultComponents as d, type DefaultComponentProps as e, type DefaultRootFieldProps as f, type Permissions as g, type RootDataWithProps as h, type ResolveDataTrigger as i, type Plugin as j, type Overrides as k, type UiState as l, type ComponentConfig as m, type FieldTransforms as n, type RichtextField as o, type Field as p, type FieldProps as q, type ResponsiveValue as r, type DropZoneProps as s, type InitialHistory as t, type ItemSelector as u, type PluginInternal as v, type Adaptor as w, type ArrayField as x, type ArrayState as y, type AsFieldProps as z };
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
getDeep,
|
|
4
4
|
useFieldStoreApi,
|
|
5
5
|
useNestedFieldContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PQXVFRLA.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ChevronDown,
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
ChevronUp,
|
|
10
|
+
LayoutTemplate,
|
|
11
11
|
useAppStore
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BPBYJDIJ.mjs";
|
|
13
13
|
import {
|
|
14
14
|
get_class_name_factory_default
|
|
15
15
|
} from "./chunk-BFHV72KK.mjs";
|
|
@@ -50,10 +50,10 @@ var ObjectField = ({
|
|
|
50
50
|
onClick: () => setIsOpen(!isOpen),
|
|
51
51
|
children: [
|
|
52
52
|
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
53
|
-
labelIcon || /* @__PURE__ */ jsx(
|
|
54
|
-
/* @__PURE__ */ jsx("div", { children: label || name })
|
|
53
|
+
labelIcon || /* @__PURE__ */ jsx(LayoutTemplate, { size: 12, strokeWidth: 2.5 }),
|
|
54
|
+
/* @__PURE__ */ jsx("div", { style: { fontWeight: 600 }, children: label || name })
|
|
55
55
|
] }),
|
|
56
|
-
/* @__PURE__ */ jsx("div", { className: getClassName("headerIcon"), children: isOpen ? /* @__PURE__ */ jsx(
|
|
56
|
+
/* @__PURE__ */ jsx("div", { className: getClassName("headerIcon"), children: isOpen ? /* @__PURE__ */ jsx(ChevronUp, { size: 12, strokeWidth: 2.5 }) : /* @__PURE__ */ jsx(ChevronDown, { size: 12, strokeWidth: 2.5 }) })
|
|
57
57
|
]
|
|
58
58
|
}
|
|
59
59
|
),
|