@bagelink/vue 1.21.51 → 1.21.53

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.
Files changed (33) hide show
  1. package/dist/{StructuredEditor-e8PRp7kq.js → StructuredEditor-BUMTloTj.js} +81 -60
  2. package/dist/{StructuredEditor-BUnLClCn.cjs → StructuredEditor-BXzmkBXf.cjs} +2 -2
  3. package/dist/StructuredEditor.css +1 -1
  4. package/dist/components/dataTable/DataTable.vue.d.ts.map +1 -1
  5. package/dist/components/form/inputs/CodeEditor/Index.vue.d.ts.map +1 -1
  6. package/dist/components/form/inputs/CodeEditor/StructuredEditor.vue.d.ts.map +1 -1
  7. package/dist/components/layout/AppSidebar.vue.d.ts.map +1 -1
  8. package/dist/components/layout/SidebarNavCaption.vue.d.ts.map +1 -1
  9. package/dist/core.css +2 -2
  10. package/dist/i18n/index.d.ts +24 -0
  11. package/dist/i18n/index.d.ts.map +1 -1
  12. package/dist/index.cjs +1 -1
  13. package/dist/index.mjs +1 -1
  14. package/dist/{src-BTEY3Itg.js → src-Dtl16wMC.js} +7813 -7786
  15. package/dist/src-fl0F9GQT.cjs +764 -0
  16. package/dist/src.css +1 -1
  17. package/dist/style.css +2 -2
  18. package/dist/types/dataTable.d.ts +2 -2
  19. package/dist/types/dataTable.d.ts.map +1 -1
  20. package/package.json +2 -2
  21. package/src/components/dataTable/DataTable.vue +13 -4
  22. package/src/components/form/inputs/CodeEditor/Index.vue +47 -0
  23. package/src/components/form/inputs/CodeEditor/StructuredEditor.vue +32 -2
  24. package/src/components/layout/AppSidebar.vue +3 -1
  25. package/src/components/layout/SidebarNavCaption.vue +37 -16
  26. package/src/i18n/locales/en.json +4 -0
  27. package/src/i18n/locales/es.json +4 -0
  28. package/src/i18n/locales/fr.json +4 -0
  29. package/src/i18n/locales/he.json +4 -0
  30. package/src/i18n/locales/it.json +4 -0
  31. package/src/i18n/locales/ru.json +4 -0
  32. package/src/types/dataTable.ts +2 -2
  33. package/dist/src-s7k-lOzw.cjs +0 -764
@@ -18,9 +18,9 @@ export interface DataTableProps<T extends {
18
18
  onLastItemVisible?: () => void;
19
19
  /** Icon for the built-in empty state (default: 'inbox'). Pass 'none' to hide. */
20
20
  emptyIcon?: IconType | 'none';
21
- /** Title for the built-in empty state (default: 'No results'). */
21
+ /** Title for the built-in empty state (default: translated 'No results'). Supports `$t:key`. */
22
22
  emptyTitle?: string;
23
- /** Description shown under the empty-state title. */
23
+ /** Description shown under the empty-state title. Supports `$t:key`. */
24
24
  emptyDescription?: string;
25
25
  }
