@bagelink/vue 0.0.927 → 0.0.933

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.mjs CHANGED
@@ -533,7 +533,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
533
533
  const props2 = __props;
534
534
  const is4 = computed(() => props2.to ? "router-link" : "div");
535
535
  return (_ctx, _cache) => {
536
- return openBlock(), createBlock(resolveDynamicComponent(is4.value), {
536
+ const _directive_ripple = resolveDirective("ripple");
537
+ return withDirectives((openBlock(), createBlock(resolveDynamicComponent(is4.value), {
537
538
  to: _ctx.to,
538
539
  class: normalizeClass(["bgl_card", {
539
540
  thin: _ctx.thin,
@@ -549,7 +550,9 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
549
550
  renderSlot(_ctx.$slots, "default")
550
551
  ]),
551
552
  _: 3
552
- }, 8, ["to", "class"]);
553
+ }, 8, ["to", "class"])), [
554
+ [_directive_ripple, !!_ctx.to]
555
+ ]);
553
556
  };
554
557
  }
555
558
  });
@@ -1360,7 +1363,6 @@ function _indexOf(list, a2, idx) {
1360
1363
  return -1;
1361
1364
  }
1362
1365
  return list.indexOf(a2, idx);
1363
- // all these types can utilise Set
1364
1366
  case "string":
1365
1367
  case "boolean":
1366
1368
  case "function":
