@bagelink/vue 0.0.967-beta.1 → 0.0.968

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/index.cjs CHANGED
@@ -54868,7 +54868,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
54868
54868
  emits: /* @__PURE__ */ vue.mergeModels(["update:selectedItems", "orderBy", "select", "lastItemVisible"], ["update:loading", "update:itemHeight", "update:selectedItems"]),
54869
54869
  setup(__props, { emit: __emit }) {
54870
54870
  vue.useCssVars((_ctx) => ({
54871
- "651c754b": vue.unref(computedItemHeight)
54871
+ "40493826": vue.unref(computedItemHeight)
54872
54872
  }));
54873
54873
  const emit2 = __emit;
54874
54874
  const slots = vue.useSlots();
@@ -54990,8 +54990,9 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
54990
54990
  async function registerLastItemObserver() {
54991
54991
  await until(() => lastItem.value).toBeTruthy();
54992
54992
  useIntersectionObserver(lastItem.value, ([entry]) => {
54993
+ var _a2;
54993
54994
  if (entry.isIntersecting && computedData.value.length) {
54994
- emit2("lastItemVisible");
54995
+ void ((_a2 = __props.onLastItemVisible) == null ? void 0 : _a2.call(__props));
54995
54996
  }
54996
54997
  }, { threshold: 0.5 });
54997
54998
  }
@@ -55098,7 +55099,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
55098
55099
  };
55099
55100
  }
55100
55101
  });
55101
- const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-9025464f"]]);
55102
+ const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-d9f879cc"]]);
55102
55103
  const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
55103
55104
  __name: "Title",
55104
55105
  props: {
package/dist/index.mjs CHANGED
@@ -54866,7 +54866,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
54866
54866
  emits: /* @__PURE__ */ mergeModels(["update:selectedItems", "orderBy", "select", "lastItemVisible"], ["update:loading", "update:itemHeight", "update:selectedItems"]),
54867
54867
  setup(__props, { emit: __emit }) {
54868
54868
  useCssVars((_ctx) => ({
54869
- "651c754b": unref(computedItemHeight)
54869
+ "40493826": unref(computedItemHeight)
54870
54870
  }));
54871
54871
  const emit2 = __emit;
54872
54872
  const slots = useSlots();
@@ -54988,8 +54988,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
54988
54988
  async function registerLastItemObserver() {
54989
54989
  await until(() => lastItem.value).toBeTruthy();
54990
54990
  useIntersectionObserver(lastItem.value, ([entry]) => {
54991
+ var _a2;
54991
54992
  if (entry.isIntersecting && computedData.value.length) {
54992
- emit2("lastItemVisible");
54993
+ void ((_a2 = __props.onLastItemVisible) == null ? void 0 : _a2.call(__props));
54993
54994
  }
54994
54995
  }, { threshold: 0.5 });
54995
54996
  }
@@ -55096,7 +55097,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
55096
55097
  };
55097
55098
  }
55098
55099
  });
55099
- const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-9025464f"]]);
55100
+ const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-d9f879cc"]]);
55100
55101
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
55101
55102
  __name: "Title",