26
26
  export interface SortingOptions {
@@ -1 +1 @@
1
- {"version":3,"file":"dataTable.d.ts","sourceRoot":"","sources":["../../src/types/dataTable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,KAAK,CAAA;AAExD,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,MAAM,CAAA;AAC5C,MAAM,MAAM,UAAU,GAAG,GAAG,MAAM,IAAI,eAAe,EAAE,CAAA;AAEvD,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE;IACxF,IAAI,EAAE,CAAC,EAAE,CAAA;IACT,MAAM,CAAC,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5C,OAAO,CAAC,EAAE,gBAAgB,CAAC,MAAM,EAAE,CAAC,CAAA;IACpC,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,GAAG;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IACxC,iBAAiB,CAAC,EAAE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C,CAAC,EAAE,CAAC,CAAA;IACtB,UAAU,EAAE,MAAM,CAAA;IAClB,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAA;CAC9B;AAED,MAAM,WAAW,gBAAgB,CAAC,CAAC;IAClC,IAAI,EAAE,gBAAgB,CAAC,CAAC,EAAE,CAAC,CAAA;IAC3B,MAAM,CAAC,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5C,OAAO,CAAC,EAAE,gBAAgB,CAAC,MAAM,EAAE,CAAC,CAAA;IACpC,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,eAAe,CAAA;IAC9B,aAAa,CAAC,EAAE,OAAO,CAAA;CACvB"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "1.21.51",
4
+ "version": "1.21.53",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Bagel Studio",
@@ -63,7 +63,7 @@
63
63
  "@types/signature_pad": "^4.0.0",
64
64
  "vue": "^3.5.45",
65
65
  "vue-component-type-helpers": "^2.2.12",
66
- "@bagelink/sdk": "1.21.51"
66
+ "@bagelink/sdk": "1.21.53"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "@bagelink/sdk": "*",
@@ -7,7 +7,9 @@ import {
7
7
  EmptyState,
8
8
  Icon,
9
9
  keyToLabel,
10
- Loading
10
+ Loading,
11
+ resolveI18n,
12
+ useI18n,
11
13
  } from '../../index'
12
14
  import { useSlots, watch, computed, toValue, ref, nextTick, onMounted } from 'vue'
13
15
  import { useSchemaField } from '../../composables/useSchemaField'
@@ -29,6 +31,7 @@ const emit = defineEmits<{
29
31
  }>()
30
32
 
31
33
  const slots: SetupContext['slots'] = useSlots()
34
+ const { $t } = useI18n()
32
35
 
33
36
  const loading = defineModel('loading', { default: false })
34
37
  const itemHeight = defineModel('itemHeight', { default: 50 })
@@ -184,6 +187,12 @@ const headerFontSize = computed(() => {
184
187
  if (!resolvedFontSize.value) return '0.8rem'
185
188
  return `calc(${resolvedFontSize.value} * 0.9)`
186
189
  })
190
+
191
+ const selectAllLabel = computed(() => $t('dataTable.selectAll'))
192
+ const emptyStateTitle = computed(() =>
193
+ resolveI18n(props.emptyTitle) ?? $t('dataTable.noResults'),
194
+ )
195
+ const emptyStateDescription = computed(() => resolveI18n(props.emptyDescription))
187
196
  </script>
188
197
 
189
198
  <template>
@@ -194,7 +203,7 @@ const headerFontSize = computed(() => {
194
203
  <thead class="row first-row">
195
204
  <th v-if="isSortable" class="col-drag" />
196
205
  <th v-if="isSelectable" class="col-check">
197
- <input ref="allSelectorEl" type="checkbox" aria-label="Select all" title="Select all" @click.stop @change="(e) => toggleSelectAll(e)">
206
+ <input ref="allSelectorEl" type="checkbox" :aria-label="selectAllLabel" :title="selectAllLabel" @click.stop @change="(e) => toggleSelectAll(e)">
198
207
  </th>
199
208
  <th
200
209
  v-for="field in computedSchema" :key="field.id" class="col"
@@ -244,8 +253,8 @@ const headerFontSize = computed(() => {
244
253
  <slot v-if="isEmpty" name="empty">
245
254
  <EmptyState
246
255
  :icon="props.emptyIcon ?? 'inbox'"
247
- :title="props.emptyTitle ?? 'No results'"
248
- :description="props.emptyDescription"
256
+ :title="emptyStateTitle"
257
+ :description="emptyStateDescription"
249
258
  class="h-60p"
250
259
  />
251
260
  </slot>
@@ -158,6 +158,8 @@ watch(() => props.modelValue, value => {
158
158
  .code-editor-container.single-line {
159
159
  height: auto;
160
160
  margin-bottom: 0;
161
+ /* Shrink global scrollbar.css rules that read this token. */
162
+ --bgl-scrollbar-size: 3px;
161
163
  }
162
164
  .single-line > :deep(.structured-editor) {
163
165
  height: var(--bgl-input-height);
@@ -166,11 +168,22 @@ watch(() => props.modelValue, value => {
166
168
  border-radius: var(--bgl-input-border-radius);
167
169
  font-size: var(--bgl-input-font-size);
168
170
  }
171
+ .single-line :deep(.structured-editor-host),
172
+ .single-line :deep(.cm-scroller) {
173
+ overflow-x: auto;
174
+ overflow-y: hidden;
175
+ /* Keep scrollbar-* at auto so ::-webkit-scrollbar height/width can apply in Chromium. */
176
+ scrollbar-width: auto;
177
+ scrollbar-color: auto;
178
+ }
169
179
  .single-line :deep(.cm-content) {
170
180
  padding-block: 0;
171
181
  padding-inline: 0.7rem;
172
182
  line-height: var(--bgl-input-height);
173
183
  }
184
+ .single-line :deep(.cm-line) {
185
+ padding-block: 0;
186
+ }
174
187
  .code-editor-container.terminal {
175
188
  padding: 0;
176
189
  margin-bottom: 0;
@@ -196,3 +209,37 @@ watch(() => props.modelValue, value => {
196
209
  padding: 0.75rem;
197
210
  }
198
211
  </style>
212
+
213
+ <!-- Unscoped: Vue scoped :deep() does not reliably style ::-webkit-scrollbar.
214
+ Do not set scrollbar-width/color here — non-auto values disable these rules in Chromium. -->
215
+ <style>
216
+ .code-editor-container.single-line .cm-scroller,
217
+ .code-editor-container.single-line .structured-editor-host {
218
+ scrollbar-width: auto;
219
+ scrollbar-color: auto;
220
+ }
221
+ .code-editor-container.single-line .cm-scroller::-webkit-scrollbar,
222
+ .code-editor-container.single-line .structured-editor-host::-webkit-scrollbar {
223
+ height: 3px !important;
224
+ width: 3px !important;
225
+ }
226
+ .code-editor-container.single-line .cm-scroller::-webkit-scrollbar-track,
227
+ .code-editor-container.single-line .structured-editor-host::-webkit-scrollbar-track {
228
+ background: transparent !important;
229
+ margin: 0 !important;
230
+ }
231
+ .code-editor-container.single-line .cm-scroller::-webkit-scrollbar-thumb,
232
+ .code-editor-container.single-line .structured-editor-host::-webkit-scrollbar-thumb {
233
+ background-color: var(--bgl-scrollbar-thumb, rgba(0, 0, 0, 0.25)) !important;
234
+ border-radius: 1rem !important;
235
+ border: 0 !important;
236
+ background-clip: border-box !important;
237
+ }
238
+ @supports (-moz-appearance: none) {
239
+ .code-editor-container.single-line .cm-scroller,
240
+ .code-editor-container.single-line .structured-editor-host {
241
+ scrollbar-width: thin;
242
+ scrollbar-color: var(--bgl-scrollbar-thumb, rgba(0, 0, 0, 0.25)) transparent;
243
+ }
244
+ }
245
+ </style>
@@ -128,11 +128,32 @@ function extensions(): Extension[] {
128
128
  ...(props.terminal ? { backgroundColor: 'transparent' } : {}),
129
129
  },
130
130
  '.cm-scroller': {
131
- overflow: 'auto',
131
+ overflowX: 'auto',
132
+ overflowY: props.singleLine ? 'hidden' : 'auto',
132
133
  fontFamily: 'inherit',
133
- lineHeight: '1.5',
134
+ lineHeight: props.singleLine ? 'inherit' : '1.5',
134
135
  overscrollBehavior: 'contain',
136
+ // Non-auto scrollbar-* disables ::-webkit-scrollbar sizing in Chromium.
137
+ ...(props.singleLine ? { scrollbarWidth: 'auto', scrollbarColor: 'auto' } : {}),
135
138
  },
139
+ ...(props.singleLine
140
+ ? {
141
+ '& .cm-scroller::-webkit-scrollbar': {
142
+ height: '3px !important',
143
+ width: '3px !important',
144
+ },
145
+ '& .cm-scroller::-webkit-scrollbar-track': {
146
+ background: 'transparent !important',
147
+ margin: '0 !important',
148
+ },
149
+ '& .cm-scroller::-webkit-scrollbar-thumb': {
150
+ backgroundColor: 'var(--bgl-scrollbar-thumb, rgba(0, 0, 0, 0.25)) !important',
151
+ borderRadius: '1rem !important',
152
+ border: '0 !important',
153
+ backgroundClip: 'border-box !important',
154
+ },
155
+ }
156
+ : {}),
136
157
  '.cm-content': {
137
158
  padding: contentPad,
138
159
  fontVariantLigatures: 'none',
@@ -372,6 +393,15 @@ onBeforeUnmount(() => {
372
393
  .structured-editor.single-line {
373
394
  border-radius: var(--bgl-input-border-radius);
374
395
  }
396
+ /* Single-line inputs: allow sideways scroll only — never a vertical scrollbar. */
397
+ .structured-editor.single-line .structured-editor-host {
398
+ overflow-x: auto;
399
+ overflow-y: hidden;
400
+ }
401
+ .structured-editor.single-line :deep(.cm-scroller) {
402
+ overflow-x: auto;
403
+ overflow-y: hidden;
404
+ }
375
405
  .code-terminal-bar {
376
406
  background: rgba(255, 255, 255, 0.04);
377
407
  }
@@ -90,9 +90,11 @@ watch(
90
90
  () => {
91
91
  if (!isMobile.value) {
92
92
  isTransitioning.value = true
93
+ // Keep visual-open through caption phases on open/close
94
+ // (close ~680ms; open width-wait + height + fade ~940ms).
93
95
  setTimeout(() => {
94
96
  isTransitioning.value = false
95
- }, 300)
97
+ }, 1000)
96
98
  }
97
99
  }
98
100
  )
@@ -1,43 +1,64 @@
1
1
  <script lang="ts" setup>
2
2
  /**
3
- * Small muted section caption for a grouped sidebar nav. Rendered inside
4
- * AppSidebar's `nav` slot, between groups of SidebarNavItem. When the sidebar
5
- * collapses, the row animates its height shut so the links below slide up
6
- * instead of jumping.
3
+ * Group caption for AppSidebar's `nav` slot.
4
+ * Close: fade label → shrink height → fade rule in.
5
+ * Open: hide rule → grow height → fade label in.
6
+ * Rule is absolute + opacity-only so it never slides mid-transition.
7
7
  */
8
8
  </script>
9
9
 
10
10
  <template>
11
11
  <div class="sidebar-nav-caption">
12
- <span class="sidebar-nav-caption-label nav-text"><slot /></span>
12
+ <span class="sidebar-nav-caption-label"><slot /></span>
13
+ <span class="sidebar-nav-caption-rule" aria-hidden="true" />
13
14
  </div>
14
15
  </template>
15
16
 
16
17
  <style>
17
18
  .sidebar-nav-caption {
18
- display: grid;
19
- align-self: stretch;
19
+ position: relative;
20
20
  width: 100%;
21
- grid-template-rows: 1fr;
22
- transition: grid-template-rows 0.45s ease;
21
+ overflow: hidden;
22
+ max-height: 2.5rem;
23
+ transition: max-height 0.36s cubic-bezier(0.4, 0, 0.2, 1) 0.36s;
23
24
  }
24
25
 
25
26
  .sidebar-nav-caption-label {
26
- box-sizing: border-box;
27
- width: 100%;
28
- min-height: 0;
29
- text-align: start;
30
- overflow: hidden;
27
+ display: block;
31
28
  font-size: 0.6875rem;
32
29
  line-height: 1;
33
30
  letter-spacing: 0.04em;
34
31
  text-transform: uppercase;
35
32
  font-weight: 500;
36
- opacity: 0.5;
33
+ opacity: 0.4;
37
34
  padding: 0.75rem 0.75rem 0.25rem;
35
+ white-space: nowrap;
36
+ transition: opacity 0.22s ease 0.75s;
37
+ }
38
+
39
+ .sidebar-nav-caption-rule {
40
+ position: absolute;
41
+ inset-inline-start: 50%;
42
+ top: 50%;
43
+ width: 0.875rem;
44
+ height: 1px;
45
+ background: currentColor;
46
+ opacity: 0;
47
+ transform: translate(-50%, -50%);
48
+ transition: opacity 0.1s ease;
38
49
  }
39
50
 
40
51
  .app-sidebar.sidebar-collapsed .sidebar-nav-caption {
41
- grid-template-rows: 0fr;
52
+ max-height: 0.9rem;
53
+ }
54
+
55
+ .app-sidebar.sidebar-collapsed .sidebar-nav-caption-label {
56
+ opacity: 0;
57
+ transition: opacity 0.28s ease;
58
+ }
59
+
60
+ .app-sidebar.sidebar-collapsed .sidebar-nav-caption-rule {
61
+ opacity: 0.22;
62
+ transition: opacity 0.2s ease 0.75s;
42
63
  }
43
64
  </style>
@@ -178,6 +178,10 @@
178
178
  "date": {
179
179
  "invalidFormat": "Invalid date format"
180
180
  },
181
+ "dataTable": {
182
+ "selectAll": "Select all",
183
+ "noResults": "No results"
184
+ },
181
185
  "spreadsheet": {
182
186
  "wrapText": "Wrap Text",
183
187
  "selectAll": "Select All",
@@ -177,6 +177,10 @@
177
177
  "date": {
178
178
  "invalidFormat": "Formato de fecha inválido"
179
179
  },
180
+ "dataTable": {
181
+ "selectAll": "Seleccionar todo",
182
+ "noResults": "Sin resultados"
183
+ },
180
184
  "spreadsheet": {
181
185
  "wrapText": "Ajuste de texto",
182
186
  "selectAll": "Seleccionar todo",
@@ -177,6 +177,10 @@
177
177
  "date": {
178
178
  "invalidFormat": "Format de date invalide"
179
179
  },
180
+ "dataTable": {
181
+ "selectAll": "Tout sélectionner",
182
+ "noResults": "Aucun résultat"
183
+ },
180
184
  "spreadsheet": {
181
185
  "wrapText": "Renvoyer à la ligne",
182
186
  "selectAll": "Tout sélectionner",
@@ -199,6 +199,10 @@
199
199
  "date": {
200
200
  "invalidFormat": "פורמט תאריך לא חוקי"
201
201
  },
202
+ "dataTable": {
203
+ "selectAll": "בחר הכל",
204
+ "noResults": "אין תוצאות"
205
+ },
202
206
  "spreadsheet": {
203
207
  "wrapText": "גלישת טקסט",
204
208
  "selectAll": "בחר הכל",
@@ -177,6 +177,10 @@
177
177
  "date": {
178
178
  "invalidFormat": "Formato data non valido"
179
179
  },
180
+ "dataTable": {
181
+ "selectAll": "Seleziona tutto",
182
+ "noResults": "Nessun risultato"
183
+ },
180
184
  "spreadsheet": {
181
185
  "wrapText": "A capo automatico",
182
186
  "selectAll": "Seleziona tutto",
@@ -177,6 +177,10 @@
177
177
  "date": {
178
178
  "invalidFormat": "Неверный формат даты"
179
179
  },
180
+ "dataTable": {
181
+ "selectAll": "Выбрать всё",
182
+ "noResults": "Нет результатов"
183
+ },
180
184
  "spreadsheet": {
181
185
  "wrapText": "Перенос текста",
182
186
  "selectAll": "Выбрать всё",
@@ -14,9 +14,9 @@ export interface DataTableProps<T extends { [key: string]: any } = { [key: strin
14
14
  onLastItemVisible?: () => void
15
15
  /** Icon for the built-in empty state (default: 'inbox'). Pass 'none' to hide. */
16
16
  emptyIcon?: IconType | 'none'
17
- /** Title for the built-in empty state (default: 'No results'). */
17
+ /** Title for the built-in empty state (default: translated 'No results'). Supports `$t:key`. */
18
18
  emptyTitle?: string
19
- /** Description shown under the empty-state title. */
19
+ /** Description shown under the empty-state title. Supports `$t:key`. */
20
20
  emptyDescription?: string
21
21
  }
22
22