@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.mjs
CHANGED
|
@@ -3381,6 +3381,7 @@ const defaults$1 = {
|
|
|
3381
3381
|
utils$1.forEach(["delete", "get", "head", "post", "put", "patch"], (method) => {
|
|
3382
3382
|
defaults$1.headers[method] = {};
|
|
3383
3383
|
});
|
|
3384
|
+
const defaults$2 = defaults$1;
|
|
3384
3385
|
const ignoreDuplicateOf = utils$1.toObjectSet([
|
|
3385
3386
|
"age",
|
|
3386
3387
|
"authorization",
|
|
@@ -3642,10 +3643,11 @@ utils$1.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
|
3642
3643
|
};
|
|
3643
3644
|
});
|
|
3644
3645
|
utils$1.freezeMethods(AxiosHeaders);
|
|
3646
|
+
const AxiosHeaders$1 = AxiosHeaders;
|
|
3645
3647
|
function transformData(fns, response) {
|
|
3646
|
-
const config = this || defaults$
|
|
3648
|
+
const config = this || defaults$2;
|
|
3647
3649
|
const context = response || config;
|
|
3648
|
-
const headers = AxiosHeaders.from(context.headers);
|
|
3650
|
+
const headers = AxiosHeaders$1.from(context.headers);
|
|
3649
3651
|
let data2 = context.data;
|
|
3650
3652
|
utils$1.forEach(fns, function transform(fn2) {
|
|
3651
3653
|
data2 = fn2.call(config, data2, headers.normalize(), response ? response.status : void 0);
|
|
@@ -3844,7 +3846,7 @@ function buildFullPath(baseURL, requestedURL) {
|
|
|
3844
3846
|
}
|
|
3845
3847
|
return requestedURL;
|
|
3846
3848
|
}
|
|
3847
|
-
const headersToObject = (thing) => thing instanceof AxiosHeaders ? { ...thing } : thing;
|
|
3849
|
+
const headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? { ...thing } : thing;
|
|
3848
3850
|
function mergeConfig(config1, config2) {
|
|
3849
3851
|
config2 = config2 || {};
|
|
3850
3852
|
const config = {};
|
|
@@ -3925,7 +3927,7 @@ function mergeConfig(config1, config2) {
|
|
|
3925
3927
|
const resolveConfig = (config) => {
|
|
3926
3928
|
const newConfig = mergeConfig({}, config);
|
|
3927
3929
|
let { data: data2, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
3928
|
-
newConfig.headers = headers = AxiosHeaders.from(headers);
|
|
3930
|
+
newConfig.headers = headers = AxiosHeaders$1.from(headers);
|
|
3929
3931
|
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);
|
|
3930
3932
|
if (auth) {
|
|
3931
3933
|
headers.set(
|
|
@@ -3958,7 +3960,7 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
3958
3960
|
return new Promise(function dispatchXhrRequest(resolve, reject3) {
|
|
3959
3961
|
const _config = resolveConfig(config);
|
|
3960
3962
|
let requestData = _config.data;
|
|
3961
|
-
const requestHeaders = AxiosHeaders.from(_config.headers).normalize();
|
|
3963
|
+
const requestHeaders = AxiosHeaders$1.from(_config.headers).normalize();
|
|
3962
3964
|
let { responseType } = _config;
|
|
3963
3965
|
let onCanceled;
|
|
3964
3966
|
function done() {
|
|
@@ -3976,7 +3978,7 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
3976
3978
|
if (!request) {
|
|
3977
3979
|
return;
|
|
3978
3980
|
}
|
|
3979
|
-
const responseHeaders = AxiosHeaders.from(
|
|
3981
|
+
const responseHeaders = AxiosHeaders$1.from(
|
|
3980
3982
|
"getAllResponseHeaders" in request && request.getAllResponseHeaders()
|
|
3981
3983
|
);
|
|
3982
3984
|
const responseData = !responseType || responseType === "text" || responseType === "json" ? request.responseText : request.response;
|
|
@@ -4292,7 +4294,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
4292
4294
|
return await new Promise((resolve, reject3) => {
|
|
4293
4295
|
settle(resolve, reject3, {
|
|
4294
4296
|
data: responseData,
|
|
4295
|
-
headers: AxiosHeaders.from(response.headers),
|
|
4297
|
+
headers: AxiosHeaders$1.from(response.headers),
|
|
4296
4298
|
status: response.status,
|
|
4297
4299
|
statusText: response.statusText,
|
|
4298
4300
|
config,
|
|
@@ -4374,7 +4376,7 @@ function throwIfCancellationRequested(config) {
|
|
|
4374
4376
|
}
|
|
4375
4377
|
function dispatchRequest(config) {
|
|
4376
4378
|
throwIfCancellationRequested(config);
|
|
4377
|
-
config.headers = AxiosHeaders.from(config.headers);
|
|
4379
|
+
config.headers = AxiosHeaders$1.from(config.headers);
|
|
4378
4380
|
config.data = transformData.call(
|
|
4379
4381
|
config,
|
|
4380
4382
|
config.transformRequest
|
|
@@ -4382,7 +4384,7 @@ function dispatchRequest(config) {
|
|
|
4382
4384
|
if (["post", "put", "patch"].indexOf(config.method) !== -1) {
|
|
4383
4385
|
config.headers.setContentType("application/x-www-form-urlencoded", false);
|
|
4384
4386
|
}
|
|
4385
|
-
const adapter = adapters.getAdapter(config.adapter || defaults$
|
|
4387
|
+
const adapter = adapters.getAdapter(config.adapter || defaults$2.adapter);
|
|
4386
4388
|
return adapter(config).then(function onAdapterResolution(response) {
|
|
4387
4389
|
throwIfCancellationRequested(config);
|
|
4388
4390
|
response.data = transformData.call(
|
|
@@ -4390,7 +4392,7 @@ function dispatchRequest(config) {
|
|
|
4390
4392
|
config.transformResponse,
|
|
4391
4393
|
response
|
|
4392
4394
|
);
|
|
4393
|
-
response.headers = AxiosHeaders.from(response.headers);
|
|
4395
|
+
response.headers = AxiosHeaders$1.from(response.headers);
|
|
4394
4396
|
return response;
|
|
4395
4397
|
}, function onAdapterRejection(reason) {
|
|
4396
4398
|
if (!isCancel(reason)) {
|
|
@@ -4401,7 +4403,7 @@ function dispatchRequest(config) {
|
|
|
4401
4403
|
config.transformResponse,
|
|
4402
4404
|
reason.response
|
|
4403
4405
|
);
|
|
4404
|
-
reason.response.headers = AxiosHeaders.from(reason.response.headers);
|
|
4406
|
+
reason.response.headers = AxiosHeaders$1.from(reason.response.headers);
|
|
4405
4407
|
}
|
|
4406
4408
|
}
|
|
4407
4409
|
return Promise.reject(reason);
|
|
@@ -4540,7 +4542,7 @@ class Axios {
|
|
|
4540
4542
|
delete headers[method];
|
|
4541
4543
|
}
|
|
4542
4544
|
);
|
|
4543
|
-
config.headers = AxiosHeaders.concat(contextHeaders, headers);
|
|
4545
|
+
config.headers = AxiosHeaders$1.concat(contextHeaders, headers);
|
|
4544
4546
|
const requestInterceptorChain = [];
|
|
4545
4547
|
let synchronousRequestInterceptors = true;
|
|
4546
4548
|
this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
|
|
@@ -4624,6 +4626,7 @@ utils$1.forEach(["post", "put", "patch"], function forEachMethodWithData(method)
|
|
|
4624
4626
|
Axios.prototype[method] = generateHTTPMethod();
|
|
4625
4627
|
Axios.prototype[method + "Form"] = generateHTTPMethod(true);
|
|
4626
4628
|
});
|
|
4629
|
+
const Axios$1 = Axios;
|
|
4627
4630
|
class CancelToken {
|
|
4628
4631
|
constructor(executor) {
|
|
4629
4632
|
if (typeof executor !== "function") {
|
|
@@ -4710,6 +4713,7 @@ class CancelToken {
|
|
|
4710
4713
|
};
|
|
4711
4714
|
}
|
|
4712
4715
|
}
|
|
4716
|
+
const CancelToken$1 = CancelToken;
|
|
4713
4717
|
function spread(callback) {
|
|
4714
4718
|
return function wrap2(arr) {
|
|
4715
4719
|
return callback.apply(null, arr);
|
|
@@ -4786,20 +4790,21 @@ const HttpStatusCode = {
|
|
|
4786
4790
|
Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
4787
4791
|
HttpStatusCode[value] = key;
|
|
4788
4792
|
});
|
|
4793
|
+
const HttpStatusCode$1 = HttpStatusCode;
|
|
4789
4794
|
function createInstance(defaultConfig2) {
|
|
4790
|
-
const context = new Axios(defaultConfig2);
|
|
4791
|
-
const instance = bind$2(Axios.prototype.request, context);
|
|
4792
|
-
utils$1.extend(instance, Axios.prototype, context, { allOwnKeys: true });
|
|
4795
|
+
const context = new Axios$1(defaultConfig2);
|
|
4796
|
+
const instance = bind$2(Axios$1.prototype.request, context);
|
|
4797
|
+
utils$1.extend(instance, Axios$1.prototype, context, { allOwnKeys: true });
|
|
4793
4798
|
utils$1.extend(instance, context, null, { allOwnKeys: true });
|
|
4794
4799
|
instance.create = function create(instanceConfig) {
|
|
4795
4800
|
return createInstance(mergeConfig(defaultConfig2, instanceConfig));
|
|
4796
4801
|
};
|
|
4797
4802
|
return instance;
|
|
4798
4803
|
}
|
|
4799
|
-
const axios$1 = createInstance(defaults$
|
|
4800
|
-
axios$1.Axios = Axios;
|
|
4804
|
+
const axios$1 = createInstance(defaults$2);
|
|
4805
|
+
axios$1.Axios = Axios$1;
|
|
4801
4806
|
axios$1.CanceledError = CanceledError;
|
|
4802
|
-
axios$1.CancelToken = CancelToken;
|
|
4807
|
+
axios$1.CancelToken = CancelToken$1;
|
|
4803
4808
|
axios$1.isCancel = isCancel;
|
|
4804
4809
|
axios$1.VERSION = VERSION;
|
|
4805
4810
|
axios$1.toFormData = toFormData;
|
|
@@ -4811,10 +4816,10 @@ axios$1.all = function all(promises) {
|
|
|
4811
4816
|
axios$1.spread = spread;
|
|
4812
4817
|
axios$1.isAxiosError = isAxiosError;
|
|
4813
4818
|
axios$1.mergeConfig = mergeConfig;
|
|
4814
|
-
axios$1.AxiosHeaders = AxiosHeaders;
|
|
4819
|
+
axios$1.AxiosHeaders = AxiosHeaders$1;
|
|
4815
4820
|
axios$1.formToJSON = (thing) => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing);
|
|
4816
4821
|
axios$1.getAdapter = adapters.getAdapter;
|
|
4817
|
-
axios$1.HttpStatusCode = HttpStatusCode;
|
|
4822
|
+
axios$1.HttpStatusCode = HttpStatusCode$1;
|
|
4818
4823
|
axios$1.default = axios$1;
|
|
4819
4824
|
var __defProp = Object.defineProperty;
|
|
4820
4825
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
@@ -5384,7 +5389,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
5384
5389
|
}
|
|
5385
5390
|
});
|
|
5386
5391
|
const _hoisted_1$H = { class: "full-nav" };
|
|
5387
|
-
const _hoisted_2$
|
|
5392
|
+
const _hoisted_2$z = { class: "nav-scroll" };
|
|
5388
5393
|
const _hoisted_3$n = { class: "nav-links-wrapper" };
|
|
5389
5394
|
const _hoisted_4$f = { class: "tooltip" };
|
|
5390
5395
|
const _hoisted_5$c = { class: "bot-buttons-wrapper" };
|
|
@@ -5419,7 +5424,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
5419
5424
|
})
|
|
5420
5425
|
], 32),
|
|
5421
5426
|
createElementVNode("div", _hoisted_1$H, [
|
|
5422
|
-
createElementVNode("div", _hoisted_2$
|
|
5427
|
+
createElementVNode("div", _hoisted_2$z, [
|
|
5423
5428
|
createElementVNode("div", _hoisted_3$n, [
|
|
5424
5429
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.links, (link) => {
|
|
5425
5430
|
return openBlock(), createBlock(resolveDynamicComponent(link.to ? "router-link" : "div"), {
|
|
@@ -5481,7 +5486,7 @@ const _hoisted_1$G = {
|
|
|
5481
5486
|
key: 0,
|
|
5482
5487
|
class: "loading"
|
|
5483
5488
|
};
|
|
5484
|
-
const _hoisted_2$
|
|
5489
|
+
const _hoisted_2$y = {
|
|
5485
5490
|
key: 1,
|
|
5486
5491
|
class: "bgl_btn-flex"
|
|
5487
5492
|
};
|
|
@@ -5495,6 +5500,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
5495
5500
|
theme: {},
|
|
5496
5501
|
flat: { type: Boolean },
|
|
5497
5502
|
border: { type: Boolean, default: false },
|
|
5503
|
+
outline: { type: Boolean, default: false },
|
|
5498
5504
|
thin: { type: Boolean },
|
|
5499
5505
|
type: { default: "button" },
|
|
5500
5506
|
loading: { type: Boolean, default: false },
|
|
@@ -5508,8 +5514,8 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
5508
5514
|
},
|
|
5509
5515
|
setup(__props) {
|
|
5510
5516
|
useCssVars((_ctx) => ({
|
|
5511
|
-
"
|
|
5512
|
-
"
|
|
5517
|
+
"743a2e01": computedBackgroundColor.value,
|
|
5518
|
+
"9ec72cc8": cumputedTextColor.value
|
|
5513
5519
|
}));
|
|
5514
5520
|
const props2 = __props;
|
|
5515
5521
|
const isComponent = computed(() => {
|
|
@@ -5573,12 +5579,12 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
5573
5579
|
thin: _ctx.thin,
|
|
5574
5580
|
round: _ctx.round,
|
|
5575
5581
|
"bgl_flatBtn": _ctx.flat,
|
|
5576
|
-
"bgl_btn-border": _ctx.border
|
|
5582
|
+
"bgl_btn-border": _ctx.border || _ctx.outline
|
|
5577
5583
|
}),
|
|
5578
5584
|
onClick: withModifiers(_ctx.onClick, ["stop"])
|
|
5579
5585
|
}, {
|
|
5580
5586
|
default: withCtx(() => [
|
|
5581
|
-
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$G)) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
5587
|
+
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$G)) : (openBlock(), createElementBlock("div", _hoisted_2$y, [
|
|
5582
5588
|
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$M), {
|
|
5583
5589
|
key: 0,
|
|
5584
5590
|
icon: _ctx.icon
|
|
@@ -5598,12 +5604,12 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
5598
5604
|
};
|
|
5599
5605
|
}
|
|
5600
5606
|
});
|
|
5601
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-
|
|
5607
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-204e25fe"]]);
|
|
5602
5608
|
const _hoisted_1$F = {
|
|
5603
5609
|
key: 0,
|
|
5604
5610
|
class: "tool-bar"
|
|
5605
5611
|
};
|
|
5606
|
-
const _hoisted_2$
|
|
5612
|
+
const _hoisted_2$x = {
|
|
5607
5613
|
key: 1,
|
|
5608
5614
|
class: "sticky bg-white z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
|
|
5609
5615
|
};
|
|
@@ -5690,7 +5696,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
5690
5696
|
tag: "h3",
|
|
5691
5697
|
label: _ctx.title
|
|
5692
5698
|
}, null, 8, ["label"])) : createCommentVNode("", true)
|
|
5693
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
5699
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_2$x, [
|
|
5694
5700
|
createVNode(unref(Btn), {
|
|
5695
5701
|
class: "color-black position-start",
|
|
5696
5702
|
icon: "close",
|
|
@@ -5830,7 +5836,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
5830
5836
|
});
|
|
5831
5837
|
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-9b1b63ca"]]);
|
|
5832
5838
|
const _hoisted_1$E = { class: "accordion-item" };
|
|
5833
|
-
const _hoisted_2$
|
|
5839
|
+
const _hoisted_2$w = ["aria-expanded", "aria-controls"];
|
|
5834
5840
|
const _hoisted_3$l = { class: "accordion-label" };
|
|
5835
5841
|
const _hoisted_4$e = ["id", "aria-hidden"];
|
|
5836
5842
|
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
@@ -5885,7 +5891,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
5885
5891
|
}, [
|
|
5886
5892
|
createVNode(unref(_sfc_main$M), { icon: "expand_more" })
|
|
5887
5893
|
], 2)
|
|
5888
|
-
], 8, _hoisted_2$
|
|
5894
|
+
], 8, _hoisted_2$w),
|
|
5889
5895
|
createVNode(Transition, { name: "expand" }, {
|
|
5890
5896
|
default: withCtx(() => [
|
|
5891
5897
|
unref(isOpen) ? (openBlock(), createElementBlock("div", {
|
|
@@ -5906,11 +5912,11 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
5906
5912
|
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-b862dfb8"]]);
|
|
5907
5913
|
const _sfc_main$G = {};
|
|
5908
5914
|
const _hoisted_1$D = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0" };
|
|
5909
|
-
const _hoisted_2$
|
|
5915
|
+
const _hoisted_2$v = { class: "p-1" };
|
|
5910
5916
|
const _hoisted_3$k = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
|
|
5911
5917
|
function _sfc_render$2(_ctx, _cache) {
|
|
5912
5918
|
return openBlock(), createElementBlock("div", _hoisted_1$D, [
|
|
5913
|
-
createElementVNode("div", _hoisted_2$
|
|
5919
|
+
createElementVNode("div", _hoisted_2$v, [
|
|
5914
5920
|
renderSlot(_ctx.$slots, "header")
|
|
5915
5921
|
]),
|
|
5916
5922
|
createElementVNode("div", _hoisted_3$k, [
|
|
@@ -5920,7 +5926,7 @@ function _sfc_render$2(_ctx, _cache) {
|
|
|
5920
5926
|
}
|
|
5921
5927
|
const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$2]]);
|
|
5922
5928
|
const _hoisted_1$C = { class: "no-margin ellipsis line-height-14 pb-025" };
|
|
5923
|
-
const _hoisted_2$
|
|
5929
|
+
const _hoisted_2$u = { class: "txt12 no-margin txt-gray ellipsis" };
|
|
5924
5930
|
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
5925
5931
|
__name: "ListItem",
|
|
5926
5932
|
props: {
|
|
@@ -5949,7 +5955,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
5949
5955
|
createTextVNode(toDisplayString(_ctx.title) + " ", 1),
|
|
5950
5956
|
renderSlot(_ctx.$slots, "default")
|
|
5951
5957
|
]),
|
|
5952
|
-
createElementVNode("p", _hoisted_2$
|
|
5958
|
+
createElementVNode("p", _hoisted_2$u, [
|
|
5953
5959
|
createTextVNode(toDisplayString(_ctx.subtitle) + " ", 1),
|
|
5954
5960
|
renderSlot(_ctx.$slots, "subtitle")
|
|
5955
5961
|
])
|
|
@@ -5961,7 +5967,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
5961
5967
|
}
|
|
5962
5968
|
});
|
|
5963
5969
|
const _hoisted_1$B = { class: "page-top" };
|
|
5964
|
-
const _hoisted_2$
|
|
5970
|
+
const _hoisted_2$t = { class: "top-title m-0" };
|
|
5965
5971
|
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
5966
5972
|
__name: "PageTitle",
|
|
5967
5973
|
props: {
|
|
@@ -5973,7 +5979,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
5973
5979
|
setup(__props) {
|
|
5974
5980
|
return (_ctx, _cache) => {
|
|
5975
5981
|
return openBlock(), createElementBlock("div", _hoisted_1$B, [
|
|
5976
|
-
createElementVNode("h1", _hoisted_2$
|
|
5982
|
+
createElementVNode("h1", _hoisted_2$t, [
|
|
5977
5983
|
renderSlot(_ctx.$slots, "default"),
|
|
5978
5984
|
createTextVNode(" " + toDisplayString(__props.value), 1)
|
|
5979
5985
|
])
|
|
@@ -5982,7 +5988,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
5982
5988
|
}
|
|
5983
5989
|
});
|
|
5984
5990
|
const _hoisted_1$A = { class: "table-list-wrap h-100" };
|
|
5985
|
-
const _hoisted_2$
|
|
5991
|
+
const _hoisted_2$s = { class: "infinite-wrapper" };
|
|
5986
5992
|
const _hoisted_3$j = { class: "row first-row" };
|
|
5987
5993
|
const _hoisted_4$d = ["onClick"];
|
|
5988
5994
|
const _hoisted_5$b = { class: "flex" };
|
|
@@ -6088,7 +6094,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
6088
6094
|
}
|
|
6089
6095
|
return (_ctx, _cache) => {
|
|
6090
6096
|
return openBlock(), createElementBlock("div", _hoisted_1$A, [
|
|
6091
|
-
createElementVNode("table", _hoisted_2$
|
|
6097
|
+
createElementVNode("table", _hoisted_2$s, [
|
|
6092
6098
|
createElementVNode("thead", _hoisted_3$j, [
|
|
6093
6099
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(computedSchema.value, (field) => {
|
|
6094
6100
|
return openBlock(), createElementBlock("th", {
|
|
@@ -6186,7 +6192,7 @@ const _hoisted_1$y = {
|
|
|
6186
6192
|
key: 0,
|
|
6187
6193
|
class: "data"
|
|
6188
6194
|
};
|
|
6189
|
-
const _hoisted_2$
|
|
6195
|
+
const _hoisted_2$r = {
|
|
6190
6196
|
key: 0,
|
|
6191
6197
|
class: "data-row"
|
|
6192
6198
|
};
|
|
@@ -6231,7 +6237,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
6231
6237
|
return openBlock(), createElementBlock(Fragment$1, {
|
|
6232
6238
|
key: field.id
|
|
6233
6239
|
}, [
|
|
6234
|
-
unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
6240
|
+
unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$r, [
|
|
6235
6241
|
createElementVNode("div", _hoisted_3$i, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1),
|
|
6236
6242
|
createVNode(unref(_sfc_main$n), {
|
|
6237
6243
|
modelValue: itemData.value,
|
|
@@ -6371,7 +6377,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
6371
6377
|
}
|
|
6372
6378
|
});
|
|
6373
6379
|
const _hoisted_1$v = ["dismissable"];
|
|
6374
|
-
const _hoisted_2$
|
|
6380
|
+
const _hoisted_2$q = { class: "m-0" };
|
|
6375
6381
|
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
6376
6382
|
__name: "Alert",
|
|
6377
6383
|
props: {
|
|
@@ -6400,7 +6406,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
6400
6406
|
size: 2,
|
|
6401
6407
|
color: color2[_ctx.type]
|
|
6402
6408
|
}, null, 8, ["icon", "color"])) : createCommentVNode("", true),
|
|
6403
|
-
createElementVNode("p", _hoisted_2$
|
|
6409
|
+
createElementVNode("p", _hoisted_2$q, toDisplayString(_ctx.message), 1),
|
|
6404
6410
|
createVNode(Btn, {
|
|
6405
6411
|
flat: "",
|
|
6406
6412
|
thin: "",
|
|
@@ -6446,7 +6452,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
6446
6452
|
});
|
|
6447
6453
|
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-532b36ae"]]);
|
|
6448
6454
|
const _hoisted_1$u = ["src"];
|
|
6449
|
-
const _hoisted_2$
|
|
6455
|
+
const _hoisted_2$p = ["src", "autoplay", "muted", "loop", "controls"];
|
|
6450
6456
|
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
6451
6457
|
__name: "BglVideo",
|
|
6452
6458
|
props: {
|
|
@@ -6508,7 +6514,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
6508
6514
|
style: normalizeStyle({ aspectRatio: aspectRatio.value }),
|
|
6509
6515
|
controls: _ctx.controls,
|
|
6510
6516
|
playsinline: ""
|
|
6511
|
-
}, null, 12, _hoisted_2$
|
|
6517
|
+
}, null, 12, _hoisted_2$p)) : createCommentVNode("", true)
|
|
6512
6518
|
], 2);
|
|
6513
6519
|
};
|
|
6514
6520
|
}
|
|
@@ -6518,7 +6524,7 @@ const _hoisted_1$t = {
|
|
|
6518
6524
|
key: 0,
|
|
6519
6525
|
class: "blocker"
|
|
6520
6526
|
};
|
|
6521
|
-
const _hoisted_2$
|
|
6527
|
+
const _hoisted_2$o = { class: "Handlers" };
|
|
6522
6528
|
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
6523
6529
|
__name: "Carousel",
|
|
6524
6530
|
props: {
|
|
@@ -6670,7 +6676,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
6670
6676
|
unref(isDragging) ? (openBlock(), createElementBlock("div", _hoisted_1$t)) : createCommentVNode("", true),
|
|
6671
6677
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
6672
6678
|
], 34),
|
|
6673
|
-
createElementVNode("div", _hoisted_2$
|
|
6679
|
+
createElementVNode("div", _hoisted_2$o, [
|
|
6674
6680
|
createElementVNode("span", { onClick: prev }, [
|
|
6675
6681
|
renderSlot(_ctx.$slots, "prev", {
|
|
6676
6682
|
prev,
|
|
@@ -16287,23 +16293,46 @@ var leafletSrc = { exports: {} };
|
|
|
16287
16293
|
var leafletSrcExports = leafletSrc.exports;
|
|
16288
16294
|
const L$1 = /* @__PURE__ */ getDefaultExportFromCjs(leafletSrcExports);
|
|
16289
16295
|
const _hoisted_1$s = /* @__PURE__ */ createElementVNode("div", { class: "map-test" }, null, -1);
|
|
16290
|
-
const
|
|
16296
|
+
const _hoisted_2$n = ["id"];
|
|
16297
|
+
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>';
|
|
16291
16298
|
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
16292
16299
|
__name: "MapEmbed",
|
|
16293
16300
|
props: {
|
|
16294
|
-
center: {
|
|
16295
|
-
|
|
16296
|
-
|
|
16297
|
-
|
|
16301
|
+
center: {
|
|
16302
|
+
type: Object,
|
|
16303
|
+
default: [31.7683, 35.2137]
|
|
16304
|
+
},
|
|
16305
|
+
zoom: {
|
|
16306
|
+
type: Number,
|
|
16307
|
+
default: () => 13
|
|
16308
|
+
},
|
|
16309
|
+
height: {
|
|
16310
|
+
type: Number,
|
|
16311
|
+
default: () => 400
|
|
16312
|
+
},
|
|
16313
|
+
address: {
|
|
16314
|
+
type: String,
|
|
16315
|
+
default: () => ""
|
|
16316
|
+
},
|
|
16317
|
+
zoomControl: {
|
|
16318
|
+
type: Boolean,
|
|
16319
|
+
default: () => true
|
|
16320
|
+
}
|
|
16298
16321
|
},
|
|
16299
16322
|
setup(__props) {
|
|
16300
16323
|
const props2 = __props;
|
|
16301
16324
|
let map4 = ref();
|
|
16302
16325
|
const markers = ref([]);
|
|
16326
|
+
const id = ref(Math.random().toString(36).substring(2, 10));
|
|
16303
16327
|
function initializeMap() {
|
|
16304
|
-
|
|
16305
|
-
|
|
16306
|
-
|
|
16328
|
+
if (props2.address) {
|
|
16329
|
+
geocodeAddress(props2.address).catch(console.error);
|
|
16330
|
+
}
|
|
16331
|
+
console.log(props2.zoomControl, props2.center);
|
|
16332
|
+
map4.value = L$1.map(id.value, {
|
|
16333
|
+
center: props2.center,
|
|
16334
|
+
zoom: props2.zoom,
|
|
16335
|
+
zoomControl: props2.zoomControl
|
|
16307
16336
|
});
|
|
16308
16337
|
L$1.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", { maxZoom: 18 }).addTo(map4.value);
|
|
16309
16338
|
}
|
|
@@ -16318,12 +16347,14 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16318
16347
|
markers.value.push(marker);
|
|
16319
16348
|
}
|
|
16320
16349
|
async function geocodeAddress(address) {
|
|
16350
|
+
var _a2;
|
|
16321
16351
|
const geocodeUrl = `https://nominatim.openstreetmap.org/search?format=json&q=${encodeURIComponent(address)}`;
|
|
16322
16352
|
const res = await fetch(geocodeUrl);
|
|
16323
16353
|
const data2 = await res.json() || [];
|
|
16324
16354
|
data2.forEach((element) => {
|
|
16325
16355
|
addMarker([element.lat, element.lon]);
|
|
16326
16356
|
});
|
|
16357
|
+
(_a2 = map4.value) == null ? void 0 : _a2.fitBounds(L$1.featureGroup(markers.value).getBounds());
|
|
16327
16358
|
}
|
|
16328
16359
|
watch(() => props2.address, (address) => {
|
|
16329
16360
|
if (address) geocodeAddress(address).catch(console.error);
|
|
@@ -16332,10 +16363,10 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16332
16363
|
return openBlock(), createElementBlock(Fragment$1, null, [
|
|
16333
16364
|
_hoisted_1$s,
|
|
16334
16365
|
createElementVNode("div", {
|
|
16335
|
-
id:
|
|
16366
|
+
id: id.value,
|
|
16336
16367
|
class: "map",
|
|
16337
|
-
style: normalizeStyle({ height: `${
|
|
16338
|
-
}, null,
|
|
16368
|
+
style: normalizeStyle({ height: `${__props.height || 400}px` })
|
|
16369
|
+
}, null, 12, _hoisted_2$n)
|
|
16339
16370
|
], 64);
|
|
16340
16371
|
};
|
|
16341
16372
|
}
|
|
@@ -16507,6 +16538,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16507
16538
|
if (props2.field.$el === "toggle") return ToggleInput;
|
|
16508
16539
|
if (props2.field.$el === "check") return CheckInput;
|
|
16509
16540
|
if (props2.field.$el === "richtext") return _sfc_main$a;
|
|
16541
|
+
if (props2.field.$el === "date") return _sfc_main$l;
|
|
16510
16542
|
return props2.field.$el || "div";
|
|
16511
16543
|
});
|
|
16512
16544
|
const formData = computed({
|
|
@@ -16828,7 +16860,12 @@ function eachDayOfInterval(interval, options) {
|
|
|
16828
16860
|
const endTime = reversed ? +startDate : +endDate;
|
|
16829
16861
|
const currentDate = reversed ? endDate : startDate;
|
|
16830
16862
|
currentDate.setHours(0, 0, 0, 0);
|
|
16831
|
-
let step = 1;
|
|
16863
|
+
let step = (options == null ? void 0 : options.step) ?? 1;
|
|
16864
|
+
if (!step) return [];
|
|
16865
|
+
if (step < 0) {
|
|
16866
|
+
step = -step;
|
|
16867
|
+
reversed = !reversed;
|
|
16868
|
+
}
|
|
16832
16869
|
const dates = [];
|
|
16833
16870
|
while (+currentDate <= endTime) {
|
|
16834
16871
|
dates.push(toDate(currentDate));
|
|
@@ -16851,7 +16888,12 @@ function eachQuarterOfInterval(interval, options) {
|
|
|
16851
16888
|
let reversed = +startDate > +endDate;
|
|
16852
16889
|
const endTime = reversed ? +startOfQuarter(startDate) : +startOfQuarter(endDate);
|
|
16853
16890
|
let currentDate = reversed ? startOfQuarter(endDate) : startOfQuarter(startDate);
|
|
16854
|
-
let step = 1;
|
|
16891
|
+
let step = (options == null ? void 0 : options.step) ?? 1;
|
|
16892
|
+
if (!step) return [];
|
|
16893
|
+
if (step < 0) {
|
|
16894
|
+
step = -step;
|
|
16895
|
+
reversed = !reversed;
|
|
16896
|
+
}
|
|
16855
16897
|
const dates = [];
|
|
16856
16898
|
while (+currentDate <= endTime) {
|
|
16857
16899
|
dates.push(toDate(currentDate));
|
|
@@ -25215,7 +25257,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
25215
25257
|
const isSelected = (option2) => !!selectedItems.value.find((item) => getValue(option2) === getValue(item));
|
|
25216
25258
|
const filteredOptions = computed(() => props2.options.filter((option2) => {
|
|
25217
25259
|
const searchTerm = search.value.split(/\s+/).filter(Boolean).map((t) => new RegExp(t, "gi"));
|
|
25218
|
-
return Boolean(option2) &&
|
|
25260
|
+
return Boolean(option2) && searchTerm.every((s2) => getLabel(option2).match(s2));
|
|
25219
25261
|
}));
|
|
25220
25262
|
function select2(option2) {
|
|
25221
25263
|
var _a2;
|
|
@@ -25360,7 +25402,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
25360
25402
|
};
|
|
25361
25403
|
}
|
|
25362
25404
|
});
|
|
25363
|
-
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
25405
|
+
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-761f89bf"]]);
|
|
25364
25406
|
/*!
|
|
25365
25407
|
* vue-draggable-next v2.2.0
|
|
25366
25408
|
* (c) 2023 Anish George
|
|
@@ -25646,8 +25688,10 @@ function isScrolledPast(el, elSide, parentSide) {
|
|
|
25646
25688
|
var parent = getParentAutoScrollElement(el, true), elSideVal = getRect(el)[elSide];
|
|
25647
25689
|
while (parent) {
|
|
25648
25690
|
var parentSideVal = getRect(parent)[parentSide], visible = void 0;
|
|
25649
|
-
{
|
|
25691
|
+
if (parentSide === "top" || parentSide === "left") {
|
|
25650
25692
|
visible = elSideVal >= parentSideVal;
|
|
25693
|
+
} else {
|
|
25694
|
+
visible = elSideVal <= parentSideVal;
|
|
25651
25695
|
}
|
|
25652
25696
|
if (!visible) return parent;
|
|
25653
25697
|
if (parent === getWindowScrollingElement()) break;
|
|
@@ -29347,6 +29391,8 @@ function removeRange(content, from2, to2) {
|
|
|
29347
29391
|
function insertInto(content, dist, insert, parent) {
|
|
29348
29392
|
let { index: index2, offset: offset2 } = content.findIndex(dist), child = content.maybeChild(index2);
|
|
29349
29393
|
if (offset2 == dist || child.isText) {
|
|
29394
|
+
if (parent && !parent.canReplace(index2, index2, insert))
|
|
29395
|
+
return null;
|
|
29350
29396
|
return content.cut(0, dist).append(insert).append(content.cut(dist));
|
|
29351
29397
|
}
|
|
29352
29398
|
let inner = insertInto(child.content, dist - offset2 - 1, insert);
|
|
@@ -37289,7 +37335,8 @@ function updateSelection(view, selection, origin2) {
|
|
|
37289
37335
|
if (!view.focused)
|
|
37290
37336
|
view.focus();
|
|
37291
37337
|
let tr2 = view.state.tr.setSelection(selection);
|
|
37292
|
-
|
|
37338
|
+
if (origin2 == "pointer")
|
|
37339
|
+
tr2.setMeta("pointer", true);
|
|
37293
37340
|
view.dispatch(tr2);
|
|
37294
37341
|
}
|
|
37295
37342
|
function selectClickedLeaf(view, inside) {
|
|
@@ -37297,7 +37344,7 @@ function selectClickedLeaf(view, inside) {
|
|
|
37297
37344
|
return false;
|
|
37298
37345
|
let $pos = view.state.doc.resolve(inside), node = $pos.nodeAfter;
|
|
37299
37346
|
if (node && node.isAtom && NodeSelection.isSelectable(node)) {
|
|
37300
|
-
updateSelection(view, new NodeSelection($pos));
|
|
37347
|
+
updateSelection(view, new NodeSelection($pos), "pointer");
|
|
37301
37348
|
return true;
|
|
37302
37349
|
}
|
|
37303
37350
|
return false;
|
|
@@ -37320,7 +37367,7 @@ function selectClickedNode(view, inside) {
|
|
|
37320
37367
|
}
|
|
37321
37368
|
}
|
|
37322
37369
|
if (selectAt != null) {
|
|
37323
|
-
updateSelection(view, NodeSelection.create(view.state.doc, selectAt));
|
|
37370
|
+
updateSelection(view, NodeSelection.create(view.state.doc, selectAt), "pointer");
|
|
37324
37371
|
return true;
|
|
37325
37372
|
} else {
|
|
37326
37373
|
return false;
|
|
@@ -37341,7 +37388,7 @@ function defaultTripleClick(view, inside, event) {
|
|
|
37341
37388
|
let doc2 = view.state.doc;
|
|
37342
37389
|
if (inside == -1) {
|
|
37343
37390
|
if (doc2.inlineContent) {
|
|
37344
|
-
updateSelection(view, TextSelection.create(doc2, 0, doc2.content.size));
|
|
37391
|
+
updateSelection(view, TextSelection.create(doc2, 0, doc2.content.size), "pointer");
|
|
37345
37392
|
return true;
|
|
37346
37393
|
}
|
|
37347
37394
|
return false;
|
|
@@ -37351,9 +37398,9 @@ function defaultTripleClick(view, inside, event) {
|
|
|
37351
37398
|
let node = i2 > $pos.depth ? $pos.nodeAfter : $pos.node(i2);
|
|
37352
37399
|
let nodePos = $pos.before(i2);
|
|
37353
37400
|
if (node.inlineContent)
|
|
37354
|
-
updateSelection(view, TextSelection.create(doc2, nodePos + 1, nodePos + 1 + node.content.size));
|
|
37401
|
+
updateSelection(view, TextSelection.create(doc2, nodePos + 1, nodePos + 1 + node.content.size), "pointer");
|
|
37355
37402
|
else if (NodeSelection.isSelectable(node))
|
|
37356
|
-
updateSelection(view, NodeSelection.create(doc2, nodePos));
|
|
37403
|
+
updateSelection(view, NodeSelection.create(doc2, nodePos), "pointer");
|
|
37357
37404
|
else
|
|
37358
37405
|
continue;
|
|
37359
37406
|
return true;
|
|
@@ -37470,7 +37517,7 @@ class MouseDown {
|
|
|
37470
37517
|
// thus doesn't get a reaction from ProseMirror. This
|
|
37471
37518
|
// works around that.
|
|
37472
37519
|
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)) {
|
|
37473
|
-
updateSelection(this.view, Selection$1.near(this.view.state.doc.resolve(pos.pos)));
|
|
37520
|
+
updateSelection(this.view, Selection$1.near(this.view.state.doc.resolve(pos.pos)), "pointer");
|
|
37474
37521
|
event.preventDefault();
|
|
37475
37522
|
} else {
|
|
37476
37523
|
setSelectionOrigin(this.view, "pointer");
|
|
@@ -43263,7 +43310,7 @@ img.ProseMirror-separator {
|
|
|
43263
43310
|
opacity: 0
|
|
43264
43311
|
}`;
|
|
43265
43312
|
function createStyleTag(style2, nonce, suffix) {
|
|
43266
|
-
const tiptapStyleTag = document.querySelector(`style[data-tiptap-style${""}]`);
|
|
43313
|
+
const tiptapStyleTag = document.querySelector(`style[data-tiptap-style${suffix ? `-${suffix}` : ""}]`);
|
|
43267
43314
|
if (tiptapStyleTag !== null) {
|
|
43268
43315
|
return tiptapStyleTag;
|
|
43269
43316
|
}
|
|
@@ -43271,7 +43318,7 @@ function createStyleTag(style2, nonce, suffix) {
|
|
|
43271
43318
|
if (nonce) {
|
|
43272
43319
|
styleNode.setAttribute("nonce", nonce);
|
|
43273
43320
|
}
|
|
43274
|
-
styleNode.setAttribute(`data-tiptap-style${""}`, "");
|
|
43321
|
+
styleNode.setAttribute(`data-tiptap-style${suffix ? `-${suffix}` : ""}`, "");
|
|
43275
43322
|
styleNode.innerHTML = style2;
|
|
43276
43323
|
document.getElementsByTagName("head")[0].appendChild(styleNode);
|
|
43277
43324
|
return styleNode;
|
|
@@ -51750,6 +51797,9 @@ function createColGroup(node, cellMinWidth, overrideCol, overrideValue) {
|
|
|
51750
51797
|
return { colgroup, tableWidth, tableMinWidth };
|
|
51751
51798
|
}
|
|
51752
51799
|
function createCell(cellType, cellContent) {
|
|
51800
|
+
if (cellContent) {
|
|
51801
|
+
return cellType.createChecked(null, cellContent);
|
|
51802
|
+
}
|
|
51753
51803
|
return cellType.createAndFill();
|
|
51754
51804
|
}
|
|
51755
51805
|
function getTableNodeTypes(schema) {
|
|
@@ -51771,12 +51821,12 @@ function createTable(schema, rowsCount, colsCount, withHeaderRow, cellContent) {
|
|
|
51771
51821
|
const headerCells = [];
|
|
51772
51822
|
const cells = [];
|
|
51773
51823
|
for (let index2 = 0; index2 < colsCount; index2 += 1) {
|
|
51774
|
-
const cell = createCell(types.cell);
|
|
51824
|
+
const cell = createCell(types.cell, cellContent);
|
|
51775
51825
|
if (cell) {
|
|
51776
51826
|
cells.push(cell);
|
|
51777
51827
|
}
|
|
51778
51828
|
if (withHeaderRow) {
|
|
51779
|
-
const headerCell = createCell(types.header_cell);
|
|
51829
|
+
const headerCell = createCell(types.header_cell, cellContent);
|
|
51780
51830
|
if (headerCell) {
|
|
51781
51831
|
headerCells.push(headerCell);
|
|
51782
51832
|
}
|
|
@@ -52331,7 +52381,18 @@ function _typeof$1(obj) {
|
|
|
52331
52381
|
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
52332
52382
|
}, _typeof$1(obj);
|
|
52333
52383
|
}
|
|
52384
|
+
function _defineProperties$2(target, props2) {
|
|
52385
|
+
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
52386
|
+
var descriptor = props2[i2];
|
|
52387
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
52388
|
+
descriptor.configurable = true;
|
|
52389
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
52390
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
52391
|
+
}
|
|
52392
|
+
}
|
|
52334
52393
|
function _createClass$2(Constructor, protoProps, staticProps) {
|
|
52394
|
+
if (protoProps) _defineProperties$2(Constructor.prototype, protoProps);
|
|
52395
|
+
if (staticProps) _defineProperties$2(Constructor, staticProps);
|
|
52335
52396
|
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
52336
52397
|
return Constructor;
|
|
52337
52398
|
}
|
|
@@ -52508,6 +52569,7 @@ function _defineProperties$1(target, props2) {
|
|
|
52508
52569
|
}
|
|
52509
52570
|
function _createClass$1(Constructor, protoProps, staticProps) {
|
|
52510
52571
|
if (protoProps) _defineProperties$1(Constructor.prototype, protoProps);
|
|
52572
|
+
if (staticProps) _defineProperties$1(Constructor, staticProps);
|
|
52511
52573
|
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
52512
52574
|
return Constructor;
|
|
52513
52575
|
}
|
|
@@ -53149,10 +53211,10 @@ var DIGITS = {
|
|
|
53149
53211
|
function parseDigit(character) {
|
|
53150
53212
|
return DIGITS[character];
|
|
53151
53213
|
}
|
|
53152
|
-
function _createForOfIteratorHelperLoose$
|
|
53214
|
+
function _createForOfIteratorHelperLoose$4(o2, allowArrayLike) {
|
|
53153
53215
|
var it2 = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
53154
53216
|
if (it2) return (it2 = it2.call(o2)).next.bind(it2);
|
|
53155
|
-
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$
|
|
53217
|
+
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$5(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
53156
53218
|
if (it2) o2 = it2;
|
|
53157
53219
|
var i2 = 0;
|
|
53158
53220
|
return function() {
|
|
@@ -53162,15 +53224,15 @@ function _createForOfIteratorHelperLoose$3(o2, allowArrayLike) {
|
|
|
53162
53224
|
}
|
|
53163
53225
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
53164
53226
|
}
|
|
53165
|
-
function _unsupportedIterableToArray$
|
|
53227
|
+
function _unsupportedIterableToArray$5(o2, minLen) {
|
|
53166
53228
|
if (!o2) return;
|
|
53167
|
-
if (typeof o2 === "string") return _arrayLikeToArray$
|
|
53229
|
+
if (typeof o2 === "string") return _arrayLikeToArray$5(o2, minLen);
|
|
53168
53230
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
53169
53231
|
if (n2 === "Object" && o2.constructor) n2 = o2.constructor.name;
|
|
53170
53232
|
if (n2 === "Map" || n2 === "Set") return Array.from(o2);
|
|
53171
|
-
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2)) return _arrayLikeToArray$
|
|
53233
|
+
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2)) return _arrayLikeToArray$5(o2, minLen);
|
|
53172
53234
|
}
|
|
53173
|
-
function _arrayLikeToArray$
|
|
53235
|
+
function _arrayLikeToArray$5(arr, len) {
|
|
53174
53236
|
if (len == null || len > arr.length) len = arr.length;
|
|
53175
53237
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++) {
|
|
53176
53238
|
arr2[i2] = arr[i2];
|
|
@@ -53179,7 +53241,7 @@ function _arrayLikeToArray$4(arr, len) {
|
|
|
53179
53241
|
}
|
|
53180
53242
|
function parseIncompletePhoneNumber(string2) {
|
|
53181
53243
|
var result2 = "";
|
|
53182
|
-
for (var _iterator = _createForOfIteratorHelperLoose$
|
|
53244
|
+
for (var _iterator = _createForOfIteratorHelperLoose$4(string2.split("")), _step; !(_step = _iterator()).done; ) {
|
|
53183
53245
|
var character = _step.value;
|
|
53184
53246
|
result2 += parsePhoneNumberCharacter(character, result2) || "";
|
|
53185
53247
|
}
|
|
@@ -53188,12 +53250,55 @@ function parseIncompletePhoneNumber(string2) {
|
|
|
53188
53250
|
function parsePhoneNumberCharacter(character, prevParsedCharacters, emitEvent) {
|
|
53189
53251
|
if (character === "+") {
|
|
53190
53252
|
if (prevParsedCharacters) {
|
|
53253
|
+
if (typeof emitEvent === "function") {
|
|
53254
|
+
emitEvent("end");
|
|
53255
|
+
}
|
|
53191
53256
|
return;
|
|
53192
53257
|
}
|
|
53193
53258
|
return "+";
|
|
53194
53259
|
}
|
|
53195
53260
|
return parseDigit(character);
|
|
53196
53261
|
}
|
|
53262
|
+
function _createForOfIteratorHelperLoose$3(o2, allowArrayLike) {
|
|
53263
|
+
var it2 = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
53264
|
+
if (it2) return (it2 = it2.call(o2)).next.bind(it2);
|
|
53265
|
+
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$4(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
53266
|
+
if (it2) o2 = it2;
|
|
53267
|
+
var i2 = 0;
|
|
53268
|
+
return function() {
|
|
53269
|
+
if (i2 >= o2.length) return { done: true };
|
|
53270
|
+
return { done: false, value: o2[i2++] };
|
|
53271
|
+
};
|
|
53272
|
+
}
|
|
53273
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
53274
|
+
}
|
|
53275
|
+
function _unsupportedIterableToArray$4(o2, minLen) {
|
|
53276
|
+
if (!o2) return;
|
|
53277
|
+
if (typeof o2 === "string") return _arrayLikeToArray$4(o2, minLen);
|
|
53278
|
+
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
53279
|
+
if (n2 === "Object" && o2.constructor) n2 = o2.constructor.name;
|
|
53280
|
+
if (n2 === "Map" || n2 === "Set") return Array.from(o2);
|
|
53281
|
+
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2)) return _arrayLikeToArray$4(o2, minLen);
|
|
53282
|
+
}
|
|
53283
|
+
function _arrayLikeToArray$4(arr, len) {
|
|
53284
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
53285
|
+
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++) {
|
|
53286
|
+
arr2[i2] = arr[i2];
|
|
53287
|
+
}
|
|
53288
|
+
return arr2;
|
|
53289
|
+
}
|
|
53290
|
+
function mergeArrays(a2, b2) {
|
|
53291
|
+
var merged = a2.slice();
|
|
53292
|
+
for (var _iterator = _createForOfIteratorHelperLoose$3(b2), _step; !(_step = _iterator()).done; ) {
|
|
53293
|
+
var element = _step.value;
|
|
53294
|
+
if (a2.indexOf(element) < 0) {
|
|
53295
|
+
merged.push(element);
|
|
53296
|
+
}
|
|
53297
|
+
}
|
|
53298
|
+
return merged.sort(function(a3, b3) {
|
|
53299
|
+
return a3 - b3;
|
|
53300
|
+
});
|
|
53301
|
+
}
|
|
53197
53302
|
function checkNumberLength(nationalNumber, metadata2) {
|
|
53198
53303
|
return checkNumberLengthForType(nationalNumber, void 0, metadata2);
|
|
53199
53304
|
}
|
|
@@ -53203,6 +53308,17 @@ function checkNumberLengthForType(nationalNumber, type3, metadata2) {
|
|
|
53203
53308
|
if (!possible_lengths) {
|
|
53204
53309
|
return "IS_POSSIBLE";
|
|
53205
53310
|
}
|
|
53311
|
+
if (type3 === "FIXED_LINE_OR_MOBILE") {
|
|
53312
|
+
if (!metadata2.type("FIXED_LINE")) {
|
|
53313
|
+
return checkNumberLengthForType(nationalNumber, "MOBILE", metadata2);
|
|
53314
|
+
}
|
|
53315
|
+
var mobile_type = metadata2.type("MOBILE");
|
|
53316
|
+
if (mobile_type) {
|
|
53317
|
+
possible_lengths = mergeArrays(possible_lengths, mobile_type.possibleLengths());
|
|
53318
|
+
}
|
|
53319
|
+
} else if (type3 && !type_info) {
|
|
53320
|
+
return "INVALID_LENGTH";
|
|
53321
|
+
}
|
|
53206
53322
|
var actual_length = nationalNumber.length;
|
|
53207
53323
|
var minimum_length = possible_lengths[0];
|
|
53208
53324
|
if (minimum_length === actual_length) {
|
|
@@ -53267,7 +53383,7 @@ function matchesEntirely(text, regular_expression) {
|
|
|
53267
53383
|
function _createForOfIteratorHelperLoose$2(o2, allowArrayLike) {
|
|
53268
53384
|
var it2 = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
53269
53385
|
if (it2) return (it2 = it2.call(o2)).next.bind(it2);
|
|
53270
|
-
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$3(o2)) || allowArrayLike) {
|
|
53386
|
+
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$3(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
53271
53387
|
if (it2) o2 = it2;
|
|
53272
53388
|
var i2 = 0;
|
|
53273
53389
|
return function() {
|
|
@@ -53367,6 +53483,8 @@ function applyInternationalSeparatorStyle(formattedNumber) {
|
|
|
53367
53483
|
var FIRST_GROUP_PATTERN = /(\$\d)/;
|
|
53368
53484
|
function formatNationalNumberUsingFormat(number2, format2, _ref) {
|
|
53369
53485
|
var useInternationalFormat = _ref.useInternationalFormat, withNationalPrefix = _ref.withNationalPrefix;
|
|
53486
|
+
_ref.carrierCode;
|
|
53487
|
+
_ref.metadata;
|
|
53370
53488
|
var formattedNumber = number2.replace(new RegExp(format2.pattern()), useInternationalFormat ? format2.internationalFormat() : (
|
|
53371
53489
|
// This library doesn't use `domestic_carrier_code_formatting_rule`,
|
|
53372
53490
|
// because that one is only used when formatting phone numbers
|
|
@@ -53412,7 +53530,7 @@ function formatRFC3966(_ref) {
|
|
|
53412
53530
|
function _createForOfIteratorHelperLoose$1(o2, allowArrayLike) {
|
|
53413
53531
|
var it2 = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
53414
53532
|
if (it2) return (it2 = it2.call(o2)).next.bind(it2);
|
|
53415
|
-
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$2(o2)) || allowArrayLike) {
|
|
53533
|
+
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$2(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
53416
53534
|
if (it2) o2 = it2;
|
|
53417
53535
|
var i2 = 0;
|
|
53418
53536
|
return function() {
|
|
@@ -53608,6 +53726,7 @@ function _defineProperties(target, props2) {
|
|
|
53608
53726
|
}
|
|
53609
53727
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
53610
53728
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
53729
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
53611
53730
|
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
53612
53731
|
return Constructor;
|
|
53613
53732
|
}
|
|
@@ -53904,7 +54023,7 @@ function extractCountryCallingCode(number2, country, callingCode, metadata2) {
|
|
|
53904
54023
|
function _createForOfIteratorHelperLoose(o2, allowArrayLike) {
|
|
53905
54024
|
var it2 = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
53906
54025
|
if (it2) return (it2 = it2.call(o2)).next.bind(it2);
|
|
53907
|
-
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$1(o2)) || allowArrayLike) {
|
|
54026
|
+
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$1(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
53908
54027
|
if (it2) o2 = it2;
|
|
53909
54028
|
var i2 = 0;
|
|
53910
54029
|
return function() {
|
|
@@ -53958,8 +54077,14 @@ function getCountryByNationalNumber(nationalPhoneNumber, _ref) {
|
|
|
53958
54077
|
return matchingCountries[0];
|
|
53959
54078
|
}
|
|
53960
54079
|
}
|
|
54080
|
+
var USE_NON_GEOGRAPHIC_COUNTRY_CODE = false;
|
|
53961
54081
|
function getCountryByCallingCode(callingCode, _ref) {
|
|
53962
54082
|
var nationalPhoneNumber = _ref.nationalNumber, defaultCountry = _ref.defaultCountry, metadata2 = _ref.metadata;
|
|
54083
|
+
if (USE_NON_GEOGRAPHIC_COUNTRY_CODE) {
|
|
54084
|
+
if (metadata2.isNonGeographicCallingCode(callingCode)) {
|
|
54085
|
+
return "001";
|
|
54086
|
+
}
|
|
54087
|
+
}
|
|
53963
54088
|
var possibleCountries = metadata2.getCountryCodesForCallingCode(callingCode);
|
|
53964
54089
|
if (!possibleCountries) {
|
|
53965
54090
|
return;
|
|
@@ -56376,7 +56501,7 @@ const bisectCenter = bisector(number$2).center;
|
|
|
56376
56501
|
function extent(values3, valueof) {
|
|
56377
56502
|
let min2;
|
|
56378
56503
|
let max2;
|
|
56379
|
-
{
|
|
56504
|
+
if (valueof === void 0) {
|
|
56380
56505
|
for (const value of values3) {
|
|
56381
56506
|
if (value != null) {
|
|
56382
56507
|
if (min2 === void 0) {
|
|
@@ -56387,6 +56512,18 @@ function extent(values3, valueof) {
|
|
|
56387
56512
|
}
|
|
56388
56513
|
}
|
|
56389
56514
|
}
|
|
56515
|
+
} else {
|
|
56516
|
+
let index2 = -1;
|
|
56517
|
+
for (let value of values3) {
|
|
56518
|
+
if ((value = valueof(value, ++index2, values3)) != null) {
|
|
56519
|
+
if (min2 === void 0) {
|
|
56520
|
+
if (value >= value) min2 = max2 = value;
|
|
56521
|
+
} else {
|
|
56522
|
+
if (min2 > value) min2 = value;
|
|
56523
|
+
if (max2 < value) max2 = value;
|
|
56524
|
+
}
|
|
56525
|
+
}
|
|
56526
|
+
}
|
|
56390
56527
|
}
|
|
56391
56528
|
return [min2, max2];
|
|
56392
56529
|
}
|