@windwalker-io/unicorn-next 0.1.14 → 0.1.15

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.
@@ -1,4 +1,4 @@
1
- import { a as useUniDirective, x as getBoundedInstance, v as selectOne, a7 as mergeDeep, A as h, w as selectAll, ac as data } from "./unicorn.js";
1
+ import { a as useUniDirective, x as getBoundedInstance, v as selectOne, a6 as mergeDeep, A as h, w as selectAll, ae as data } from "./unicorn.js";
2
2
  const defaultOptions = {
3
3
  selector: ".btn-group .radio",
4
4
  buttonClass: "btn",
@@ -1,5 +1,5 @@
1
1
  import { g as getDefaultExportFromCjs } from "./_commonjsHelpers.js";
2
- import { a6 as prepareAlpineDefer, f as initAlpineComponent, a7 as mergeDeep, K as uid, z as module$1, u as useHttpClient } from "./unicorn.js";
2
+ import { a9 as prepareAlpineDefer, f as initAlpineComponent, a6 as mergeDeep, K as uid, z as module$1, u as useHttpClient } from "./unicorn.js";
3
3
  var alpineComponent = {};
4
4
  var hasRequiredAlpineComponent;
5
5
  function requireAlpineComponent() {
@@ -1,4 +1,4 @@
1
- import { a8 as injectCssToDocument, a as useUniDirective, a9 as watchAttributes, a7 as mergeDeep, _ as __, K as uid, B as html, G as simpleAlert } from "./unicorn.js";
1
+ import { aa as watchAttributes, a6 as mergeDeep, _ as __, K as uid, B as html, G as simpleAlert, ab as injectCssToDocument, a as useUniDirective } from "./unicorn.js";
2
2
  const css = ".c-file-drag {\n --bs-card-border-color: var(--bs-gray-400);\n --fd-delete-color: var(--bs-danger);\n overflow: hidden;\n border: 1px solid var(--bs-card-border-color, #ddd);\n}\n.c-file-drag label {\n border: none;\n}\n\n.c-file-drag-input {\n position: relative;\n display: inline-block;\n width: 100%;\n min-height: 100px;\n cursor: pointer;\n}\n.c-file-drag-input input {\n position: relative;\n z-index: 2;\n width: 100%;\n margin: 0;\n overflow: hidden;\n opacity: 0;\n height: 100%;\n cursor: pointer;\n}\n.c-file-drag-input input.hover + label {\n background-color: #efefef;\n}\n.c-file-drag-input input.is-invalid ~ .c-file-drag-input__label {\n border-color: var(--bs-danger);\n}\n.c-file-drag-input input:disabled {\n opacity: 0;\n cursor: no-drop;\n}\n.c-file-drag-input input:disabled + label {\n background-color: #eee;\n color: #999;\n}\n.c-file-drag-input input:disabled + label button {\n display: none;\n}\n.c-file-drag-input__label {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: 1;\n padding: 0.375rem 0.75rem;\n color: #495057;\n background-color: #fff;\n border: 1px solid var(--bs-gray-400);\n border-radius: 0.25rem;\n height: 100%;\n text-align: center;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 0.5rem;\n transition: all 0.3s;\n cursor: pointer;\n}\n.c-file-drag-input__label > span {\n display: inline-block;\n width: 100%;\n}\n.c-file-drag-input label::after {\n content: none !important;\n}\n.c-file-drag-preview .c-file-drag-preview__delete {\n --bs-link-color-rgb: var(--bs-dark-rgb);\n}\n.c-file-drag-preview .c-file-drag-preview__delete.active {\n --bs-link-color-rgb: var(--bs-primary-rgb);\n}";
3
3
  const defaultOptions = {
4
4
  maxFiles: void 0,
@@ -1,5 +1,5 @@
1
1
  import flatpickr from "flatpickr";
2
- import { aa as useImport, ab as useCssImport, a8 as injectCssToDocument } from "./unicorn.js";
2
+ import { ac as useImport, ad as useCssImport, ab as injectCssToDocument } from "./unicorn.js";
3
3
  const css = `.flatpickr-calendar {
4
4
  background: transparent;
5
5
  opacity: 0;
@@ -1,4 +1,4 @@
1
- import { v as selectOne, U as highlight, G as simpleAlert, _ as __, ac as data, B as html, P as slideUp } from "./unicorn.js";
1
+ import { v as selectOne, U as highlight, G as simpleAlert, _ as __, ae as data, B as html, P as slideUp } from "./unicorn.js";
2
2
  import { b as baseAssignValue, a as assignValue, i as isIndex, c as isPrototype, d as arrayLikeKeys, g as getPrototype, k as keys } from "./_getPrototype.js";
3
3
  import { b as baseRest, a as apply } from "./_baseRest.js";
4
4
  import { i as isObjectLike, b as baseGetTag, a as isArray, S as Symbol$1, c as isObject, d as isArrayLike, e as eq } from "./isArguments.js";
@@ -1,5 +1,5 @@
1
- import { ad as forceArray, u as useHttpClient, ab as useCssImport, ac as data } from "./unicorn.js";
2
- import { defineComponent, ref, computed, h, Transition, withDirectives, mergeProps, vShow, unref, inject, watch, onBeforeUpdate, nextTick, onMounted, createElementBlock, openBlock, normalizeClass, createElementVNode, createBlock, createCommentVNode, normalizeStyle, vModelDynamic, withModifiers, createTextVNode, toDisplayString, withCtx, Fragment, renderList, useTemplateRef, onUnmounted, provide, vModelText, createVNode, TransitionGroup, createApp } from "vue";
1
+ import { af as forceArray, u as useHttpClient, ad as useCssImport, ae as data } from "./unicorn.js";
2
+ import { defineComponent, ref, computed, h, Transition, withDirectives, mergeProps, vShow, unref, inject, watch, onBeforeUpdate, nextTick, onMounted, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, vModelDynamic, withModifiers, createTextVNode, toDisplayString, createCommentVNode, createBlock, withCtx, Fragment, renderList, useTemplateRef, onUnmounted, provide, vModelText, createVNode, TransitionGroup, createApp } from "vue";
3
3
  import { Modal } from "bootstrap";
4
4
  import { c as cloneDeep } from "./cloneDeep.js";
5
5
  function flattenChildren(children) {
@@ -2,7 +2,7 @@ import { Modal } from "bootstrap";
2
2
  import { createApp, defineComponent, ref, getCurrentInstance, useTemplateRef, computed, onMounted, nextTick } from "vue";
3
3
  import { VueDraggable } from "vue-draggable-plus";
4
4
  import { ItemCardPlaceholder, ItemCard, MultiUploader, createItem } from "vue-multi-uploader";
5
- import { a8 as injectCssToDocument, a7 as mergeDeep, ad as forceArray, ac as data, m as useStack } from "./unicorn.js";
5
+ import { a6 as mergeDeep, ab as injectCssToDocument, af as forceArray, ae as data, m as useStack } from "./unicorn.js";
6
6
  const css = ".vue-drag-uploader {\n --vmu-img-size: 155px;\n display: flex;\n flex-wrap: wrap;\n padding: 1rem;\n border: 1px dotted #999;\n border-radius: 4px;\n cursor: pointer;\n color: #999;\n min-height: 250px;\n}\n.vue-drag-uploader--readonly {\n border: 1px solid #999;\n}\n.vue-drag-uploader.h-ondrag {\n border: 1px dotted #666;\n background-color: rgba(0, 0, 0, 0.05);\n color: #666;\n}\n.vue-drag-uploader__wrapper {\n width: 100%;\n}\n.vue-drag-uploader__draggable-wrapper, .vue-drag-uploader__transition-wrapper {\n display: flex;\n flex-wrap: wrap;\n}\n.vue-drag-uploader-item {\n width: var(--vmu-img-size);\n height: var(--vmu-img-size);\n border: 1px solid rgba(0, 0, 0, 0.25);\n border-radius: 3px;\n cursor: pointer;\n padding: 0.5rem;\n}\n.vue-drag-uploader .add-button {\n display: flex;\n align-items: center;\n text-align: center;\n transition: background-color 0.5s;\n}\n.vue-drag-uploader .add-button:hover {\n background-color: rgba(0, 0, 0, 0.05);\n}\n.vue-drag-uploader .add-button__body {\n margin: 0 auto;\n}\n.vue-drag-uploader .add-button__icon {\n margin-bottom: 10px;\n}\n.vue-drag-uploader .add-button__text {\n font-size: 14px;\n}\n.vue-drag-uploader .preview-img {\n position: relative;\n cursor: pointer;\n padding: 1px;\n}\n.vue-drag-uploader .preview-img > * {\n position: absolute;\n}\n.vue-drag-uploader .preview-img:hover .error-message__message {\n display: block;\n padding: 10px;\n}\n.vue-drag-uploader .preview-img__body {\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background: transparent no-repeat center center;\n background-size: cover;\n}\n.vue-drag-uploader .preview-img__title {\n margin: 0 auto;\n}\n.vue-drag-uploader .preview-img__overlay {\n display: flex;\n align-items: center;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n background-color: rgba(0, 0, 0, 0.35);\n opacity: 0;\n transition: opacity 0.5s;\n}\n.vue-drag-uploader .preview-img__overlay:hover {\n opacity: 1;\n}\n.vue-drag-uploader .preview-img__remove-icon {\n position: absolute;\n top: 5px;\n right: 5px;\n color: white;\n opacity: 0.75;\n transition: opacity 0.5s;\n}\n.vue-drag-uploader .preview-img__remove-icon:hover {\n opacity: 1;\n}\n.vue-drag-uploader .preview-img__progress {\n height: 5px;\n background-color: rgba(255, 255, 255, 0.8);\n width: 100%;\n bottom: 0;\n left: 0;\n}\n.vue-drag-uploader .preview-img__progress-bar {\n background-color: var(--bs-primary, #007bff);\n width: 0;\n height: 100%;\n}\n.vue-drag-uploader .error-message {\n width: 100%;\n background-color: #dc3545;\n color: white;\n font-size: 14px;\n word-break: break-all;\n top: calc(100% - 26px);\n min-height: 26px;\n}\n.vue-drag-uploader .error-message__notice {\n display: inline-block;\n padding: 3px;\n text-align: center;\n width: 100%;\n}\n.vue-drag-uploader .error-message__message {\n display: none;\n}";
7
7
  const defaultOptions = {
8
8
  readonly: false,
@@ -1,5 +1,5 @@
1
1
  import { c as cloneDeep } from "./cloneDeep.js";
2
- import { a6 as prepareAlpineDefer, ab as useCssImport, a7 as mergeDeep, f as initAlpineComponent, K as uid } from "./unicorn.js";
2
+ import { a9 as prepareAlpineDefer, ad as useCssImport, a6 as mergeDeep, f as initAlpineComponent, K as uid } from "./unicorn.js";
3
3
  const defaultOptions = {
4
4
  id: "",
5
5
  fieldName: "",
@@ -1,5 +1,5 @@
1
1
  import { Modal } from "bootstrap";
2
- import { a8 as injectCssToDocument, a7 as mergeDeep, w as selectAll, _ as __, G as simpleAlert, u as useHttpClient } from "./unicorn.js";
2
+ import { a6 as mergeDeep, w as selectAll, _ as __, G as simpleAlert, u as useHttpClient, ab as injectCssToDocument } from "./unicorn.js";
3
3
  const css = ".c-sid-default__left-col {\n width: 30%;\n margin-right: 15px;\n justify-content: center;\n}\n.c-sid-default__left-col img {\n max-height: 250px;\n}\n.c-sid-default__right-col {\n overflow: hidden;\n}\n.c-sid-default__dragarea {\n font-weight: bold;\n text-align: center;\n padding: 9% 0;\n color: #ccc;\n border: 2px dashed #ccc;\n border-radius: 7px;\n cursor: default;\n}\n.c-sid-default__dragarea.hover {\n color: #333;\n border-color: #333;\n background-color: #f9f9f9;\n}\n.c-sid-default__img-loader {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 180px;\n}\n.c-sid-default__size-info {\n margin-top: 5px;\n font-size: 13px;\n}\n.c-sid-default__remove {\n margin-left: 5px;\n}\n.c-sid-default__modal .btn {\n position: relative;\n}\n\n.c-sid-modal .modal-body {\n position: relative;\n}\n.c-sid-modal__content {\n position: relative;\n z-index: 3;\n}\n.c-sid-modal__loading {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 1;\n}\n.is-invalid[uni-field-validate] > uni-sid ~ [data-field-error] {\n display: block;\n}";
4
4
  const defaultOptions = {
5
5
  accept: [
@@ -1,4 +1,4 @@
1
- import { o as useSystemUri, ac as data, l as loadAlpine } from "./unicorn.js";
1
+ import { o as useSystemUri, ae as data, l as loadAlpine } from "./unicorn.js";
2
2
  class UnicornFormElement {
3
3
  element;
4
4
  options;
@@ -1,4 +1,4 @@
1
- import { l as loadAlpine, Q as slideDown, P as slideUp, A as h, _ as __, F as simpleConfirm, ae as deleteConfirm, G as simpleAlert } from "./unicorn.js";
1
+ import { l as loadAlpine, Q as slideDown, P as slideUp, A as h, _ as __, F as simpleConfirm, ag as deleteConfirm, G as simpleAlert } from "./unicorn.js";
2
2
  class UnicornGridElement {
3
3
  constructor(selector, element, form, options = {}) {
4
4
  this.element = element;
@@ -1,5 +1,5 @@
1
1
  import AxiosStatic, { isAxiosError, AxiosError, isCancel } from "axios";
2
- import { ac as data, r as route } from "./unicorn.js";
2
+ import { ae as data, r as route } from "./unicorn.js";
3
3
  function encodeReserved(str) {
4
4
  return str.split(/(%[0-9A-Fa-f]{2})/g).map(function(part) {
5
5
  if (!/%[0-9A-Fa-f]/.test(part)) {
@@ -1,4 +1,4 @@
1
- import { a as useUniDirective, a7 as mergeDeep } from "./unicorn.js";
1
+ import { a6 as mergeDeep, a as useUniDirective } from "./unicorn.js";
2
2
  class IFrameModalElement extends HTMLElement {
3
3
  static is = "uni-iframe-modal";
4
4
  options;
@@ -1,4 +1,23 @@
1
1
  import { g as getDefaultExportFromCjs } from "./_commonjsHelpers.js";
2
+ function _mergeNamespaces(n, m) {
3
+ for (var i = 0; i < m.length; i++) {
4
+ const e = m[i];
5
+ if (typeof e !== "string" && !Array.isArray(e)) {
6
+ for (const k in e) {
7
+ if (k !== "default" && !(k in n)) {
8
+ const d = Object.getOwnPropertyDescriptor(e, k);
9
+ if (d) {
10
+ Object.defineProperty(n, k, d.get ? d : {
11
+ enumerable: true,
12
+ get: () => e[k]
13
+ });
14
+ }
15
+ }
16
+ }
17
+ }
18
+ }
19
+ return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
20
+ }
2
21
  var monthSelect$1 = { exports: {} };
3
22
  var monthSelect = /* @__PURE__ */ (() => monthSelect$1.exports)();
4
23
  var hasRequiredMonthSelect;
@@ -285,10 +304,10 @@ function requireMonthSelect() {
285
304
  }
286
305
  var monthSelectExports = /* @__PURE__ */ requireMonthSelect();
287
306
  const index = /* @__PURE__ */ getDefaultExportFromCjs(monthSelectExports);
288
- const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
307
+ const index$1 = /* @__PURE__ */ _mergeNamespaces({
289
308
  __proto__: null,
290
309
  default: index
291
- }, /* @__PURE__ */ (() => Symbol.toStringTag)(), { value: "Module" }));
310
+ }, [monthSelectExports]);
292
311
  export {
293
312
  index$1 as i
294
313
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../node_modules/flatpickr/dist/plugins/monthSelect/index.js"],"sourcesContent":["(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.monthSelectPlugin = factory());\n}(this, (function () { 'use strict';\n\n /*! *****************************************************************************\r\n Copyright (c) Microsoft Corporation.\r\n\r\n Permission to use, copy, modify, and/or distribute this software for any\r\n purpose with or without fee is hereby granted.\r\n\r\n THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\n REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\n AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\n LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\n PERFORMANCE OF THIS SOFTWARE.\r\n ***************************************************************************** */\r\n\r\n var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n };\n\n var monthToStr = function (monthNumber, shorthand, locale) { return locale.months[shorthand ? \"shorthand\" : \"longhand\"][monthNumber]; };\n\n function clearNode(node) {\n while (node.firstChild)\n node.removeChild(node.firstChild);\n }\n function getEventTarget(event) {\n try {\n if (typeof event.composedPath === \"function\") {\n var path = event.composedPath();\n return path[0];\n }\n return event.target;\n }\n catch (error) {\n return event.target;\n }\n }\n\n var defaultConfig = {\n shorthand: false,\n dateFormat: \"F Y\",\n altFormat: \"F Y\",\n theme: \"light\",\n };\n function monthSelectPlugin(pluginConfig) {\n var config = __assign(__assign({}, defaultConfig), pluginConfig);\n return function (fp) {\n fp.config.dateFormat = config.dateFormat;\n fp.config.altFormat = config.altFormat;\n var self = { monthsContainer: null };\n function clearUnnecessaryDOMElements() {\n if (!fp.rContainer)\n return;\n clearNode(fp.rContainer);\n for (var index = 0; index < fp.monthElements.length; index++) {\n var element = fp.monthElements[index];\n if (!element.parentNode)\n continue;\n element.parentNode.removeChild(element);\n }\n }\n function build() {\n if (!fp.rContainer)\n return;\n self.monthsContainer = fp._createElement(\"div\", \"flatpickr-monthSelect-months\");\n self.monthsContainer.tabIndex = -1;\n buildMonths();\n fp.rContainer.appendChild(self.monthsContainer);\n fp.calendarContainer.classList.add(\"flatpickr-monthSelect-theme-\" + config.theme);\n }\n function buildMonths() {\n if (!self.monthsContainer)\n return;\n clearNode(self.monthsContainer);\n var frag = document.createDocumentFragment();\n for (var i = 0; i < 12; i++) {\n var month = fp.createDay(\"flatpickr-monthSelect-month\", new Date(fp.currentYear, i), 0, i);\n if (month.dateObj.getMonth() === new Date().getMonth() &&\n month.dateObj.getFullYear() === new Date().getFullYear())\n month.classList.add(\"today\");\n month.textContent = monthToStr(i, config.shorthand, fp.l10n);\n month.addEventListener(\"click\", selectMonth);\n frag.appendChild(month);\n }\n self.monthsContainer.appendChild(frag);\n if (fp.config.minDate &&\n fp.currentYear === fp.config.minDate.getFullYear())\n fp.prevMonthNav.classList.add(\"flatpickr-disabled\");\n else\n fp.prevMonthNav.classList.remove(\"flatpickr-disabled\");\n if (fp.config.maxDate &&\n fp.currentYear === fp.config.maxDate.getFullYear())\n fp.nextMonthNav.classList.add(\"flatpickr-disabled\");\n else\n fp.nextMonthNav.classList.remove(\"flatpickr-disabled\");\n }\n function bindEvents() {\n fp._bind(fp.prevMonthNav, \"click\", function (e) {\n e.preventDefault();\n e.stopPropagation();\n fp.changeYear(fp.currentYear - 1);\n selectYear();\n buildMonths();\n });\n fp._bind(fp.nextMonthNav, \"click\", function (e) {\n e.preventDefault();\n e.stopPropagation();\n fp.changeYear(fp.currentYear + 1);\n selectYear();\n buildMonths();\n });\n fp._bind(self.monthsContainer, \"mouseover\", function (e) {\n if (fp.config.mode === \"range\")\n fp.onMouseOver(getEventTarget(e), \"flatpickr-monthSelect-month\");\n });\n }\n function setCurrentlySelected() {\n if (!fp.rContainer)\n return;\n if (!fp.selectedDates.length)\n return;\n var currentlySelected = fp.rContainer.querySelectorAll(\".flatpickr-monthSelect-month.selected\");\n for (var index = 0; index < currentlySelected.length; index++) {\n currentlySelected[index].classList.remove(\"selected\");\n }\n var targetMonth = fp.selectedDates[0].getMonth();\n var month = fp.rContainer.querySelector(\".flatpickr-monthSelect-month:nth-child(\" + (targetMonth + 1) + \")\");\n if (month) {\n month.classList.add(\"selected\");\n }\n }\n function selectYear() {\n var selectedDate = fp.selectedDates[0];\n if (selectedDate) {\n selectedDate = new Date(selectedDate);\n selectedDate.setFullYear(fp.currentYear);\n if (fp.config.minDate && selectedDate < fp.config.minDate) {\n selectedDate = fp.config.minDate;\n }\n if (fp.config.maxDate && selectedDate > fp.config.maxDate) {\n selectedDate = fp.config.maxDate;\n }\n fp.currentYear = selectedDate.getFullYear();\n }\n fp.currentYearElement.value = String(fp.currentYear);\n if (fp.rContainer) {\n var months = fp.rContainer.querySelectorAll(\".flatpickr-monthSelect-month\");\n months.forEach(function (month) {\n month.dateObj.setFullYear(fp.currentYear);\n if ((fp.config.minDate && month.dateObj < fp.config.minDate) ||\n (fp.config.maxDate && month.dateObj > fp.config.maxDate)) {\n month.classList.add(\"flatpickr-disabled\");\n }\n else {\n month.classList.remove(\"flatpickr-disabled\");\n }\n });\n }\n setCurrentlySelected();\n }\n function selectMonth(e) {\n e.preventDefault();\n e.stopPropagation();\n var eventTarget = getEventTarget(e);\n if (!(eventTarget instanceof Element))\n return;\n if (eventTarget.classList.contains(\"flatpickr-disabled\"))\n return;\n if (eventTarget.classList.contains(\"notAllowed\"))\n return; // necessary??\n setMonth(eventTarget.dateObj);\n if (fp.config.closeOnSelect) {\n var single = fp.config.mode === \"single\";\n var range = fp.config.mode === \"range\" && fp.selectedDates.length === 2;\n if (single || range)\n fp.close();\n }\n }\n function setMonth(date) {\n var selectedDate = new Date(fp.currentYear, date.getMonth(), date.getDate());\n var selectedDates = [];\n switch (fp.config.mode) {\n case \"single\":\n selectedDates = [selectedDate];\n break;\n case \"multiple\":\n selectedDates.push(selectedDate);\n break;\n case \"range\":\n if (fp.selectedDates.length === 2) {\n selectedDates = [selectedDate];\n }\n else {\n selectedDates = fp.selectedDates.concat([selectedDate]);\n selectedDates.sort(function (a, b) { return a.getTime() - b.getTime(); });\n }\n break;\n }\n fp.setDate(selectedDates, true);\n setCurrentlySelected();\n }\n var shifts = {\n 37: -1,\n 39: 1,\n 40: 3,\n 38: -3,\n };\n function onKeyDown(_, __, ___, e) {\n var shouldMove = shifts[e.keyCode] !== undefined;\n if (!shouldMove && e.keyCode !== 13) {\n return;\n }\n if (!fp.rContainer || !self.monthsContainer)\n return;\n var currentlySelected = fp.rContainer.querySelector(\".flatpickr-monthSelect-month.selected\");\n var index = Array.prototype.indexOf.call(self.monthsContainer.children, document.activeElement);\n if (index === -1) {\n var target = currentlySelected || self.monthsContainer.firstElementChild;\n target.focus();\n index = target.$i;\n }\n if (shouldMove) {\n self.monthsContainer.children[(12 + index + shifts[e.keyCode]) % 12].focus();\n }\n else if (e.keyCode === 13 &&\n self.monthsContainer.contains(document.activeElement)) {\n setMonth(document.activeElement.dateObj);\n }\n }\n function closeHook() {\n var _a;\n if (((_a = fp.config) === null || _a === void 0 ? void 0 : _a.mode) === \"range\" && fp.selectedDates.length === 1)\n fp.clear(false);\n if (!fp.selectedDates.length)\n buildMonths();\n }\n // Help the prev/next year nav honor config.minDate (see 3fa5a69)\n function stubCurrentMonth() {\n config._stubbedCurrentMonth = fp._initialDate.getMonth();\n fp._initialDate.setMonth(config._stubbedCurrentMonth);\n fp.currentMonth = config._stubbedCurrentMonth;\n }\n function unstubCurrentMonth() {\n if (!config._stubbedCurrentMonth)\n return;\n fp._initialDate.setMonth(config._stubbedCurrentMonth);\n fp.currentMonth = config._stubbedCurrentMonth;\n delete config._stubbedCurrentMonth;\n }\n function destroyPluginInstance() {\n if (self.monthsContainer !== null) {\n var months = self.monthsContainer.querySelectorAll(\".flatpickr-monthSelect-month\");\n for (var index = 0; index < months.length; index++) {\n months[index].removeEventListener(\"click\", selectMonth);\n }\n }\n }\n return {\n onParseConfig: function () {\n fp.config.enableTime = false;\n },\n onValueUpdate: setCurrentlySelected,\n onKeyDown: onKeyDown,\n onReady: [\n stubCurrentMonth,\n clearUnnecessaryDOMElements,\n build,\n bindEvents,\n setCurrentlySelected,\n function () {\n fp.config.onClose.push(closeHook);\n fp.loadedPlugins.push(\"monthSelect\");\n },\n ],\n onDestroy: [\n unstubCurrentMonth,\n destroyPluginInstance,\n function () {\n fp.config.onClose = fp.config.onClose.filter(function (hook) { return hook !== closeHook; });\n },\n ],\n };\n };\n }\n\n return monthSelectPlugin;\n\n})));\n"],"names":["this","__assign","index"],"mappings":";;;;;;;;AAAA,KAAC,SAAU,QAAQ,SAAS;AACuC,aAAA,UAAiB;IAGpF,GAAEA,cAAO,WAAY;AAiBjB,UAAI,WAAW,WAAW;AACtB,mBAAW,OAAO,UAAU,SAASC,UAAS,GAAG;AAC7C,mBAAS,GAAG,IAAI,GAAG,IAAI,UAAU,QAAQ,IAAI,GAAG,KAAK;AACjD,gBAAI,UAAU,CAAC;AACf,qBAAS,KAAK,EAAG,KAAI,OAAO,UAAU,eAAe,KAAK,GAAG,CAAC,EAAG,GAAE,CAAC,IAAI,EAAE,CAAC;AAAA,UAC3F;AACY,iBAAO;AAAA,QACnB;AACQ,eAAO,SAAS,MAAM,MAAM,SAAS;AAAA,MAC7C;AAEI,UAAI,aAAa,SAAU,aAAa,WAAW,QAAQ;AAAE,eAAO,OAAO,OAAO,YAAY,cAAc,UAAU,EAAE,WAAW;AAAA,MAAE;AAErI,eAAS,UAAU,MAAM;AACrB,eAAO,KAAK;AACR,eAAK,YAAY,KAAK,UAAU;AAAA,MAC5C;AACI,eAAS,eAAe,OAAO;AAC3B,YAAI;AACA,cAAI,OAAO,MAAM,iBAAiB,YAAY;AAC1C,gBAAI,OAAO,MAAM,aAAY;AAC7B,mBAAO,KAAK,CAAC;AAAA,UAC7B;AACY,iBAAO,MAAM;AAAA,QACzB,SACe,OAAO;AACV,iBAAO,MAA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AAA,YACf;AAAA,YACA,SAAS;AAAA,cACL;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,cACA,WAAY;AACR,mBAAG,OAAO,QAAQ,KAAK,SAAS;AAChC,mBAAG,cAAc,KAAK,aAAa;AAAA,cAC3D;AAAA;YAEgB,WAAW;AAAA,cACP;AAAA,cACA;AAAA,cACA,WAAY;AACR,mBAAG,OAAO,UAAU,GAAG,OAAO,QAAQ,OAAO,SAAU,MAAM;AAAE,yBAAO,SAAS;AAAA,gBAAU,CAAE;AAAA,cACnH;AAAA;;QAGA;AAAA,MACA;AAEI,aAAO;AAAA,IAEX;;;;;;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../node_modules/flatpickr/dist/plugins/monthSelect/index.js"],"sourcesContent":["(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.monthSelectPlugin = factory());\n}(this, (function () { 'use strict';\n\n /*! *****************************************************************************\r\n Copyright (c) Microsoft Corporation.\r\n\r\n Permission to use, copy, modify, and/or distribute this software for any\r\n purpose with or without fee is hereby granted.\r\n\r\n THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\n REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\n AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\n LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\n PERFORMANCE OF THIS SOFTWARE.\r\n ***************************************************************************** */\r\n\r\n var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n };\n\n var monthToStr = function (monthNumber, shorthand, locale) { return locale.months[shorthand ? \"shorthand\" : \"longhand\"][monthNumber]; };\n\n function clearNode(node) {\n while (node.firstChild)\n node.removeChild(node.firstChild);\n }\n function getEventTarget(event) {\n try {\n if (typeof event.composedPath === \"function\") {\n var path = event.composedPath();\n return path[0];\n }\n return event.target;\n }\n catch (error) {\n return event.target;\n }\n }\n\n var defaultConfig = {\n shorthand: false,\n dateFormat: \"F Y\",\n altFormat: \"F Y\",\n theme: \"light\",\n };\n function monthSelectPlugin(pluginConfig) {\n var config = __assign(__assign({}, defaultConfig), pluginConfig);\n return function (fp) {\n fp.config.dateFormat = config.dateFormat;\n fp.config.altFormat = config.altFormat;\n var self = { monthsContainer: null };\n function clearUnnecessaryDOMElements() {\n if (!fp.rContainer)\n return;\n clearNode(fp.rContainer);\n for (var index = 0; index < fp.monthElements.length; index++) {\n var element = fp.monthElements[index];\n if (!element.parentNode)\n continue;\n element.parentNode.removeChild(element);\n }\n }\n function build() {\n if (!fp.rContainer)\n return;\n self.monthsContainer = fp._createElement(\"div\", \"flatpickr-monthSelect-months\");\n self.monthsContainer.tabIndex = -1;\n buildMonths();\n fp.rContainer.appendChild(self.monthsContainer);\n fp.calendarContainer.classList.add(\"flatpickr-monthSelect-theme-\" + config.theme);\n }\n function buildMonths() {\n if (!self.monthsContainer)\n return;\n clearNode(self.monthsContainer);\n var frag = document.createDocumentFragment();\n for (var i = 0; i < 12; i++) {\n var month = fp.createDay(\"flatpickr-monthSelect-month\", new Date(fp.currentYear, i), 0, i);\n if (month.dateObj.getMonth() === new Date().getMonth() &&\n month.dateObj.getFullYear() === new Date().getFullYear())\n month.classList.add(\"today\");\n month.textContent = monthToStr(i, config.shorthand, fp.l10n);\n month.addEventListener(\"click\", selectMonth);\n frag.appendChild(month);\n }\n self.monthsContainer.appendChild(frag);\n if (fp.config.minDate &&\n fp.currentYear === fp.config.minDate.getFullYear())\n fp.prevMonthNav.classList.add(\"flatpickr-disabled\");\n else\n fp.prevMonthNav.classList.remove(\"flatpickr-disabled\");\n if (fp.config.maxDate &&\n fp.currentYear === fp.config.maxDate.getFullYear())\n fp.nextMonthNav.classList.add(\"flatpickr-disabled\");\n else\n fp.nextMonthNav.classList.remove(\"flatpickr-disabled\");\n }\n function bindEvents() {\n fp._bind(fp.prevMonthNav, \"click\", function (e) {\n e.preventDefault();\n e.stopPropagation();\n fp.changeYear(fp.currentYear - 1);\n selectYear();\n buildMonths();\n });\n fp._bind(fp.nextMonthNav, \"click\", function (e) {\n e.preventDefault();\n e.stopPropagation();\n fp.changeYear(fp.currentYear + 1);\n selectYear();\n buildMonths();\n });\n fp._bind(self.monthsContainer, \"mouseover\", function (e) {\n if (fp.config.mode === \"range\")\n fp.onMouseOver(getEventTarget(e), \"flatpickr-monthSelect-month\");\n });\n }\n function setCurrentlySelected() {\n if (!fp.rContainer)\n return;\n if (!fp.selectedDates.length)\n return;\n var currentlySelected = fp.rContainer.querySelectorAll(\".flatpickr-monthSelect-month.selected\");\n for (var index = 0; index < currentlySelected.length; index++) {\n currentlySelected[index].classList.remove(\"selected\");\n }\n var targetMonth = fp.selectedDates[0].getMonth();\n var month = fp.rContainer.querySelector(\".flatpickr-monthSelect-month:nth-child(\" + (targetMonth + 1) + \")\");\n if (month) {\n month.classList.add(\"selected\");\n }\n }\n function selectYear() {\n var selectedDate = fp.selectedDates[0];\n if (selectedDate) {\n selectedDate = new Date(selectedDate);\n selectedDate.setFullYear(fp.currentYear);\n if (fp.config.minDate && selectedDate < fp.config.minDate) {\n selectedDate = fp.config.minDate;\n }\n if (fp.config.maxDate && selectedDate > fp.config.maxDate) {\n selectedDate = fp.config.maxDate;\n }\n fp.currentYear = selectedDate.getFullYear();\n }\n fp.currentYearElement.value = String(fp.currentYear);\n if (fp.rContainer) {\n var months = fp.rContainer.querySelectorAll(\".flatpickr-monthSelect-month\");\n months.forEach(function (month) {\n month.dateObj.setFullYear(fp.currentYear);\n if ((fp.config.minDate && month.dateObj < fp.config.minDate) ||\n (fp.config.maxDate && month.dateObj > fp.config.maxDate)) {\n month.classList.add(\"flatpickr-disabled\");\n }\n else {\n month.classList.remove(\"flatpickr-disabled\");\n }\n });\n }\n setCurrentlySelected();\n }\n function selectMonth(e) {\n e.preventDefault();\n e.stopPropagation();\n var eventTarget = getEventTarget(e);\n if (!(eventTarget instanceof Element))\n return;\n if (eventTarget.classList.contains(\"flatpickr-disabled\"))\n return;\n if (eventTarget.classList.contains(\"notAllowed\"))\n return; // necessary??\n setMonth(eventTarget.dateObj);\n if (fp.config.closeOnSelect) {\n var single = fp.config.mode === \"single\";\n var range = fp.config.mode === \"range\" && fp.selectedDates.length === 2;\n if (single || range)\n fp.close();\n }\n }\n function setMonth(date) {\n var selectedDate = new Date(fp.currentYear, date.getMonth(), date.getDate());\n var selectedDates = [];\n switch (fp.config.mode) {\n case \"single\":\n selectedDates = [selectedDate];\n break;\n case \"multiple\":\n selectedDates.push(selectedDate);\n break;\n case \"range\":\n if (fp.selectedDates.length === 2) {\n selectedDates = [selectedDate];\n }\n else {\n selectedDates = fp.selectedDates.concat([selectedDate]);\n selectedDates.sort(function (a, b) { return a.getTime() - b.getTime(); });\n }\n break;\n }\n fp.setDate(selectedDates, true);\n setCurrentlySelected();\n }\n var shifts = {\n 37: -1,\n 39: 1,\n 40: 3,\n 38: -3,\n };\n function onKeyDown(_, __, ___, e) {\n var shouldMove = shifts[e.keyCode] !== undefined;\n if (!shouldMove && e.keyCode !== 13) {\n return;\n }\n if (!fp.rContainer || !self.monthsContainer)\n return;\n var currentlySelected = fp.rContainer.querySelector(\".flatpickr-monthSelect-month.selected\");\n var index = Array.prototype.indexOf.call(self.monthsContainer.children, document.activeElement);\n if (index === -1) {\n var target = currentlySelected || self.monthsContainer.firstElementChild;\n target.focus();\n index = target.$i;\n }\n if (shouldMove) {\n self.monthsContainer.children[(12 + index + shifts[e.keyCode]) % 12].focus();\n }\n else if (e.keyCode === 13 &&\n self.monthsContainer.contains(document.activeElement)) {\n setMonth(document.activeElement.dateObj);\n }\n }\n function closeHook() {\n var _a;\n if (((_a = fp.config) === null || _a === void 0 ? void 0 : _a.mode) === \"range\" && fp.selectedDates.length === 1)\n fp.clear(false);\n if (!fp.selectedDates.length)\n buildMonths();\n }\n // Help the prev/next year nav honor config.minDate (see 3fa5a69)\n function stubCurrentMonth() {\n config._stubbedCurrentMonth = fp._initialDate.getMonth();\n fp._initialDate.setMonth(config._stubbedCurrentMonth);\n fp.currentMonth = config._stubbedCurrentMonth;\n }\n function unstubCurrentMonth() {\n if (!config._stubbedCurrentMonth)\n return;\n fp._initialDate.setMonth(config._stubbedCurrentMonth);\n fp.currentMonth = config._stubbedCurrentMonth;\n delete config._stubbedCurrentMonth;\n }\n function destroyPluginInstance() {\n if (self.monthsContainer !== null) {\n var months = self.monthsContainer.querySelectorAll(\".flatpickr-monthSelect-month\");\n for (var index = 0; index < months.length; index++) {\n months[index].removeEventListener(\"click\", selectMonth);\n }\n }\n }\n return {\n onParseConfig: function () {\n fp.config.enableTime = false;\n },\n onValueUpdate: setCurrentlySelected,\n onKeyDown: onKeyDown,\n onReady: [\n stubCurrentMonth,\n clearUnnecessaryDOMElements,\n build,\n bindEvents,\n setCurrentlySelected,\n function () {\n fp.config.onClose.push(closeHook);\n fp.loadedPlugins.push(\"monthSelect\");\n },\n ],\n onDestroy: [\n unstubCurrentMonth,\n destroyPluginInstance,\n function () {\n fp.config.onClose = fp.config.onClose.filter(function (hook) { return hook !== closeHook; });\n },\n ],\n };\n };\n }\n\n return monthSelectPlugin;\n\n})));\n"],"names":["this","__assign","index"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,KAAC,SAAU,QAAQ,SAAS;AACuC,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@@
1
1
  import { Tab } from "bootstrap";
2
- import { a as useUniDirective, z as module$1, a7 as mergeDeep, v as selectOne, al as sleep, w as selectAll } from "./unicorn.js";
2
+ import { a as useUniDirective, z as module$1, a6 as mergeDeep, v as selectOne, al as sleep, w as selectAll } from "./unicorn.js";
3
3
  const defaultOptions = {
4
4
  tabItemSelector: "[data-toggle=tab],[data-bs-toggle=tab],[data-toggle=pill],[data-bs-toggle=pill]",
5
5
  delay: 0
@@ -1,4 +1,4 @@
1
- import { a as useUniDirective, x as getBoundedInstance, v as selectOne, u as useHttpClient, B as html, a7 as mergeDeep } from "./unicorn.js";
1
+ import { a as useUniDirective, x as getBoundedInstance, v as selectOne, u as useHttpClient, B as html, a6 as mergeDeep } from "./unicorn.js";
2
2
  const nope = () => {
3
3
  };
4
4
  const defaultOptions = {
@@ -1,4 +1,4 @@
1
- import { af as Mixin, a7 as mergeDeep, ah as createQueue, u as useHttpClient, ag as EventMixin } from "./unicorn.js";
1
+ import { ah as Mixin, a6 as mergeDeep, aj as createQueue, u as useHttpClient, ai as EventMixin } from "./unicorn.js";
2
2
  const defaultOptions = {
3
3
  chunkSize: 5 * 1024 * 1024,
4
4
  // 5MB
@@ -1,4 +1,4 @@
1
- import { af as Mixin, ac as data, a7 as mergeDeep, u as useHttpClient, ag as EventMixin } from "./unicorn.js";
1
+ import { ah as Mixin, ae as data, a6 as mergeDeep, u as useHttpClient, ai as EventMixin } from "./unicorn.js";
2
2
  const instances = {};
3
3
  function get(name, options = {}) {
4
4
  return instances[name] ??= create(name, options);
@@ -1,4 +1,4 @@
1
- import { v as selectOne, a7 as mergeDeep, m as useStack, u as useHttpClient, ai as useScriptImport } from "./unicorn.js";
1
+ import { v as selectOne, a6 as mergeDeep, m as useStack, u as useHttpClient, ak as useScriptImport } from "./unicorn.js";
2
2
  const instances = {};
3
3
  let hooks = [];
4
4
  let imported;
@@ -491,7 +491,7 @@ class TaskQueue {
491
491
  push(callback) {
492
492
  const p = new Promise((resolve, reject) => {
493
493
  this.items.push(() => {
494
- return Promise.resolve(callback()).then(resolve);
494
+ return Promise.resolve(callback()).then(resolve).catch(reject);
495
495
  });
496
496
  });
497
497
  this.run();
@@ -2238,82 +2238,82 @@ export {
2238
2238
  useKeepAlive as Z,
2239
2239
  __ as _,
2240
2240
  useUniDirective as a,
2241
- useIframeModal as a$,
2241
+ useS3Uploader as a$,
2242
2242
  useBs5ButtonRadio as a0,
2243
2243
  useBs5Tooltip as a1,
2244
2244
  useFormAsync as a2,
2245
2245
  useGridAsync as a3,
2246
2246
  useForm as a4,
2247
2247
  useGrid as a5,
2248
- prepareAlpineDefer as a6,
2249
- mergeDeep as a7,
2250
- injectCssToDocument as a8,
2251
- watchAttributes as a9,
2248
+ mergeDeep as a6,
2249
+ trans as a7,
2250
+ useUITheme as a8,
2251
+ prepareAlpineDefer as a9,
2252
2252
  isError as aA,
2253
- useLang as aB,
2254
- doImport as aC,
2255
- useSeriesImport as aD,
2256
- useCssIncludes as aE,
2257
- useAlertAdapter as aF,
2258
- useUI as aG,
2259
- UnicornUI as aH,
2260
- useVueComponentField as aI,
2261
- addUriBase as aJ,
2262
- UnicornSystemUri as aK,
2263
- UnicornAssetUri as aL,
2264
- addRoute as aM,
2265
- hasRoute as aN,
2266
- addQuery as aO,
2267
- parseQuery as aP,
2268
- buildQuery as aQ,
2269
- useFieldCascadeSelect as aR,
2270
- useFieldFileDrag as aS,
2271
- useFieldFlatpickr as aT,
2272
- useFieldModalSelect as aU,
2273
- useFieldModalTree as aV,
2274
- useFieldRepeatable as aW,
2275
- useFieldSingleImageDrag as aX,
2276
- useFormComponent as aY,
2277
- useFormSubmit as aZ,
2278
- useGridComponent as a_,
2279
- useImport as aa,
2280
- useCssImport as ab,
2281
- data as ac,
2282
- forceArray as ad,
2283
- deleteConfirm as ae,
2284
- Mixin as af,
2285
- EventMixin as ag,
2286
- createQueue as ah,
2287
- useScriptImport as ai,
2288
- trans as aj,
2289
- useUITheme as ak,
2253
+ nextTick as aB,
2254
+ parseQuery as aC,
2255
+ pushUnicornToGlobal as aD,
2256
+ randomBytes as aE,
2257
+ randomBytesString as aF,
2258
+ removeBoundedInstance as aG,
2259
+ removeData as aH,
2260
+ useAlertAdapter as aI,
2261
+ useCssIncludes as aJ,
2262
+ useFieldCascadeSelect as aK,
2263
+ useFieldFileDrag as aL,
2264
+ useFieldFlatpickr as aM,
2265
+ useFieldModalSelect as aN,
2266
+ useFieldModalTree as aO,
2267
+ useFieldRepeatable as aP,
2268
+ useFieldSingleImageDrag as aQ,
2269
+ useFormComponent as aR,
2270
+ useFormSubmit as aS,
2271
+ useGridComponent as aT,
2272
+ useIframeModal as aU,
2273
+ useInject as aV,
2274
+ useLang as aW,
2275
+ useLegacy as aX,
2276
+ useListDependent as aY,
2277
+ useMacro as aZ,
2278
+ useS3MultipartUploader as a_,
2279
+ watchAttributes as aa,
2280
+ injectCssToDocument as ab,
2281
+ useImport as ac,
2282
+ useCssImport as ad,
2283
+ data as ae,
2284
+ forceArray as af,
2285
+ deleteConfirm as ag,
2286
+ Mixin as ah,
2287
+ EventMixin as ai,
2288
+ createQueue as aj,
2289
+ useScriptImport as ak,
2290
2290
  sleep as al,
2291
- createUnicorn as am,
2292
- createUnicornWithPlugins as an,
2293
- useUnicorn as ao,
2294
- useInject as ap,
2295
- pushUnicornToGlobal as aq,
2296
- useMacro as ar,
2297
- useLegacy as as,
2298
- removeData as at,
2299
- randomBytes as au,
2300
- randomBytesString as av,
2301
- removeBoundedInstance as aw,
2302
- AttributeMutationObserver as ax,
2303
- nextTick as ay,
2304
- wait as az,
2291
+ AttributeMutationObserver as am,
2292
+ UnicornAssetUri as an,
2293
+ UnicornPhpAdapter as ao,
2294
+ UnicornSystemUri as ap,
2295
+ UnicornUI as aq,
2296
+ addQuery as ar,
2297
+ addRoute as as,
2298
+ addUriBase as at,
2299
+ buildQuery as au,
2300
+ createStack as av,
2301
+ createUnicorn as aw,
2302
+ createUnicornWithPlugins as ax,
2303
+ doImport as ay,
2304
+ hasRoute as az,
2305
2305
  animateTo as b,
2306
- useListDependent as b0,
2307
- useS3Uploader as b1,
2308
- useS3MultipartUploader as b2,
2309
- useShowOn as b3,
2310
- createStack as b4,
2311
- useTinymce as b5,
2312
- useTinymceHook as b6,
2313
- useUIBootstrap5 as b7,
2314
- useWebDirective as b8,
2315
- useUnicornPhpAdapter as b9,
2316
- UnicornPhpAdapter as ba,
2306
+ useSeriesImport as b0,
2307
+ useShowOn as b1,
2308
+ useTinymce as b2,
2309
+ useTinymceHook as b3,
2310
+ useUI as b4,
2311
+ useUIBootstrap5 as b5,
2312
+ useUnicorn as b6,
2313
+ useUnicornPhpAdapter as b7,
2314
+ useVueComponentField as b8,
2315
+ useWebDirective as b9,
2316
+ wait as ba,
2317
2317
  renderMessage as c,
2318
2318
  clearMessages as d,
2319
2319
  clearNotifies as e,