@@ -3275,7 +3277,6 @@ Linear.prototype = {
3275
3277
  break;
3276
3278
  case 1:
3277
3279
  this._point = 2;
3278
- // falls through
3279
3280
  default:
3280
3281
  this._context.lineTo(x2, y2);
3281
3282
  break;
@@ -3624,7 +3625,6 @@ Step$1.prototype = {
3624
3625
  break;
3625
3626
  case 1:
3626
3627
  this._point = 2;
3627
- // falls through
3628
3628
  default: {
3629
3629
  if (this._t <= 0) {
3630
3630
  this._context.lineTo(this._x, y2);
@@ -10966,15 +10966,12 @@ const formatters = {
10966
10966
  G: function(date2, token, localize2) {
10967
10967
  const era = date2.getFullYear() > 0 ? 1 : 0;
10968
10968
  switch (token) {
10969
- // AD, BC
10970
10969
  case "G":
10971
10970
  case "GG":
10972
10971
  case "GGG":
10973
10972
  return localize2.era(era, { width: "abbreviated" });
10974
- // A, B
10975
10973
  case "GGGGG":
10976
10974
  return localize2.era(era, { width: "narrow" });
10977
- // Anno Domini, Before Christ
10978
10975
  case "GGGG":
10979
10976
  default:
10980
10977
  return localize2.era(era, { width: "wide" });
@@ -11024,28 +11021,22 @@ const formatters = {
11024
11021
  Q: function(date2, token, localize2) {
11025
11022
  const quarter = Math.ceil((date2.getMonth() + 1) / 3);
11026
11023
  switch (token) {
11027
- // 1, 2, 3, 4
11028
11024
  case "Q":
11029
11025
  return String(quarter);
11030
- // 01, 02, 03, 04
11031
11026
  case "QQ":
11032
11027
  return addLeadingZeros(quarter, 2);
11033
- // 1st, 2nd, 3rd, 4th
11034
11028
  case "Qo":
11035
11029
  return localize2.ordinalNumber(quarter, { unit: "quarter" });
11036
- // Q1, Q2, Q3, Q4
11037
11030
  case "QQQ":
11038
11031
  return localize2.quarter(quarter, {
11039
11032
  width: "abbreviated",
11040
11033
  context: "formatting"
11041
11034
  });
11042
- // 1, 2, 3, 4 (narrow quarter; could be not numerical)
11043
11035
  case "QQQQQ":
11044
11036
  return localize2.quarter(quarter, {
11045
11037
  width: "narrow",
11046
11038
  context: "formatting"
11047
11039
  });
11048
- // 1st quarter, 2nd quarter, ...
11049
11040
  case "QQQQ":
11050
11041
  default:
11051
11042
  return localize2.quarter(quarter, {
@@ -11058,28 +11049,22 @@ const formatters = {
11058
11049
  q: function(date2, token, localize2) {
11059
11050
  const quarter = Math.ceil((date2.getMonth() + 1) / 3);
11060
11051
  switch (token) {
11061
- // 1, 2, 3, 4
11062
11052
  case "q":
11063
11053
  return String(quarter);
11064
- // 01, 02, 03, 04
11065
11054
  case "qq":
11066
11055
  return addLeadingZeros(quarter, 2);
11067
- // 1st, 2nd, 3rd, 4th
11068
11056
  case "qo":
11069
11057
  return localize2.ordinalNumber(quarter, { unit: "quarter" });
11070
- // Q1, Q2, Q3, Q4
11071
11058
  case "qqq":
11072
11059
  return localize2.quarter(quarter, {
11073
11060
  width: "abbreviated",
11074
11061
  context: "standalone"
11075
11062
  });
11076
- // 1, 2, 3, 4 (narrow quarter; could be not numerical)
11077
11063
  case "qqqqq":
11078
11064
  return localize2.quarter(quarter, {
11079
11065
  width: "narrow",
11080
11066
  context: "standalone"
11081
11067
  });
11082
- // 1st quarter, 2nd quarter, ...
11083
11068
  case "qqqq":
11084
11069
  default:
11085
11070
  return localize2.quarter(quarter, {
@@ -11095,22 +11080,18 @@ const formatters = {
11095
11080
  case "M":
11096
11081
  case "MM":
11097
11082
  return lightFormatters.M(date2, token);
11098
- // 1st, 2nd, ..., 12th
11099
11083
  case "Mo":
11100
11084
  return localize2.ordinalNumber(month + 1, { unit: "month" });
11101
- // Jan, Feb, ..., Dec
11102
11085
  case "MMM":
11103
11086
  return localize2.month(month, {
11104
11087
  width: "abbreviated",
11105
11088
  context: "formatting"
11106
11089
  });
11107
- // J, F, ..., D
11108
11090
  case "MMMMM":
11109
11091
  return localize2.month(month, {
11110
11092
  width: "narrow",
11111
11093
  context: "formatting"
11112
11094
  });
11113
- // January, February, ..., December
11114
11095
  case "MMMM":
11115
11096
  default:
11116
11097
  return localize2.month(month, { width: "wide", context: "formatting" });
@@ -11120,28 +11101,22 @@ const formatters = {
11120
11101
  L: function(date2, token, localize2) {
11121
11102
  const month = date2.getMonth();
11122
11103
  switch (token) {
11123
- // 1, 2, ..., 12
11124
11104
  case "L":
11125
11105
  return String(month + 1);
11126
- // 01, 02, ..., 12
11127
11106
  case "LL":
11128
11107
  return addLeadingZeros(month + 1, 2);
11129
- // 1st, 2nd, ..., 12th
11130
11108
  case "Lo":
11131
11109
  return localize2.ordinalNumber(month + 1, { unit: "month" });
11132
- // Jan, Feb, ..., Dec
11133
11110
  case "LLL":
11134
11111
  return localize2.month(month, {
11135
11112
  width: "abbreviated",
11136
11113
  context: "standalone"
11137
11114
  });
11138
- // J, F, ..., D
11139
11115
  case "LLLLL":
11140
11116
  return localize2.month(month, {
11141
11117
  width: "narrow",
11142
11118
  context: "standalone"
11143
11119
  });
11144
- // January, February, ..., December
11145
11120
  case "LLLL":
11146
11121
  default:
11147
11122
  return localize2.month(month, { width: "wide", context: "standalone" });
@@ -11182,7 +11157,6 @@ const formatters = {
11182
11157
  E: function(date2, token, localize2) {
11183
11158
  const dayOfWeek = date2.getDay();
11184
11159
  switch (token) {
11185
- // Tue
11186
11160
  case "E":
11187
11161
  case "EE":
11188
11162
  case "EEE":
@@ -11190,19 +11164,16 @@ const formatters = {
11190
11164
  width: "abbreviated",
11191
11165
  context: "formatting"
11192
11166
  });
11193
- // T
11194
11167
  case "EEEEE":
11195
11168
  return localize2.day(dayOfWeek, {
11196
11169
  width: "narrow",
11197
11170
  context: "formatting"
11198
11171
  });
11199
- // Tu
11200
11172
  case "EEEEEE":
11201
11173
  return localize2.day(dayOfWeek, {
11202
11174
  width: "short",
11203
11175
  context: "formatting"
11204
11176
  });
11205
- // Tuesday
11206
11177
  case "EEEE":
11207
11178
  default:
11208
11179
  return localize2.day(dayOfWeek, {
@@ -11216,13 +11187,10 @@ const formatters = {
11216
11187
  const dayOfWeek = date2.getDay();
11217
11188
  const localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;
11218
11189
  switch (token) {
11219
- // Numerical value (Nth day of week with current locale or weekStartsOn)
11220
11190
  case "e":
11221
11191
  return String(localDayOfWeek);
11222
- // Padded numerical value
11223
11192
  case "ee":
11224
11193
  return addLeadingZeros(localDayOfWeek, 2);
11225
- // 1st, 2nd, ..., 7th
11226
11194
  case "eo":
11227
11195
  return localize2.ordinalNumber(localDayOfWeek, { unit: "day" });
11228
11196
  case "eee":
@@ -11230,19 +11198,16 @@ const formatters = {
11230
11198
  width: "abbreviated",
11231
11199
  context: "formatting"
11232
11200
  });
11233
- // T
11234
11201
  case "eeeee":
11235
11202
  return localize2.day(dayOfWeek, {
11236
11203
  width: "narrow",
11237
11204
  context: "formatting"
11238
11205
  });
11239
- // Tu
11240
11206
  case "eeeeee":
11241
11207
  return localize2.day(dayOfWeek, {
11242
11208
  width: "short",
11243
11209
  context: "formatting"
11244
11210
  });
11245
- // Tuesday
11246
11211
  case "eeee":
11247
11212
  default:
11248
11213
  return localize2.day(dayOfWeek, {
@@ -11256,13 +11221,10 @@ const formatters = {
11256
11221
  const dayOfWeek = date2.getDay();
11257
11222
  const localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;
11258
11223
  switch (token) {
11259
- // Numerical value (same as in `e`)
11260
11224
  case "c":
11261
11225
  return String(localDayOfWeek);
11262
- // Padded numerical value
11263
11226
  case "cc":
11264
11227
  return addLeadingZeros(localDayOfWeek, token.length);
11265
- // 1st, 2nd, ..., 7th
11266
11228
  case "co":
11267
11229
  return localize2.ordinalNumber(localDayOfWeek, { unit: "day" });
11268
11230
  case "ccc":
@@ -11270,19 +11232,16 @@ const formatters = {
11270
11232
  width: "abbreviated",
11271
11233
  context: "standalone"
11272
11234
  });
11273
- // T
11274
11235
  case "ccccc":
11275
11236
  return localize2.day(dayOfWeek, {
11276
11237
  width: "narrow",
11277
11238
  context: "standalone"
11278
11239
  });
11279
- // Tu
11280
11240
  case "cccccc":
11281
11241
  return localize2.day(dayOfWeek, {
11282
11242
  width: "short",
11283
11243
  context: "standalone"
11284
11244
  });
11285
- // Tuesday
11286
11245
  case "cccc":
11287
11246
  default:
11288
11247
  return localize2.day(dayOfWeek, {
@@ -11296,34 +11255,27 @@ const formatters = {
11296
11255
  const dayOfWeek = date2.getDay();
11297
11256
  const isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek;
11298
11257
  switch (token) {
11299
- // 2
11300
11258
  case "i":
11301
11259
  return String(isoDayOfWeek);
11302
- // 02
11303
11260
  case "ii":
11304
11261
  return addLeadingZeros(isoDayOfWeek, token.length);
11305
- // 2nd
11306
11262
  case "io":
11307
11263
  return localize2.ordinalNumber(isoDayOfWeek, { unit: "day" });
11308
- // Tue
11309
11264
  case "iii":
11310
11265
  return localize2.day(dayOfWeek, {
11311
11266
  width: "abbreviated",
11312
11267
  context: "formatting"
11313
11268
  });
11314
- // T
11315
11269
  case "iiiii":
11316
11270
  return localize2.day(dayOfWeek, {
11317
11271
  width: "narrow",
11318
11272
  context: "formatting"
11319
11273
  });
11320
- // Tu
11321
11274
  case "iiiiii":
11322
11275
  return localize2.day(dayOfWeek, {
11323
11276
  width: "short",
11324
11277
  context: "formatting"
11325
11278
  });
11326
- // Tuesday
11327
11279
  case "iiii":
11328
11280
  default:
11329
11281
  return localize2.day(dayOfWeek, {
@@ -11489,21 +11441,13 @@ const formatters = {
11489
11441
  return "Z";
11490
11442
  }
11491
11443
  switch (token) {
11492
- // Hours and optional minutes
11493
11444
  case "X":
11494
11445
  return formatTimezoneWithOptionalMinutes(timezoneOffset);
11495
- // Hours, minutes and optional seconds without `:` delimiter
11496
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
11497
- // so this token always has the same output as `XX`
11498
11446
  case "XXXX":
11499
11447
  case "XX":
11500
11448
  return formatTimezone(timezoneOffset);
11501
- // Hours, minutes and optional seconds with `:` delimiter
11502
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
11503
- // so this token always has the same output as `XXX`
11504
11449
  case "XXXXX":
11505
11450
  case "XXX":
11506
- // Hours and minutes with `:` delimiter
11507
11451
  default:
11508
11452
  return formatTimezone(timezoneOffset, ":");
11509
11453
  }
@@ -11512,21 +11456,13 @@ const formatters = {
11512
11456
  x: function(date2, token, _localize) {
11513
11457
  const timezoneOffset = date2.getTimezoneOffset();
11514
11458
  switch (token) {
11515
- // Hours and optional minutes
11516
11459
  case "x":
11517
11460
  return formatTimezoneWithOptionalMinutes(timezoneOffset);
11518
- // Hours, minutes and optional seconds without `:` delimiter
11519
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
11520
- // so this token always has the same output as `xx`
11521
11461
  case "xxxx":
11522
11462
  case "xx":
11523
11463
  return formatTimezone(timezoneOffset);
11524
- // Hours, minutes and optional seconds with `:` delimiter
11525
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
11526
- // so this token always has the same output as `xxx`
11527
11464
  case "xxxxx":
11528
11465
  case "xxx":
11529
- // Hours and minutes with `:` delimiter
11530
11466
  default:
11531
11467
  return formatTimezone(timezoneOffset, ":");
11532
11468
  }
@@ -11535,12 +11471,10 @@ const formatters = {
11535
11471
  O: function(date2, token, _localize) {
11536
11472
  const timezoneOffset = date2.getTimezoneOffset();
11537
11473
  switch (token) {
11538
- // Short
11539
11474
  case "O":
11540
11475
  case "OO":
11541
11476
  case "OOO":
11542
11477
  return "GMT" + formatTimezoneShort(timezoneOffset, ":");
11543
- // Long
11544
11478
  case "OOOO":
11545
11479
  default:
11546
11480
  return "GMT" + formatTimezone(timezoneOffset, ":");
@@ -11550,12 +11484,10 @@ const formatters = {
11550
11484
  z: function(date2, token, _localize) {
11551
11485
  const timezoneOffset = date2.getTimezoneOffset();
11552
11486
  switch (token) {
11553
- // Short
11554
11487
  case "z":
11555
11488
  case "zz":
11556
11489
  case "zzz":
11557
11490
  return "GMT" + formatTimezoneShort(timezoneOffset, ":");
11558
- // Long
11559
11491
  case "zzzz":
11560
11492
  default:
11561
11493
  return "GMT" + formatTimezone(timezoneOffset, ":");
@@ -11879,15 +11811,12 @@ class EraParser extends Parser {
11879
11811
  }
11880
11812
  parse(dateString, token, match2) {
11881
11813
  switch (token) {
11882
- // AD, BC
11883
11814
  case "G":
11884
11815
  case "GG":
11885
11816
  case "GGG":
11886
11817
  return match2.era(dateString, { width: "abbreviated" }) || match2.era(dateString, { width: "narrow" });
11887
- // A, B
11888
11818
  case "GGGGG":
11889
11819
  return match2.era(dateString, { width: "narrow" });
11890
- // Anno Domini, Before Christ
11891
11820
  case "GGGG":
11892
11821
  default:
11893
11822
  return match2.era(dateString, { width: "wide" }) || match2.era(dateString, { width: "abbreviated" }) || match2.era(dateString, { width: "narrow" });
@@ -12234,14 +12163,11 @@ class QuarterParser extends Parser {
12234
12163
  }
12235
12164
  parse(dateString, token, match2) {
12236
12165
  switch (token) {
12237
- // 1, 2, 3, 4
12238
12166
  case "Q":
12239
12167
  case "QQ":
12240
12168
  return parseNDigits(token.length, dateString);
12241
- // 1st, 2nd, 3rd, 4th
12242
12169
  case "Qo":
12243
12170
  return match2.ordinalNumber(dateString, { unit: "quarter" });
12244
- // Q1, Q2, Q3, Q4
12245
12171
  case "QQQ":
12246
12172
  return match2.quarter(dateString, {
12247
12173
  width: "abbreviated",
@@ -12250,13 +12176,11 @@ class QuarterParser extends Parser {
12250
12176
  width: "narrow",
12251
12177
  context: "formatting"
12252
12178
  });
12253
- // 1, 2, 3, 4 (narrow quarter; could be not numerical)
12254
12179
  case "QQQQQ":
12255
12180
  return match2.quarter(dateString, {
12256
12181
  width: "narrow",
12257
12182
  context: "formatting"
12258
12183
  });
12259
- // 1st quarter, 2nd quarter, ...
12260
12184
  case "QQQQ":
12261
12185
  default:
12262
12186
  return match2.quarter(dateString, {
@@ -12303,14 +12227,11 @@ class StandAloneQuarterParser extends Parser {
12303
12227
  }
12304
12228
  parse(dateString, token, match2) {
12305
12229
  switch (token) {
12306
- // 1, 2, 3, 4
12307
12230
  case "q":
12308
12231
  case "qq":
12309
12232
  return parseNDigits(token.length, dateString);
12310
- // 1st, 2nd, 3rd, 4th
12311
12233
  case "qo":
12312
12234
  return match2.ordinalNumber(dateString, { unit: "quarter" });
12313
- // Q1, Q2, Q3, Q4
12314
12235
  case "qqq":
12315
12236
  return match2.quarter(dateString, {
12316
12237
  width: "abbreviated",
@@ -12319,13 +12240,11 @@ class StandAloneQuarterParser extends Parser {
12319
12240
  width: "narrow",
12320
12241
  context: "standalone"
12321
12242
  });
12322
- // 1, 2, 3, 4 (narrow quarter; could be not numerical)
12323
12243
  case "qqqqq":
12324
12244
  return match2.quarter(dateString, {
12325
12245
  width: "narrow",
12326
12246
  context: "standalone"
12327
12247
  });
12328
- // 1st quarter, 2nd quarter, ...
12329
12248
  case "qqqq":
12330
12249
  default:
12331
12250
  return match2.quarter(dateString, {
@@ -12372,16 +12291,13 @@ class MonthParser extends Parser {
12372
12291
  parse(dateString, token, match2) {
12373
12292
  const valueCallback = (value) => value - 1;
12374
12293
  switch (token) {
12375
- // 1, 2, ..., 12
12376
12294
  case "M":
12377
12295
  return mapValue(
12378
12296
  parseNumericPattern(numericPatterns.month, dateString),
12379
12297
  valueCallback
12380
12298
  );
12381
- // 01, 02, ..., 12
12382
12299
  case "MM":
12383
12300
  return mapValue(parseNDigits(2, dateString), valueCallback);
12384
- // 1st, 2nd, ..., 12th
12385
12301
  case "Mo":
12386
12302
  return mapValue(
12387
12303
  match2.ordinalNumber(dateString, {
@@ -12389,19 +12305,16 @@ class MonthParser extends Parser {
12389
12305
  }),
12390
12306
  valueCallback
12391
12307
  );
12392
- // Jan, Feb, ..., Dec
12393
12308
  case "MMM":
12394
12309
  return match2.month(dateString, {
12395
12310
  width: "abbreviated",
12396
12311
  context: "formatting"
12397
12312
  }) || match2.month(dateString, { width: "narrow", context: "formatting" });
12398
- // J, F, ..., D
12399
12313
  case "MMMMM":
12400
12314
  return match2.month(dateString, {
12401
12315
  width: "narrow",
12402
12316
  context: "formatting"
12403
12317
  });
12404
- // January, February, ..., December
12405
12318
  case "MMMM":
12406
12319
  default:
12407
12320
  return match2.month(dateString, { width: "wide", context: "formatting" }) || match2.month(dateString, {
@@ -12442,16 +12355,13 @@ class StandAloneMonthParser extends Parser {
12442
12355
  parse(dateString, token, match2) {
12443
12356
  const valueCallback = (value) => value - 1;
12444
12357
  switch (token) {
12445
- // 1, 2, ..., 12
12446
12358
  case "L":
12447
12359
  return mapValue(
12448
12360
  parseNumericPattern(numericPatterns.month, dateString),
12449
12361
  valueCallback
12450
12362
  );
12451
- // 01, 02, ..., 12
12452
12363
  case "LL":
12453
12364
  return mapValue(parseNDigits(2, dateString), valueCallback);
12454
- // 1st, 2nd, ..., 12th
12455
12365
  case "Lo":
12456
12366
  return mapValue(
12457
12367
  match2.ordinalNumber(dateString, {
@@ -12459,19 +12369,16 @@ class StandAloneMonthParser extends Parser {
12459
12369
  }),
12460
12370
  valueCallback
12461
12371
  );
12462
- // Jan, Feb, ..., Dec
12463
12372
  case "LLL":
12464
12373
  return match2.month(dateString, {
12465
12374
  width: "abbreviated",
12466
12375
  context: "standalone"
12467
12376
  }) || match2.month(dateString, { width: "narrow", context: "standalone" });
12468
- // J, F, ..., D
12469
12377
  case "LLLLL":
12470
12378
  return match2.month(dateString, {
12471
12379
  width: "narrow",
12472
12380
  context: "standalone"
12473
12381
  });
12474
- // January, February, ..., December
12475
12382
  case "LLLL":
12476
12383
  default:
12477
12384
  return match2.month(dateString, { width: "wide", context: "standalone" }) || match2.month(dateString, {
@@ -12706,7 +12613,6 @@ class DayParser extends Parser {
12706
12613
  }
12707
12614
  parse(dateString, token, match2) {
12708
12615
  switch (token) {
12709
- // Tue
12710
12616
  case "E":
12711
12617
  case "EE":
12712
12618
  case "EEE":
@@ -12714,16 +12620,13 @@ class DayParser extends Parser {
12714
12620
  width: "abbreviated",
12715
12621
  context: "formatting"
12716
12622
  }) || match2.day(dateString, { width: "short", context: "formatting" }) || match2.day(dateString, { width: "narrow", context: "formatting" });
12717
- // T
12718
12623
  case "EEEEE":
12719
12624
  return match2.day(dateString, {
12720
12625
  width: "narrow",
12721
12626
  context: "formatting"
12722
12627
  });
12723
- // Tu
12724
12628
  case "EEEEEE":
12725
12629
  return match2.day(dateString, { width: "short", context: "formatting" }) || match2.day(dateString, { width: "narrow", context: "formatting" });
12726
- // Tuesday
12727
12630
  case "EEEE":
12728
12631
  default:
12729
12632
  return match2.day(dateString, { width: "wide", context: "formatting" }) || match2.day(dateString, {
@@ -12769,11 +12672,9 @@ class LocalDayParser extends Parser {
12769
12672
  return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;
12770
12673
  };
12771
12674
  switch (token) {
12772
- // 3
12773
12675
  case "e":
12774
12676
  case "ee":
12775
12677
  return mapValue(parseNDigits(token.length, dateString), valueCallback);
12776
- // 3rd
12777
12678
  case "eo":
12778
12679
  return mapValue(
12779
12680
  match2.ordinalNumber(dateString, {
@@ -12781,22 +12682,18 @@ class LocalDayParser extends Parser {
12781
12682
  }),
12782
12683
  valueCallback
12783
12684
  );
12784
- // Tue
12785
12685
  case "eee":
12786
12686
  return match2.day(dateString, {
12787
12687
  width: "abbreviated",
12788
12688
  context: "formatting"
12789
12689
  }) || match2.day(dateString, { width: "short", context: "formatting" }) || match2.day(dateString, { width: "narrow", context: "formatting" });
12790
- // T
12791
12690
  case "eeeee":
12792
12691
  return match2.day(dateString, {
12793
12692
  width: "narrow",
12794
12693
  context: "formatting"
12795
12694
  });
12796
- // Tu
12797
12695
  case "eeeeee":
12798
12696
  return match2.day(dateString, { width: "short", context: "formatting" }) || match2.day(dateString, { width: "narrow", context: "formatting" });
12799
- // Tuesday
12800
12697
  case "eeee":
12801
12698
  default:
12802
12699
  return match2.day(dateString, { width: "wide", context: "formatting" }) || match2.day(dateString, {
@@ -12842,11 +12739,9 @@ class StandAloneLocalDayParser extends Parser {
12842
12739
  return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;
12843
12740
  };
12844
12741
  switch (token) {
12845
- // 3
12846
12742
  case "c":
12847
12743
  case "cc":
12848
12744
  return mapValue(parseNDigits(token.length, dateString), valueCallback);
12849
- // 3rd
12850
12745
  case "co":
12851
12746
  return mapValue(
12852
12747
  match2.ordinalNumber(dateString, {
@@ -12854,22 +12749,18 @@ class StandAloneLocalDayParser extends Parser {
12854
12749
  }),
12855
12750
  valueCallback
12856
12751
  );
12857
- // Tue
12858
12752
  case "ccc":
12859
12753
  return match2.day(dateString, {
12860
12754
  width: "abbreviated",
12861
12755
  context: "standalone"
12862
12756
  }) || match2.day(dateString, { width: "short", context: "standalone" }) || match2.day(dateString, { width: "narrow", context: "standalone" });
12863
- // T
12864
12757
  case "ccccc":
12865
12758
  return match2.day(dateString, {
12866
12759
  width: "narrow",
12867
12760
  context: "standalone"
12868
12761
  });
12869
- // Tu
12870
12762
  case "cccccc":
12871
12763
  return match2.day(dateString, { width: "short", context: "standalone" }) || match2.day(dateString, { width: "narrow", context: "standalone" });
12872
- // Tuesday
12873
12764
  case "cccc":
12874
12765
  default:
12875
12766
  return match2.day(dateString, { width: "wide", context: "standalone" }) || match2.day(dateString, {
@@ -12923,14 +12814,11 @@ class ISODayParser extends Parser {
12923
12814
  return value;
12924
12815
  };
12925
12816
  switch (token) {
12926
- // 2
12927
12817
  case "i":
12928
12818
  case "ii":
12929
12819
  return parseNDigits(token.length, dateString);
12930
- // 2nd
12931
12820
  case "io":
12932
12821
  return match2.ordinalNumber(dateString, { unit: "day" });
12933
- // Tue
12934
12822
  case "iii":
12935
12823
  return mapValue(
12936
12824
  match2.day(dateString, {
@@ -12945,7 +12833,6 @@ class ISODayParser extends Parser {
12945
12833
  }),
12946
12834
  valueCallback
12947
12835
  );
12948
- // T
12949
12836
  case "iiiii":
12950
12837
  return mapValue(
12951
12838
  match2.day(dateString, {
@@ -12954,7 +12841,6 @@ class ISODayParser extends Parser {
12954
12841
  }),
12955
12842
  valueCallback
12956
12843
  );
12957
- // Tu
12958
12844
  case "iiiiii":
12959
12845
  return mapValue(
12960
12846
  match2.day(dateString, {
@@ -12966,7 +12852,6 @@ class ISODayParser extends Parser {
12966
12852
  }),
12967
12853
  valueCallback
12968
12854
  );
12969
- // Tuesday
12970
12855
  case "iiii":
12971
12856
  default:
12972
12857
  return mapValue(
@@ -48242,7 +48127,7 @@ const toObjectSet = (arrayOrString, delimiter) => {
48242
48127
  isArray(arrayOrString) ? define2(arrayOrString) : define2(String(arrayOrString).split(delimiter));
48243
48128
  return obj;
48244
48129
  };
48245
- const noop = () => {
48130
+ const noop$1 = () => {
48246
48131
  };
48247
48132
  const toFiniteNumber = (value, defaultValue) => {
48248
48133
  return value != null && Number.isFinite(value = +value) ? value : defaultValue;
@@ -48355,7 +48240,7 @@ const utils$1 = {
48355
48240
  freezeMethods,
48356
48241
  toObjectSet,
48357
48242
  toCamelCase,
48358
- noop,
48243
+ noop: noop$1,
48359
48244
  toFiniteNumber,
48360
48245
  findKey,
48361
48246
  global: _global,
@@ -51289,10 +51174,6 @@ function isPossibleNumber(nationalNumber, metadata2) {
51289
51174
  switch (checkNumberLength(nationalNumber, metadata2)) {
51290
51175
  case "IS_POSSIBLE":
51291
51176
  return true;
51292
- // This library ignores "local-only" phone numbers (for simplicity).
51293
- // See the readme for more info on what are "local-only" phone numbers.
51294
- // case 'IS_POSSIBLE_LOCAL_ONLY':
51295
- // return !isInternational
51296
51177
  default:
51297
51178
  return false;
51298
51179
  }
@@ -51547,10 +51428,6 @@ function formatNumber(input, format2, options, metadata2) {
51547
51428
  number: "+".concat(countryCallingCode).concat(nationalNumber),
51548
51429
  ext: input.ext
51549
51430
  });
51550
- // For reference, here's Google's IDD formatter:
51551
- // https://github.com/google/libphonenumber/blob/32719cf74e68796788d1ca45abc85dcdc63ba5b9/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java#L1546
51552
- // Not saying that this IDD formatter replicates it 1:1, but it seems to work.
51553
- // Who would even need to format phone numbers in IDD format anyway?
51554
51431
  case "IDD":
51555
51432
  if (!options.fromCountry) {
51556
51433
  return;
@@ -52839,13 +52716,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
52839
52716
  if (props2.multiline || props2.code) return 4;
52840
52717
  return 1;
52841
52718
  });
52842
- const debounceUpdate = debounce(() => {
52719
+ const debounceUpdate = useDebounceFn(() => {
52843
52720
  emit2("debounce", inputVal.value);
52844
52721
  }, props2.debounceDelay);
52845
52722
  function updateInputVal() {
52846
52723
  if (props2.disabled) return;
52847
52724
  emit2("update:modelValue", inputVal.value);
52848
- debounceUpdate();
52725
+ void debounceUpdate();
52849
52726
  }
52850
52727
  watch(
52851
52728
  () => props2.modelValue,
@@ -52939,7 +52816,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
52939
52816
  };
52940
52817
  }
52941
52818
  });
52942
- const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-06d5ed00"]]);
52819
+ const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-2c465924"]]);
52943
52820
  const _hoisted_1$h = ["title"];
52944
52821
  const _hoisted_2$9 = ["id", "required"];
52945
52822
  const _hoisted_3$7 = ["for"];
@@ -54166,9 +54043,75 @@ function toValue(r2) {
54166
54043
  }
54167
54044
  const isClient = typeof window !== "undefined" && typeof document !== "undefined";
54168
54045
  typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
54046
+ const notNullish = (val) => val != null;
54047
+ const noop = () => {
54048
+ };
54049
+ function createFilterWrapper(filter3, fn3) {
54050
+ function wrapper(...args) {
54051
+ return new Promise((resolve, reject3) => {
54052
+ Promise.resolve(filter3(() => fn3.apply(this, args), { fn: fn3, thisArg: this, args })).then(resolve).catch(reject3);
54053
+ });
54054
+ }
54055
+ return wrapper;
54056
+ }
54057
+ function debounceFilter(ms, options = {}) {
54058
+ let timer;
54059
+ let maxTimer;
54060
+ let lastRejector = noop;
54061
+ const _clearTimeout = (timer2) => {
54062
+ clearTimeout(timer2);
54063
+ lastRejector();
54064
+ lastRejector = noop;
54065
+ };
54066
+ const filter3 = (invoke) => {
54067
+ const duration = toValue(ms);
54068
+ const maxDuration = toValue(options.maxWait);
54069
+ if (timer)
54070
+ _clearTimeout(timer);
54071
+ if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {
54072
+ if (maxTimer) {
54073
+ _clearTimeout(maxTimer);
54074
+ maxTimer = null;
54075
+ }
54076
+ return Promise.resolve(invoke());
54077
+ }
54078
+ return new Promise((resolve, reject3) => {
54079
+ lastRejector = options.rejectOnCancel ? reject3 : resolve;
54080
+ if (maxDuration && !maxTimer) {
54081
+ maxTimer = setTimeout(() => {
54082
+ if (timer)
54083
+ _clearTimeout(timer);
54084
+ maxTimer = null;
54085
+ resolve(invoke());
54086
+ }, maxDuration);
54087
+ }
54088
+ timer = setTimeout(() => {
54089
+ if (maxTimer)
54090
+ _clearTimeout(maxTimer);
54091
+ maxTimer = null;
54092
+ resolve(invoke());
54093
+ }, duration);
54094
+ });
54095
+ };
54096
+ return filter3;
54097
+ }
54098
+ function promiseTimeout(ms, throwOnTimeout = false, reason = "Timeout") {
54099
+ return new Promise((resolve, reject3) => {
54100
+ if (throwOnTimeout)
54101
+ setTimeout(() => reject3(reason), ms);
54102
+ else
54103
+ setTimeout(resolve, ms);
54104
+ });
54105
+ }
54169
54106
  function getLifeCycleTarget(target) {
54170
54107
  return getCurrentInstance();
54171
54108
  }
54109
+ function useDebounceFn(fn3, ms = 200, options = {}) {
54110
+ return createFilterWrapper(
54111
+ debounceFilter(ms, options),
54112
+ fn3
54113
+ );
54114
+ }
54172
54115
  function tryOnMounted(fn3, sync = true, target) {
54173
54116
  const instance = getLifeCycleTarget();
54174
54117
  if (instance)
@@ -54178,6 +54121,130 @@ function tryOnMounted(fn3, sync = true, target) {
54178
54121
  else
54179
54122
  nextTick(fn3);
54180
54123
  }
54124
+ function createUntil(r2, isNot = false) {
54125
+ function toMatch(condition, { flush = "sync", deep = false, timeout, throwOnTimeout } = {}) {
54126
+ let stop = null;
54127
+ const watcher = new Promise((resolve) => {
54128
+ stop = watch(
54129
+ r2,
54130
+ (v2) => {
54131
+ if (condition(v2) !== isNot) {
54132
+ if (stop)
54133
+ stop();
54134
+ else
54135
+ nextTick(() => stop == null ? void 0 : stop());
54136
+ resolve(v2);
54137
+ }
54138
+ },
54139
+ {
54140
+ flush,
54141
+ deep,
54142
+ immediate: true
54143
+ }
54144
+ );
54145
+ });
54146
+ const promises = [watcher];
54147
+ if (timeout != null) {
54148
+ promises.push(
54149
+ promiseTimeout(timeout, throwOnTimeout).then(() => toValue(r2)).finally(() => stop == null ? void 0 : stop())
54150
+ );
54151
+ }
54152
+ return Promise.race(promises);
54153
+ }
54154
+ function toBe(value, options) {
54155
+ if (!isRef(value))
54156
+ return toMatch((v2) => v2 === value, options);
54157
+ const { flush = "sync", deep = false, timeout, throwOnTimeout } = options != null ? options : {};
54158
+ let stop = null;
54159
+ const watcher = new Promise((resolve) => {
54160
+ stop = watch(
54161
+ [r2, value],
54162
+ ([v1, v2]) => {
54163
+ if (isNot !== (v1 === v2)) {
54164
+ if (stop)
54165
+ stop();
54166
+ else
54167
+ nextTick(() => stop == null ? void 0 : stop());
54168
+ resolve(v1);
54169
+ }
54170
+ },
54171
+ {
54172
+ flush,
54173
+ deep,
54174
+ immediate: true
54175
+ }
54176
+ );
54177
+ });
54178
+ const promises = [watcher];
54179
+ if (timeout != null) {
54180
+ promises.push(
54181
+ promiseTimeout(timeout, throwOnTimeout).then(() => toValue(r2)).finally(() => {
54182
+ stop == null ? void 0 : stop();
54183
+ return toValue(r2);
54184
+ })
54185
+ );
54186
+ }
54187
+ return Promise.race(promises);
54188
+ }
54189
+ function toBeTruthy(options) {
54190
+ return toMatch((v2) => Boolean(v2), options);
54191
+ }
54192
+ function toBeNull(options) {
54193
+ return toBe(null, options);
54194
+ }
54195
+ function toBeUndefined(options) {
54196
+ return toBe(void 0, options);
54197
+ }
54198
+ function toBeNaN(options) {
54199
+ return toMatch(Number.isNaN, options);
54200
+ }
54201
+ function toContains(value, options) {
54202
+ return toMatch((v2) => {
54203
+ const array2 = Array.from(v2);
54204
+ return array2.includes(value) || array2.includes(toValue(value));
54205
+ }, options);
54206
+ }
54207
+ function changed(options) {
54208
+ return changedTimes(1, options);
54209
+ }
54210
+ function changedTimes(n2 = 1, options) {
54211
+ let count2 = -1;
54212
+ return toMatch(() => {
54213
+ count2 += 1;
54214
+ return count2 >= n2;
54215
+ }, options);
54216
+ }
54217
+ if (Array.isArray(toValue(r2))) {
54218
+ const instance = {
54219
+ toMatch,
54220
+ toContains,
54221
+ changed,
54222
+ changedTimes,
54223
+ get not() {
54224
+ return createUntil(r2, !isNot);
54225
+ }
54226
+ };
54227
+ return instance;
54228
+ } else {
54229
+ const instance = {
54230
+ toMatch,
54231
+ toBe,
54232
+ toBeTruthy,
54233
+ toBeNull,
54234
+ toBeNaN,
54235
+ toBeUndefined,
54236
+ changed,
54237
+ changedTimes,
54238
+ get not() {
54239
+ return createUntil(r2, !isNot);
54240
+ }
54241
+ };
54242
+ return instance;
54243
+ }
54244
+ }
54245
+ function until(r2) {
54246
+ return createUntil(r2);
54247
+ }
54181
54248
  const defaultWindow = isClient ? window : void 0;
54182
54249
  function unrefElement(elRef) {
54183
54250
  var _a2;
@@ -54295,6 +54362,64 @@ function useElementSize(target, initialSize = { width: 0, height: 0 }, options =
54295
54362
  stop
54296
54363
  };
54297
54364
  }
54365
+ function useIntersectionObserver(target, callback, options = {}) {
54366
+ const {
54367
+ root: root2,
54368
+ rootMargin = "0px",
54369
+ threshold = 0,
54370
+ window: window2 = defaultWindow,
54371
+ immediate = true
54372
+ } = options;
54373
+ const isSupported = useSupported(() => window2 && "IntersectionObserver" in window2);
54374
+ const targets = computed(() => {
54375
+ const _target = toValue(target);
54376
+ return (Array.isArray(_target) ? _target : [_target]).map(unrefElement).filter(notNullish);
54377
+ });
54378
+ let cleanup = noop;
54379
+ const isActive2 = ref(immediate);
54380
+ const stopWatch = isSupported.value ? watch(
54381
+ () => [targets.value, unrefElement(root2), isActive2.value],
54382
+ ([targets2, root22]) => {
54383
+ cleanup();
54384
+ if (!isActive2.value)
54385
+ return;
54386
+ if (!targets2.length)
54387
+ return;
54388
+ const observer = new IntersectionObserver(
54389
+ callback,
54390
+ {
54391
+ root: unrefElement(root22),
54392
+ rootMargin,
54393
+ threshold
54394
+ }
54395
+ );
54396
+ targets2.forEach((el) => el && observer.observe(el));
54397
+ cleanup = () => {
54398
+ observer.disconnect();
54399
+ cleanup = noop;
54400
+ };
54401
+ },
54402
+ { immediate, flush: "post" }
54403
+ ) : noop;
54404
+ const stop = () => {
54405
+ cleanup();
54406
+ stopWatch();
54407
+ isActive2.value = false;
54408
+ };
54409
+ tryOnScopeDispose(stop);
54410
+ return {
54411
+ isSupported,
54412
+ isActive: isActive2,
54413
+ pause() {
54414
+ cleanup();
54415
+ isActive2.value = false;
54416
+ },
54417
+ resume() {
54418
+ isActive2.value = true;
54419
+ },
54420
+ stop
54421
+ };
54422
+ }
54298
54423
  function useVirtualList(list, options) {
54299
54424
  const { containerStyle, wrapperProps, scrollTo, calculateRange, currentList, containerRef } = "itemHeight" in options ? useVerticalVirtualList(options, list) : useHorizontalVirtualList(options, list);
54300
54425
  return {
@@ -54503,7 +54628,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
54503
54628
  emits: /* @__PURE__ */ mergeModels(["update:selectedItems", "orderBy", "select", "lastItemVisible"], ["update:loading", "update:itemHeight", "update:selectedItems"]),
54504
54629
  setup(__props, { emit: __emit }) {
54505
54630
  useCssVars((_ctx) => ({
54506
- "527f36f7": unref(computedItemHeight)
54631
+ "2c584721": unref(computedItemHeight)
54507
54632
  }));
54508
54633
  const emit2 = __emit;
54509
54634
  const slots = useSlots();
@@ -54622,21 +54747,17 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
54622
54747
  selectedItems.value = value ? computedData.value.map((d2) => d2.id) : [];
54623
54748
  }
54624
54749
  const lastItem = ref();
54625
- let observer;
54626
- function registerLastItemObserver() {
54627
- if (__props.onLastItemVisible === void 0) return;
54628
- observer = new IntersectionObserver(([entry]) => {
54750
+ async function registerLastItemObserver() {
54751
+ await until(() => lastItem.value).toBeTruthy();
54752
+ useIntersectionObserver(lastItem.value, ([entry]) => {
54753
+ var _a2;
54629
54754
  if (entry.isIntersecting && computedData.value.length) {
54630
- void __props.onLastItemVisible();
54755
+ void ((_a2 = __props.onLastItemVisible) == null ? void 0 : _a2.call(__props));
54631
54756
  }
54632
54757
  });
54633
- if (lastItem.value) observer.observe(lastItem.value);
54634
54758
  }
54635
54759
  onMounted(() => {
54636
- registerLastItemObserver();
54637
- });
54638
- onUnmounted(() => {
54639
- observer == null ? void 0 : observer.disconnect();
54760
+ void registerLastItemObserver();
54640
54761
  });
54641
54762
  return (_ctx, _cache) => {
54642
54763
  return openBlock(), createElementBlock("div", mergeProps({ class: "table-list-wrap h-100" }, unref(containerProps), {
@@ -54731,7 +54852,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
54731
54852
  };
54732
54853
  }
54733
54854
  });
54734
- const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-e3fe1a41"]]);
54855
+ const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-bcd5ff3e"]]);
54735
54856
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
54736
54857
  __name: "Title",
54737
54858
  props: {
@@ -56080,11 +56201,7 @@ const clickOutside = {
56080
56201
  }
56081
56202
  };
56082
56203
  const ripple = {
56083
- mounted(el) {
56084
- if (getComputedStyle(el).position === "static") {
56085
- el.style.position = "relative";
56086
- }
56087
- el.style.overflow = "hidden";
56204
+ mounted(el, binding) {
56088
56205
  const clickHandler2 = (e) => {
56089
56206
  const rect = el.getBoundingClientRect();
56090
56207
  const size2 = Math.max(rect.width, rect.height);
@@ -56103,9 +56220,30 @@ const ripple = {
56103
56220
  animation: "rippleEffect 0.6s ease-out"
56104
56221
  });
56105
56222
  el.appendChild(ripple2);
56223
+ setTimeout(() => {
56224
+ ripple2.remove();
56225
+ }, 600);
56106
56226
  };
56107
56227
  el.__rippleClickHandler = clickHandler2;
56108
- el.addEventListener("mousedown", clickHandler2);
56228
+ if (binding.value !== false) {
56229
+ if (getComputedStyle(el).position === "static") {
56230
+ el.style.position = "relative";
56231
+ }
56232
+ el.style.overflow = "hidden";
56233
+ el.addEventListener("mousedown", clickHandler2);
56234
+ }
56235
+ },
56236
+ updated(el, binding) {
56237
+ const clickHandler2 = el.__rippleClickHandler;
56238
+ if (binding.value === false) {
56239
+ el.removeEventListener("mousedown", clickHandler2);
56240
+ } else {
56241
+ if (getComputedStyle(el).position === "static") {
56242
+ el.style.position = "relative";
56243
+ }
56244
+ el.style.overflow = "hidden";
56245
+ el.addEventListener("mousedown", clickHandler2);
56246
+ }
56109
56247
  },
56110
56248
  unmounted(el) {
56111
56249
  const clickHandler2 = el.__rippleClickHandler;
@@ -56707,6 +56845,7 @@ export {
56707
56845
  timeAgo,
56708
56846
  useBagel,
56709
56847
  useBglSchema,
56848
+ useDebounceFn,
56710
56849
  useEscape,
56711
56850
  useI18nT,
56712
56851
  useLang,