55102
55103
  props: {
package/dist/style.css CHANGED
@@ -3234,22 +3234,22 @@ body:has(.bg-dark.is-active) {
3234
3234
  background: transparent;
3235
3235
  }
3236
3236
 
3237
- .table-list-wrap[data-v-9025464f] {
3237
+ .table-list-wrap[data-v-d9f879cc] {
3238
3238
  min-height: 150px;
3239
3239
  }
3240
- .selected[data-v-9025464f] {
3240
+ .selected[data-v-d9f879cc] {
3241
3241
  background: var(--bgl-primary-tint);
3242
3242
  }
3243
- tbody tr.selected[data-v-9025464f]:hover {
3243
+ tbody tr.selected[data-v-d9f879cc]:hover {
3244
3244
  background: var(--bgl-primary-light);
3245
3245
  }
3246
- .loading-table[data-v-9025464f] {
3246
+ .loading-table[data-v-d9f879cc] {
3247
3247
  position: relative;
3248
3248
  }
3249
- .inset[data-v-9025464f] {
3249
+ .inset[data-v-d9f879cc] {
3250
3250
  inset: 0;
3251
3251
  }
3252
- .loading-table-animation[data-v-9025464f] {
3252
+ .loading-table-animation[data-v-d9f879cc] {
3253
3253
  --size: 60px;
3254
3254
  top: 30vh;
3255
3255
  inset-inline-start: calc(50% - var(--size));
@@ -3257,9 +3257,9 @@ tbody tr.selected[data-v-9025464f]:hover {
3257
3257
  border-top: 4px solid var(--bgl-primary);
3258
3258
  width: var(--size);
3259
3259
  height: var(--size);
3260
- animation: loading-table-9025464f 1s linear infinite;
3260
+ animation: loading-table-d9f879cc 1s linear infinite;
3261
3261
  }
3262
- @keyframes loading-table-9025464f {
3262
+ @keyframes loading-table-d9f879cc {
3263
3263
  0% {
3264
3264
  transform: translate(-50%, -50%) rotate(0deg);
3265
3265
  }
@@ -3267,51 +3267,51 @@ tbody tr.selected[data-v-9025464f]:hover {
3267
3267
  transform: translate(-50%, -50%) rotate(360deg);
3268
3268
  }
3269
3269
  }
3270
- .list-arrows[data-v-9025464f] {
3270
+ .list-arrows[data-v-d9f879cc] {
3271
3271
  opacity: 0;
3272
3272
  }
3273
- .list-arrows .bgl_icon-font[data-v-9025464f] {
3273
+ .list-arrows .bgl_icon-font[data-v-d9f879cc] {
3274
3274
  transition: all ease-in-out 0.2s;
3275
3275
  }
3276
- .list-arrows.sorted[data-v-9025464f] {
3276
+ .list-arrows.sorted[data-v-d9f879cc] {
3277
3277
  opacity: 1;
3278
3278
  }
3279
- .col img[data-v-9025464f] {
3279
+ .col img[data-v-d9f879cc] {
3280
3280
  height: 35px;
3281
3281
  margin-top: -14px;
3282
3282
  margin-bottom: -14px;
3283
3283
  border-radius: 5px;
3284
3284
  }
3285
- .list-arrows.sorted .desc[data-v-9025464f] {
3285
+ .list-arrows.sorted .desc[data-v-d9f879cc] {
3286
3286
  transform: rotate(180deg);
3287
3287
  display: inline-block;
3288
3288
  }
3289
- table[data-v-9025464f] {
3289
+ table[data-v-d9f879cc] {
3290
3290
  border-spacing: 0 15px;
3291
3291
  border-collapse: collapse;
3292
3292
  width: 100%;
3293
3293
  }
3294
- th[data-v-9025464f] {
3294
+ th[data-v-d9f879cc] {
3295
3295
  font-size: 0.8rem;
3296
3296
  color: var(--bgl-black-tint);
3297
3297
  position: sticky;
3298
3298
  top: 0;
3299
3299
  z-index: 2;
3300
3300
  background: var(--bgl-box-bg);
3301
- height: var(--651c754b);
3301
+ height: var(--40493826);
3302
3302
  vertical-align: bottom;
3303
3303
  font-weight: 400;
3304
3304
  text-align: start;
3305
3305
  }
3306
- .embedded-field[data-v-9025464f] {
3306
+ .embedded-field[data-v-d9f879cc] {
3307
3307
  margin-bottom: -0.2rem;
3308
3308
  margin-top: -0.2rem;
3309
3309
  }
3310
- .row[data-v-9025464f] {
3310
+ .row[data-v-d9f879cc] {
3311
3311
  border-bottom: 1px solid var(--border-color);
3312
3312
  cursor: pointer;
3313
3313
  }
3314
- .row.first-row[data-v-9025464f] {
3314
+ .row.first-row[data-v-d9f879cc] {
3315
3315
  font-size: 0.8rem;
3316
3316
  color: var(--bgl-black-tint);
3317
3317
  position: sticky;
@@ -3320,7 +3320,7 @@ th[data-v-9025464f] {
3320
3320
  background: var(--bgl-box-bg);
3321
3321
  vertical-align: bottom;
3322
3322
  }
3323
- .row.first-row[data-v-9025464f]::after {
3323
+ .row.first-row[data-v-d9f879cc]::after {
3324
3324
  content: '';
3325
3325
  border-bottom: 1px solid var(--border-color);
3326
3326
  position: absolute;
@@ -3328,30 +3328,30 @@ th[data-v-9025464f] {
3328
3328
  right: 0;
3329
3329
  bottom: -1px;
3330
3330
  }
3331
- .first-row .col[data-v-9025464f] {
3331
+ .first-row .col[data-v-d9f879cc] {
3332
3332
  cursor: pointer;
3333
3333
  background: var(--bgl-box-bg);
3334
3334
  }
3335
- .col[data-v-9025464f] {
3335
+ .col[data-v-d9f879cc] {
3336
3336
  white-space: nowrap;
3337
3337
  padding: 0.75rem 1rem;
3338
3338
  transition: var(--bgl-transition);
3339
3339
  line-height: 1;
3340
3340
  align-items: center;
3341
3341
  }
3342
- .col[data-v-9025464f]:has(.bagel-input) {
3342
+ .col[data-v-d9f879cc]:has(.bagel-input) {
3343
3343
  padding: 0rem 0.25rem;
3344
3344
  }
3345
- .col > div[data-v-9025464f] {
3345
+ .col > div[data-v-d9f879cc] {
3346
3346
  display: flex;
3347
3347
  gap: 0.5rem;
3348
3348
  }
3349
- .max-col-width[data-v-9025464f] {
3349
+ .max-col-width[data-v-d9f879cc] {
3350
3350
  max-width: 30vw;
3351
3351
  overflow: hidden;
3352
3352
  text-overflow: ellipsis;
3353
3353
  }
3354
- .col.check .bgl_icon-font[data-v-9025464f] {
3354
+ .col.check .bgl_icon-font[data-v-d9f879cc] {
3355
3355
  border-radius: 100%;
3356
3356
  background: var(--bgl-blue-20);
3357
3357
  color: var(--bgl-primary);
@@ -3362,35 +3362,35 @@ th[data-v-9025464f] {
3362
3362
  justify-content: center;
3363
3363
  margin-top: -2px;
3364
3364
  }
3365
- .rows[data-v-9025464f] {
3365
+ .rows[data-v-d9f879cc] {
3366
3366
  font-size: 0.88em;
3367
3367
  }
3368
- .table-list[data-v-9025464f] {
3368
+ .table-list[data-v-d9f879cc] {
3369
3369
  height: 100%;
3370
3370
  position: relative;
3371
3371
  padding-left: 0 !important;
3372
3372
  padding-right: 0 !important;
3373
3373
  overflow: auto;
3374
3374
  }
3375
- .BagelTable .table-list[data-v-9025464f] {
3375
+ .BagelTable .table-list[data-v-d9f879cc] {
3376
3376
  overflow: unset;
3377
3377
  }
3378
- .row-item[data-v-9025464f] {
3379
- height: var(--651c754b);
3378
+ .row-item[data-v-d9f879cc] {
3379
+ height: var(--40493826);
3380
3380
  transition: all 200ms ease;
3381
3381
  }
3382
- .row-item[data-v-9025464f]:hover {
3382
+ .row-item[data-v-d9f879cc]:hover {
3383
3383
  background: var(--bgl-gray-light);
3384
3384
  }
3385
- .row-item input[type='checkbox'][data-v-9025464f] {
3385
+ .row-item input[type='checkbox'][data-v-d9f879cc] {
3386
3386
  margin-top: 0.45rem !important;
3387
3387
  accent-color: var(--bgl-accent-color);
3388
3388
  }
3389
- .infinite-wrapper[data-v-9025464f] {
3389
+ .infinite-wrapper[data-v-d9f879cc] {
3390
3390
  overflow-y: auto;
3391
3391
  width: 100%;
3392
3392
  }
3393
- input[type='checkbox'][data-v-9025464f] {
3393
+ input[type='checkbox'][data-v-d9f879cc] {
3394
3394
  margin-top: 0.3rem !important;
3395
3395
  accent-color: var(--bgl-accent-color);
3396
3396
  transform: scale(1.2);
@@ -3402,7 +3402,7 @@ input[type='checkbox'][data-v-9025464f] {
3402
3402
  height: 0.85rem;
3403
3403
  width: 0.85rem;
3404
3404
  }
3405
- input[type='checkbox'][data-v-9025464f]::before {
3405
+ input[type='checkbox'][data-v-d9f879cc]::before {
3406
3406
  content: '';
3407
3407
  height: 0.85rem;
3408
3408
  width: 0.85rem;
@@ -3415,18 +3415,18 @@ input[type='checkbox'][data-v-9025464f]::before {
3415
3415
  transform: scale(1);
3416
3416
  position: absolute;
3417
3417
  }
3418
- input[type='checkbox'][data-v-9025464f]:hover::before {
3418
+ input[type='checkbox'][data-v-d9f879cc]:hover::before {
3419
3419
  opacity: 0.2;
3420
3420
  transform: scale(2);
3421
3421
  }
3422
- [lang='he'] [dir='ltr'][data-v-9025464f] {
3422
+ [lang='he'] [dir='ltr'][data-v-d9f879cc] {
3423
3423
  text-align: right;
3424
3424
  }
3425
- th input[type='checkbox'][data-v-9025464f] {
3425
+ th input[type='checkbox'][data-v-d9f879cc] {
3426
3426
  transform: translateY(0.2rem) scale(1.2);
3427
3427
  accent-color: var(--bgl-accent-color);
3428
3428
  }
3429
- th[data-v-9025464f]::after {
3429
+ th[data-v-d9f879cc]::after {
3430
3430
  content: '';
3431
3431
  border-bottom: 1px solid var(--border-color);
3432
3432
  position: absolute;
@@ -3434,24 +3434,24 @@ th[data-v-9025464f]::after {
3434
3434
  right: 0;
3435
3435
  bottom: -1px;
3436
3436
  }
3437
- tr[data-v-9025464f] {
3437
+ tr[data-v-d9f879cc] {
3438
3438
  border-bottom: 1px solid var(--border-color);
3439
3439
  cursor: pointer;
3440
3440
  align-items: center;
3441
3441
  }
3442
- td[data-v-9025464f],
3443
- th[data-v-9025464f] {
3442
+ td[data-v-d9f879cc],
3443
+ th[data-v-d9f879cc] {
3444
3444
  white-space: nowrap;
3445
3445
  padding: 0.75rem 0.65rem;
3446
3446
  transition: var(--bgl-transition);
3447
3447
  line-height: 1;
3448
3448
  }
3449
- tbody tr[data-v-9025464f] {
3449
+ tbody tr[data-v-d9f879cc] {
3450
3450
  font-size: 0.88em;
3451
- height: var(--651c754b);
3451
+ height: var(--40493826);
3452
3452
  transition: all 200ms ease;
3453
3453
  }
3454
- tbody tr[data-v-9025464f]:hover {
3454
+ tbody tr[data-v-d9f879cc]:hover {
3455
3455
  background: var(--bgl-gray-light);
3456
3456
  }
3457
3457
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "0.0.967-beta.1",
4
+ "version": "0.0.968",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -196,8 +196,8 @@ async function registerLastItemObserver() {
196
196
 
197
197
  useIntersectionObserver(lastItem, ([entry]) => {
198
198
  if (entry.isIntersecting && computedData.value.length) {
199
- // void onLastItemVisible?.()
200
- emit('lastItemVisible')
199
+ void onLastItemVisible?.()
200
+ // emit('lastItemVisible')
201
201
  }
202
202
  }, { threshold: 0.5 }) }
203
203