@bagelink/vue 0.0.1141 → 0.0.1143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/form/BagelForm.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/FileUpload.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/index.vue.d.ts +1 -0
- package/dist/components/form/inputs/RichText/index.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts +0 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts.map +1 -1
- package/dist/index.cjs +133 -121
- package/dist/index.mjs +133 -121
- package/dist/style.css +90 -90
- package/dist/types/BagelForm.d.ts +3 -0
- package/dist/types/BagelForm.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/form/BagelForm.vue +4 -3
- package/src/components/form/inputs/FileUpload.vue +1 -0
- package/src/components/form/inputs/RichText/index.vue +30 -27
- package/src/components/form/inputs/SelectInput.vue +1 -3
- package/src/components/form/inputs/Upload/UploadInput.vue +4 -0
- package/src/types/BagelForm.ts +1 -0
package/dist/style.css
CHANGED
|
@@ -1141,7 +1141,7 @@ pre code.hljs{
|
|
|
1141
1141
|
}
|
|
1142
1142
|
}
|
|
1143
1143
|
|
|
1144
|
-
.fileUploadWrap[data-v-
|
|
1144
|
+
.fileUploadWrap[data-v-d4fb78ee] {
|
|
1145
1145
|
outline: 1px solid var(--border-color);
|
|
1146
1146
|
border-radius: var(--input-border-radius);
|
|
1147
1147
|
text-align: center;
|
|
@@ -1153,7 +1153,7 @@ pre code.hljs{
|
|
|
1153
1153
|
background: var(--input-bg);
|
|
1154
1154
|
height: 215px;
|
|
1155
1155
|
}
|
|
1156
|
-
.bagel-input .fileUploadWrap.fileDropZone[data-v-
|
|
1156
|
+
.bagel-input .fileUploadWrap.fileDropZone[data-v-d4fb78ee] {
|
|
1157
1157
|
background: var(--input-bg);
|
|
1158
1158
|
display: flex;
|
|
1159
1159
|
align-items: center;
|
|
@@ -1161,14 +1161,14 @@ pre code.hljs{
|
|
|
1161
1161
|
color: var(--bgl-gray);
|
|
1162
1162
|
flex-direction: column;
|
|
1163
1163
|
}
|
|
1164
|
-
.fileUploadWrap.dragover[data-v-
|
|
1165
|
-
.fileUploadWrap[data-v-
|
|
1164
|
+
.fileUploadWrap.dragover[data-v-d4fb78ee],
|
|
1165
|
+
.fileUploadWrap[data-v-d4fb78ee]:hover {
|
|
1166
1166
|
box-shadow: inset 0 0 10px #00000012;
|
|
1167
1167
|
}
|
|
1168
|
-
.fileUploadWrap[style*='height: auto;'][data-v-
|
|
1168
|
+
.fileUploadWrap[style*='height: auto;'][data-v-d4fb78ee] {
|
|
1169
1169
|
min-height: 215px;
|
|
1170
1170
|
}
|
|
1171
|
-
.multi-image-item-preview[data-v-
|
|
1171
|
+
.multi-image-item-preview[data-v-d4fb78ee] {
|
|
1172
1172
|
border: 1px solid var(--border-color) !important;
|
|
1173
1173
|
border-radius: var(--input-border-radius);
|
|
1174
1174
|
margin: 0.5rem !important;
|
|
@@ -1182,12 +1182,12 @@ pre code.hljs{
|
|
|
1182
1182
|
gap: 1rem;
|
|
1183
1183
|
align-items: center;
|
|
1184
1184
|
}
|
|
1185
|
-
.multi-image-item-preview p[data-v-
|
|
1185
|
+
.multi-image-item-preview p[data-v-d4fb78ee] {
|
|
1186
1186
|
overflow: hidden;
|
|
1187
1187
|
text-overflow: ellipsis;
|
|
1188
1188
|
white-space: nowrap;
|
|
1189
1189
|
}
|
|
1190
|
-
.multi-preview[data-v-
|
|
1190
|
+
.multi-preview[data-v-d4fb78ee] {
|
|
1191
1191
|
width: 40px;
|
|
1192
1192
|
height: 40px;
|
|
1193
1193
|
border-radius: var(--input-border-radius);
|
|
@@ -1198,17 +1198,17 @@ pre code.hljs{
|
|
|
1198
1198
|
align-items: center;
|
|
1199
1199
|
display: flex;
|
|
1200
1200
|
}
|
|
1201
|
-
.bgl-single-preview[data-v-
|
|
1201
|
+
.bgl-single-preview[data-v-d4fb78ee] {
|
|
1202
1202
|
height: 100%;
|
|
1203
1203
|
position: relative;
|
|
1204
1204
|
}
|
|
1205
|
-
.bgl-single-preview + .fileUploadPlaceHolder[data-v-
|
|
1205
|
+
.bgl-single-preview + .fileUploadPlaceHolder[data-v-d4fb78ee] {
|
|
1206
1206
|
position: absolute;
|
|
1207
1207
|
inset: 0;
|
|
1208
1208
|
margin: auto;
|
|
1209
1209
|
top: calc(50% - 2rem);
|
|
1210
1210
|
}
|
|
1211
|
-
.single-image-item-preview[data-v-
|
|
1211
|
+
.single-image-item-preview[data-v-d4fb78ee] {
|
|
1212
1212
|
height: 100%;
|
|
1213
1213
|
min-height: 100%;
|
|
1214
1214
|
position: relative;
|
|
@@ -1216,13 +1216,13 @@ pre code.hljs{
|
|
|
1216
1216
|
align-items: center;
|
|
1217
1217
|
justify-content: center;
|
|
1218
1218
|
}
|
|
1219
|
-
.fileUploadWrap[style*='height: auto'] .single-image-item-preview[data-v-
|
|
1219
|
+
.fileUploadWrap[style*='height: auto'] .single-image-item-preview[data-v-d4fb78ee] {
|
|
1220
1220
|
min-height: 215px;
|
|
1221
1221
|
}
|
|
1222
|
-
.fileUploadWrap[style*='height: auto'] .single-preview[data-v-
|
|
1222
|
+
.fileUploadWrap[style*='height: auto'] .single-preview[data-v-d4fb78ee] {
|
|
1223
1223
|
margin: 0rem !important;
|
|
1224
1224
|
}
|
|
1225
|
-
.single-preview[data-v-
|
|
1225
|
+
.single-preview[data-v-d4fb78ee] {
|
|
1226
1226
|
border-radius: var(--input-border-radius);
|
|
1227
1227
|
margin: 1rem;
|
|
1228
1228
|
padding: 0px;
|
|
@@ -1232,7 +1232,7 @@ pre code.hljs{
|
|
|
1232
1232
|
background: var(--bgl-gray-light);
|
|
1233
1233
|
width: 90%;
|
|
1234
1234
|
}
|
|
1235
|
-
.single-image-item-preview[data-v-
|
|
1235
|
+
.single-image-item-preview[data-v-d4fb78ee]:hover::after {
|
|
1236
1236
|
content: 'zoom_in';
|
|
1237
1237
|
font-size: 32px;
|
|
1238
1238
|
font-family: 'Material Symbols Outlined', serif;
|
|
@@ -1242,20 +1242,20 @@ pre code.hljs{
|
|
|
1242
1242
|
z-index: 9;
|
|
1243
1243
|
pointer-events: none;
|
|
1244
1244
|
}
|
|
1245
|
-
.single-image-item-preview:hover img[data-v-
|
|
1245
|
+
.single-image-item-preview:hover img[data-v-d4fb78ee] {
|
|
1246
1246
|
filter: brightness(70%);
|
|
1247
1247
|
}
|
|
1248
|
-
.bgl_fill-image.single-image-item-preview[data-v-
|
|
1248
|
+
.bgl_fill-image.single-image-item-preview[data-v-d4fb78ee] {
|
|
1249
1249
|
height: 100%;
|
|
1250
1250
|
}
|
|
1251
|
-
.bgl_fill-image.single-image-item-preview .single-preview[data-v-
|
|
1251
|
+
.bgl_fill-image.single-image-item-preview .single-preview[data-v-d4fb78ee] {
|
|
1252
1252
|
border-radius: unset;
|
|
1253
1253
|
object-fit: cover;
|
|
1254
1254
|
box-shadow: unset;
|
|
1255
1255
|
width: 100%;
|
|
1256
1256
|
height: auto;
|
|
1257
1257
|
}
|
|
1258
|
-
.single-image-item-preview .pie[data-v-
|
|
1258
|
+
.single-image-item-preview .pie[data-v-d4fb78ee] {
|
|
1259
1259
|
transform-origin: top;
|
|
1260
1260
|
transform: scale(1.4);
|
|
1261
1261
|
position: absolute;
|
|
@@ -1269,31 +1269,31 @@ pre code.hljs{
|
|
|
1269
1269
|
border: none !important;
|
|
1270
1270
|
padding: 0 !important;
|
|
1271
1271
|
}
|
|
1272
|
-
.bgl_oval-upload[data-v-
|
|
1272
|
+
.bgl_oval-upload[data-v-d4fb78ee] {
|
|
1273
1273
|
border-radius: 100% !important;
|
|
1274
1274
|
overflow: hidden;
|
|
1275
1275
|
}
|
|
1276
|
-
.bgl_oval-upload p[data-v-
|
|
1276
|
+
.bgl_oval-upload p[data-v-d4fb78ee] {
|
|
1277
1277
|
padding: 0.75rem !important;
|
|
1278
1278
|
font-size: 12px;
|
|
1279
1279
|
}
|
|
1280
|
-
.bgl_oval-upload .fileUploadPlaceHolder[data-v-
|
|
1280
|
+
.bgl_oval-upload .fileUploadPlaceHolder[data-v-d4fb78ee] {
|
|
1281
1281
|
top: 0;
|
|
1282
1282
|
}
|
|
1283
|
-
.bgl_oval-upload .pie[data-v-
|
|
1283
|
+
.bgl_oval-upload .pie[data-v-d4fb78ee] {
|
|
1284
1284
|
transform: scale(1);
|
|
1285
1285
|
}
|
|
1286
|
-
.bgl_oval-upload span.bgl_icon-font.color-primary[data-v-
|
|
1286
|
+
.bgl_oval-upload span.bgl_icon-font.color-primary[data-v-d4fb78ee] {
|
|
1287
1287
|
transform: scale(0.4) !important;
|
|
1288
1288
|
}
|
|
1289
|
-
.bgl_oval-upload .single-image-item-preview[data-v-
|
|
1289
|
+
.bgl_oval-upload .single-image-item-preview[data-v-d4fb78ee] {
|
|
1290
1290
|
height: 100%;
|
|
1291
1291
|
}
|
|
1292
|
-
.bgl_oval-upload .single-preview[data-v-
|
|
1292
|
+
.bgl_oval-upload .single-preview[data-v-d4fb78ee] {
|
|
1293
1293
|
margin: 0;
|
|
1294
1294
|
height: 100% !important;
|
|
1295
1295
|
}
|
|
1296
|
-
.pie[data-v-
|
|
1296
|
+
.pie[data-v-d4fb78ee] {
|
|
1297
1297
|
width: 30px;
|
|
1298
1298
|
height: 30px;
|
|
1299
1299
|
position: relative;
|
|
@@ -1301,7 +1301,7 @@ pre code.hljs{
|
|
|
1301
1301
|
align-items: center;
|
|
1302
1302
|
justify-content: center;
|
|
1303
1303
|
}
|
|
1304
|
-
.pie[data-v-
|
|
1304
|
+
.pie[data-v-d4fb78ee]:before {
|
|
1305
1305
|
content: '';
|
|
1306
1306
|
position: absolute;
|
|
1307
1307
|
border-radius: 50%;
|
|
@@ -1319,26 +1319,26 @@ pre code.hljs{
|
|
|
1319
1319
|
#000 calc(100% - var(--b))
|
|
1320
1320
|
);
|
|
1321
1321
|
}
|
|
1322
|
-
.pie .success[data-v-
|
|
1322
|
+
.pie .success[data-v-d4fb78ee] {
|
|
1323
1323
|
transform: scale(0);
|
|
1324
1324
|
opacity: 0;
|
|
1325
1325
|
transition: all 0.3s ease-in-out;
|
|
1326
1326
|
}
|
|
1327
|
-
.pie .progress[data-v-
|
|
1327
|
+
.pie .progress[data-v-d4fb78ee] {
|
|
1328
1328
|
position: absolute;
|
|
1329
1329
|
font-size: 10px;
|
|
1330
1330
|
}
|
|
1331
|
-
.pie.complete .progress[data-v-
|
|
1331
|
+
.pie.complete .progress[data-v-d4fb78ee] {
|
|
1332
1332
|
display: none;
|
|
1333
1333
|
}
|
|
1334
|
-
.pie.complete .success[data-v-
|
|
1334
|
+
.pie.complete .success[data-v-d4fb78ee] {
|
|
1335
1335
|
transform: scale(1.3);
|
|
1336
1336
|
opacity: 1;
|
|
1337
1337
|
}
|
|
1338
|
-
.pie.complete[data-v-
|
|
1338
|
+
.pie.complete[data-v-d4fb78ee]:before {
|
|
1339
1339
|
background: conic-gradient(var(--bgl-green) calc(var(--p) * 1%), #0000 0);
|
|
1340
1340
|
}
|
|
1341
|
-
.pie.complete[data-v-
|
|
1341
|
+
.pie.complete[data-v-d4fb78ee] {
|
|
1342
1342
|
color: var(--bgl-green);
|
|
1343
1343
|
}
|
|
1344
1344
|
|
|
@@ -1551,26 +1551,26 @@ input[type="range"][data-v-25d991e5]:active::-webkit-slider-thumb {
|
|
|
1551
1551
|
line-height: 1.65;
|
|
1552
1552
|
}
|
|
1553
1553
|
|
|
1554
|
-
.rich-text-editor[data-v-
|
|
1554
|
+
.rich-text-editor[data-v-59d7c73f] {
|
|
1555
1555
|
background: var(--input-bg);
|
|
1556
1556
|
border: 1px solid var(--border-color);
|
|
1557
1557
|
transition: all 0.3s ease;
|
|
1558
1558
|
}
|
|
1559
|
-
.editor-container[data-v-
|
|
1559
|
+
.editor-container[data-v-59d7c73f] {
|
|
1560
1560
|
display: flex;
|
|
1561
1561
|
gap: 1rem;
|
|
1562
1562
|
}
|
|
1563
|
-
.content-area[data-v-
|
|
1564
|
-
.preview-area[data-v-
|
|
1563
|
+
.content-area[data-v-59d7c73f],
|
|
1564
|
+
.preview-area[data-v-59d7c73f] {
|
|
1565
1565
|
flex: 1;
|
|
1566
1566
|
min-height: 200px;
|
|
1567
1567
|
background: var(--bgl-richtext-color);
|
|
1568
1568
|
}
|
|
1569
|
-
.split-view[data-v-
|
|
1569
|
+
.split-view[data-v-59d7c73f] {
|
|
1570
1570
|
display: grid;
|
|
1571
1571
|
grid-template-columns: 1fr 1fr;
|
|
1572
1572
|
}
|
|
1573
|
-
.editableContent[data-v-
|
|
1573
|
+
.editableContent[data-v-59d7c73f] {
|
|
1574
1574
|
width: 100%;
|
|
1575
1575
|
min-height: 240px;
|
|
1576
1576
|
height: 100%;
|
|
@@ -1578,7 +1578,7 @@ line-height: 1.65;
|
|
|
1578
1578
|
outline: none;
|
|
1579
1579
|
background: transparent;
|
|
1580
1580
|
}
|
|
1581
|
-
.html-editor[data-v-
|
|
1581
|
+
.html-editor[data-v-59d7c73f] {
|
|
1582
1582
|
width: 100%;
|
|
1583
1583
|
height: 100%;
|
|
1584
1584
|
min-height: 200px;
|
|
@@ -1589,12 +1589,12 @@ line-height: 1.65;
|
|
|
1589
1589
|
color: white;
|
|
1590
1590
|
background-color: var(--bgl-black);
|
|
1591
1591
|
}
|
|
1592
|
-
.preview-area[data-v-
|
|
1592
|
+
.preview-area[data-v-59d7c73f] {
|
|
1593
1593
|
font-family: monospace;
|
|
1594
1594
|
white-space: pre-wrap;
|
|
1595
1595
|
overflow-x: auto;
|
|
1596
1596
|
}
|
|
1597
|
-
.fullscreen-mode[data-v-
|
|
1597
|
+
.fullscreen-mode[data-v-59d7c73f] {
|
|
1598
1598
|
position: fixed;
|
|
1599
1599
|
top: 0;
|
|
1600
1600
|
left: 0;
|
|
@@ -1603,28 +1603,28 @@ line-height: 1.65;
|
|
|
1603
1603
|
z-index: 9999;
|
|
1604
1604
|
padding: 2rem;
|
|
1605
1605
|
}
|
|
1606
|
-
.fullscreen-mode .editor-container[data-v-
|
|
1606
|
+
.fullscreen-mode .editor-container[data-v-59d7c73f] {
|
|
1607
1607
|
height: calc(100vh - 4rem);
|
|
1608
1608
|
}
|
|
1609
|
-
.fullscreen-mode .content-area[data-v-
|
|
1610
|
-
.fullscreen-mode .preview-area[data-v-
|
|
1609
|
+
.fullscreen-mode .content-area[data-v-59d7c73f],
|
|
1610
|
+
.fullscreen-mode .preview-area[data-v-59d7c73f] {
|
|
1611
1611
|
height: 100%;
|
|
1612
1612
|
overflow-y: auto;
|
|
1613
1613
|
}
|
|
1614
|
-
.fullscreen-mode .code-editor[data-v-
|
|
1614
|
+
.fullscreen-mode .code-editor[data-v-59d7c73f]{
|
|
1615
1615
|
height: 100% !important;
|
|
1616
1616
|
}
|
|
1617
|
-
.debug-controls[data-v-
|
|
1617
|
+
.debug-controls[data-v-59d7c73f] {
|
|
1618
1618
|
display: flex;
|
|
1619
1619
|
gap: 0.5rem;
|
|
1620
1620
|
justify-content: flex-end;
|
|
1621
1621
|
}
|
|
1622
1622
|
.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper__popper{z-index:10000;top:0;left:0;outline:none}.v-popper__popper.v-popper__popper--hidden{visibility:hidden;opacity:0;transition:opacity .15s,visibility .15s;pointer-events:none}.v-popper__popper.v-popper__popper--shown{visibility:visible;opacity:1;transition:opacity .15s}.v-popper__popper.v-popper__popper--skip-transition,.v-popper__popper.v-popper__popper--skip-transition>.v-popper__wrapper{transition:none!important}.v-popper__backdrop{position:absolute;top:0;left:0;width:100%;height:100%;display:none}.v-popper__inner{position:relative;box-sizing:border-box;overflow-y:auto}.v-popper__inner>div{position:relative;z-index:1;max-width:inherit;max-height:inherit}.v-popper__arrow-container{position:absolute;width:10px;height:10px}.v-popper__popper--arrow-overflow .v-popper__arrow-container,.v-popper__popper--no-positioning .v-popper__arrow-container{display:none}.v-popper__arrow-inner,.v-popper__arrow-outer{border-style:solid;position:absolute;top:0;left:0;width:0;height:0}.v-popper__arrow-inner{visibility:hidden;border-width:7px}.v-popper__arrow-outer{border-width:6px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{left:-2px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{left:-1px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer{border-bottom-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:0}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{border-top-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{top:-4px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{top:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{top:-1px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{border-left-width:0;border-left-color:transparent!important;border-top-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{left:-4px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{left:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-10px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer{border-right-width:0;border-top-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner{left:-2px}.v-popper--theme-tooltip .v-popper__inner{background:rgba(0,0,0,.8);color:#fff;border-radius:6px;padding:7px 12px 6px}.v-popper--theme-tooltip .v-popper__arrow-outer{border-color:#000c}.v-popper--theme-dropdown .v-popper__inner{background:#fff;color:#000;border-radius:6px;border:1px solid #ddd;box-shadow:0 6px 30px #0000001a}.v-popper--theme-dropdown .v-popper__arrow-inner{visibility:visible;border-color:#fff}.v-popper--theme-dropdown .v-popper__arrow-outer{border-color:#ddd}
|
|
1623
1623
|
|
|
1624
|
-
.selectinput[data-v-
|
|
1624
|
+
.selectinput[data-v-70535216] {
|
|
1625
1625
|
width: 100%;
|
|
1626
1626
|
}
|
|
1627
|
-
.selectinput-option[data-v-
|
|
1627
|
+
.selectinput-option[data-v-70535216] {
|
|
1628
1628
|
padding: 6px 12px;
|
|
1629
1629
|
cursor: pointer;
|
|
1630
1630
|
border-radius: 5px;
|
|
@@ -1636,23 +1636,23 @@ line-height: 1.65;
|
|
|
1636
1636
|
font-size: var(--input-font-size);
|
|
1637
1637
|
margin-block: 0.15rem;
|
|
1638
1638
|
}
|
|
1639
|
-
.selectinput-option .bgl_icon-font[data-v-
|
|
1639
|
+
.selectinput-option .bgl_icon-font[data-v-70535216]{
|
|
1640
1640
|
line-height: normal;
|
|
1641
1641
|
}
|
|
1642
|
-
.selectinput-options.multiselect .selectinput-option[data-v-
|
|
1642
|
+
.selectinput-options.multiselect .selectinput-option[data-v-70535216] {
|
|
1643
1643
|
grid-template-columns: 10px 1fr;
|
|
1644
1644
|
}
|
|
1645
|
-
.selectinput-options[data-v-
|
|
1645
|
+
.selectinput-options[data-v-70535216] {
|
|
1646
1646
|
max-height: 300px;
|
|
1647
1647
|
overflow-y: auto;
|
|
1648
1648
|
}
|
|
1649
|
-
.selectinput-option[data-v-
|
|
1649
|
+
.selectinput-option[data-v-70535216]:hover, .highlight[data-v-70535216] {
|
|
1650
1650
|
background: var(--bgl-gray-20);
|
|
1651
1651
|
}
|
|
1652
|
-
.isEmpty p[data-v-
|
|
1652
|
+
.isEmpty p[data-v-70535216] {
|
|
1653
1653
|
opacity: 0.3;
|
|
1654
1654
|
}
|
|
1655
|
-
.selected[data-v-
|
|
1655
|
+
.selected[data-v-70535216]{
|
|
1656
1656
|
/* background: var(--bgl-primary-tint); */
|
|
1657
1657
|
background: var(--bgl-selected);
|
|
1658
1658
|
}
|
|
@@ -2027,7 +2027,7 @@ line-height: 1.65;
|
|
|
2027
2027
|
.bgl-toggle input:checked + label[data-v-ebe691ee] {
|
|
2028
2028
|
color: var(--bgl-primary) !important;
|
|
2029
2029
|
}
|
|
2030
|
-
.fileUploadWrap[data-v-
|
|
2030
|
+
.fileUploadWrap[data-v-0d93d910] {
|
|
2031
2031
|
outline: 1px solid var(--border-color);
|
|
2032
2032
|
border-radius: var(--input-border-radius);
|
|
2033
2033
|
text-align: center;
|
|
@@ -2039,7 +2039,7 @@ line-height: 1.65;
|
|
|
2039
2039
|
background: var(--input-bg);
|
|
2040
2040
|
height: 215px;
|
|
2041
2041
|
}
|
|
2042
|
-
.bagel-input .fileUploadWrap.fileDropZone[data-v-
|
|
2042
|
+
.bagel-input .fileUploadWrap.fileDropZone[data-v-0d93d910] {
|
|
2043
2043
|
background: var(--input-bg);
|
|
2044
2044
|
display: flex;
|
|
2045
2045
|
align-items: center;
|
|
@@ -2047,14 +2047,14 @@ line-height: 1.65;
|
|
|
2047
2047
|
color: var(--bgl-gray);
|
|
2048
2048
|
flex-direction: column;
|
|
2049
2049
|
}
|
|
2050
|
-
.fileUploadWrap.dragover[data-v-
|
|
2051
|
-
.fileUploadWrap[data-v-
|
|
2050
|
+
.fileUploadWrap.dragover[data-v-0d93d910],
|
|
2051
|
+
.fileUploadWrap[data-v-0d93d910]:hover {
|
|
2052
2052
|
box-shadow: inset 0 0 10px #00000012;
|
|
2053
2053
|
}
|
|
2054
|
-
.fileUploadWrap[style*='height: auto;'][data-v-
|
|
2054
|
+
.fileUploadWrap[style*='height: auto;'][data-v-0d93d910] {
|
|
2055
2055
|
min-height: 215px;
|
|
2056
2056
|
}
|
|
2057
|
-
.multi-image-item-preview[data-v-
|
|
2057
|
+
.multi-image-item-preview[data-v-0d93d910] {
|
|
2058
2058
|
border: 1px solid var(--border-color) !important;
|
|
2059
2059
|
border-radius: var(--input-border-radius);
|
|
2060
2060
|
margin: 0.5rem !important;
|
|
@@ -2068,12 +2068,12 @@ line-height: 1.65;
|
|
|
2068
2068
|
gap: 1rem;
|
|
2069
2069
|
align-items: center;
|
|
2070
2070
|
}
|
|
2071
|
-
.multi-image-item-preview p[data-v-
|
|
2071
|
+
.multi-image-item-preview p[data-v-0d93d910] {
|
|
2072
2072
|
overflow: hidden;
|
|
2073
2073
|
text-overflow: ellipsis;
|
|
2074
2074
|
white-space: nowrap;
|
|
2075
2075
|
}
|
|
2076
|
-
.multi-preview[data-v-
|
|
2076
|
+
.multi-preview[data-v-0d93d910] {
|
|
2077
2077
|
width: 40px;
|
|
2078
2078
|
height: 40px;
|
|
2079
2079
|
border-radius: var(--input-border-radius);
|
|
@@ -2084,17 +2084,17 @@ line-height: 1.65;
|
|
|
2084
2084
|
align-items: center;
|
|
2085
2085
|
display: flex;
|
|
2086
2086
|
}
|
|
2087
|
-
.bgl-single-preview[data-v-
|
|
2087
|
+
.bgl-single-preview[data-v-0d93d910] {
|
|
2088
2088
|
height: 100%;
|
|
2089
2089
|
position: relative;
|
|
2090
2090
|
}
|
|
2091
|
-
.bgl-single-preview + .fileUploadPlaceHolder[data-v-
|
|
2091
|
+
.bgl-single-preview + .fileUploadPlaceHolder[data-v-0d93d910] {
|
|
2092
2092
|
position: absolute;
|
|
2093
2093
|
inset: 0;
|
|
2094
2094
|
margin: auto;
|
|
2095
2095
|
top: calc(50% - 2rem);
|
|
2096
2096
|
}
|
|
2097
|
-
.single-image-item-preview[data-v-
|
|
2097
|
+
.single-image-item-preview[data-v-0d93d910] {
|
|
2098
2098
|
height: 100%;
|
|
2099
2099
|
min-height: 100%;
|
|
2100
2100
|
position: relative;
|
|
@@ -2102,13 +2102,13 @@ line-height: 1.65;
|
|
|
2102
2102
|
align-items: center;
|
|
2103
2103
|
justify-content: center;
|
|
2104
2104
|
}
|
|
2105
|
-
.fileUploadWrap[style*='height: auto'] .single-image-item-preview[data-v-
|
|
2105
|
+
.fileUploadWrap[style*='height: auto'] .single-image-item-preview[data-v-0d93d910] {
|
|
2106
2106
|
min-height: 215px;
|
|
2107
2107
|
}
|
|
2108
|
-
.fileUploadWrap[style*='height: auto'] .single-preview[data-v-
|
|
2108
|
+
.fileUploadWrap[style*='height: auto'] .single-preview[data-v-0d93d910] {
|
|
2109
2109
|
margin: 0rem !important;
|
|
2110
2110
|
}
|
|
2111
|
-
.single-preview[data-v-
|
|
2111
|
+
.single-preview[data-v-0d93d910] {
|
|
2112
2112
|
border-radius: var(--input-border-radius);
|
|
2113
2113
|
margin: 1rem;
|
|
2114
2114
|
padding: 0px;
|
|
@@ -2118,7 +2118,7 @@ line-height: 1.65;
|
|
|
2118
2118
|
background: var(--bgl-gray-light);
|
|
2119
2119
|
width: 90%;
|
|
2120
2120
|
}
|
|
2121
|
-
.single-image-item-preview[data-v-
|
|
2121
|
+
.single-image-item-preview[data-v-0d93d910]:hover::after {
|
|
2122
2122
|
content: 'zoom_in';
|
|
2123
2123
|
font-size: 32px;
|
|
2124
2124
|
font-family: 'Material Symbols Outlined', serif;
|
|
@@ -2128,20 +2128,20 @@ line-height: 1.65;
|
|
|
2128
2128
|
z-index: 9;
|
|
2129
2129
|
pointer-events: none;
|
|
2130
2130
|
}
|
|
2131
|
-
.single-image-item-preview:hover img[data-v-
|
|
2131
|
+
.single-image-item-preview:hover img[data-v-0d93d910] {
|
|
2132
2132
|
filter: brightness(70%);
|
|
2133
2133
|
}
|
|
2134
|
-
.bgl_fill-image.single-image-item-preview[data-v-
|
|
2134
|
+
.bgl_fill-image.single-image-item-preview[data-v-0d93d910] {
|
|
2135
2135
|
height: 100%;
|
|
2136
2136
|
}
|
|
2137
|
-
.bgl_fill-image.single-image-item-preview .single-preview[data-v-
|
|
2137
|
+
.bgl_fill-image.single-image-item-preview .single-preview[data-v-0d93d910] {
|
|
2138
2138
|
border-radius: unset;
|
|
2139
2139
|
object-fit: cover;
|
|
2140
2140
|
box-shadow: unset;
|
|
2141
2141
|
width: 100%;
|
|
2142
2142
|
height: auto;
|
|
2143
2143
|
}
|
|
2144
|
-
.single-image-item-preview .pie[data-v-
|
|
2144
|
+
.single-image-item-preview .pie[data-v-0d93d910] {
|
|
2145
2145
|
transform-origin: top;
|
|
2146
2146
|
transform: scale(1.4);
|
|
2147
2147
|
position: absolute;
|
|
@@ -2155,31 +2155,31 @@ line-height: 1.65;
|
|
|
2155
2155
|
border: none !important;
|
|
2156
2156
|
padding: 0 !important;
|
|
2157
2157
|
}
|
|
2158
|
-
.bgl_oval-upload[data-v-
|
|
2158
|
+
.bgl_oval-upload[data-v-0d93d910] {
|
|
2159
2159
|
border-radius: 100% !important;
|
|
2160
2160
|
overflow: hidden;
|
|
2161
2161
|
}
|
|
2162
|
-
.bgl_oval-upload p[data-v-
|
|
2162
|
+
.bgl_oval-upload p[data-v-0d93d910] {
|
|
2163
2163
|
padding: 0.75rem !important;
|
|
2164
2164
|
font-size: 12px;
|
|
2165
2165
|
}
|
|
2166
|
-
.bgl_oval-upload .fileUploadPlaceHolder[data-v-
|
|
2166
|
+
.bgl_oval-upload .fileUploadPlaceHolder[data-v-0d93d910] {
|
|
2167
2167
|
top: 0;
|
|
2168
2168
|
}
|
|
2169
|
-
.bgl_oval-upload .pie[data-v-
|
|
2169
|
+
.bgl_oval-upload .pie[data-v-0d93d910] {
|
|
2170
2170
|
transform: scale(1);
|
|
2171
2171
|
}
|
|
2172
|
-
.bgl_oval-upload span.bgl_icon-font.color-primary[data-v-
|
|
2172
|
+
.bgl_oval-upload span.bgl_icon-font.color-primary[data-v-0d93d910] {
|
|
2173
2173
|
transform: scale(0.4) !important;
|
|
2174
2174
|
}
|
|
2175
|
-
.bgl_oval-upload .single-image-item-preview[data-v-
|
|
2175
|
+
.bgl_oval-upload .single-image-item-preview[data-v-0d93d910] {
|
|
2176
2176
|
height: 100%;
|
|
2177
2177
|
}
|
|
2178
|
-
.bgl_oval-upload .single-preview[data-v-
|
|
2178
|
+
.bgl_oval-upload .single-preview[data-v-0d93d910] {
|
|
2179
2179
|
margin: 0;
|
|
2180
2180
|
height: 100% !important;
|
|
2181
2181
|
}
|
|
2182
|
-
.pie[data-v-
|
|
2182
|
+
.pie[data-v-0d93d910] {
|
|
2183
2183
|
width: 30px;
|
|
2184
2184
|
height: 30px;
|
|
2185
2185
|
position: relative;
|
|
@@ -2187,7 +2187,7 @@ line-height: 1.65;
|
|
|
2187
2187
|
align-items: center;
|
|
2188
2188
|
justify-content: center;
|
|
2189
2189
|
}
|
|
2190
|
-
.pie[data-v-
|
|
2190
|
+
.pie[data-v-0d93d910]:before {
|
|
2191
2191
|
content: '';
|
|
2192
2192
|
position: absolute;
|
|
2193
2193
|
border-radius: 50%;
|
|
@@ -2205,26 +2205,26 @@ line-height: 1.65;
|
|
|
2205
2205
|
#000 calc(100% - var(--b))
|
|
2206
2206
|
);
|
|
2207
2207
|
}
|
|
2208
|
-
.pie .success[data-v-
|
|
2208
|
+
.pie .success[data-v-0d93d910] {
|
|
2209
2209
|
transform: scale(0);
|
|
2210
2210
|
opacity: 0;
|
|
2211
2211
|
transition: all 0.3s ease-in-out;
|
|
2212
2212
|
}
|
|
2213
|
-
.pie .progress[data-v-
|
|
2213
|
+
.pie .progress[data-v-0d93d910] {
|
|
2214
2214
|
position: absolute;
|
|
2215
2215
|
font-size: 10px;
|
|
2216
2216
|
}
|
|
2217
|
-
.pie.complete .progress[data-v-
|
|
2217
|
+
.pie.complete .progress[data-v-0d93d910] {
|
|
2218
2218
|
display: none;
|
|
2219
2219
|
}
|
|
2220
|
-
.pie.complete .success[data-v-
|
|
2220
|
+
.pie.complete .success[data-v-0d93d910] {
|
|
2221
2221
|
transform: scale(1.3);
|
|
2222
2222
|
opacity: 1;
|
|
2223
2223
|
}
|
|
2224
|
-
.pie.complete[data-v-
|
|
2224
|
+
.pie.complete[data-v-0d93d910]:before {
|
|
2225
2225
|
background: conic-gradient(var(--bgl-green) calc(var(--p) * 1%), #0000 0);
|
|
2226
2226
|
}
|
|
2227
|
-
.pie.complete[data-v-
|
|
2227
|
+
.pie.complete[data-v-0d93d910] {
|
|
2228
2228
|
color: var(--bgl-green);
|
|
2229
2229
|
}
|
|
2230
2230
|
|
|
@@ -31,6 +31,9 @@ export interface BaseBagelField<T = {
|
|
|
31
31
|
'disabled'?: boolean;
|
|
32
32
|
'helptext'?: string;
|
|
33
33
|
'options'?: BagelFieldOptions<T>;
|
|
34
|
+
'slots'?: {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
};
|
|
34
37
|
'defaultValue'?: any;
|
|
35
38
|
'transform'?: (val?: any, rowData?: T) => any;
|
|
36
39
|
'onUpdate'?: (val: any, rowData?: T) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BagelForm.d.ts","sourceRoot":"","sources":["../../src/types/BagelForm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAE3D,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAAA;AAEvG,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG;IAAE,C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AG,eAAe,CAAC,CAAC,CAAC,CAAA;CAC7C;AAED,MAAM,WAAW,eAAe,CAAC,CAAC,CAAE,SAAQ,cAAc,CAAC,CAAC,CAAC;IAC5D,GAAG,EAAE,MAAM,GAAG,OAAO,SAAS,CAAA;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,gBAAgB,CAAC,CAAC,CAAE,SAAQ,cAAc,CAAC,CAAC,CAAC;IAC7D,GAAG,EAAE,QAAQ,GAAG,OAAO,WAAW,CAAA;IAClC,EAAE,EAAE,MAAM,CAAA;CACV;AAED,MAAM,MAAM,KAAK,CAAC,CAAC,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,IAAI,cAAc,CAAC,CAAC,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAA;AAC5G,MAAM,MAAM,SAAS,CAAC,CAAC,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,IAAI,KAAK,CAAC,CAAC,CAAC,CAAA;AAE5D,MAAM,MAAM,cAAc,CAAC,CAAC,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,IAAI,KAAK,CAAC,CAAC,CAAC,EAAE,CAAA;AAEnE,MAAM,MAAM,gBAAgB,CAAC,CAAC,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,IAAI,CAAC,MAAM,cAAc,CAAC,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -144,9 +144,10 @@ function renderSchemaField(field: Field): VNode | null {
|
|
|
144
144
|
? {
|
|
145
145
|
default: () => field.children!
|
|
146
146
|
.map(child => typeof child === 'string' ? child : renderSchemaField(child))
|
|
147
|
-
.filter(Boolean)
|
|
147
|
+
.filter(Boolean),
|
|
148
|
+
...field.slots
|
|
148
149
|
}
|
|
149
|
-
:
|
|
150
|
+
: field.slots
|
|
150
151
|
|
|
151
152
|
return h(Component as any, props, slots)
|
|
152
153
|
}
|
|
@@ -170,7 +171,7 @@ defineExpose({ form, isDirty, validateForm })
|
|
|
170
171
|
<template>
|
|
171
172
|
<form ref="form" @submit.prevent="handleSubmit">
|
|
172
173
|
<template v-if="resolvedSchema">
|
|
173
|
-
<template v-for="(field
|
|
174
|
+
<template v-for="(field) in resolvedSchema" :key="field.id">
|
|
174
175
|
<component :is="renderSchemaField(field)" />
|
|
175
176
|
</template>
|
|
176
177
|
</template>
|
|
@@ -7,7 +7,7 @@ import { useCommands } from './composables/useCommands'
|
|
|
7
7
|
import { useEditor } from './composables/useEditor'
|
|
8
8
|
import { useEditorKeyboard } from './composables/useEditorKeyboard'
|
|
9
9
|
|
|
10
|
-
const props = defineProps<{ modelValue: string, toolbarConfig?: ToolbarConfig, debug?: boolean }>()
|
|
10
|
+
const props = defineProps<{ modelValue: string, toolbarConfig?: ToolbarConfig, debug?: boolean, label?: string }>()
|
|
11
11
|
const emit = defineEmits(['update:modelValue'])
|
|
12
12
|
|
|
13
13
|
const iframe = $ref<HTMLIFrameElement>()
|
|
@@ -86,33 +86,36 @@ watch(() => editor.state.content, (newValue) => {
|
|
|
86
86
|
</script>
|
|
87
87
|
|
|
88
88
|
<template>
|
|
89
|
-
<div class="
|
|
90
|
-
<
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
<div class="content-area radius-05">
|
|
96
|
-
<iframe id="rich-text-iframe" ref="iframe" class="editableContent" title="Editor" @load="initEditor" />
|
|
97
|
-
</div>
|
|
98
|
-
<CodeEditor
|
|
99
|
-
v-if="editor.state.isSplitView" v-model="editor.state.content" language="html"
|
|
100
|
-
@update:modelValue="editor.updateContent('html')"
|
|
89
|
+
<div class="bagel-input">
|
|
90
|
+
<label>{{ label }}</label>
|
|
91
|
+
<div class="rich-text-editor rounded pt-05 px-05 pb-075 mb-05" :class="{ 'fullscreen-mode': editor.state.isFullscreen }">
|
|
92
|
+
<EditorToolbar
|
|
93
|
+
v-if="editor.state.hasInit" :config="toolbarConfig" :selectedStyles="editor.state.selectedStyles"
|
|
94
|
+
@action="commands.execute"
|
|
101
95
|
/>
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
96
|
+
<div class="editor-container" :class="{ 'split-view': editor.state.isSplitView }">
|
|
97
|
+
<div class="content-area radius-05">
|
|
98
|
+
<iframe id="rich-text-iframe" ref="iframe" class="editableContent" title="Editor" @load="initEditor" />
|
|
99
|
+
</div>
|
|
100
|
+
<CodeEditor
|
|
101
|
+
v-if="editor.state.isSplitView" v-model="editor.state.content" language="html"
|
|
102
|
+
@update:modelValue="editor.updateContent('html')"
|
|
103
|
+
/>
|
|
104
|
+
</div>
|
|
105
|
+
<div v-if="debug" class="flex">
|
|
106
|
+
<p class="text12 txt-gray mb-0 p-0">
|
|
107
|
+
Debug
|
|
108
|
+
</p>
|
|
109
|
+
<Btn thin color="gray" icon="delete" @click="debugMethods?.clearSession">
|
|
110
|
+
Clear Session
|
|
111
|
+
</Btn>
|
|
112
|
+
<Btn thin color="gray" icon="download" @click="debugMethods?.downloadSession">
|
|
113
|
+
Download Log
|
|
114
|
+
</Btn>
|
|
115
|
+
<Btn thin color="gray" icon="content_copy" @click="copyText(debugMethods?.exportDebugWithPrompt() || '')">
|
|
116
|
+
Copy Log
|
|
117
|
+
</Btn>
|
|
118
|
+
</div>
|
|
116
119
|
</div>
|
|
117
120
|
</div>
|
|
118
121
|
</template>
|