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