@bagelink/vue 0.0.530 → 0.0.538
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/components/Btn.vue.d.ts +5 -0
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/MapEmbed.vue.d.ts +50 -16
- package/dist/components/MapEmbed.vue.d.ts.map +1 -1
- package/dist/components/MaterialIcon.vue.d.ts +2 -2
- package/dist/components/MaterialIcon.vue.d.ts.map +1 -1
- package/dist/components/Popover.vue.d.ts +10 -0
- package/dist/components/Popover.vue.d.ts.map +1 -0
- package/dist/components/form/BglField.vue.d.ts.map +1 -1
- package/dist/components/form/ItemRef.vue.d.ts +0 -1
- package/dist/components/form/ItemRef.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectField.vue.d.ts +4 -1
- package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
- package/dist/index.cjs +223 -86
- package/dist/index.mjs +223 -86
- package/dist/style.css +103 -49
- package/dist/types/materialIcon.d.ts +2 -0
- package/dist/types/materialIcon.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/components/Btn.vue +3 -1
- package/src/components/MapEmbed.vue +40 -16
- package/src/components/MaterialIcon.vue +1 -1
- package/src/components/form/BglField.vue +7 -3
- package/src/components/form/inputs/SelectInput.vue +1 -1
- package/src/styles/appearance.css +62 -0
- package/dist/components/Drop.vue.d.ts +0 -34
- package/dist/components/Drop.vue.d.ts.map +0 -1
- package/dist/components/FileUploader.vue.d.ts +0 -60
- package/dist/components/FileUploader.vue.d.ts.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -3383,6 +3383,7 @@ const defaults$1 = {
|
|
|
3383
3383
|
utils$1.forEach(["delete", "get", "head", "post", "put", "patch"], (method) => {
|
|
3384
3384
|
defaults$1.headers[method] = {};
|
|
3385
3385
|
});
|
|
3386
|
+
const defaults$2 = defaults$1;
|
|
3386
3387
|
const ignoreDuplicateOf = utils$1.toObjectSet([
|
|
3387
3388
|
"age",
|
|
3388
3389
|
"authorization",
|
|
@@ -3644,10 +3645,11 @@ utils$1.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
|
3644
3645
|
};
|
|
3645
3646
|
});
|
|
3646
3647
|
utils$1.freezeMethods(AxiosHeaders);
|
|
3648
|
+
const AxiosHeaders$1 = AxiosHeaders;
|
|
3647
3649
|
function transformData(fns, response) {
|
|
3648
|
-
const config = this || defaults$
|
|
3650
|
+
const config = this || defaults$2;
|
|
3649
3651
|
const context = response || config;
|
|
3650
|
-
const headers = AxiosHeaders.from(context.headers);
|
|
3652
|
+
const headers = AxiosHeaders$1.from(context.headers);
|
|
3651
3653
|
let data2 = context.data;
|
|
3652
3654
|
utils$1.forEach(fns, function transform(fn2) {
|
|
3653
3655
|
data2 = fn2.call(config, data2, headers.normalize(), response ? response.status : void 0);
|
|
@@ -3846,7 +3848,7 @@ function buildFullPath(baseURL, requestedURL) {
|
|
|
3846
3848
|
}
|
|
3847
3849
|
return requestedURL;
|
|
3848
3850
|
}
|
|
3849
|
-
const headersToObject = (thing) => thing instanceof AxiosHeaders ? { ...thing } : thing;
|
|
3851
|
+
const headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? { ...thing } : thing;
|
|
3850
3852
|
function mergeConfig(config1, config2) {
|
|
3851
3853
|
config2 = config2 || {};
|
|
3852
3854
|
const config = {};
|
|
@@ -3927,7 +3929,7 @@ function mergeConfig(config1, config2) {
|
|
|
3927
3929
|
const resolveConfig = (config) => {
|
|
3928
3930
|
const newConfig = mergeConfig({}, config);
|
|
3929
3931
|
let { data: data2, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
3930
|
-
newConfig.headers = headers = AxiosHeaders.from(headers);
|
|
3932
|
+
newConfig.headers = headers = AxiosHeaders$1.from(headers);
|
|
3931
3933
|
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);
|
|
3932
3934
|
if (auth) {
|
|
3933
3935
|
headers.set(
|
|
@@ -3960,7 +3962,7 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
3960
3962
|
return new Promise(function dispatchXhrRequest(resolve, reject3) {
|
|
3961
3963
|
const _config = resolveConfig(config);
|
|
3962
3964
|
let requestData = _config.data;
|
|
3963
|
-
const requestHeaders = AxiosHeaders.from(_config.headers).normalize();
|
|
3965
|
+
const requestHeaders = AxiosHeaders$1.from(_config.headers).normalize();
|
|
3964
3966
|
let { responseType } = _config;
|
|
3965
3967
|
let onCanceled;
|
|
3966
3968
|
function done() {
|
|
@@ -3978,7 +3980,7 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
3978
3980
|
if (!request) {
|
|
3979
3981
|
return;
|
|
3980
3982
|
}
|
|
3981
|
-
const responseHeaders = AxiosHeaders.from(
|
|
3983
|
+
const responseHeaders = AxiosHeaders$1.from(
|
|
3982
3984
|
"getAllResponseHeaders" in request && request.getAllResponseHeaders()
|
|
3983
3985
|
);
|
|
3984
3986
|
const responseData = !responseType || responseType === "text" || responseType === "json" ? request.responseText : request.response;
|
|
@@ -4294,7 +4296,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
4294
4296
|
return await new Promise((resolve, reject3) => {
|
|
4295
4297
|
settle(resolve, reject3, {
|
|
4296
4298
|
data: responseData,
|
|
4297
|
-
headers: AxiosHeaders.from(response.headers),
|
|
4299
|
+
headers: AxiosHeaders$1.from(response.headers),
|
|
4298
4300
|
status: response.status,
|
|
4299
4301
|
statusText: response.statusText,
|
|
4300
4302
|
config,
|
|
@@ -4376,7 +4378,7 @@ function throwIfCancellationRequested(config) {
|
|
|
4376
4378
|
}
|
|
4377
4379
|
function dispatchRequest(config) {
|
|
4378
4380
|
throwIfCancellationRequested(config);
|
|
4379
|
-
config.headers = AxiosHeaders.from(config.headers);
|
|
4381
|
+
config.headers = AxiosHeaders$1.from(config.headers);
|
|
4380
4382
|
config.data = transformData.call(
|
|
4381
4383
|
config,
|
|
4382
4384
|
config.transformRequest
|
|
@@ -4384,7 +4386,7 @@ function dispatchRequest(config) {
|
|
|
4384
4386
|
if (["post", "put", "patch"].indexOf(config.method) !== -1) {
|
|
4385
4387
|
config.headers.setContentType("application/x-www-form-urlencoded", false);
|
|
4386
4388
|
}
|
|
4387
|
-
const adapter = adapters.getAdapter(config.adapter || defaults$
|
|
4389
|
+
const adapter = adapters.getAdapter(config.adapter || defaults$2.adapter);
|
|
4388
4390
|
return adapter(config).then(function onAdapterResolution(response) {
|
|
4389
4391
|
throwIfCancellationRequested(config);
|
|
4390
4392
|
response.data = transformData.call(
|
|
@@ -4392,7 +4394,7 @@ function dispatchRequest(config) {
|
|
|
4392
4394
|
config.transformResponse,
|
|
4393
4395
|
response
|
|
4394
4396
|
);
|
|
4395
|
-
response.headers = AxiosHeaders.from(response.headers);
|
|
4397
|
+
response.headers = AxiosHeaders$1.from(response.headers);
|
|
4396
4398
|
return response;
|
|
4397
4399
|
}, function onAdapterRejection(reason) {
|
|
4398
4400
|
if (!isCancel(reason)) {
|
|
@@ -4403,7 +4405,7 @@ function dispatchRequest(config) {
|
|
|
4403
4405
|
config.transformResponse,
|
|
4404
4406
|
reason.response
|
|
4405
4407
|
);
|
|
4406
|
-
reason.response.headers = AxiosHeaders.from(reason.response.headers);
|
|
4408
|
+
reason.response.headers = AxiosHeaders$1.from(reason.response.headers);
|
|
4407
4409
|
}
|
|
4408
4410
|
}
|
|
4409
4411
|
return Promise.reject(reason);
|
|
@@ -4542,7 +4544,7 @@ class Axios {
|
|
|
4542
4544
|
delete headers[method];
|
|
4543
4545
|
}
|
|
4544
4546
|
);
|
|
4545
|
-
config.headers = AxiosHeaders.concat(contextHeaders, headers);
|
|
4547
|
+
config.headers = AxiosHeaders$1.concat(contextHeaders, headers);
|
|
4546
4548
|
const requestInterceptorChain = [];
|
|
4547
4549
|
let synchronousRequestInterceptors = true;
|
|
4548
4550
|
this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
|
|
@@ -4626,6 +4628,7 @@ utils$1.forEach(["post", "put", "patch"], function forEachMethodWithData(method)
|
|
|
4626
4628
|
Axios.prototype[method] = generateHTTPMethod();
|
|
4627
4629
|
Axios.prototype[method + "Form"] = generateHTTPMethod(true);
|
|
4628
4630
|
});
|
|
4631
|
+
const Axios$1 = Axios;
|
|
4629
4632
|
class CancelToken {
|
|
4630
4633
|
constructor(executor) {
|
|
4631
4634
|
if (typeof executor !== "function") {
|
|
@@ -4712,6 +4715,7 @@ class CancelToken {
|
|
|
4712
4715
|
};
|
|
4713
4716
|
}
|
|
4714
4717
|
}
|
|
4718
|
+
const CancelToken$1 = CancelToken;
|
|
4715
4719
|
function spread(callback) {
|
|
4716
4720
|
return function wrap2(arr) {
|
|
4717
4721
|
return callback.apply(null, arr);
|
|
@@ -4788,20 +4792,21 @@ const HttpStatusCode = {
|
|
|
4788
4792
|
Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
4789
4793
|
HttpStatusCode[value] = key;
|
|
4790
4794
|
});
|
|
4795
|
+
const HttpStatusCode$1 = HttpStatusCode;
|
|
4791
4796
|
function createInstance(defaultConfig2) {
|
|
4792
|
-
const context = new Axios(defaultConfig2);
|
|
4793
|
-
const instance = bind$2(Axios.prototype.request, context);
|
|
4794
|
-
utils$1.extend(instance, Axios.prototype, context, { allOwnKeys: true });
|
|
4797
|
+
const context = new Axios$1(defaultConfig2);
|
|
4798
|
+
const instance = bind$2(Axios$1.prototype.request, context);
|
|
4799
|
+
utils$1.extend(instance, Axios$1.prototype, context, { allOwnKeys: true });
|
|
4795
4800
|
utils$1.extend(instance, context, null, { allOwnKeys: true });
|
|
4796
4801
|
instance.create = function create(instanceConfig) {
|
|
4797
4802
|
return createInstance(mergeConfig(defaultConfig2, instanceConfig));
|
|
4798
4803
|
};
|
|
4799
4804
|
return instance;
|
|
4800
4805
|
}
|
|
4801
|
-
const axios$1 = createInstance(defaults$
|
|
4802
|
-
axios$1.Axios = Axios;
|
|
4806
|
+
const axios$1 = createInstance(defaults$2);
|
|
4807
|
+
axios$1.Axios = Axios$1;
|
|
4803
4808
|
axios$1.CanceledError = CanceledError;
|
|
4804
|
-
axios$1.CancelToken = CancelToken;
|
|
4809
|
+
axios$1.CancelToken = CancelToken$1;
|
|
4805
4810
|
axios$1.isCancel = isCancel;
|
|
4806
4811
|
axios$1.VERSION = VERSION;
|
|
4807
4812
|
axios$1.toFormData = toFormData;
|
|
@@ -4813,10 +4818,10 @@ axios$1.all = function all(promises) {
|
|
|
4813
4818
|
axios$1.spread = spread;
|
|
4814
4819
|
axios$1.isAxiosError = isAxiosError;
|
|
4815
4820
|
axios$1.mergeConfig = mergeConfig;
|
|
4816
|
-
axios$1.AxiosHeaders = AxiosHeaders;
|
|
4821
|
+
axios$1.AxiosHeaders = AxiosHeaders$1;
|
|
4817
4822
|
axios$1.formToJSON = (thing) => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing);
|
|
4818
4823
|
axios$1.getAdapter = adapters.getAdapter;
|
|
4819
|
-
axios$1.HttpStatusCode = HttpStatusCode;
|
|
4824
|
+
axios$1.HttpStatusCode = HttpStatusCode$1;
|
|
4820
4825
|
axios$1.default = axios$1;
|
|
4821
4826
|
var __defProp = Object.defineProperty;
|
|
4822
4827
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
@@ -5386,7 +5391,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
5386
5391
|
}
|
|
5387
5392
|
});
|
|
5388
5393
|
const _hoisted_1$H = { class: "full-nav" };
|
|
5389
|
-
const _hoisted_2$
|
|
5394
|
+
const _hoisted_2$z = { class: "nav-scroll" };
|
|
5390
5395
|
const _hoisted_3$n = { class: "nav-links-wrapper" };
|
|
5391
5396
|
const _hoisted_4$f = { class: "tooltip" };
|
|
5392
5397
|
const _hoisted_5$c = { class: "bot-buttons-wrapper" };
|
|
@@ -5421,7 +5426,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
5421
5426
|
})
|
|
5422
5427
|
], 32),
|
|
5423
5428
|
vue.createElementVNode("div", _hoisted_1$H, [
|
|
5424
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
5429
|
+
vue.createElementVNode("div", _hoisted_2$z, [
|
|
5425
5430
|
vue.createElementVNode("div", _hoisted_3$n, [
|
|
5426
5431
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.links, (link) => {
|
|
5427
5432
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(link.to ? "router-link" : "div"), {
|
|
@@ -5483,7 +5488,7 @@ const _hoisted_1$G = {
|
|
|
5483
5488
|
key: 0,
|
|
5484
5489
|
class: "loading"
|
|
5485
5490
|
};
|
|
5486
|
-
const _hoisted_2$
|
|
5491
|
+
const _hoisted_2$y = {
|
|
5487
5492
|
key: 1,
|
|
5488
5493
|
class: "bgl_btn-flex"
|
|
5489
5494
|
};
|
|
@@ -5497,6 +5502,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
5497
5502
|
theme: {},
|
|
5498
5503
|
flat: { type: Boolean },
|
|
5499
5504
|
border: { type: Boolean, default: false },
|
|
5505
|
+
outline: { type: Boolean, default: false },
|
|
5500
5506
|
thin: { type: Boolean },
|
|
5501
5507
|
type: { default: "button" },
|
|
5502
5508
|
loading: { type: Boolean, default: false },
|
|
@@ -5510,8 +5516,8 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
5510
5516
|
},
|
|
5511
5517
|
setup(__props) {
|
|
5512
5518
|
vue.useCssVars((_ctx) => ({
|
|
5513
|
-
"
|
|
5514
|
-
"
|
|
5519
|
+
"743a2e01": computedBackgroundColor.value,
|
|
5520
|
+
"9ec72cc8": cumputedTextColor.value
|
|
5515
5521
|
}));
|
|
5516
5522
|
const props2 = __props;
|
|
5517
5523
|
const isComponent = vue.computed(() => {
|
|
@@ -5575,12 +5581,12 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
5575
5581
|
thin: _ctx.thin,
|
|
5576
5582
|
round: _ctx.round,
|
|
5577
5583
|
"bgl_flatBtn": _ctx.flat,
|
|
5578
|
-
"bgl_btn-border": _ctx.border
|
|
5584
|
+
"bgl_btn-border": _ctx.border || _ctx.outline
|
|
5579
5585
|
}),
|
|
5580
5586
|
onClick: vue.withModifiers(_ctx.onClick, ["stop"])
|
|
5581
5587
|
}, {
|
|
5582
5588
|
default: vue.withCtx(() => [
|
|
5583
|
-
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
5589
|
+
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$y, [
|
|
5584
5590
|
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$M), {
|
|
5585
5591
|
key: 0,
|
|
5586
5592
|
icon: _ctx.icon
|
|
@@ -5600,12 +5606,12 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
5600
5606
|
};
|
|
5601
5607
|
}
|
|
5602
5608
|
});
|
|
5603
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-
|
|
5609
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-204e25fe"]]);
|
|
5604
5610
|
const _hoisted_1$F = {
|
|
5605
5611
|
key: 0,
|
|
5606
5612
|
class: "tool-bar"
|
|
5607
5613
|
};
|
|
5608
|
-
const _hoisted_2$
|
|
5614
|
+
const _hoisted_2$x = {
|
|
5609
5615
|
key: 1,
|
|
5610
5616
|
class: "sticky bg-white z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
|
|
5611
5617
|
};
|
|
@@ -5692,7 +5698,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
5692
5698
|
tag: "h3",
|
|
5693
5699
|
label: _ctx.title
|
|
5694
5700
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true)
|
|
5695
|
-
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
5701
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$x, [
|
|
5696
5702
|
vue.createVNode(vue.unref(Btn), {
|
|
5697
5703
|
class: "color-black position-start",
|
|
5698
5704
|
icon: "close",
|
|
@@ -5832,7 +5838,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
5832
5838
|
});
|
|
5833
5839
|
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-9b1b63ca"]]);
|
|
5834
5840
|
const _hoisted_1$E = { class: "accordion-item" };
|
|
5835
|
-
const _hoisted_2$
|
|
5841
|
+
const _hoisted_2$w = ["aria-expanded", "aria-controls"];
|
|
5836
5842
|
const _hoisted_3$l = { class: "accordion-label" };
|
|
5837
5843
|
const _hoisted_4$e = ["id", "aria-hidden"];
|
|
5838
5844
|
const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -5887,7 +5893,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
5887
5893
|
}, [
|
|
5888
5894
|
vue.createVNode(vue.unref(_sfc_main$M), { icon: "expand_more" })
|
|
5889
5895
|
], 2)
|
|
5890
|
-
], 8, _hoisted_2$
|
|
5896
|
+
], 8, _hoisted_2$w),
|
|
5891
5897
|
vue.createVNode(vue.Transition, { name: "expand" }, {
|
|
5892
5898
|
default: vue.withCtx(() => [
|
|
5893
5899
|
vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -5908,11 +5914,11 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
5908
5914
|
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-b862dfb8"]]);
|
|
5909
5915
|
const _sfc_main$G = {};
|
|
5910
5916
|
const _hoisted_1$D = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0" };
|
|
5911
|
-
const _hoisted_2$
|
|
5917
|
+
const _hoisted_2$v = { class: "p-1" };
|
|
5912
5918
|
const _hoisted_3$k = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
|
|
5913
5919
|
function _sfc_render$2(_ctx, _cache) {
|
|
5914
5920
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
|
|
5915
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
5921
|
+
vue.createElementVNode("div", _hoisted_2$v, [
|
|
5916
5922
|
vue.renderSlot(_ctx.$slots, "header")
|
|
5917
5923
|
]),
|
|
5918
5924
|
vue.createElementVNode("div", _hoisted_3$k, [
|
|
@@ -5922,7 +5928,7 @@ function _sfc_render$2(_ctx, _cache) {
|
|
|
5922
5928
|
}
|
|
5923
5929
|
const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$2]]);
|
|
5924
5930
|
const _hoisted_1$C = { class: "no-margin ellipsis line-height-14 pb-025" };
|
|
5925
|
-
const _hoisted_2$
|
|
5931
|
+
const _hoisted_2$u = { class: "txt12 no-margin txt-gray ellipsis" };
|
|
5926
5932
|
const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
5927
5933
|
__name: "ListItem",
|
|
5928
5934
|
props: {
|
|
@@ -5951,7 +5957,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
5951
5957
|
vue.createTextVNode(vue.toDisplayString(_ctx.title) + " ", 1),
|
|
5952
5958
|
vue.renderSlot(_ctx.$slots, "default")
|
|
5953
5959
|
]),
|
|
5954
|
-
vue.createElementVNode("p", _hoisted_2$
|
|
5960
|
+
vue.createElementVNode("p", _hoisted_2$u, [
|
|
5955
5961
|
vue.createTextVNode(vue.toDisplayString(_ctx.subtitle) + " ", 1),
|
|
5956
5962
|
vue.renderSlot(_ctx.$slots, "subtitle")
|
|
5957
5963
|
])
|
|
@@ -5963,7 +5969,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
5963
5969
|
}
|
|
5964
5970
|
});
|
|
5965
5971
|
const _hoisted_1$B = { class: "page-top" };
|
|
5966
|
-
const _hoisted_2$
|
|
5972
|
+
const _hoisted_2$t = { class: "top-title m-0" };
|
|
5967
5973
|
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
5968
5974
|
__name: "PageTitle",
|
|
5969
5975
|
props: {
|
|
@@ -5975,7 +5981,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
5975
5981
|
setup(__props) {
|
|
5976
5982
|
return (_ctx, _cache) => {
|
|
5977
5983
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
|
|
5978
|
-
vue.createElementVNode("h1", _hoisted_2$
|
|
5984
|
+
vue.createElementVNode("h1", _hoisted_2$t, [
|
|
5979
5985
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
5980
5986
|
vue.createTextVNode(" " + vue.toDisplayString(__props.value), 1)
|
|
5981
5987
|
])
|
|
@@ -5984,7 +5990,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
5984
5990
|
}
|
|
5985
5991
|
});
|
|
5986
5992
|
const _hoisted_1$A = { class: "table-list-wrap h-100" };
|
|
5987
|
-
const _hoisted_2$
|
|
5993
|
+
const _hoisted_2$s = { class: "infinite-wrapper" };
|
|
5988
5994
|
const _hoisted_3$j = { class: "row first-row" };
|
|
5989
5995
|
const _hoisted_4$d = ["onClick"];
|
|
5990
5996
|
const _hoisted_5$b = { class: "flex" };
|
|
@@ -6090,7 +6096,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
6090
6096
|
}
|
|
6091
6097
|
return (_ctx, _cache) => {
|
|
6092
6098
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
|
|
6093
|
-
vue.createElementVNode("table", _hoisted_2$
|
|
6099
|
+
vue.createElementVNode("table", _hoisted_2$s, [
|
|
6094
6100
|
vue.createElementVNode("thead", _hoisted_3$j, [
|
|
6095
6101
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field) => {
|
|
6096
6102
|
return vue.openBlock(), vue.createElementBlock("th", {
|
|
@@ -6188,7 +6194,7 @@ const _hoisted_1$y = {
|
|
|
6188
6194
|
key: 0,
|
|
6189
6195
|
class: "data"
|
|
6190
6196
|
};
|
|
6191
|
-
const _hoisted_2$
|
|
6197
|
+
const _hoisted_2$r = {
|
|
6192
6198
|
key: 0,
|
|
6193
6199
|
class: "data-row"
|
|
6194
6200
|
};
|
|
@@ -6233,7 +6239,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
6233
6239
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
6234
6240
|
key: field.id
|
|
6235
6241
|
}, [
|
|
6236
|
-
vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
6242
|
+
vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$r, [
|
|
6237
6243
|
vue.createElementVNode("div", _hoisted_3$i, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1),
|
|
6238
6244
|
vue.createVNode(vue.unref(_sfc_main$n), {
|
|
6239
6245
|
modelValue: itemData.value,
|
|
@@ -6373,7 +6379,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
6373
6379
|
}
|
|
6374
6380
|
});
|
|
6375
6381
|
const _hoisted_1$v = ["dismissable"];
|
|
6376
|
-
const _hoisted_2$
|
|
6382
|
+
const _hoisted_2$q = { class: "m-0" };
|
|
6377
6383
|
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
6378
6384
|
__name: "Alert",
|
|
6379
6385
|
props: {
|
|
@@ -6402,7 +6408,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
6402
6408
|
size: 2,
|
|
6403
6409
|
color: color2[_ctx.type]
|
|
6404
6410
|
}, null, 8, ["icon", "color"])) : vue.createCommentVNode("", true),
|
|
6405
|
-
vue.createElementVNode("p", _hoisted_2$
|
|
6411
|
+
vue.createElementVNode("p", _hoisted_2$q, vue.toDisplayString(_ctx.message), 1),
|
|
6406
6412
|
vue.createVNode(Btn, {
|
|
6407
6413
|
flat: "",
|
|
6408
6414
|
thin: "",
|
|
@@ -6448,7 +6454,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
6448
6454
|
});
|
|
6449
6455
|
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-532b36ae"]]);
|
|
6450
6456
|
const _hoisted_1$u = ["src"];
|
|
6451
|
-
const _hoisted_2$
|
|
6457
|
+
const _hoisted_2$p = ["src", "autoplay", "muted", "loop", "controls"];
|
|
6452
6458
|
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
6453
6459
|
__name: "BglVideo",
|
|
6454
6460
|
props: {
|
|
@@ -6510,7 +6516,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
6510
6516
|
style: vue.normalizeStyle({ aspectRatio: aspectRatio.value }),
|
|
6511
6517
|
controls: _ctx.controls,
|
|
6512
6518
|
playsinline: ""
|
|
6513
|
-
}, null, 12, _hoisted_2$
|
|
6519
|
+
}, null, 12, _hoisted_2$p)) : vue.createCommentVNode("", true)
|
|
6514
6520
|
], 2);
|
|
6515
6521
|
};
|
|
6516
6522
|
}
|
|
@@ -6520,7 +6526,7 @@ const _hoisted_1$t = {
|
|
|
6520
6526
|
key: 0,
|
|
6521
6527
|
class: "blocker"
|
|
6522
6528
|
};
|
|
6523
|
-
const _hoisted_2$
|
|
6529
|
+
const _hoisted_2$o = { class: "Handlers" };
|
|
6524
6530
|
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
6525
6531
|
__name: "Carousel",
|
|
6526
6532
|
props: {
|
|
@@ -6672,7 +6678,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
6672
6678
|
vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t)) : vue.createCommentVNode("", true),
|
|
6673
6679
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
6674
6680
|
], 34),
|
|
6675
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
6681
|
+
vue.createElementVNode("div", _hoisted_2$o, [
|
|
6676
6682
|
vue.createElementVNode("span", { onClick: prev }, [
|
|
6677
6683
|
vue.renderSlot(_ctx.$slots, "prev", {
|
|
6678
6684
|
prev,
|
|
@@ -16289,23 +16295,46 @@ var leafletSrc = { exports: {} };
|
|
|
16289
16295
|
var leafletSrcExports = leafletSrc.exports;
|
|
16290
16296
|
const L$1 = /* @__PURE__ */ getDefaultExportFromCjs(leafletSrcExports);
|
|
16291
16297
|
const _hoisted_1$s = /* @__PURE__ */ vue.createElementVNode("div", { class: "map-test" }, null, -1);
|
|
16292
|
-
const
|
|
16298
|
+
const _hoisted_2$n = ["id"];
|
|
16299
|
+
const markerSVG = '<svg width="284" height="284" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M29.859 29.266A99 99 0 0 1 198.862 99.27c0 74.25-99 183.857-99 183.857s-99-109.607-99-183.858A99 99 0 0 1 29.86 29.266Zm70.004 118.961c25.513 0 46.195-20.683 46.195-46.196 0-25.513-20.682-46.195-46.195-46.195S53.667 76.518 53.667 102.03s20.683 46.196 46.196 46.196Z" fill="#F04033"/></svg>';
|
|
16293
16300
|
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
16294
16301
|
__name: "MapEmbed",
|
|
16295
16302
|
props: {
|
|
16296
|
-
center: {
|
|
16297
|
-
|
|
16298
|
-
|
|
16299
|
-
|
|
16303
|
+
center: {
|
|
16304
|
+
type: Object,
|
|
16305
|
+
default: [31.7683, 35.2137]
|
|
16306
|
+
},
|
|
16307
|
+
zoom: {
|
|
16308
|
+
type: Number,
|
|
16309
|
+
default: () => 13
|
|
16310
|
+
},
|
|
16311
|
+
height: {
|
|
16312
|
+
type: Number,
|
|
16313
|
+
default: () => 400
|
|
16314
|
+
},
|
|
16315
|
+
address: {
|
|
16316
|
+
type: String,
|
|
16317
|
+
default: () => ""
|
|
16318
|
+
},
|
|
16319
|
+
zoomControl: {
|
|
16320
|
+
type: Boolean,
|
|
16321
|
+
default: () => true
|
|
16322
|
+
}
|
|
16300
16323
|
},
|
|
16301
16324
|
setup(__props) {
|
|
16302
16325
|
const props2 = __props;
|
|
16303
16326
|
let map4 = vue.ref();
|
|
16304
16327
|
const markers = vue.ref([]);
|
|
16328
|
+
const id = vue.ref(Math.random().toString(36).substring(2, 10));
|
|
16305
16329
|
function initializeMap() {
|
|
16306
|
-
|
|
16307
|
-
|
|
16308
|
-
|
|
16330
|
+
if (props2.address) {
|
|
16331
|
+
geocodeAddress(props2.address).catch(console.error);
|
|
16332
|
+
}
|
|
16333
|
+
console.log(props2.zoomControl, props2.center);
|
|
16334
|
+
map4.value = L$1.map(id.value, {
|
|
16335
|
+
center: props2.center,
|
|
16336
|
+
zoom: props2.zoom,
|
|
16337
|
+
zoomControl: props2.zoomControl
|
|
16309
16338
|
});
|
|
16310
16339
|
L$1.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", { maxZoom: 18 }).addTo(map4.value);
|
|
16311
16340
|
}
|
|
@@ -16320,12 +16349,14 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
16320
16349
|
markers.value.push(marker);
|
|
16321
16350
|
}
|
|
16322
16351
|
async function geocodeAddress(address) {
|
|
16352
|
+
var _a2;
|
|
16323
16353
|
const geocodeUrl = `https://nominatim.openstreetmap.org/search?format=json&q=${encodeURIComponent(address)}`;
|
|
16324
16354
|
const res = await fetch(geocodeUrl);
|
|
16325
16355
|
const data2 = await res.json() || [];
|
|
16326
16356
|
data2.forEach((element) => {
|
|
16327
16357
|
addMarker([element.lat, element.lon]);
|
|
16328
16358
|
});
|
|
16359
|
+
(_a2 = map4.value) == null ? void 0 : _a2.fitBounds(L$1.featureGroup(markers.value).getBounds());
|
|
16329
16360
|
}
|
|
16330
16361
|
vue.watch(() => props2.address, (address) => {
|
|
16331
16362
|
if (address) geocodeAddress(address).catch(console.error);
|
|
@@ -16334,10 +16365,10 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
16334
16365
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
16335
16366
|
_hoisted_1$s,
|
|
16336
16367
|
vue.createElementVNode("div", {
|
|
16337
|
-
id:
|
|
16368
|
+
id: id.value,
|
|
16338
16369
|
class: "map",
|
|
16339
|
-
style: vue.normalizeStyle({ height: `${
|
|
16340
|
-
}, null,
|
|
16370
|
+
style: vue.normalizeStyle({ height: `${__props.height || 400}px` })
|
|
16371
|
+
}, null, 12, _hoisted_2$n)
|
|
16341
16372
|
], 64);
|
|
16342
16373
|
};
|
|
16343
16374
|
}
|
|
@@ -16509,6 +16540,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
16509
16540
|
if (props2.field.$el === "toggle") return ToggleInput;
|
|
16510
16541
|
if (props2.field.$el === "check") return CheckInput;
|
|
16511
16542
|
if (props2.field.$el === "richtext") return _sfc_main$a;
|
|
16543
|
+
if (props2.field.$el === "date") return _sfc_main$l;
|
|
16512
16544
|
return props2.field.$el || "div";
|
|
16513
16545
|
});
|
|
16514
16546
|
const formData = vue.computed({
|
|
@@ -16830,7 +16862,12 @@ function eachDayOfInterval(interval, options) {
|
|
|
16830
16862
|
const endTime = reversed ? +startDate : +endDate;
|
|
16831
16863
|
const currentDate = reversed ? endDate : startDate;
|
|
16832
16864
|
currentDate.setHours(0, 0, 0, 0);
|
|
16833
|
-
let step = 1;
|
|
16865
|
+
let step = (options == null ? void 0 : options.step) ?? 1;
|
|
16866
|
+
if (!step) return [];
|
|
16867
|
+
if (step < 0) {
|
|
16868
|
+
step = -step;
|
|
16869
|
+
reversed = !reversed;
|
|
16870
|
+
}
|
|
16834
16871
|
const dates = [];
|
|
16835
16872
|
while (+currentDate <= endTime) {
|
|
16836
16873
|
dates.push(toDate(currentDate));
|
|
@@ -16853,7 +16890,12 @@ function eachQuarterOfInterval(interval, options) {
|
|
|
16853
16890
|
let reversed = +startDate > +endDate;
|
|
16854
16891
|
const endTime = reversed ? +startOfQuarter(startDate) : +startOfQuarter(endDate);
|
|
16855
16892
|
let currentDate = reversed ? startOfQuarter(endDate) : startOfQuarter(startDate);
|
|
16856
|
-
let step = 1;
|
|
16893
|
+
let step = (options == null ? void 0 : options.step) ?? 1;
|
|
16894
|
+
if (!step) return [];
|
|
16895
|
+
if (step < 0) {
|
|
16896
|
+
step = -step;
|
|
16897
|
+
reversed = !reversed;
|
|
16898
|
+
}
|
|
16857
16899
|
const dates = [];
|
|
16858
16900
|
while (+currentDate <= endTime) {
|
|
16859
16901
|
dates.push(toDate(currentDate));
|
|
@@ -25217,7 +25259,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
25217
25259
|
const isSelected = (option2) => !!selectedItems.value.find((item) => getValue(option2) === getValue(item));
|
|
25218
25260
|
const filteredOptions = vue.computed(() => props2.options.filter((option2) => {
|
|
25219
25261
|
const searchTerm = search.value.split(/\s+/).filter(Boolean).map((t) => new RegExp(t, "gi"));
|
|
25220
|
-
return Boolean(option2) &&
|
|
25262
|
+
return Boolean(option2) && searchTerm.every((s2) => getLabel(option2).match(s2));
|
|
25221
25263
|
}));
|
|
25222
25264
|
function select2(option2) {
|
|
25223
25265
|
var _a2;
|
|
@@ -25362,7 +25404,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
25362
25404
|
};
|
|
25363
25405
|
}
|
|
25364
25406
|
});
|
|
25365
|
-
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
25407
|
+
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-761f89bf"]]);
|
|
25366
25408
|
/*!
|
|
25367
25409
|
* vue-draggable-next v2.2.0
|
|
25368
25410
|
* (c) 2023 Anish George
|
|
@@ -25648,8 +25690,10 @@ function isScrolledPast(el, elSide, parentSide) {
|
|
|
25648
25690
|
var parent = getParentAutoScrollElement(el, true), elSideVal = getRect(el)[elSide];
|
|
25649
25691
|
while (parent) {
|
|
25650
25692
|
var parentSideVal = getRect(parent)[parentSide], visible = void 0;
|
|
25651
|
-
{
|
|
25693
|
+
if (parentSide === "top" || parentSide === "left") {
|
|
25652
25694
|
visible = elSideVal >= parentSideVal;
|
|
25695
|
+
} else {
|
|
25696
|
+
visible = elSideVal <= parentSideVal;
|
|
25653
25697
|
}
|
|
25654
25698
|
if (!visible) return parent;
|
|
25655
25699
|
if (parent === getWindowScrollingElement()) break;
|
|
@@ -29349,6 +29393,8 @@ function removeRange(content, from2, to2) {
|
|
|
29349
29393
|
function insertInto(content, dist, insert, parent) {
|
|
29350
29394
|
let { index: index2, offset: offset2 } = content.findIndex(dist), child = content.maybeChild(index2);
|
|
29351
29395
|
if (offset2 == dist || child.isText) {
|
|
29396
|
+
if (parent && !parent.canReplace(index2, index2, insert))
|
|
29397
|
+
return null;
|
|
29352
29398
|
return content.cut(0, dist).append(insert).append(content.cut(dist));
|
|
29353
29399
|
}
|
|
29354
29400
|
let inner = insertInto(child.content, dist - offset2 - 1, insert);
|
|
@@ -37291,7 +37337,8 @@ function updateSelection(view, selection, origin2) {
|
|
|
37291
37337
|
if (!view.focused)
|
|
37292
37338
|
view.focus();
|
|
37293
37339
|
let tr2 = view.state.tr.setSelection(selection);
|
|
37294
|
-
|
|
37340
|
+
if (origin2 == "pointer")
|
|
37341
|
+
tr2.setMeta("pointer", true);
|
|
37295
37342
|
view.dispatch(tr2);
|
|
37296
37343
|
}
|
|
37297
37344
|
function selectClickedLeaf(view, inside) {
|
|
@@ -37299,7 +37346,7 @@ function selectClickedLeaf(view, inside) {
|
|
|
37299
37346
|
return false;
|
|
37300
37347
|
let $pos = view.state.doc.resolve(inside), node = $pos.nodeAfter;
|
|
37301
37348
|
if (node && node.isAtom && NodeSelection.isSelectable(node)) {
|
|
37302
|
-
updateSelection(view, new NodeSelection($pos));
|
|
37349
|
+
updateSelection(view, new NodeSelection($pos), "pointer");
|
|
37303
37350
|
return true;
|
|
37304
37351
|
}
|
|
37305
37352
|
return false;
|
|
@@ -37322,7 +37369,7 @@ function selectClickedNode(view, inside) {
|
|
|
37322
37369
|
}
|
|
37323
37370
|
}
|
|
37324
37371
|
if (selectAt != null) {
|
|
37325
|
-
updateSelection(view, NodeSelection.create(view.state.doc, selectAt));
|
|
37372
|
+
updateSelection(view, NodeSelection.create(view.state.doc, selectAt), "pointer");
|
|
37326
37373
|
return true;
|
|
37327
37374
|
} else {
|
|
37328
37375
|
return false;
|
|
@@ -37343,7 +37390,7 @@ function defaultTripleClick(view, inside, event) {
|
|
|
37343
37390
|
let doc2 = view.state.doc;
|
|
37344
37391
|
if (inside == -1) {
|
|
37345
37392
|
if (doc2.inlineContent) {
|
|
37346
|
-
updateSelection(view, TextSelection.create(doc2, 0, doc2.content.size));
|
|
37393
|
+
updateSelection(view, TextSelection.create(doc2, 0, doc2.content.size), "pointer");
|
|
37347
37394
|
return true;
|
|
37348
37395
|
}
|
|
37349
37396
|
return false;
|
|
@@ -37353,9 +37400,9 @@ function defaultTripleClick(view, inside, event) {
|
|
|
37353
37400
|
let node = i2 > $pos.depth ? $pos.nodeAfter : $pos.node(i2);
|
|
37354
37401
|
let nodePos = $pos.before(i2);
|
|
37355
37402
|
if (node.inlineContent)
|
|
37356
|
-
updateSelection(view, TextSelection.create(doc2, nodePos + 1, nodePos + 1 + node.content.size));
|
|
37403
|
+
updateSelection(view, TextSelection.create(doc2, nodePos + 1, nodePos + 1 + node.content.size), "pointer");
|
|
37357
37404
|
else if (NodeSelection.isSelectable(node))
|
|
37358
|
-
updateSelection(view, NodeSelection.create(doc2, nodePos));
|
|
37405
|
+
updateSelection(view, NodeSelection.create(doc2, nodePos), "pointer");
|
|
37359
37406
|
else
|
|
37360
37407
|
continue;
|
|
37361
37408
|
return true;
|
|
@@ -37472,7 +37519,7 @@ class MouseDown {
|
|
|
37472
37519
|
// thus doesn't get a reaction from ProseMirror. This
|
|
37473
37520
|
// works around that.
|
|
37474
37521
|
chrome && !this.view.state.selection.visible && Math.min(Math.abs(pos.pos - this.view.state.selection.from), Math.abs(pos.pos - this.view.state.selection.to)) <= 2)) {
|
|
37475
|
-
updateSelection(this.view, Selection$1.near(this.view.state.doc.resolve(pos.pos)));
|
|
37522
|
+
updateSelection(this.view, Selection$1.near(this.view.state.doc.resolve(pos.pos)), "pointer");
|
|
37476
37523
|
event.preventDefault();
|
|
37477
37524
|
} else {
|
|
37478
37525
|
setSelectionOrigin(this.view, "pointer");
|
|
@@ -43265,7 +43312,7 @@ img.ProseMirror-separator {
|
|
|
43265
43312
|
opacity: 0
|
|
43266
43313
|
}`;
|
|
43267
43314
|
function createStyleTag(style2, nonce, suffix) {
|
|
43268
|
-
const tiptapStyleTag = document.querySelector(`style[data-tiptap-style${""}]`);
|
|
43315
|
+
const tiptapStyleTag = document.querySelector(`style[data-tiptap-style${suffix ? `-${suffix}` : ""}]`);
|
|
43269
43316
|
if (tiptapStyleTag !== null) {
|
|
43270
43317
|
return tiptapStyleTag;
|
|
43271
43318
|
}
|
|
@@ -43273,7 +43320,7 @@ function createStyleTag(style2, nonce, suffix) {
|
|
|
43273
43320
|
if (nonce) {
|
|
43274
43321
|
styleNode.setAttribute("nonce", nonce);
|
|
43275
43322
|
}
|
|
43276
|
-
styleNode.setAttribute(`data-tiptap-style${""}`, "");
|
|
43323
|
+
styleNode.setAttribute(`data-tiptap-style${suffix ? `-${suffix}` : ""}`, "");
|
|
43277
43324
|
styleNode.innerHTML = style2;
|
|
43278
43325
|
document.getElementsByTagName("head")[0].appendChild(styleNode);
|
|
43279
43326
|
return styleNode;
|
|
@@ -51752,6 +51799,9 @@ function createColGroup(node, cellMinWidth, overrideCol, overrideValue) {
|
|
|
51752
51799
|
return { colgroup, tableWidth, tableMinWidth };
|
|
51753
51800
|
}
|
|
51754
51801
|
function createCell(cellType, cellContent) {
|
|
51802
|
+
if (cellContent) {
|
|
51803
|
+
return cellType.createChecked(null, cellContent);
|
|
51804
|
+
}
|
|
51755
51805
|
return cellType.createAndFill();
|
|
51756
51806
|
}
|
|
51757
51807
|
function getTableNodeTypes(schema) {
|
|
@@ -51773,12 +51823,12 @@ function createTable(schema, rowsCount, colsCount, withHeaderRow, cellContent) {
|
|
|
51773
51823
|
const headerCells = [];
|
|
51774
51824
|
const cells = [];
|
|
51775
51825
|
for (let index2 = 0; index2 < colsCount; index2 += 1) {
|
|
51776
|
-
const cell = createCell(types.cell);
|
|
51826
|
+
const cell = createCell(types.cell, cellContent);
|
|
51777
51827
|
if (cell) {
|
|
51778
51828
|
cells.push(cell);
|
|
51779
51829
|
}
|
|
51780
51830
|
if (withHeaderRow) {
|
|
51781
|
-
const headerCell = createCell(types.header_cell);
|
|
51831
|
+
const headerCell = createCell(types.header_cell, cellContent);
|
|
51782
51832
|
if (headerCell) {
|
|
51783
51833
|
headerCells.push(headerCell);
|
|
51784
51834
|
}
|
|
@@ -52333,7 +52383,18 @@ function _typeof$1(obj) {
|
|
|
52333
52383
|
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
52334
52384
|
}, _typeof$1(obj);
|
|
52335
52385
|
}
|
|
52386
|
+
function _defineProperties$2(target, props2) {
|
|
52387
|
+
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
52388
|
+
var descriptor = props2[i2];
|
|
52389
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
52390
|
+
descriptor.configurable = true;
|
|
52391
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
52392
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
52393
|
+
}
|
|
52394
|
+
}
|
|
52336
52395
|
function _createClass$2(Constructor, protoProps, staticProps) {
|
|
52396
|
+
if (protoProps) _defineProperties$2(Constructor.prototype, protoProps);
|
|
52397
|
+
if (staticProps) _defineProperties$2(Constructor, staticProps);
|
|
52337
52398
|
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
52338
52399
|
return Constructor;
|
|
52339
52400
|
}
|
|
@@ -52510,6 +52571,7 @@ function _defineProperties$1(target, props2) {
|
|
|
52510
52571
|
}
|
|
52511
52572
|
function _createClass$1(Constructor, protoProps, staticProps) {
|
|
52512
52573
|
if (protoProps) _defineProperties$1(Constructor.prototype, protoProps);
|
|
52574
|
+
if (staticProps) _defineProperties$1(Constructor, staticProps);
|
|
52513
52575
|
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
52514
52576
|
return Constructor;
|
|
52515
52577
|
}
|
|
@@ -53151,10 +53213,10 @@ var DIGITS = {
|
|
|
53151
53213
|
function parseDigit(character) {
|
|
53152
53214
|
return DIGITS[character];
|
|
53153
53215
|
}
|
|
53154
|
-
function _createForOfIteratorHelperLoose$
|
|
53216
|
+
function _createForOfIteratorHelperLoose$4(o2, allowArrayLike) {
|
|
53155
53217
|
var it2 = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
53156
53218
|
if (it2) return (it2 = it2.call(o2)).next.bind(it2);
|
|
53157
|
-
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$
|
|
53219
|
+
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$5(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
53158
53220
|
if (it2) o2 = it2;
|
|
53159
53221
|
var i2 = 0;
|
|
53160
53222
|
return function() {
|
|
@@ -53164,15 +53226,15 @@ function _createForOfIteratorHelperLoose$3(o2, allowArrayLike) {
|
|
|
53164
53226
|
}
|
|
53165
53227
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
53166
53228
|
}
|
|
53167
|
-
function _unsupportedIterableToArray$
|
|
53229
|
+
function _unsupportedIterableToArray$5(o2, minLen) {
|
|
53168
53230
|
if (!o2) return;
|
|
53169
|
-
if (typeof o2 === "string") return _arrayLikeToArray$
|
|
53231
|
+
if (typeof o2 === "string") return _arrayLikeToArray$5(o2, minLen);
|
|
53170
53232
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
53171
53233
|
if (n2 === "Object" && o2.constructor) n2 = o2.constructor.name;
|
|
53172
53234
|
if (n2 === "Map" || n2 === "Set") return Array.from(o2);
|
|
53173
|
-
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2)) return _arrayLikeToArray$
|
|
53235
|
+
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2)) return _arrayLikeToArray$5(o2, minLen);
|
|
53174
53236
|
}
|
|
53175
|
-
function _arrayLikeToArray$
|
|
53237
|
+
function _arrayLikeToArray$5(arr, len) {
|
|
53176
53238
|
if (len == null || len > arr.length) len = arr.length;
|
|
53177
53239
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++) {
|
|
53178
53240
|
arr2[i2] = arr[i2];
|
|
@@ -53181,7 +53243,7 @@ function _arrayLikeToArray$4(arr, len) {
|
|
|
53181
53243
|
}
|
|
53182
53244
|
function parseIncompletePhoneNumber(string2) {
|
|
53183
53245
|
var result2 = "";
|
|
53184
|
-
for (var _iterator = _createForOfIteratorHelperLoose$
|
|
53246
|
+
for (var _iterator = _createForOfIteratorHelperLoose$4(string2.split("")), _step; !(_step = _iterator()).done; ) {
|
|
53185
53247
|
var character = _step.value;
|
|
53186
53248
|
result2 += parsePhoneNumberCharacter(character, result2) || "";
|
|
53187
53249
|
}
|
|
@@ -53190,12 +53252,55 @@ function parseIncompletePhoneNumber(string2) {
|
|
|
53190
53252
|
function parsePhoneNumberCharacter(character, prevParsedCharacters, emitEvent) {
|
|
53191
53253
|
if (character === "+") {
|
|
53192
53254
|
if (prevParsedCharacters) {
|
|
53255
|
+
if (typeof emitEvent === "function") {
|
|
53256
|
+
emitEvent("end");
|
|
53257
|
+
}
|
|
53193
53258
|
return;
|
|
53194
53259
|
}
|
|
53195
53260
|
return "+";
|
|
53196
53261
|
}
|
|
53197
53262
|
return parseDigit(character);
|
|
53198
53263
|
}
|
|
53264
|
+
function _createForOfIteratorHelperLoose$3(o2, allowArrayLike) {
|
|
53265
|
+
var it2 = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
53266
|
+
if (it2) return (it2 = it2.call(o2)).next.bind(it2);
|
|
53267
|
+
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$4(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
53268
|
+
if (it2) o2 = it2;
|
|
53269
|
+
var i2 = 0;
|
|
53270
|
+
return function() {
|
|
53271
|
+
if (i2 >= o2.length) return { done: true };
|
|
53272
|
+
return { done: false, value: o2[i2++] };
|
|
53273
|
+
};
|
|
53274
|
+
}
|
|
53275
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
53276
|
+
}
|
|
53277
|
+
function _unsupportedIterableToArray$4(o2, minLen) {
|
|
53278
|
+
if (!o2) return;
|
|
53279
|
+
if (typeof o2 === "string") return _arrayLikeToArray$4(o2, minLen);
|
|
53280
|
+
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
53281
|
+
if (n2 === "Object" && o2.constructor) n2 = o2.constructor.name;
|
|
53282
|
+
if (n2 === "Map" || n2 === "Set") return Array.from(o2);
|
|
53283
|
+
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2)) return _arrayLikeToArray$4(o2, minLen);
|
|
53284
|
+
}
|
|
53285
|
+
function _arrayLikeToArray$4(arr, len) {
|
|
53286
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
53287
|
+
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++) {
|
|
53288
|
+
arr2[i2] = arr[i2];
|
|
53289
|
+
}
|
|
53290
|
+
return arr2;
|
|
53291
|
+
}
|
|
53292
|
+
function mergeArrays(a2, b2) {
|
|
53293
|
+
var merged = a2.slice();
|
|
53294
|
+
for (var _iterator = _createForOfIteratorHelperLoose$3(b2), _step; !(_step = _iterator()).done; ) {
|
|
53295
|
+
var element = _step.value;
|
|
53296
|
+
if (a2.indexOf(element) < 0) {
|
|
53297
|
+
merged.push(element);
|
|
53298
|
+
}
|
|
53299
|
+
}
|
|
53300
|
+
return merged.sort(function(a3, b3) {
|
|
53301
|
+
return a3 - b3;
|
|
53302
|
+
});
|
|
53303
|
+
}
|
|
53199
53304
|
function checkNumberLength(nationalNumber, metadata2) {
|
|
53200
53305
|
return checkNumberLengthForType(nationalNumber, void 0, metadata2);
|
|
53201
53306
|
}
|
|
@@ -53205,6 +53310,17 @@ function checkNumberLengthForType(nationalNumber, type3, metadata2) {
|
|
|
53205
53310
|
if (!possible_lengths) {
|
|
53206
53311
|
return "IS_POSSIBLE";
|
|
53207
53312
|
}
|
|
53313
|
+
if (type3 === "FIXED_LINE_OR_MOBILE") {
|
|
53314
|
+
if (!metadata2.type("FIXED_LINE")) {
|
|
53315
|
+
return checkNumberLengthForType(nationalNumber, "MOBILE", metadata2);
|
|
53316
|
+
}
|
|
53317
|
+
var mobile_type = metadata2.type("MOBILE");
|
|
53318
|
+
if (mobile_type) {
|
|
53319
|
+
possible_lengths = mergeArrays(possible_lengths, mobile_type.possibleLengths());
|
|
53320
|
+
}
|
|
53321
|
+
} else if (type3 && !type_info) {
|
|
53322
|
+
return "INVALID_LENGTH";
|
|
53323
|
+
}
|
|
53208
53324
|
var actual_length = nationalNumber.length;
|
|
53209
53325
|
var minimum_length = possible_lengths[0];
|
|
53210
53326
|
if (minimum_length === actual_length) {
|
|
@@ -53269,7 +53385,7 @@ function matchesEntirely(text, regular_expression) {
|
|
|
53269
53385
|
function _createForOfIteratorHelperLoose$2(o2, allowArrayLike) {
|
|
53270
53386
|
var it2 = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
53271
53387
|
if (it2) return (it2 = it2.call(o2)).next.bind(it2);
|
|
53272
|
-
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$3(o2)) || allowArrayLike) {
|
|
53388
|
+
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$3(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
53273
53389
|
if (it2) o2 = it2;
|
|
53274
53390
|
var i2 = 0;
|
|
53275
53391
|
return function() {
|
|
@@ -53369,6 +53485,8 @@ function applyInternationalSeparatorStyle(formattedNumber) {
|
|
|
53369
53485
|
var FIRST_GROUP_PATTERN = /(\$\d)/;
|
|
53370
53486
|
function formatNationalNumberUsingFormat(number2, format2, _ref) {
|
|
53371
53487
|
var useInternationalFormat = _ref.useInternationalFormat, withNationalPrefix = _ref.withNationalPrefix;
|
|
53488
|
+
_ref.carrierCode;
|
|
53489
|
+
_ref.metadata;
|
|
53372
53490
|
var formattedNumber = number2.replace(new RegExp(format2.pattern()), useInternationalFormat ? format2.internationalFormat() : (
|
|
53373
53491
|
// This library doesn't use `domestic_carrier_code_formatting_rule`,
|
|
53374
53492
|
// because that one is only used when formatting phone numbers
|
|
@@ -53414,7 +53532,7 @@ function formatRFC3966(_ref) {
|
|
|
53414
53532
|
function _createForOfIteratorHelperLoose$1(o2, allowArrayLike) {
|
|
53415
53533
|
var it2 = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
53416
53534
|
if (it2) return (it2 = it2.call(o2)).next.bind(it2);
|
|
53417
|
-
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$2(o2)) || allowArrayLike) {
|
|
53535
|
+
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$2(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
53418
53536
|
if (it2) o2 = it2;
|
|
53419
53537
|
var i2 = 0;
|
|
53420
53538
|
return function() {
|
|
@@ -53610,6 +53728,7 @@ function _defineProperties(target, props2) {
|
|
|
53610
53728
|
}
|
|
53611
53729
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
53612
53730
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
53731
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
53613
53732
|
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
53614
53733
|
return Constructor;
|
|
53615
53734
|
}
|
|
@@ -53906,7 +54025,7 @@ function extractCountryCallingCode(number2, country, callingCode, metadata2) {
|
|
|
53906
54025
|
function _createForOfIteratorHelperLoose(o2, allowArrayLike) {
|
|
53907
54026
|
var it2 = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
53908
54027
|
if (it2) return (it2 = it2.call(o2)).next.bind(it2);
|
|
53909
|
-
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$1(o2)) || allowArrayLike) {
|
|
54028
|
+
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$1(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
53910
54029
|
if (it2) o2 = it2;
|
|
53911
54030
|
var i2 = 0;
|
|
53912
54031
|
return function() {
|
|
@@ -53960,8 +54079,14 @@ function getCountryByNationalNumber(nationalPhoneNumber, _ref) {
|
|
|
53960
54079
|
return matchingCountries[0];
|
|
53961
54080
|
}
|
|
53962
54081
|
}
|
|
54082
|
+
var USE_NON_GEOGRAPHIC_COUNTRY_CODE = false;
|
|
53963
54083
|
function getCountryByCallingCode(callingCode, _ref) {
|
|
53964
54084
|
var nationalPhoneNumber = _ref.nationalNumber, defaultCountry = _ref.defaultCountry, metadata2 = _ref.metadata;
|
|
54085
|
+
if (USE_NON_GEOGRAPHIC_COUNTRY_CODE) {
|
|
54086
|
+
if (metadata2.isNonGeographicCallingCode(callingCode)) {
|
|
54087
|
+
return "001";
|
|
54088
|
+
}
|
|
54089
|
+
}
|
|
53965
54090
|
var possibleCountries = metadata2.getCountryCodesForCallingCode(callingCode);
|
|
53966
54091
|
if (!possibleCountries) {
|
|
53967
54092
|
return;
|
|
@@ -56378,7 +56503,7 @@ const bisectCenter = bisector(number$2).center;
|
|
|
56378
56503
|
function extent(values3, valueof) {
|
|
56379
56504
|
let min2;
|
|
56380
56505
|
let max2;
|
|
56381
|
-
{
|
|
56506
|
+
if (valueof === void 0) {
|
|
56382
56507
|
for (const value of values3) {
|
|
56383
56508
|
if (value != null) {
|
|
56384
56509
|
if (min2 === void 0) {
|
|
@@ -56389,6 +56514,18 @@ function extent(values3, valueof) {
|
|
|
56389
56514
|
}
|
|
56390
56515
|
}
|
|
56391
56516
|
}
|
|
56517
|
+
} else {
|
|
56518
|
+
let index2 = -1;
|
|
56519
|
+
for (let value of values3) {
|
|
56520
|
+
if ((value = valueof(value, ++index2, values3)) != null) {
|
|
56521
|
+
if (min2 === void 0) {
|
|
56522
|
+
if (value >= value) min2 = max2 = value;
|
|
56523
|
+
} else {
|
|
56524
|
+
if (min2 > value) min2 = value;
|
|
56525
|
+
if (max2 < value) max2 = value;
|
|
56526
|
+
}
|
|
56527
|
+
}
|
|
56528
|
+
}
|
|
56392
56529
|
}
|
|
56393
56530
|
return [min2, max2];
|
|
56394
56531
|
}
|