@bagelink/vue 1.21.22 → 1.21.30
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/{StructuredEditor-CBut_alq.cjs → StructuredEditor-CSpZb-WA.cjs} +2 -2
- package/dist/{StructuredEditor-DVWSlCuv.js → StructuredEditor-Vwn0_hXR.js} +4 -2
- package/dist/StructuredEditor.css +1 -1
- package/dist/components/form/inputs/ArrayInput.vue.d.ts +15 -0
- package/dist/components/form/inputs/ArrayInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/CodeEditor/Index.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/CodeEditor/StructuredEditor.vue.d.ts.map +1 -1
- package/dist/components/layout/AppSidebar.vue.d.ts.map +1 -1
- package/dist/core.css +2 -2
- package/dist/form-flow/FormFlow.vue.d.ts +2 -0
- package/dist/form-flow/FormFlow.vue.d.ts.map +1 -1
- package/dist/form-flow/form-flow.d.ts +34 -0
- package/dist/form-flow/form-flow.d.ts.map +1 -1
- package/dist/i18n/index.d.ts +30 -0
- package/dist/i18n/index.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src-CbQepE2Q.cjs +764 -0
- package/dist/{src-C2dddU0t.js → src-FXpWQVAW.js} +9744 -9589
- package/dist/src.css +1 -1
- package/dist/style.css +2 -2
- package/package.json +2 -2
- package/src/components/form/inputs/ArrayInput.vue +274 -73
- package/src/components/form/inputs/CodeEditor/Index.vue +7 -0
- package/src/components/form/inputs/CodeEditor/StructuredEditor.vue +12 -0
- package/src/components/layout/AppSidebar.vue +3 -2
- package/src/components/layout/SidebarNavItem.vue +3 -3
- package/src/form-flow/FormFlow.vue +31 -3
- package/src/form-flow/form-flow.ts +34 -0
- package/src/i18n/locales/en.json +6 -1
- package/src/i18n/locales/es.json +6 -1
- package/src/i18n/locales/fr.json +6 -1
- package/src/i18n/locales/he.json +6 -1
- package/src/i18n/locales/it.json +6 -1
- package/src/i18n/locales/ru.json +6 -1
- package/dist/src-CF4KCA4n.cjs +0 -764
|
@@ -454,6 +454,23 @@ export const $ = {
|
|
|
454
454
|
max?: number
|
|
455
455
|
simple?: boolean
|
|
456
456
|
reorderOnly?: boolean
|
|
457
|
+
itemLabel?: string
|
|
458
|
+
addText?: string
|
|
459
|
+
emptyText?: string
|
|
460
|
+
/** Show `(n)` next to the field label. Opt-in. */
|
|
461
|
+
showCount?: boolean
|
|
462
|
+
/** Show per-row numbers/labels in non-collapsible mode. Opt-in. */
|
|
463
|
+
showItemNumbers?: boolean
|
|
464
|
+
/** Light border around each non-collapsible row. Opt-in. */
|
|
465
|
+
separated?: boolean
|
|
466
|
+
/** Show EmptyState when the list is empty. Opt-in. */
|
|
467
|
+
showEmptyState?: boolean
|
|
468
|
+
/** Derive Add label from `itemLabel` / “add another…”. Opt-in. */
|
|
469
|
+
smartAddText?: boolean
|
|
470
|
+
/** Border around the whole list (via BagelInputShell `outline`). */
|
|
471
|
+
outline?: boolean
|
|
472
|
+
/** Border around the list that highlights on focus-within (via BagelInputShell `frame`). */
|
|
473
|
+
frame?: boolean
|
|
457
474
|
/** Row insertion order and Add button placement: 'newest-first' (default) or 'oldest-first'. */
|
|
458
475
|
sortOrder?: 'newest-first' | 'oldest-first'
|
|
459
476
|
}),
|
|
@@ -466,6 +483,23 @@ export const $ = {
|
|
|
466
483
|
max?: number
|
|
467
484
|
simple?: boolean
|
|
468
485
|
reorderOnly?: boolean
|
|
486
|
+
itemLabel?: string
|
|
487
|
+
addText?: string
|
|
488
|
+
emptyText?: string
|
|
489
|
+
/** Show `(n)` next to the field label. Opt-in. */
|
|
490
|
+
showCount?: boolean
|
|
491
|
+
/** Show per-row numbers/labels in non-collapsible mode. Opt-in. */
|
|
492
|
+
showItemNumbers?: boolean
|
|
493
|
+
/** Light border around each non-collapsible row. Opt-in. */
|
|
494
|
+
separated?: boolean
|
|
495
|
+
/** Show EmptyState when the list is empty. Opt-in. */
|
|
496
|
+
showEmptyState?: boolean
|
|
497
|
+
/** Derive Add label from `itemLabel` / “add another…”. Opt-in. */
|
|
498
|
+
smartAddText?: boolean
|
|
499
|
+
/** Border around the whole list (via BagelInputShell `outline`). */
|
|
500
|
+
outline?: boolean
|
|
501
|
+
/** Border around the list that highlights on focus-within (via BagelInputShell `frame`). */
|
|
502
|
+
frame?: boolean
|
|
469
503
|
/** Row insertion order and Add button placement: 'newest-first' (default) or 'oldest-first'. */
|
|
470
504
|
sortOrder?: 'newest-first' | 'oldest-first'
|
|
471
505
|
}
|
package/src/i18n/locales/en.json
CHANGED
|
@@ -66,7 +66,12 @@
|
|
|
66
66
|
"loadDefault": "Load Default {label}"
|
|
67
67
|
},
|
|
68
68
|
"arrayInput": {
|
|
69
|
-
"item": "Item"
|
|
69
|
+
"item": "Item",
|
|
70
|
+
"empty": "No items yet",
|
|
71
|
+
"add": "Add",
|
|
72
|
+
"addItem": "Add {item}",
|
|
73
|
+
"addAnother": "Add another",
|
|
74
|
+
"addAnotherItem": "Add another {item}"
|
|
70
75
|
},
|
|
71
76
|
"btn": {
|
|
72
77
|
"loading": "Loading..."
|
package/src/i18n/locales/es.json
CHANGED
|
@@ -65,7 +65,12 @@
|
|
|
65
65
|
"loadDefault": "Cargar {label} predeterminado"
|
|
66
66
|
},
|
|
67
67
|
"arrayInput": {
|
|
68
|
-
"item": "Elemento"
|
|
68
|
+
"item": "Elemento",
|
|
69
|
+
"empty": "Aún no hay elementos",
|
|
70
|
+
"add": "Añadir",
|
|
71
|
+
"addItem": "Añadir {item}",
|
|
72
|
+
"addAnother": "Añadir otro",
|
|
73
|
+
"addAnotherItem": "Añadir otro {item}"
|
|
69
74
|
},
|
|
70
75
|
"btn": {
|
|
71
76
|
"loading": "Cargando..."
|
package/src/i18n/locales/fr.json
CHANGED
|
@@ -65,7 +65,12 @@
|
|
|
65
65
|
"loadDefault": "Charger {label} par défaut"
|
|
66
66
|
},
|
|
67
67
|
"arrayInput": {
|
|
68
|
-
"item": "Élément"
|
|
68
|
+
"item": "Élément",
|
|
69
|
+
"empty": "Aucun élément pour le moment",
|
|
70
|
+
"add": "Ajouter",
|
|
71
|
+
"addItem": "Ajouter {item}",
|
|
72
|
+
"addAnother": "Ajouter un autre",
|
|
73
|
+
"addAnotherItem": "Ajouter un autre {item}"
|
|
69
74
|
},
|
|
70
75
|
"btn": {
|
|
71
76
|
"loading": "Chargement..."
|
package/src/i18n/locales/he.json
CHANGED
|
@@ -66,7 +66,12 @@
|
|
|
66
66
|
"loadDefault": "טען {label} ברירת מחדל"
|
|
67
67
|
},
|
|
68
68
|
"arrayInput": {
|
|
69
|
-
"item": "פריט"
|
|
69
|
+
"item": "פריט",
|
|
70
|
+
"empty": "אין פריטים עדיין",
|
|
71
|
+
"add": "הוסף",
|
|
72
|
+
"addItem": "הוסף {item}",
|
|
73
|
+
"addAnother": "הוסף עוד",
|
|
74
|
+
"addAnotherItem": "הוסף עוד {item}"
|
|
70
75
|
},
|
|
71
76
|
"btn": {
|
|
72
77
|
"loading": "טוען..."
|
package/src/i18n/locales/it.json
CHANGED
|
@@ -65,7 +65,12 @@
|
|
|
65
65
|
"loadDefault": "Carica {label} predefinito"
|
|
66
66
|
},
|
|
67
67
|
"arrayInput": {
|
|
68
|
-
"item": "Elemento"
|
|
68
|
+
"item": "Elemento",
|
|
69
|
+
"empty": "Nessun elemento ancora",
|
|
70
|
+
"add": "Aggiungi",
|
|
71
|
+
"addItem": "Aggiungi {item}",
|
|
72
|
+
"addAnother": "Aggiungi un altro",
|
|
73
|
+
"addAnotherItem": "Aggiungi un altro {item}"
|
|
69
74
|
},
|
|
70
75
|
"btn": {
|
|
71
76
|
"loading": "Caricamento..."
|
package/src/i18n/locales/ru.json
CHANGED
|
@@ -65,7 +65,12 @@
|
|
|
65
65
|
"loadDefault": "Загрузить {label} по умолчанию"
|
|
66
66
|
},
|
|
67
67
|
"arrayInput": {
|
|
68
|
-
"item": "Элемент"
|
|
68
|
+
"item": "Элемент",
|
|
69
|
+
"empty": "Пока нет элементов",
|
|
70
|
+
"add": "Добавить",
|
|
71
|
+
"addItem": "Добавить {item}",
|
|
72
|
+
"addAnother": "Добавить ещё",
|
|
73
|
+
"addAnotherItem": "Добавить ещё {item}"
|
|
69
74
|
},
|
|
70
75
|
"btn": {
|
|
71
76
|
"loading": "Загрузка..."
|