@g1cloud/open-bluesea-core 1.0.0-alpha.8 → 1.0.0-alpha.9
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/css/bluesea.css +0 -4
- package/dist/index.d.ts +140 -91
- package/dist/open-bluesea-core.css +769 -1265
- package/dist/open-bluesea-core.es.js +281 -116
- package/dist/open-bluesea-core.umd.js +280 -115
- package/package.json +4 -1
- package/tailwind.preset.js +221 -0
|
@@ -302,14 +302,12 @@
|
|
|
302
302
|
hideTooltip();
|
|
303
303
|
}
|
|
304
304
|
};
|
|
305
|
-
const _hoisted_1$
|
|
306
|
-
const _sfc_main$
|
|
305
|
+
const _hoisted_1$v = ["textContent"];
|
|
306
|
+
const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
307
307
|
__name: "BSButton",
|
|
308
308
|
props: {
|
|
309
309
|
caption: {},
|
|
310
310
|
buttonColor: { default: "default" },
|
|
311
|
-
leftIcon: {},
|
|
312
|
-
rightIcon: {},
|
|
313
311
|
disabled: { type: Boolean, default: false },
|
|
314
312
|
linkUrl: {},
|
|
315
313
|
linkTarget: {},
|
|
@@ -317,6 +315,9 @@
|
|
|
317
315
|
tooltip: {}
|
|
318
316
|
},
|
|
319
317
|
setup(__props) {
|
|
318
|
+
const slots = vue.useSlots();
|
|
319
|
+
const hasLeftSlot = vue.computed(() => !!slots.left);
|
|
320
|
+
const hasRightSlot = vue.computed(() => !!slots.right);
|
|
320
321
|
return (_ctx, _cache) => {
|
|
321
322
|
return vue.withDirectives((vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(__props.linkUrl ? "a" : __props.routePath ? "router-link" : "button"), {
|
|
322
323
|
class: vue.normalizeClass([[__props.buttonColor], "bs-button position-relative"]),
|
|
@@ -326,25 +327,118 @@
|
|
|
326
327
|
to: __props.routePath
|
|
327
328
|
}, {
|
|
328
329
|
default: vue.withCtx(() => [
|
|
329
|
-
|
|
330
|
+
hasLeftSlot.value ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
330
331
|
key: 0,
|
|
331
|
-
class: vue.normalizeClass([{ "mr-1": !!__props.caption }, "
|
|
332
|
-
},
|
|
332
|
+
class: vue.normalizeClass([{ "mr-1": !!__props.caption }, "left"])
|
|
333
|
+
}, [
|
|
334
|
+
vue.renderSlot(_ctx.$slots, "left")
|
|
335
|
+
], 2)) : vue.createCommentVNode("", true),
|
|
333
336
|
vue.createElementVNode("span", {
|
|
334
337
|
textContent: vue.toDisplayString(__props.caption)
|
|
335
|
-
}, null, 8, _hoisted_1$
|
|
336
|
-
|
|
338
|
+
}, null, 8, _hoisted_1$v),
|
|
339
|
+
hasRightSlot.value ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
337
340
|
key: 1,
|
|
338
|
-
class: vue.normalizeClass([{ "ml-1": !!__props.caption }, "
|
|
339
|
-
},
|
|
341
|
+
class: vue.normalizeClass([{ "ml-1": !!__props.caption }, "right"])
|
|
342
|
+
}, [
|
|
343
|
+
vue.renderSlot(_ctx.$slots, "right")
|
|
344
|
+
], 2)) : vue.createCommentVNode("", true)
|
|
340
345
|
]),
|
|
341
|
-
_:
|
|
346
|
+
_: 3
|
|
342
347
|
}, 8, ["class", "disabled", "href", "target", "to"])), [
|
|
343
348
|
[vue.unref(vTooltip), { content: __props.tooltip }]
|
|
344
349
|
]);
|
|
345
350
|
};
|
|
346
351
|
}
|
|
347
352
|
});
|
|
353
|
+
const Add = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg>';
|
|
354
|
+
const CalendarMonth = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2zM9 14H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2zm-8 4H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2z"/></svg>';
|
|
355
|
+
const Check = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19L21 7l-1.41-1.41L9 16.17z"/></svg>';
|
|
356
|
+
const CheckBox = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm-9 14l-5-5l1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>';
|
|
357
|
+
const CheckBoxOutlineBlank = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"/></svg>';
|
|
358
|
+
const CheckCircle = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8zm4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4l8-8z"/></svg>';
|
|
359
|
+
const Close = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41z"/></svg>';
|
|
360
|
+
const Cancel = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10s10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8zm3.59-13L12 10.59L8.41 7L7 8.41L10.59 12L7 15.59L8.41 17L12 13.41L15.59 17L17 15.59L13.41 12L17 8.41z"/></svg>';
|
|
361
|
+
const DragHandle = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 9H4v2h16V9zM4 15h16v-2H4v2z"/></svg>';
|
|
362
|
+
const Edit = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83l3.75 3.75l1.83-1.83a.996.996 0 0 0 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z"/></svg>';
|
|
363
|
+
const ExpandMore = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16.59 8.59L12 13.17L7.41 8.59L6 10l6 6l6-6l-1.41-1.41z"/></svg>';
|
|
364
|
+
const KeyboardArrowLeft = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6l6 6l1.41-1.41z"/></svg>';
|
|
365
|
+
const KeyboardArrowRight = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M8.59 16.59L13.17 12L8.59 7.41L10 6l6 6l-6 6l-1.41-1.41z"/></svg>';
|
|
366
|
+
const KeyboardDoubleArrowLeft = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.59 18L19 16.59L14.42 12L19 7.41L17.59 6l-6 6z"/><path d="M11 18l1.41-1.41L7.83 12l4.58-4.59L11 6l-6 6z"/></svg>';
|
|
367
|
+
const KeyboardDoubleArrowRight = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6.41 6L5 7.41L9.58 12L5 16.59L6.41 18l6-6z"/><path d="M13 6l-1.41 1.41L16.17 12l-4.58 4.59L13 18l6-6z"/></svg>';
|
|
368
|
+
const Label = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z"/></svg>';
|
|
369
|
+
const Maximize = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21 11V3h-8l3.29 3.29l-10 10L3 13v8h8l-3.29-3.29l10-10z"/></svg>';
|
|
370
|
+
const Minimize = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M22 3.41L16.71 8.7L20 12h-8V4l3.29 3.29L20.59 2L22 3.41zM3.41 22l5.29-5.29L12 20v-8H4l3.29 3.29L2 20.59L3.41 22z"/></svg>';
|
|
371
|
+
const North = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 9l1.41 1.41L11 5.83V22h2V5.83l4.59 4.59L19 9l-7-7l-7 7z"/></svg>';
|
|
372
|
+
const Numbers = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20.5 10l.5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4zm-7 4h-4l1-4h4l-1 4z"/></svg>';
|
|
373
|
+
const ProgressActivity = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 6v3l4-4l-4-4v3c-4.42 0-8 3.58-8 8c0 1.57.46 3.03 1.24 4.26L6.7 14.8A5.87 5.87 0 0 1 6 12c0-3.31 2.69-6 6-6zm6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8c0 3.31-2.69 6-6 6v-3l-4 4l4 4v-3c4.42 0 8-3.58 8-8c0-1.57-.46-3.03-1.24-4.26z"/></svg>';
|
|
374
|
+
const RadioButtonChecked = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5s5-2.24 5-5s-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8s8 3.58 8 8s-3.58 8-8 8z"/></svg>';
|
|
375
|
+
const RadioButtonUnchecked = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8s8 3.58 8 8s-3.58 8-8 8z"/></svg>';
|
|
376
|
+
const Remove = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>';
|
|
377
|
+
const Replay = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6s-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8s-3.58-8-8-8z"/></svg>';
|
|
378
|
+
const South = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 15l-1.41-1.41L13 18.17V2h-2v16.17l-4.59-4.59L5 15l7 7l7-7z"/></svg>';
|
|
379
|
+
const Straight = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11 6.83L9.41 8.41L8 7l4-4l4 4l-1.41 1.41L13 6.83V21h-2z"/></svg>';
|
|
380
|
+
const SwapVert = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16 17.01V10h-2v7.01h-3L15 21l4-3.99h-3zM9 3L5 6.99h3V14h2V6.99h3L9 3zm7 14.01V10h-2v7.01h-3L15 21l4-3.99h-3zM9 3L5 6.99h3V14h2V6.99h3L9 3z"/></svg>';
|
|
381
|
+
const iconRegistry = {
|
|
382
|
+
add: Add,
|
|
383
|
+
calendar_month: CalendarMonth,
|
|
384
|
+
check: Check,
|
|
385
|
+
check_box: CheckBox,
|
|
386
|
+
check_box_outline_blank: CheckBoxOutlineBlank,
|
|
387
|
+
check_circle: CheckCircle,
|
|
388
|
+
close: Close,
|
|
389
|
+
cancel: Cancel,
|
|
390
|
+
drag_handle: DragHandle,
|
|
391
|
+
edit: Edit,
|
|
392
|
+
expand_more: ExpandMore,
|
|
393
|
+
keyboard_arrow_left: KeyboardArrowLeft,
|
|
394
|
+
keyboard_arrow_right: KeyboardArrowRight,
|
|
395
|
+
keyboard_double_arrow_left: KeyboardDoubleArrowLeft,
|
|
396
|
+
keyboard_double_arrow_right: KeyboardDoubleArrowRight,
|
|
397
|
+
label: Label,
|
|
398
|
+
maximize: Maximize,
|
|
399
|
+
minimize: Minimize,
|
|
400
|
+
north: North,
|
|
401
|
+
numbers: Numbers,
|
|
402
|
+
progress_activity: ProgressActivity,
|
|
403
|
+
radio_button_checked: RadioButtonChecked,
|
|
404
|
+
radio_button_unchecked: RadioButtonUnchecked,
|
|
405
|
+
remove: Remove,
|
|
406
|
+
replay: Replay,
|
|
407
|
+
south: South,
|
|
408
|
+
straight: Straight,
|
|
409
|
+
swap_vert: SwapVert
|
|
410
|
+
};
|
|
411
|
+
const registerIcon = (name, svg) => {
|
|
412
|
+
iconRegistry[name] = svg;
|
|
413
|
+
};
|
|
414
|
+
const registerIcons = (icons2) => {
|
|
415
|
+
Object.entries(icons2).forEach(([name, svg]) => {
|
|
416
|
+
iconRegistry[name] = svg;
|
|
417
|
+
});
|
|
418
|
+
};
|
|
419
|
+
const getIcon = (name) => {
|
|
420
|
+
return iconRegistry[name];
|
|
421
|
+
};
|
|
422
|
+
const _hoisted_1$u = ["innerHTML"];
|
|
423
|
+
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
424
|
+
__name: "BSIcon",
|
|
425
|
+
props: {
|
|
426
|
+
name: {},
|
|
427
|
+
spin: { type: Boolean, default: false }
|
|
428
|
+
},
|
|
429
|
+
setup(__props) {
|
|
430
|
+
const props = __props;
|
|
431
|
+
const svgContent = vue.computed(() => {
|
|
432
|
+
return getIcon(props.name) || "";
|
|
433
|
+
});
|
|
434
|
+
return (_ctx, _cache) => {
|
|
435
|
+
return vue.openBlock(), vue.createElementBlock("span", {
|
|
436
|
+
class: vue.normalizeClass(["bs-icon", { spin: __props.spin }]),
|
|
437
|
+
innerHTML: svgContent.value
|
|
438
|
+
}, null, 10, _hoisted_1$u);
|
|
439
|
+
};
|
|
440
|
+
}
|
|
441
|
+
});
|
|
348
442
|
const _hoisted_1$t = { class: "page-navigation" };
|
|
349
443
|
const _hoisted_2$o = ["data-page", "onClick"];
|
|
350
444
|
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -409,13 +503,17 @@
|
|
|
409
503
|
return (_ctx, _cache) => {
|
|
410
504
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [
|
|
411
505
|
vue.createElementVNode("span", {
|
|
412
|
-
class: vue.normalizeClass([{ "disabled": isFirstSet.value }, "
|
|
506
|
+
class: vue.normalizeClass([{ "disabled": isFirstSet.value }, "nav-icon first"]),
|
|
413
507
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => !isFirstSet.value && goToPage(1), ["prevent"]))
|
|
414
|
-
},
|
|
508
|
+
}, [
|
|
509
|
+
vue.createVNode(_sfc_main$w, { name: "keyboard_double_arrow_left" })
|
|
510
|
+
], 2),
|
|
415
511
|
vue.createElementVNode("span", {
|
|
416
|
-
class: vue.normalizeClass([{ "disabled": isFirstSet.value }, "
|
|
512
|
+
class: vue.normalizeClass([{ "disabled": isFirstSet.value }, "nav-icon prev"]),
|
|
417
513
|
onClick: _cache[1] || (_cache[1] = vue.withModifiers(($event) => !isFirstSet.value && goToPage(prevArrowPage.value), ["prevent"]))
|
|
418
|
-
},
|
|
514
|
+
}, [
|
|
515
|
+
vue.createVNode(_sfc_main$w, { name: "keyboard_arrow_left" })
|
|
516
|
+
], 2),
|
|
419
517
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(visiblePages.value, (page) => {
|
|
420
518
|
return vue.openBlock(), vue.createElementBlock("span", {
|
|
421
519
|
key: page,
|
|
@@ -425,32 +523,35 @@
|
|
|
425
523
|
}, vue.toDisplayString(page), 11, _hoisted_2$o);
|
|
426
524
|
}), 128)),
|
|
427
525
|
vue.createElementVNode("span", {
|
|
428
|
-
class: vue.normalizeClass([{ "disabled": isLastSet.value }, "
|
|
526
|
+
class: vue.normalizeClass([{ "disabled": isLastSet.value }, "nav-icon next"]),
|
|
429
527
|
onClick: _cache[2] || (_cache[2] = vue.withModifiers(($event) => !isLastSet.value && goToPage(nextArrowPage.value), ["prevent"]))
|
|
430
|
-
},
|
|
528
|
+
}, [
|
|
529
|
+
vue.createVNode(_sfc_main$w, { name: "keyboard_arrow_right" })
|
|
530
|
+
], 2),
|
|
431
531
|
vue.createElementVNode("span", {
|
|
432
|
-
class: vue.normalizeClass([{ "disabled": isLastSet.value }, "
|
|
532
|
+
class: vue.normalizeClass([{ "disabled": isLastSet.value }, "nav-icon last"]),
|
|
433
533
|
onClick: _cache[3] || (_cache[3] = vue.withModifiers(($event) => !isLastSet.value && goToPage(totalPage.value), ["prevent"]))
|
|
434
|
-
},
|
|
534
|
+
}, [
|
|
535
|
+
vue.createVNode(_sfc_main$w, { name: "keyboard_double_arrow_right" })
|
|
536
|
+
], 2)
|
|
435
537
|
]);
|
|
436
538
|
};
|
|
437
539
|
}
|
|
438
540
|
});
|
|
439
|
-
const _export_sfc = (sfc, props) => {
|
|
440
|
-
const target = sfc.__vccOpts || sfc;
|
|
441
|
-
for (const [key, val] of props) {
|
|
442
|
-
target[key] = val;
|
|
443
|
-
}
|
|
444
|
-
return target;
|
|
445
|
-
};
|
|
446
|
-
const _sfc_main$u = {};
|
|
447
541
|
const _hoisted_1$s = { class: "bs-loading-icon" };
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
542
|
+
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
543
|
+
__name: "BSLoadingIcon",
|
|
544
|
+
setup(__props) {
|
|
545
|
+
return (_ctx, _cache) => {
|
|
546
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
|
|
547
|
+
vue.createVNode(_sfc_main$w, {
|
|
548
|
+
name: "progress_activity",
|
|
549
|
+
spin: ""
|
|
550
|
+
})
|
|
551
|
+
]);
|
|
552
|
+
};
|
|
553
|
+
}
|
|
554
|
+
});
|
|
454
555
|
const waitUntil = async (condition, intervalMilliseconds = 200, maxTrial = 15) => {
|
|
455
556
|
return await new Promise((resolve) => {
|
|
456
557
|
let tried = 0;
|
|
@@ -749,8 +850,9 @@
|
|
|
749
850
|
class: "popup-search"
|
|
750
851
|
};
|
|
751
852
|
const _hoisted_2$n = ["data-value", "onMouseover", "onClick"];
|
|
752
|
-
const _hoisted_3$
|
|
753
|
-
const _hoisted_4$
|
|
853
|
+
const _hoisted_3$g = { class: "checkbox" };
|
|
854
|
+
const _hoisted_4$c = ["textContent"];
|
|
855
|
+
const _hoisted_5$6 = ["textContent"];
|
|
754
856
|
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
755
857
|
__name: "BSSelectPopup",
|
|
756
858
|
props: {
|
|
@@ -932,16 +1034,21 @@
|
|
|
932
1034
|
onMouseover: ($event) => setHoveredPopupItem(item?.original),
|
|
933
1035
|
onClick: vue.withModifiers(($event) => selectPopupItem(item?.original), ["stop"])
|
|
934
1036
|
}, [
|
|
935
|
-
|
|
1037
|
+
vue.createElementVNode("span", _hoisted_3$g, [
|
|
1038
|
+
item !== void 0 && __props.selectedItems?.includes(item?.original) ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
|
|
1039
|
+
key: 0,
|
|
1040
|
+
name: "check"
|
|
1041
|
+
})) : vue.createCommentVNode("", true)
|
|
1042
|
+
]),
|
|
936
1043
|
item !== void 0 ? (vue.openBlock(), vue.createElementBlock("label", {
|
|
937
1044
|
key: 0,
|
|
938
1045
|
textContent: vue.toDisplayString(item?.label),
|
|
939
1046
|
class: "label"
|
|
940
|
-
}, null, 8,
|
|
1047
|
+
}, null, 8, _hoisted_4$c)) : (vue.openBlock(), vue.createElementBlock("label", {
|
|
941
1048
|
key: 1,
|
|
942
1049
|
textContent: vue.toDisplayString(__props.nullLabel),
|
|
943
1050
|
class: "label null-label"
|
|
944
|
-
}, null, 8,
|
|
1051
|
+
}, null, 8, _hoisted_5$6))
|
|
945
1052
|
], 42, _hoisted_2$n);
|
|
946
1053
|
}), 128))
|
|
947
1054
|
], 512)
|
|
@@ -1347,13 +1454,9 @@
|
|
|
1347
1454
|
};
|
|
1348
1455
|
const _hoisted_1$n = ["tabindex", "onKeydown"];
|
|
1349
1456
|
const _hoisted_2$l = ["textContent"];
|
|
1350
|
-
const _hoisted_3$
|
|
1351
|
-
const _hoisted_4$
|
|
1457
|
+
const _hoisted_3$f = ["data-field-name"];
|
|
1458
|
+
const _hoisted_4$b = ["textContent"];
|
|
1352
1459
|
const _hoisted_5$5 = ["textContent"];
|
|
1353
|
-
const _hoisted_6$2 = {
|
|
1354
|
-
key: 2,
|
|
1355
|
-
class: "small-progress"
|
|
1356
|
-
};
|
|
1357
1460
|
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
1358
1461
|
__name: "BSSelect",
|
|
1359
1462
|
props: {
|
|
@@ -1501,14 +1604,22 @@
|
|
|
1501
1604
|
key: 0,
|
|
1502
1605
|
textContent: vue.toDisplayString(__props.placeholder),
|
|
1503
1606
|
class: "placeholder grow"
|
|
1504
|
-
}, null, 8, _hoisted_4$
|
|
1607
|
+
}, null, 8, _hoisted_4$b)) : (vue.openBlock(), vue.createElementBlock("span", {
|
|
1505
1608
|
key: 1,
|
|
1506
1609
|
textContent: vue.toDisplayString(selectedItemLabel.value),
|
|
1507
1610
|
class: "label"
|
|
1508
1611
|
}, null, 8, _hoisted_5$5)),
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1612
|
+
vue.createVNode(_sfc_main$w, {
|
|
1613
|
+
name: "expand_more",
|
|
1614
|
+
class: "dropdown-btn"
|
|
1615
|
+
}),
|
|
1616
|
+
loadingItems.value ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
|
|
1617
|
+
key: 2,
|
|
1618
|
+
name: "progress_activity",
|
|
1619
|
+
class: "small-progress",
|
|
1620
|
+
spin: ""
|
|
1621
|
+
})) : vue.createCommentVNode("", true)
|
|
1622
|
+
], 8, _hoisted_3$f),
|
|
1512
1623
|
!__props.disabled && showPopup.value ? (vue.openBlock(), vue.createBlock(_sfc_main$r, {
|
|
1513
1624
|
key: 0,
|
|
1514
1625
|
ref_key: "selectPopup",
|
|
@@ -1545,8 +1656,8 @@
|
|
|
1545
1656
|
});
|
|
1546
1657
|
const _hoisted_1$m = { class: "bs-calendar" };
|
|
1547
1658
|
const _hoisted_2$k = { class: "bs-calendar-head" };
|
|
1548
|
-
const _hoisted_3$
|
|
1549
|
-
const _hoisted_4$
|
|
1659
|
+
const _hoisted_3$e = { class: "year-month" };
|
|
1660
|
+
const _hoisted_4$a = {
|
|
1550
1661
|
key: 0,
|
|
1551
1662
|
class: "timezone"
|
|
1552
1663
|
};
|
|
@@ -1749,11 +1860,15 @@
|
|
|
1749
1860
|
return (_ctx, _cache) => {
|
|
1750
1861
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
|
|
1751
1862
|
vue.createElementVNode("div", _hoisted_2$k, [
|
|
1752
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
1753
|
-
vue.createVNode(_sfc_main$
|
|
1754
|
-
class: "",
|
|
1755
|
-
"left-icon": "chevron_left",
|
|
1863
|
+
vue.createElementVNode("div", _hoisted_3$e, [
|
|
1864
|
+
vue.createVNode(_sfc_main$x, {
|
|
1865
|
+
class: "min-w-[2em]",
|
|
1756
1866
|
onClick: prevMonth
|
|
1867
|
+
}, {
|
|
1868
|
+
left: vue.withCtx(() => [
|
|
1869
|
+
vue.createVNode(_sfc_main$w, { name: "chevron_left" })
|
|
1870
|
+
]),
|
|
1871
|
+
_: 1
|
|
1757
1872
|
}),
|
|
1758
1873
|
vue.createVNode(_sfc_main$p, {
|
|
1759
1874
|
modelValue: year.value,
|
|
@@ -1767,13 +1882,17 @@
|
|
|
1767
1882
|
disabled: __props.disabled,
|
|
1768
1883
|
items: vue.unref(months)
|
|
1769
1884
|
}, null, 8, ["modelValue", "disabled", "items"]),
|
|
1770
|
-
vue.createVNode(_sfc_main$
|
|
1771
|
-
class: "",
|
|
1772
|
-
"left-icon": "chevron_right",
|
|
1885
|
+
vue.createVNode(_sfc_main$x, {
|
|
1886
|
+
class: "min-w-[2em]",
|
|
1773
1887
|
onClick: nextMonth
|
|
1888
|
+
}, {
|
|
1889
|
+
left: vue.withCtx(() => [
|
|
1890
|
+
vue.createVNode(_sfc_main$w, { name: "chevron_right" })
|
|
1891
|
+
]),
|
|
1892
|
+
_: 1
|
|
1774
1893
|
})
|
|
1775
1894
|
]),
|
|
1776
|
-
__props.showTimeZone ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
1895
|
+
__props.showTimeZone ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$a, "(" + vue.toDisplayString(actualTimeZone.value) + ")", 1)) : vue.createCommentVNode("", true)
|
|
1777
1896
|
]),
|
|
1778
1897
|
vue.createElementVNode("table", {
|
|
1779
1898
|
class: vue.normalizeClass([{ disabled: __props.disabled }, "align-self-center"])
|
|
@@ -1834,7 +1953,7 @@
|
|
|
1834
1953
|
});
|
|
1835
1954
|
const _hoisted_1$l = { class: "bs-calendar-range flex flex-row" };
|
|
1836
1955
|
const _hoisted_2$j = { class: "flex flex-col" };
|
|
1837
|
-
const _hoisted_3$
|
|
1956
|
+
const _hoisted_3$d = { class: "flex flex-row items-center" };
|
|
1838
1957
|
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
1839
1958
|
__name: "BSCalendarRange",
|
|
1840
1959
|
props: {
|
|
@@ -1875,7 +1994,7 @@
|
|
|
1875
1994
|
return (_ctx, _cache) => {
|
|
1876
1995
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [
|
|
1877
1996
|
vue.createElementVNode("div", _hoisted_2$j, [
|
|
1878
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
1997
|
+
vue.createElementVNode("div", _hoisted_3$d, [
|
|
1879
1998
|
vue.createVNode(_sfc_main$o, {
|
|
1880
1999
|
modelValue: fromValue.value,
|
|
1881
2000
|
"onUpdate:modelValue": [
|
|
@@ -1974,8 +2093,7 @@
|
|
|
1974
2093
|
}
|
|
1975
2094
|
};
|
|
1976
2095
|
const _hoisted_1$k = ["textContent"];
|
|
1977
|
-
const _hoisted_2$i =
|
|
1978
|
-
const _hoisted_3$d = ["src", "alt"];
|
|
2096
|
+
const _hoisted_2$i = ["src", "alt"];
|
|
1979
2097
|
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
1980
2098
|
__name: "BSPrefixSuffix",
|
|
1981
2099
|
props: {
|
|
@@ -1992,11 +2110,13 @@
|
|
|
1992
2110
|
textContent: vue.toDisplayString(item.value),
|
|
1993
2111
|
key: JSON.stringify(item.value),
|
|
1994
2112
|
class: vue.normalizeClass(__props.type)
|
|
1995
|
-
}, null, 10, _hoisted_1$k)) : item.type === "
|
|
2113
|
+
}, null, 10, _hoisted_1$k)) : item.type === "icon" ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
1996
2114
|
key: 1,
|
|
1997
2115
|
class: vue.normalizeClass(__props.type)
|
|
1998
2116
|
}, [
|
|
1999
|
-
vue.
|
|
2117
|
+
vue.createVNode(_sfc_main$w, {
|
|
2118
|
+
name: item.value
|
|
2119
|
+
}, null, 8, ["name"])
|
|
2000
2120
|
], 2)) : item.type === "image-url" ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
2001
2121
|
key: 2,
|
|
2002
2122
|
class: vue.normalizeClass(__props.type)
|
|
@@ -2004,7 +2124,7 @@
|
|
|
2004
2124
|
vue.createElementVNode("img", {
|
|
2005
2125
|
src: item.value,
|
|
2006
2126
|
alt: __props.type
|
|
2007
|
-
}, null, 8,
|
|
2127
|
+
}, null, 8, _hoisted_2$i)
|
|
2008
2128
|
], 2)) : vue.createCommentVNode("", true)
|
|
2009
2129
|
], 64);
|
|
2010
2130
|
}), 256);
|
|
@@ -2020,7 +2140,7 @@
|
|
|
2020
2140
|
key: 1,
|
|
2021
2141
|
class: "input-area"
|
|
2022
2142
|
};
|
|
2023
|
-
const _hoisted_4$
|
|
2143
|
+
const _hoisted_4$9 = ["id", "placeholder", "autocomplete", "disabled", "maxlength", "name", "tabindex", "type"];
|
|
2024
2144
|
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
2025
2145
|
__name: "BSTextInput",
|
|
2026
2146
|
props: {
|
|
@@ -2174,7 +2294,7 @@
|
|
|
2174
2294
|
name: __props.name,
|
|
2175
2295
|
tabindex: __props.tabindex,
|
|
2176
2296
|
type: __props.inputType
|
|
2177
|
-
}, vue.toHandlers(handlers, true)), null, 16, _hoisted_4$
|
|
2297
|
+
}, vue.toHandlers(handlers, true)), null, 16, _hoisted_4$9), [
|
|
2178
2298
|
[vue.vModelDynamic, vue.unref(stringValue)]
|
|
2179
2299
|
]),
|
|
2180
2300
|
vue.createVNode(_sfc_main$m, {
|
|
@@ -2473,7 +2593,7 @@
|
|
|
2473
2593
|
key: 1,
|
|
2474
2594
|
class: "input-area"
|
|
2475
2595
|
};
|
|
2476
|
-
const _hoisted_4$
|
|
2596
|
+
const _hoisted_4$8 = ["id", "placeholder", "autocomplete", "disabled", "maxlength", "name", "tabindex", "value"];
|
|
2477
2597
|
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
2478
2598
|
__name: "BSNumberInput",
|
|
2479
2599
|
props: {
|
|
@@ -2635,7 +2755,7 @@
|
|
|
2635
2755
|
tabindex: __props.tabindex,
|
|
2636
2756
|
value: focused.value || !__props.formatOnBlur ? vue.unref(stringValue) : formattedStringValue.value,
|
|
2637
2757
|
type: "text"
|
|
2638
|
-
}, vue.toHandlers(handlers, true)), null, 16, _hoisted_4$
|
|
2758
|
+
}, vue.toHandlers(handlers, true)), null, 16, _hoisted_4$8),
|
|
2639
2759
|
vue.createVNode(_sfc_main$m, {
|
|
2640
2760
|
value: __props.suffix,
|
|
2641
2761
|
type: "suffix"
|
|
@@ -2659,7 +2779,7 @@
|
|
|
2659
2779
|
key: 1,
|
|
2660
2780
|
class: "input-area flex flex-row items-start"
|
|
2661
2781
|
};
|
|
2662
|
-
const _hoisted_4$
|
|
2782
|
+
const _hoisted_4$7 = ["placeholder", "disabled", "maxlength", "name", "tabindex"];
|
|
2663
2783
|
const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
2664
2784
|
__name: "BSTextArea",
|
|
2665
2785
|
props: {
|
|
@@ -2805,7 +2925,7 @@
|
|
|
2805
2925
|
class: "grow",
|
|
2806
2926
|
onPointerdown: capturePointer,
|
|
2807
2927
|
onPointerup: preserveResizedHeight
|
|
2808
|
-
}, vue.toHandlers(handlers, true)), null, 16, _hoisted_4$
|
|
2928
|
+
}, vue.toHandlers(handlers, true)), null, 16, _hoisted_4$7), [
|
|
2809
2929
|
[vue.vModelText, vue.unref(stringValue)]
|
|
2810
2930
|
]),
|
|
2811
2931
|
vue.createVNode(_sfc_main$m, {
|
|
@@ -2823,8 +2943,9 @@
|
|
|
2823
2943
|
}
|
|
2824
2944
|
});
|
|
2825
2945
|
const _hoisted_1$g = ["id", "checked", "disabled", "name", "tabindex"];
|
|
2826
|
-
const _hoisted_2$e = ["
|
|
2827
|
-
const _hoisted_3$9 = ["for"];
|
|
2946
|
+
const _hoisted_2$e = ["for"];
|
|
2947
|
+
const _hoisted_3$9 = ["textContent", "for"];
|
|
2948
|
+
const _hoisted_4$6 = ["for"];
|
|
2828
2949
|
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
2829
2950
|
__name: "BSCheckbox",
|
|
2830
2951
|
props: {
|
|
@@ -2882,19 +3003,27 @@
|
|
|
2882
3003
|
class: "",
|
|
2883
3004
|
type: "checkbox"
|
|
2884
3005
|
}, vue.toHandlers(handlers, true)), null, 16, _hoisted_1$g),
|
|
3006
|
+
vue.createElementVNode("label", {
|
|
3007
|
+
for: __props.id,
|
|
3008
|
+
class: "icon-label"
|
|
3009
|
+
}, [
|
|
3010
|
+
vue.createVNode(_sfc_main$w, {
|
|
3011
|
+
name: checked.value ? "check_box" : "check_box_outline_blank"
|
|
3012
|
+
}, null, 8, ["name"])
|
|
3013
|
+
], 8, _hoisted_2$e),
|
|
2885
3014
|
__props.label ? (vue.openBlock(), vue.createElementBlock("label", {
|
|
2886
3015
|
key: 0,
|
|
2887
3016
|
textContent: vue.toDisplayString(__props.label),
|
|
2888
3017
|
for: __props.id,
|
|
2889
3018
|
class: "text-label"
|
|
2890
|
-
}, null, 8,
|
|
3019
|
+
}, null, 8, _hoisted_3$9)) : vue.createCommentVNode("", true),
|
|
2891
3020
|
hasLabelSlot.value ? (vue.openBlock(), vue.createElementBlock("label", {
|
|
2892
3021
|
key: 1,
|
|
2893
3022
|
for: __props.id,
|
|
2894
3023
|
class: "slot-label cursor-pointer"
|
|
2895
3024
|
}, [
|
|
2896
3025
|
vue.renderSlot(_ctx.$slots, "default", { disabled: __props.disabled })
|
|
2897
|
-
], 8,
|
|
3026
|
+
], 8, _hoisted_4$6)) : vue.createCommentVNode("", true)
|
|
2898
3027
|
], 2);
|
|
2899
3028
|
};
|
|
2900
3029
|
}
|
|
@@ -3037,10 +3166,7 @@
|
|
|
3037
3166
|
});
|
|
3038
3167
|
const _hoisted_1$e = ["id", "checked", "disabled", "name", "tabindex"];
|
|
3039
3168
|
const _hoisted_2$c = ["for"];
|
|
3040
|
-
const _hoisted_3$7 =
|
|
3041
|
-
key: 0,
|
|
3042
|
-
class: "font-icon"
|
|
3043
|
-
};
|
|
3169
|
+
const _hoisted_3$7 = ["for"];
|
|
3044
3170
|
const _hoisted_4$5 = ["textContent"];
|
|
3045
3171
|
const _hoisted_5$3 = ["for"];
|
|
3046
3172
|
const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -3087,14 +3213,25 @@
|
|
|
3087
3213
|
role: "radio",
|
|
3088
3214
|
type: "radio"
|
|
3089
3215
|
}, vue.toHandlers(handlers, true)), null, 16, _hoisted_1$e),
|
|
3216
|
+
vue.createElementVNode("label", {
|
|
3217
|
+
for: __props.id,
|
|
3218
|
+
class: "icon-label"
|
|
3219
|
+
}, [
|
|
3220
|
+
vue.createVNode(_sfc_main$w, {
|
|
3221
|
+
name: checked.value ? "radio_button_checked" : "radio_button_unchecked"
|
|
3222
|
+
}, null, 8, ["name"])
|
|
3223
|
+
], 8, _hoisted_2$c),
|
|
3090
3224
|
vue.createElementVNode("label", { for: __props.id }, [
|
|
3091
|
-
__props.icon ? (vue.openBlock(), vue.
|
|
3225
|
+
__props.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
|
|
3226
|
+
key: 0,
|
|
3227
|
+
name: __props.icon
|
|
3228
|
+
}, null, 8, ["name"])) : vue.createCommentVNode("", true),
|
|
3092
3229
|
__props.label ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
3093
3230
|
key: 1,
|
|
3094
3231
|
textContent: vue.toDisplayString(__props.label),
|
|
3095
3232
|
class: "text-label"
|
|
3096
3233
|
}, null, 8, _hoisted_4$5)) : vue.createCommentVNode("", true)
|
|
3097
|
-
], 8,
|
|
3234
|
+
], 8, _hoisted_3$7),
|
|
3098
3235
|
hasLabelSlot.value ? (vue.openBlock(), vue.createElementBlock("label", {
|
|
3099
3236
|
key: 0,
|
|
3100
3237
|
for: __props.id,
|
|
@@ -3234,10 +3371,6 @@
|
|
|
3234
3371
|
};
|
|
3235
3372
|
const _hoisted_8 = ["textContent"];
|
|
3236
3373
|
const _hoisted_9 = ["textContent"];
|
|
3237
|
-
const _hoisted_10 = {
|
|
3238
|
-
key: 2,
|
|
3239
|
-
class: "small-progress"
|
|
3240
|
-
};
|
|
3241
3374
|
const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
3242
3375
|
__name: "BSMultiSelect",
|
|
3243
3376
|
props: {
|
|
@@ -3398,8 +3531,16 @@
|
|
|
3398
3531
|
}, null, 8, _hoisted_9);
|
|
3399
3532
|
}), 128))
|
|
3400
3533
|
])),
|
|
3401
|
-
|
|
3402
|
-
|
|
3534
|
+
vue.createVNode(_sfc_main$w, {
|
|
3535
|
+
name: "expand_more",
|
|
3536
|
+
class: "dropdown-btn"
|
|
3537
|
+
}),
|
|
3538
|
+
loadingItems.value ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
|
|
3539
|
+
key: 2,
|
|
3540
|
+
name: "progress_activity",
|
|
3541
|
+
class: "small-progress",
|
|
3542
|
+
spin: ""
|
|
3543
|
+
})) : vue.createCommentVNode("", true)
|
|
3403
3544
|
], 8, _hoisted_5$2),
|
|
3404
3545
|
!__props.disabled && showPopup.value ? (vue.openBlock(), vue.createBlock(_sfc_main$r, {
|
|
3405
3546
|
key: 0,
|
|
@@ -3540,13 +3681,13 @@
|
|
|
3540
3681
|
"time-zone": __props.timeZone
|
|
3541
3682
|
}, null, 8, ["modelValue", "display-format", "end-year", "resolution", "start-year", "time-zone"]),
|
|
3542
3683
|
vue.createElementVNode("div", _hoisted_2$9, [
|
|
3543
|
-
vue.createVNode(_sfc_main$
|
|
3684
|
+
vue.createVNode(_sfc_main$x, {
|
|
3544
3685
|
caption: __props.okButtonCaption,
|
|
3545
3686
|
"button-color": "blue",
|
|
3546
3687
|
class: "min-w-80",
|
|
3547
3688
|
onClick: emitValue
|
|
3548
3689
|
}, null, 8, ["caption"]),
|
|
3549
|
-
vue.createVNode(_sfc_main$
|
|
3690
|
+
vue.createVNode(_sfc_main$x, {
|
|
3550
3691
|
caption: __props.cancelButtonCaption,
|
|
3551
3692
|
class: "min-w-80",
|
|
3552
3693
|
onClick: close
|
|
@@ -3778,10 +3919,11 @@
|
|
|
3778
3919
|
__props.viewMode ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
|
|
3779
3920
|
vue.createElementVNode("span", null, vue.toDisplayString(viewModeValue.value), 1)
|
|
3780
3921
|
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$8, [
|
|
3781
|
-
vue.
|
|
3782
|
-
|
|
3922
|
+
vue.createVNode(_sfc_main$w, {
|
|
3923
|
+
name: "calendar_month",
|
|
3924
|
+
class: vue.normalizeClass({ "bs-clickable": !__props.disabled }),
|
|
3783
3925
|
onClick: _cache[0] || (_cache[0] = ($event) => togglePopup())
|
|
3784
|
-
},
|
|
3926
|
+
}, null, 8, ["class"]),
|
|
3785
3927
|
vue.createElementVNode("input", vue.mergeProps({
|
|
3786
3928
|
id: __props.id,
|
|
3787
3929
|
ref_key: "field",
|
|
@@ -3878,13 +4020,13 @@
|
|
|
3878
4020
|
"time-zone": __props.timeZone
|
|
3879
4021
|
}, null, 8, ["from", "to", "disabled-from", "disabled-to", "display-format", "end-year", "resolution", "start-year", "time-zone"]),
|
|
3880
4022
|
vue.createElementVNode("div", _hoisted_2$7, [
|
|
3881
|
-
vue.createVNode(_sfc_main$
|
|
4023
|
+
vue.createVNode(_sfc_main$x, {
|
|
3882
4024
|
caption: __props.okButtonCaption,
|
|
3883
4025
|
"button-color": "blue",
|
|
3884
4026
|
class: "min-w-80",
|
|
3885
4027
|
onClick: emitValue
|
|
3886
4028
|
}, null, 8, ["caption"]),
|
|
3887
|
-
vue.createVNode(_sfc_main$
|
|
4029
|
+
vue.createVNode(_sfc_main$x, {
|
|
3888
4030
|
caption: __props.cancelButtonCaption,
|
|
3889
4031
|
class: "min-w-80",
|
|
3890
4032
|
onClick: close
|
|
@@ -4288,10 +4430,11 @@
|
|
|
4288
4430
|
__props.viewMode ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$8, [
|
|
4289
4431
|
vue.createElementVNode("span", null, vue.toDisplayString(formattedDateRange.value), 1)
|
|
4290
4432
|
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$6, [
|
|
4291
|
-
vue.
|
|
4292
|
-
|
|
4433
|
+
vue.createVNode(_sfc_main$w, {
|
|
4434
|
+
name: "calendar_month",
|
|
4435
|
+
class: vue.normalizeClass({ "bs-clickable": !disabled.value }),
|
|
4293
4436
|
onClick: _cache[0] || (_cache[0] = () => togglePopup())
|
|
4294
|
-
},
|
|
4437
|
+
}, null, 8, ["class"]),
|
|
4295
4438
|
vue.createElementVNode("input", vue.mergeProps({
|
|
4296
4439
|
id: __props.idFrom,
|
|
4297
4440
|
ref_key: "fieldFrom",
|
|
@@ -4431,10 +4574,11 @@
|
|
|
4431
4574
|
class: vue.normalizeClass([{ expanded: expanded.value }, "bs-card-layout"])
|
|
4432
4575
|
}, [
|
|
4433
4576
|
!__props.hideTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$7, [
|
|
4434
|
-
vue.
|
|
4435
|
-
|
|
4577
|
+
vue.createVNode(_sfc_main$w, {
|
|
4578
|
+
name: "label",
|
|
4579
|
+
class: "expand-btn bs-clickable",
|
|
4436
4580
|
onClick: toggleExpand
|
|
4437
|
-
}
|
|
4581
|
+
}),
|
|
4438
4582
|
vue.createElementVNode("div", {
|
|
4439
4583
|
textContent: vue.toDisplayString(__props.title),
|
|
4440
4584
|
class: "card-layout-title"
|
|
@@ -4943,20 +5087,30 @@
|
|
|
4943
5087
|
vue.renderSlot(_ctx.$slots, "title-buttons")
|
|
4944
5088
|
]),
|
|
4945
5089
|
vue.createElementVNode("div", null, [
|
|
4946
|
-
!__props.hideMaximizeButton ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
5090
|
+
!__props.hideMaximizeButton ? (vue.openBlock(), vue.createBlock(_sfc_main$x, {
|
|
4947
5091
|
key: 0,
|
|
4948
|
-
"left-icon": vue.unref(modalHandle).maximized ? "minimize" : "maximize",
|
|
4949
5092
|
title: vue.unref(modalHandle).maximized ? "Restore" : "Maximize",
|
|
4950
5093
|
class: "border-0 maximize-btn",
|
|
4951
5094
|
onClick: toggleMaximize
|
|
4952
|
-
},
|
|
4953
|
-
|
|
5095
|
+
}, {
|
|
5096
|
+
left: vue.withCtx(() => [
|
|
5097
|
+
vue.createVNode(_sfc_main$w, {
|
|
5098
|
+
name: vue.unref(modalHandle).maximized ? "minimize" : "maximize"
|
|
5099
|
+
}, null, 8, ["name"])
|
|
5100
|
+
]),
|
|
5101
|
+
_: 1
|
|
5102
|
+
}, 8, ["title"])) : vue.createCommentVNode("", true),
|
|
5103
|
+
!__props.hideCloseButton ? (vue.openBlock(), vue.createBlock(_sfc_main$x, {
|
|
4954
5104
|
key: 1,
|
|
4955
5105
|
title: __props.closeCaption,
|
|
4956
5106
|
class: "border-0 close-btn",
|
|
4957
|
-
"left-icon": "close",
|
|
4958
5107
|
onClick: closeModal
|
|
4959
|
-
},
|
|
5108
|
+
}, {
|
|
5109
|
+
left: vue.withCtx(() => [
|
|
5110
|
+
vue.createVNode(_sfc_main$w, { name: "close" })
|
|
5111
|
+
]),
|
|
5112
|
+
_: 1
|
|
5113
|
+
}, 8, ["title"])) : vue.createCommentVNode("", true)
|
|
4960
5114
|
])
|
|
4961
5115
|
])) : vue.createCommentVNode("", true),
|
|
4962
5116
|
vue.createElementVNode("div", {
|
|
@@ -5008,7 +5162,7 @@
|
|
|
5008
5162
|
}, {
|
|
5009
5163
|
buttons: vue.withCtx(() => [
|
|
5010
5164
|
vue.createElementVNode("div", _hoisted_2$3, [
|
|
5011
|
-
vue.withDirectives(vue.createVNode(_sfc_main$
|
|
5165
|
+
vue.withDirectives(vue.createVNode(_sfc_main$x, {
|
|
5012
5166
|
caption: __props.okCaption,
|
|
5013
5167
|
"button-color": "blue",
|
|
5014
5168
|
class: "min-w-80",
|
|
@@ -5063,13 +5217,13 @@
|
|
|
5063
5217
|
return vue.openBlock(), vue.createBlock(_sfc_main$5, { title: __props.title }, {
|
|
5064
5218
|
buttons: vue.withCtx(() => [
|
|
5065
5219
|
vue.createElementVNode("div", _hoisted_2$2, [
|
|
5066
|
-
vue.createVNode(_sfc_main$
|
|
5220
|
+
vue.createVNode(_sfc_main$x, {
|
|
5067
5221
|
caption: __props.noCaption,
|
|
5068
5222
|
class: "min-w-80",
|
|
5069
5223
|
"data-id": "noBtn",
|
|
5070
5224
|
onClick: clickNo
|
|
5071
5225
|
}, null, 8, ["caption"]),
|
|
5072
|
-
vue.createVNode(_sfc_main$
|
|
5226
|
+
vue.createVNode(_sfc_main$x, {
|
|
5073
5227
|
caption: __props.yesCaption,
|
|
5074
5228
|
"button-color": "blue",
|
|
5075
5229
|
class: "ml-8 min-w-80",
|
|
@@ -5115,9 +5269,16 @@
|
|
|
5115
5269
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(notificationEntries), (entry) => {
|
|
5116
5270
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
5117
5271
|
key: entry.entryId,
|
|
5118
|
-
textContent: vue.toDisplayString(entry.message),
|
|
5119
5272
|
class: vue.normalizeClass(entry.style)
|
|
5120
|
-
},
|
|
5273
|
+
}, [
|
|
5274
|
+
vue.createVNode(_sfc_main$w, {
|
|
5275
|
+
name: entry.style === "error" ? "cancel" : "check_circle",
|
|
5276
|
+
class: "notification-icon"
|
|
5277
|
+
}, null, 8, ["name"]),
|
|
5278
|
+
vue.createElementVNode("span", {
|
|
5279
|
+
textContent: vue.toDisplayString(entry.message)
|
|
5280
|
+
}, null, 8, _hoisted_3$1)
|
|
5281
|
+
], 2);
|
|
5121
5282
|
}), 128))
|
|
5122
5283
|
]),
|
|
5123
5284
|
_: 1
|
|
@@ -5148,7 +5309,7 @@
|
|
|
5148
5309
|
onMouseover: _cache[1] || (_cache[1] = ($event) => setCursorInTooltip(true, $event))
|
|
5149
5310
|
}, null, 8, ["content", "target"])) : vue.createCommentVNode("", true)
|
|
5150
5311
|
]),
|
|
5151
|
-
vue.unref(showLoadingIcon) ? (vue.openBlock(), vue.createBlock(
|
|
5312
|
+
vue.unref(showLoadingIcon) ? (vue.openBlock(), vue.createBlock(_sfc_main$u, { key: 0 })) : vue.createCommentVNode("", true)
|
|
5152
5313
|
]);
|
|
5153
5314
|
};
|
|
5154
5315
|
}
|
|
@@ -5307,7 +5468,7 @@
|
|
|
5307
5468
|
class IllegalAccessError {
|
|
5308
5469
|
}
|
|
5309
5470
|
exports2.BSAlertModal = _sfc_main$4;
|
|
5310
|
-
exports2.BSButton = _sfc_main$
|
|
5471
|
+
exports2.BSButton = _sfc_main$x;
|
|
5311
5472
|
exports2.BSCalendar = _sfc_main$o;
|
|
5312
5473
|
exports2.BSCalendarRange = _sfc_main$n;
|
|
5313
5474
|
exports2.BSCardLayout = _sfc_main$8;
|
|
@@ -5320,7 +5481,8 @@
|
|
|
5320
5481
|
exports2.BSDateInputPopup = _sfc_main$d;
|
|
5321
5482
|
exports2.BSDateRange = _sfc_main$a;
|
|
5322
5483
|
exports2.BSDateRangeInputPopup = _sfc_main$b;
|
|
5323
|
-
exports2.
|
|
5484
|
+
exports2.BSIcon = _sfc_main$w;
|
|
5485
|
+
exports2.BSLoadingIcon = _sfc_main$u;
|
|
5324
5486
|
exports2.BSModal = BSModal;
|
|
5325
5487
|
exports2.BSModalContainer = _sfc_main$6;
|
|
5326
5488
|
exports2.BSModalFrame = _sfc_main$5;
|
|
@@ -5362,6 +5524,7 @@
|
|
|
5362
5524
|
exports2.focusLastElement = focusLastElement;
|
|
5363
5525
|
exports2.formatUtil = formatUtil;
|
|
5364
5526
|
exports2.getComponentRootElement = getComponentRootElement;
|
|
5527
|
+
exports2.getIcon = getIcon;
|
|
5365
5528
|
exports2.getSelfIndex = getSelfIndex;
|
|
5366
5529
|
exports2.hideLoading = hideLoading;
|
|
5367
5530
|
exports2.hideTooltip = hideTooltip;
|
|
@@ -5373,6 +5536,8 @@
|
|
|
5373
5536
|
exports2.provideFieldContext = provideFieldContext;
|
|
5374
5537
|
exports2.provideModalHandle = provideModalHandle;
|
|
5375
5538
|
exports2.provideSavePoint = provideSavePoint;
|
|
5539
|
+
exports2.registerIcon = registerIcon;
|
|
5540
|
+
exports2.registerIcons = registerIcons;
|
|
5376
5541
|
exports2.showAlarm = showAlarm;
|
|
5377
5542
|
exports2.showLoading = showLoading;
|
|
5378
5543
|
exports2.showLoadingIcon = showLoadingIcon;
|