beca-ui 2.0.19-beta.96 → 2.0.19-beta.97

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/beca-ui.js +349 -290
  2. package/package.json +2 -1
package/dist/beca-ui.js CHANGED
@@ -26140,297 +26140,299 @@ const getPath$1 = (a, s) => {
26140
26140
  Breadcrumb$1.Item = BreadcrumbItem;
26141
26141
  Breadcrumb$1.Separator = BreadcrumbSeparator;
26142
26142
  process.env.NODE_ENV !== "production" && (Breadcrumb$1.displayName = "Breadcrumb");
26143
- var dayjs_min = { exports: {} };
26144
- (function(a, s) {
26145
- (function(c, u) {
26146
- a.exports = u();
26147
- })(commonjsGlobal, function() {
26148
- var c = 1e3, u = 6e4, d = 36e5, f = "millisecond", p = "second", h = "minute", m = "hour", g = "day", v = "week", b = "month", C = "quarter", S = "year", _ = "date", E = "Invalid Date", R = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, N = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, A = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(Y) {
26149
- var J = ["th", "st", "nd", "rd"], K = Y % 100;
26150
- return "[" + Y + (J[(K - 20) % 10] || J[K] || J[0]) + "]";
26151
- } }, I = function(Y, J, K) {
26152
- var Z = String(Y);
26153
- return !Z || Z.length >= J ? Y : "" + Array(J + 1 - Z.length).join(K) + Y;
26154
- }, M = { s: I, z: function(Y) {
26155
- var J = -Y.utcOffset(), K = Math.abs(J), Z = Math.floor(K / 60), se = K % 60;
26156
- return (J <= 0 ? "+" : "-") + I(Z, 2, "0") + ":" + I(se, 2, "0");
26157
- }, m: function Y(J, K) {
26158
- if (J.date() < K.date())
26159
- return -Y(K, J);
26160
- var Z = 12 * (K.year() - J.year()) + (K.month() - J.month()), se = J.clone().add(Z, b), ne = K - se < 0, oe = J.clone().add(Z + (ne ? -1 : 1), b);
26161
- return +(-(Z + (K - se) / (ne ? se - oe : oe - se)) || 0);
26162
- }, a: function(Y) {
26163
- return Y < 0 ? Math.ceil(Y) || 0 : Math.floor(Y);
26164
- }, p: function(Y) {
26165
- return { M: b, y: S, w: v, d: g, D: _, h: m, m: h, s: p, ms: f, Q: C }[Y] || String(Y || "").toLowerCase().replace(/s$/, "");
26166
- }, u: function(Y) {
26167
- return Y === void 0;
26168
- } }, k = "en", D = {};
26169
- D[k] = A;
26170
- var B = "$isDayjsObject", z = function(Y) {
26171
- return Y instanceof G || !(!Y || !Y[B]);
26172
- }, j = function Y(J, K, Z) {
26173
- var se;
26174
- if (!J)
26175
- return k;
26176
- if (typeof J == "string") {
26177
- var ne = J.toLowerCase();
26178
- D[ne] && (se = ne), K && (D[ne] = K, se = ne);
26179
- var oe = J.split("-");
26180
- if (!se && oe.length > 1)
26181
- return Y(oe[0]);
26182
- } else {
26183
- var le = J.name;
26184
- D[le] = J, se = le;
26185
- }
26186
- return !Z && se && (k = se), se || !Z && k;
26187
- }, H = function(Y, J) {
26188
- if (z(Y))
26189
- return Y.clone();
26190
- var K = typeof J == "object" ? J : {};
26191
- return K.date = Y, K.args = arguments, new G(K);
26192
- }, q = M;
26193
- q.l = j, q.i = z, q.w = function(Y, J) {
26194
- return H(Y, { locale: J.$L, utc: J.$u, x: J.$x, $offset: J.$offset });
26195
- };
26196
- var G = function() {
26197
- function Y(K) {
26198
- this.$L = j(K.locale, null, !0), this.parse(K), this.$x = this.$x || K.x || {}, this[B] = !0;
26199
- }
26200
- var J = Y.prototype;
26201
- return J.parse = function(K) {
26202
- this.$d = function(Z) {
26203
- var se = Z.date, ne = Z.utc;
26204
- if (se === null)
26205
- return /* @__PURE__ */ new Date(NaN);
26206
- if (q.u(se))
26207
- return /* @__PURE__ */ new Date();
26208
- if (se instanceof Date)
26209
- return new Date(se);
26210
- if (typeof se == "string" && !/Z$/i.test(se)) {
26211
- var oe = se.match(R);
26212
- if (oe) {
26213
- var le = oe[2] - 1 || 0, Q = (oe[7] || "0").substring(0, 3);
26214
- return ne ? new Date(Date.UTC(oe[1], le, oe[3] || 1, oe[4] || 0, oe[5] || 0, oe[6] || 0, Q)) : new Date(oe[1], le, oe[3] || 1, oe[4] || 0, oe[5] || 0, oe[6] || 0, Q);
26215
- }
26216
- }
26217
- return new Date(se);
26218
- }(K), this.init();
26219
- }, J.init = function() {
26220
- var K = this.$d;
26221
- this.$y = K.getFullYear(), this.$M = K.getMonth(), this.$D = K.getDate(), this.$W = K.getDay(), this.$H = K.getHours(), this.$m = K.getMinutes(), this.$s = K.getSeconds(), this.$ms = K.getMilliseconds();
26222
- }, J.$utils = function() {
26223
- return q;
26224
- }, J.isValid = function() {
26225
- return this.$d.toString() !== E;
26226
- }, J.isSame = function(K, Z) {
26227
- var se = H(K);
26228
- return this.startOf(Z) <= se && se <= this.endOf(Z);
26229
- }, J.isAfter = function(K, Z) {
26230
- return H(K) < this.startOf(Z);
26231
- }, J.isBefore = function(K, Z) {
26232
- return this.endOf(Z) < H(K);
26233
- }, J.$g = function(K, Z, se) {
26234
- return q.u(K) ? this[Z] : this.set(se, K);
26235
- }, J.unix = function() {
26236
- return Math.floor(this.valueOf() / 1e3);
26237
- }, J.valueOf = function() {
26238
- return this.$d.getTime();
26239
- }, J.startOf = function(K, Z) {
26240
- var se = this, ne = !!q.u(Z) || Z, oe = q.p(K), le = function(ge, ve) {
26241
- var ye = q.w(se.$u ? Date.UTC(se.$y, ve, ge) : new Date(se.$y, ve, ge), se);
26242
- return ne ? ye : ye.endOf(g);
26243
- }, Q = function(ge, ve) {
26244
- return q.w(se.toDate()[ge].apply(se.toDate("s"), (ne ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ve)), se);
26245
- }, re = this.$W, te = this.$M, de = this.$D, ce = "set" + (this.$u ? "UTC" : "");
26246
- switch (oe) {
26247
- case S:
26248
- return ne ? le(1, 0) : le(31, 11);
26249
- case b:
26250
- return ne ? le(1, te) : le(0, te + 1);
26251
- case v:
26252
- var fe = this.$locale().weekStart || 0, pe = (re < fe ? re + 7 : re) - fe;
26253
- return le(ne ? de - pe : de + (6 - pe), te);
26254
- case g:
26255
- case _:
26256
- return Q(ce + "Hours", 0);
26257
- case m:
26258
- return Q(ce + "Minutes", 1);
26259
- case h:
26260
- return Q(ce + "Seconds", 2);
26261
- case p:
26262
- return Q(ce + "Milliseconds", 3);
26263
- default:
26264
- return this.clone();
26265
- }
26266
- }, J.endOf = function(K) {
26267
- return this.startOf(K, !1);
26268
- }, J.$set = function(K, Z) {
26269
- var se, ne = q.p(K), oe = "set" + (this.$u ? "UTC" : ""), le = (se = {}, se[g] = oe + "Date", se[_] = oe + "Date", se[b] = oe + "Month", se[S] = oe + "FullYear", se[m] = oe + "Hours", se[h] = oe + "Minutes", se[p] = oe + "Seconds", se[f] = oe + "Milliseconds", se)[ne], Q = ne === g ? this.$D + (Z - this.$W) : Z;
26270
- if (ne === b || ne === S) {
26271
- var re = this.clone().set(_, 1);
26272
- re.$d[le](Q), re.init(), this.$d = re.set(_, Math.min(this.$D, re.daysInMonth())).$d;
26273
- } else
26274
- le && this.$d[le](Q);
26275
- return this.init(), this;
26276
- }, J.set = function(K, Z) {
26277
- return this.clone().$set(K, Z);
26278
- }, J.get = function(K) {
26279
- return this[q.p(K)]();
26280
- }, J.add = function(K, Z) {
26281
- var se, ne = this;
26282
- K = Number(K);
26283
- var oe = q.p(Z), le = function(te) {
26284
- var de = H(ne);
26285
- return q.w(de.date(de.date() + Math.round(te * K)), ne);
26286
- };
26287
- if (oe === b)
26288
- return this.set(b, this.$M + K);
26289
- if (oe === S)
26290
- return this.set(S, this.$y + K);
26291
- if (oe === g)
26292
- return le(1);
26293
- if (oe === v)
26294
- return le(7);
26295
- var Q = (se = {}, se[h] = u, se[m] = d, se[p] = c, se)[oe] || 1, re = this.$d.getTime() + K * Q;
26296
- return q.w(re, this);
26297
- }, J.subtract = function(K, Z) {
26298
- return this.add(-1 * K, Z);
26299
- }, J.format = function(K) {
26300
- var Z = this, se = this.$locale();
26301
- if (!this.isValid())
26302
- return se.invalidDate || E;
26303
- var ne = K || "YYYY-MM-DDTHH:mm:ssZ", oe = q.z(this), le = this.$H, Q = this.$m, re = this.$M, te = se.weekdays, de = se.months, ce = se.meridiem, fe = function(ve, ye, he, Ce) {
26304
- return ve && (ve[ye] || ve(Z, ne)) || he[ye].slice(0, Ce);
26305
- }, pe = function(ve) {
26306
- return q.s(le % 12 || 12, ve, "0");
26307
- }, ge = ce || function(ve, ye, he) {
26308
- var Ce = ve < 12 ? "AM" : "PM";
26309
- return he ? Ce.toLowerCase() : Ce;
26310
- };
26311
- return ne.replace(N, function(ve, ye) {
26312
- return ye || function(he) {
26313
- switch (he) {
26314
- case "YY":
26315
- return String(Z.$y).slice(-2);
26316
- case "YYYY":
26317
- return q.s(Z.$y, 4, "0");
26318
- case "M":
26319
- return re + 1;
26320
- case "MM":
26321
- return q.s(re + 1, 2, "0");
26322
- case "MMM":
26323
- return fe(se.monthsShort, re, de, 3);
26324
- case "MMMM":
26325
- return fe(de, re);
26326
- case "D":
26327
- return Z.$D;
26328
- case "DD":
26329
- return q.s(Z.$D, 2, "0");
26330
- case "d":
26331
- return String(Z.$W);
26332
- case "dd":
26333
- return fe(se.weekdaysMin, Z.$W, te, 2);
26334
- case "ddd":
26335
- return fe(se.weekdaysShort, Z.$W, te, 3);
26336
- case "dddd":
26337
- return te[Z.$W];
26338
- case "H":
26339
- return String(le);
26340
- case "HH":
26341
- return q.s(le, 2, "0");
26342
- case "h":
26343
- return pe(1);
26344
- case "hh":
26345
- return pe(2);
26346
- case "a":
26347
- return ge(le, Q, !0);
26348
- case "A":
26349
- return ge(le, Q, !1);
26350
- case "m":
26351
- return String(Q);
26352
- case "mm":
26353
- return q.s(Q, 2, "0");
26354
- case "s":
26355
- return String(Z.$s);
26356
- case "ss":
26357
- return q.s(Z.$s, 2, "0");
26358
- case "SSS":
26359
- return q.s(Z.$ms, 3, "0");
26360
- case "Z":
26361
- return oe;
26143
+ var dayjs_min = { exports: {} }, hasRequiredDayjs_min;
26144
+ function requireDayjs_min() {
26145
+ return hasRequiredDayjs_min || (hasRequiredDayjs_min = 1, function(a, s) {
26146
+ (function(c, u) {
26147
+ a.exports = u();
26148
+ })(commonjsGlobal, function() {
26149
+ var c = 1e3, u = 6e4, d = 36e5, f = "millisecond", p = "second", h = "minute", m = "hour", g = "day", v = "week", b = "month", C = "quarter", S = "year", _ = "date", E = "Invalid Date", R = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, N = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, A = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(Y) {
26150
+ var J = ["th", "st", "nd", "rd"], K = Y % 100;
26151
+ return "[" + Y + (J[(K - 20) % 10] || J[K] || J[0]) + "]";
26152
+ } }, I = function(Y, J, K) {
26153
+ var Z = String(Y);
26154
+ return !Z || Z.length >= J ? Y : "" + Array(J + 1 - Z.length).join(K) + Y;
26155
+ }, M = { s: I, z: function(Y) {
26156
+ var J = -Y.utcOffset(), K = Math.abs(J), Z = Math.floor(K / 60), se = K % 60;
26157
+ return (J <= 0 ? "+" : "-") + I(Z, 2, "0") + ":" + I(se, 2, "0");
26158
+ }, m: function Y(J, K) {
26159
+ if (J.date() < K.date())
26160
+ return -Y(K, J);
26161
+ var Z = 12 * (K.year() - J.year()) + (K.month() - J.month()), se = J.clone().add(Z, b), ne = K - se < 0, oe = J.clone().add(Z + (ne ? -1 : 1), b);
26162
+ return +(-(Z + (K - se) / (ne ? se - oe : oe - se)) || 0);
26163
+ }, a: function(Y) {
26164
+ return Y < 0 ? Math.ceil(Y) || 0 : Math.floor(Y);
26165
+ }, p: function(Y) {
26166
+ return { M: b, y: S, w: v, d: g, D: _, h: m, m: h, s: p, ms: f, Q: C }[Y] || String(Y || "").toLowerCase().replace(/s$/, "");
26167
+ }, u: function(Y) {
26168
+ return Y === void 0;
26169
+ } }, k = "en", D = {};
26170
+ D[k] = A;
26171
+ var B = "$isDayjsObject", z = function(Y) {
26172
+ return Y instanceof G || !(!Y || !Y[B]);
26173
+ }, j = function Y(J, K, Z) {
26174
+ var se;
26175
+ if (!J)
26176
+ return k;
26177
+ if (typeof J == "string") {
26178
+ var ne = J.toLowerCase();
26179
+ D[ne] && (se = ne), K && (D[ne] = K, se = ne);
26180
+ var oe = J.split("-");
26181
+ if (!se && oe.length > 1)
26182
+ return Y(oe[0]);
26183
+ } else {
26184
+ var le = J.name;
26185
+ D[le] = J, se = le;
26186
+ }
26187
+ return !Z && se && (k = se), se || !Z && k;
26188
+ }, H = function(Y, J) {
26189
+ if (z(Y))
26190
+ return Y.clone();
26191
+ var K = typeof J == "object" ? J : {};
26192
+ return K.date = Y, K.args = arguments, new G(K);
26193
+ }, q = M;
26194
+ q.l = j, q.i = z, q.w = function(Y, J) {
26195
+ return H(Y, { locale: J.$L, utc: J.$u, x: J.$x, $offset: J.$offset });
26196
+ };
26197
+ var G = function() {
26198
+ function Y(K) {
26199
+ this.$L = j(K.locale, null, !0), this.parse(K), this.$x = this.$x || K.x || {}, this[B] = !0;
26200
+ }
26201
+ var J = Y.prototype;
26202
+ return J.parse = function(K) {
26203
+ this.$d = function(Z) {
26204
+ var se = Z.date, ne = Z.utc;
26205
+ if (se === null)
26206
+ return /* @__PURE__ */ new Date(NaN);
26207
+ if (q.u(se))
26208
+ return /* @__PURE__ */ new Date();
26209
+ if (se instanceof Date)
26210
+ return new Date(se);
26211
+ if (typeof se == "string" && !/Z$/i.test(se)) {
26212
+ var oe = se.match(R);
26213
+ if (oe) {
26214
+ var le = oe[2] - 1 || 0, Q = (oe[7] || "0").substring(0, 3);
26215
+ return ne ? new Date(Date.UTC(oe[1], le, oe[3] || 1, oe[4] || 0, oe[5] || 0, oe[6] || 0, Q)) : new Date(oe[1], le, oe[3] || 1, oe[4] || 0, oe[5] || 0, oe[6] || 0, Q);
26216
+ }
26362
26217
  }
26363
- return null;
26364
- }(ve) || oe.replace(":", "");
26365
- });
26366
- }, J.utcOffset = function() {
26367
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
26368
- }, J.diff = function(K, Z, se) {
26369
- var ne, oe = this, le = q.p(Z), Q = H(K), re = (Q.utcOffset() - this.utcOffset()) * u, te = this - Q, de = function() {
26370
- return q.m(oe, Q);
26218
+ return new Date(se);
26219
+ }(K), this.init();
26220
+ }, J.init = function() {
26221
+ var K = this.$d;
26222
+ this.$y = K.getFullYear(), this.$M = K.getMonth(), this.$D = K.getDate(), this.$W = K.getDay(), this.$H = K.getHours(), this.$m = K.getMinutes(), this.$s = K.getSeconds(), this.$ms = K.getMilliseconds();
26223
+ }, J.$utils = function() {
26224
+ return q;
26225
+ }, J.isValid = function() {
26226
+ return this.$d.toString() !== E;
26227
+ }, J.isSame = function(K, Z) {
26228
+ var se = H(K);
26229
+ return this.startOf(Z) <= se && se <= this.endOf(Z);
26230
+ }, J.isAfter = function(K, Z) {
26231
+ return H(K) < this.startOf(Z);
26232
+ }, J.isBefore = function(K, Z) {
26233
+ return this.endOf(Z) < H(K);
26234
+ }, J.$g = function(K, Z, se) {
26235
+ return q.u(K) ? this[Z] : this.set(se, K);
26236
+ }, J.unix = function() {
26237
+ return Math.floor(this.valueOf() / 1e3);
26238
+ }, J.valueOf = function() {
26239
+ return this.$d.getTime();
26240
+ }, J.startOf = function(K, Z) {
26241
+ var se = this, ne = !!q.u(Z) || Z, oe = q.p(K), le = function(ge, ve) {
26242
+ var ye = q.w(se.$u ? Date.UTC(se.$y, ve, ge) : new Date(se.$y, ve, ge), se);
26243
+ return ne ? ye : ye.endOf(g);
26244
+ }, Q = function(ge, ve) {
26245
+ return q.w(se.toDate()[ge].apply(se.toDate("s"), (ne ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ve)), se);
26246
+ }, re = this.$W, te = this.$M, de = this.$D, ce = "set" + (this.$u ? "UTC" : "");
26247
+ switch (oe) {
26248
+ case S:
26249
+ return ne ? le(1, 0) : le(31, 11);
26250
+ case b:
26251
+ return ne ? le(1, te) : le(0, te + 1);
26252
+ case v:
26253
+ var fe = this.$locale().weekStart || 0, pe = (re < fe ? re + 7 : re) - fe;
26254
+ return le(ne ? de - pe : de + (6 - pe), te);
26255
+ case g:
26256
+ case _:
26257
+ return Q(ce + "Hours", 0);
26258
+ case m:
26259
+ return Q(ce + "Minutes", 1);
26260
+ case h:
26261
+ return Q(ce + "Seconds", 2);
26262
+ case p:
26263
+ return Q(ce + "Milliseconds", 3);
26264
+ default:
26265
+ return this.clone();
26266
+ }
26267
+ }, J.endOf = function(K) {
26268
+ return this.startOf(K, !1);
26269
+ }, J.$set = function(K, Z) {
26270
+ var se, ne = q.p(K), oe = "set" + (this.$u ? "UTC" : ""), le = (se = {}, se[g] = oe + "Date", se[_] = oe + "Date", se[b] = oe + "Month", se[S] = oe + "FullYear", se[m] = oe + "Hours", se[h] = oe + "Minutes", se[p] = oe + "Seconds", se[f] = oe + "Milliseconds", se)[ne], Q = ne === g ? this.$D + (Z - this.$W) : Z;
26271
+ if (ne === b || ne === S) {
26272
+ var re = this.clone().set(_, 1);
26273
+ re.$d[le](Q), re.init(), this.$d = re.set(_, Math.min(this.$D, re.daysInMonth())).$d;
26274
+ } else
26275
+ le && this.$d[le](Q);
26276
+ return this.init(), this;
26277
+ }, J.set = function(K, Z) {
26278
+ return this.clone().$set(K, Z);
26279
+ }, J.get = function(K) {
26280
+ return this[q.p(K)]();
26281
+ }, J.add = function(K, Z) {
26282
+ var se, ne = this;
26283
+ K = Number(K);
26284
+ var oe = q.p(Z), le = function(te) {
26285
+ var de = H(ne);
26286
+ return q.w(de.date(de.date() + Math.round(te * K)), ne);
26287
+ };
26288
+ if (oe === b)
26289
+ return this.set(b, this.$M + K);
26290
+ if (oe === S)
26291
+ return this.set(S, this.$y + K);
26292
+ if (oe === g)
26293
+ return le(1);
26294
+ if (oe === v)
26295
+ return le(7);
26296
+ var Q = (se = {}, se[h] = u, se[m] = d, se[p] = c, se)[oe] || 1, re = this.$d.getTime() + K * Q;
26297
+ return q.w(re, this);
26298
+ }, J.subtract = function(K, Z) {
26299
+ return this.add(-1 * K, Z);
26300
+ }, J.format = function(K) {
26301
+ var Z = this, se = this.$locale();
26302
+ if (!this.isValid())
26303
+ return se.invalidDate || E;
26304
+ var ne = K || "YYYY-MM-DDTHH:mm:ssZ", oe = q.z(this), le = this.$H, Q = this.$m, re = this.$M, te = se.weekdays, de = se.months, ce = se.meridiem, fe = function(ve, ye, he, Ce) {
26305
+ return ve && (ve[ye] || ve(Z, ne)) || he[ye].slice(0, Ce);
26306
+ }, pe = function(ve) {
26307
+ return q.s(le % 12 || 12, ve, "0");
26308
+ }, ge = ce || function(ve, ye, he) {
26309
+ var Ce = ve < 12 ? "AM" : "PM";
26310
+ return he ? Ce.toLowerCase() : Ce;
26311
+ };
26312
+ return ne.replace(N, function(ve, ye) {
26313
+ return ye || function(he) {
26314
+ switch (he) {
26315
+ case "YY":
26316
+ return String(Z.$y).slice(-2);
26317
+ case "YYYY":
26318
+ return q.s(Z.$y, 4, "0");
26319
+ case "M":
26320
+ return re + 1;
26321
+ case "MM":
26322
+ return q.s(re + 1, 2, "0");
26323
+ case "MMM":
26324
+ return fe(se.monthsShort, re, de, 3);
26325
+ case "MMMM":
26326
+ return fe(de, re);
26327
+ case "D":
26328
+ return Z.$D;
26329
+ case "DD":
26330
+ return q.s(Z.$D, 2, "0");
26331
+ case "d":
26332
+ return String(Z.$W);
26333
+ case "dd":
26334
+ return fe(se.weekdaysMin, Z.$W, te, 2);
26335
+ case "ddd":
26336
+ return fe(se.weekdaysShort, Z.$W, te, 3);
26337
+ case "dddd":
26338
+ return te[Z.$W];
26339
+ case "H":
26340
+ return String(le);
26341
+ case "HH":
26342
+ return q.s(le, 2, "0");
26343
+ case "h":
26344
+ return pe(1);
26345
+ case "hh":
26346
+ return pe(2);
26347
+ case "a":
26348
+ return ge(le, Q, !0);
26349
+ case "A":
26350
+ return ge(le, Q, !1);
26351
+ case "m":
26352
+ return String(Q);
26353
+ case "mm":
26354
+ return q.s(Q, 2, "0");
26355
+ case "s":
26356
+ return String(Z.$s);
26357
+ case "ss":
26358
+ return q.s(Z.$s, 2, "0");
26359
+ case "SSS":
26360
+ return q.s(Z.$ms, 3, "0");
26361
+ case "Z":
26362
+ return oe;
26363
+ }
26364
+ return null;
26365
+ }(ve) || oe.replace(":", "");
26366
+ });
26367
+ }, J.utcOffset = function() {
26368
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
26369
+ }, J.diff = function(K, Z, se) {
26370
+ var ne, oe = this, le = q.p(Z), Q = H(K), re = (Q.utcOffset() - this.utcOffset()) * u, te = this - Q, de = function() {
26371
+ return q.m(oe, Q);
26372
+ };
26373
+ switch (le) {
26374
+ case S:
26375
+ ne = de() / 12;
26376
+ break;
26377
+ case b:
26378
+ ne = de();
26379
+ break;
26380
+ case C:
26381
+ ne = de() / 3;
26382
+ break;
26383
+ case v:
26384
+ ne = (te - re) / 6048e5;
26385
+ break;
26386
+ case g:
26387
+ ne = (te - re) / 864e5;
26388
+ break;
26389
+ case m:
26390
+ ne = te / d;
26391
+ break;
26392
+ case h:
26393
+ ne = te / u;
26394
+ break;
26395
+ case p:
26396
+ ne = te / c;
26397
+ break;
26398
+ default:
26399
+ ne = te;
26400
+ }
26401
+ return se ? ne : q.a(ne);
26402
+ }, J.daysInMonth = function() {
26403
+ return this.endOf(b).$D;
26404
+ }, J.$locale = function() {
26405
+ return D[this.$L];
26406
+ }, J.locale = function(K, Z) {
26407
+ if (!K)
26408
+ return this.$L;
26409
+ var se = this.clone(), ne = j(K, Z, !0);
26410
+ return ne && (se.$L = ne), se;
26411
+ }, J.clone = function() {
26412
+ return q.w(this.$d, this);
26413
+ }, J.toDate = function() {
26414
+ return new Date(this.valueOf());
26415
+ }, J.toJSON = function() {
26416
+ return this.isValid() ? this.toISOString() : null;
26417
+ }, J.toISOString = function() {
26418
+ return this.$d.toISOString();
26419
+ }, J.toString = function() {
26420
+ return this.$d.toUTCString();
26421
+ }, Y;
26422
+ }(), X = G.prototype;
26423
+ return H.prototype = X, [["$ms", f], ["$s", p], ["$m", h], ["$H", m], ["$W", g], ["$M", b], ["$y", S], ["$D", _]].forEach(function(Y) {
26424
+ X[Y[1]] = function(J) {
26425
+ return this.$g(J, Y[0], Y[1]);
26371
26426
  };
26372
- switch (le) {
26373
- case S:
26374
- ne = de() / 12;
26375
- break;
26376
- case b:
26377
- ne = de();
26378
- break;
26379
- case C:
26380
- ne = de() / 3;
26381
- break;
26382
- case v:
26383
- ne = (te - re) / 6048e5;
26384
- break;
26385
- case g:
26386
- ne = (te - re) / 864e5;
26387
- break;
26388
- case m:
26389
- ne = te / d;
26390
- break;
26391
- case h:
26392
- ne = te / u;
26393
- break;
26394
- case p:
26395
- ne = te / c;
26396
- break;
26397
- default:
26398
- ne = te;
26399
- }
26400
- return se ? ne : q.a(ne);
26401
- }, J.daysInMonth = function() {
26402
- return this.endOf(b).$D;
26403
- }, J.$locale = function() {
26404
- return D[this.$L];
26405
- }, J.locale = function(K, Z) {
26406
- if (!K)
26407
- return this.$L;
26408
- var se = this.clone(), ne = j(K, Z, !0);
26409
- return ne && (se.$L = ne), se;
26410
- }, J.clone = function() {
26411
- return q.w(this.$d, this);
26412
- }, J.toDate = function() {
26413
- return new Date(this.valueOf());
26414
- }, J.toJSON = function() {
26415
- return this.isValid() ? this.toISOString() : null;
26416
- }, J.toISOString = function() {
26417
- return this.$d.toISOString();
26418
- }, J.toString = function() {
26419
- return this.$d.toUTCString();
26420
- }, Y;
26421
- }(), X = G.prototype;
26422
- return H.prototype = X, [["$ms", f], ["$s", p], ["$m", h], ["$H", m], ["$W", g], ["$M", b], ["$y", S], ["$D", _]].forEach(function(Y) {
26423
- X[Y[1]] = function(J) {
26424
- return this.$g(J, Y[0], Y[1]);
26425
- };
26426
- }), H.extend = function(Y, J) {
26427
- return Y.$i || (Y(J, G, H), Y.$i = !0), H;
26428
- }, H.locale = j, H.isDayjs = z, H.unix = function(Y) {
26429
- return H(1e3 * Y);
26430
- }, H.en = D[k], H.Ls = D, H.p = {}, H;
26431
- });
26432
- })(dayjs_min);
26433
- var dayjs_minExports = dayjs_min.exports;
26427
+ }), H.extend = function(Y, J) {
26428
+ return Y.$i || (Y(J, G, H), Y.$i = !0), H;
26429
+ }, H.locale = j, H.isDayjs = z, H.unix = function(Y) {
26430
+ return H(1e3 * Y);
26431
+ }, H.en = D[k], H.Ls = D, H.p = {}, H;
26432
+ });
26433
+ }(dayjs_min)), dayjs_min.exports;
26434
+ }
26435
+ var dayjs_minExports = requireDayjs_min();
26434
26436
  const dayjs = /* @__PURE__ */ getDefaultExportFromCjs$1(dayjs_minExports);
26435
26437
  var weekday$1 = { exports: {} };
26436
26438
  (function(a, s) {
@@ -68268,7 +68270,7 @@ const queryString = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
68268
68270
  var vi$1 = { exports: {} };
68269
68271
  (function(a, s) {
68270
68272
  (function(c, u) {
68271
- a.exports = u(dayjs_minExports);
68273
+ a.exports = u(requireDayjs_min());
68272
68274
  })(commonjsGlobal, function(c) {
68273
68275
  function u(p) {
68274
68276
  return p && typeof p == "object" && "default" in p ? p : { default: p };
@@ -130945,6 +130947,56 @@ const undo = buildCommand(!1, !0), redo = buildCommand(!0, !0), History = Extens
130945
130947
  "Shift-Mod-я": () => this.editor.commands.redo()
130946
130948
  };
130947
130949
  }
130950
+ }), HardBreak = Node.create({
130951
+ name: "hardBreak",
130952
+ addOptions() {
130953
+ return {
130954
+ keepMarks: !0,
130955
+ HTMLAttributes: {}
130956
+ };
130957
+ },
130958
+ inline: !0,
130959
+ group: "inline",
130960
+ selectable: !1,
130961
+ linebreakReplacement: !0,
130962
+ parseHTML() {
130963
+ return [
130964
+ { tag: "br" }
130965
+ ];
130966
+ },
130967
+ renderHTML({ HTMLAttributes: a }) {
130968
+ return ["br", mergeAttributes(this.options.HTMLAttributes, a)];
130969
+ },
130970
+ renderText() {
130971
+ return `
130972
+ `;
130973
+ },
130974
+ addCommands() {
130975
+ return {
130976
+ setHardBreak: () => ({ commands: a, chain: s, state: c, editor: u }) => a.first([
130977
+ () => a.exitCode(),
130978
+ () => a.command(() => {
130979
+ const { selection: d, storedMarks: f } = c;
130980
+ if (d.$from.parent.type.spec.isolating)
130981
+ return !1;
130982
+ const { keepMarks: p } = this.options, { splittableMarks: h } = u.extensionManager, m = f || d.$to.parentOffset && d.$from.marks();
130983
+ return s().insertContent({ type: this.name }).command(({ tr: g, dispatch: v }) => {
130984
+ if (v && m && p) {
130985
+ const b = m.filter((C) => h.includes(C.type.name));
130986
+ g.ensureMarks(b);
130987
+ }
130988
+ return !0;
130989
+ }).run();
130990
+ })
130991
+ ])
130992
+ };
130993
+ },
130994
+ addKeyboardShortcuts() {
130995
+ return {
130996
+ "Mod-Enter": () => this.editor.commands.setHardBreak(),
130997
+ "Shift-Enter": () => this.editor.commands.setHardBreak()
130998
+ };
130999
+ }
130948
131000
  }), starInputRegex$1 = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, starPasteRegex$1 = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g, underscoreInputRegex$1 = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/, underscorePasteRegex$1 = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g, Bold = Mark.create({
130949
131001
  name: "bold",
130950
131002
  addOptions() {
@@ -137004,6 +137056,13 @@ const FontSize = Extension.create({
137004
137056
  ResizableMedia,
137005
137057
  FontSize,
137006
137058
  AutoParagraph,
137059
+ HardBreak.extend({
137060
+ addKeyboardShortcuts() {
137061
+ return {
137062
+ "Shift-Enter": () => this.editor.commands.setHardBreak()
137063
+ };
137064
+ }
137065
+ }),
137007
137066
  Placeholder.configure({
137008
137067
  emptyEditorClass: "is-editor-empty",
137009
137068
  placeholder: R
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beca-ui",
3
- "version": "2.0.19-beta.96",
3
+ "version": "2.0.19-beta.97",
4
4
  "description": "Becawork UI",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -83,6 +83,7 @@
83
83
  "@tiptap/extension-document": "2.10.3",
84
84
  "@tiptap/extension-focus": "2.10.3",
85
85
  "@tiptap/extension-font-family": "2.10.3",
86
+ "@tiptap/extension-hard-break": "^2.11.5",
86
87
  "@tiptap/extension-heading": "2.11.5",
87
88
  "@tiptap/extension-highlight": "2.10.3",
88
89
  "@tiptap/extension-history": "^2.11.5",