@stsdti/funky-ui-kit 1.6.9 → 1.6.11
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/funky-ui-kit.css +1 -1
- package/dist/funky-ui-kit.es.js +715 -858
- package/dist/funky-ui-kit.es.js.map +1 -1
- package/package.json +1 -1
- package/web-types.json +1 -1
package/dist/funky-ui-kit.es.js
CHANGED
|
@@ -18,7 +18,7 @@ var __privateWrapper = (obj, member, setter, getter) => ({
|
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
var _Util_static, _a, getExtremumOnCurve_fn, getExtremum_fn, _b, _c, _regex, _toolbar, _colorPicker, _editor, _buttons, _altText, _l10nRemove, _EditorToolbar_static, pointerDown_fn, _EditorToolbar_instances, focusIn_fn, focusOut_fn, addListenersToElement_fn, addDeleteButton_fn, divider_get, _buttons2, _toolbar2, _uiManager, _HighlightToolbar_instances, render_fn, getLastPoint_fn, addHighlightButton_fn, _id, _baseId, _id2, _cache, _ImageManager_instances, get_fn, _commands, _locked, _maxSize, _position, _KeyboardManager_instances, serialize_fn, _abortController, _activeEditor, _allEditors, _allLayers, _altTextManager, _annotationStorage, _changedExistingAnnotations, _commandManager, _copyPasteAC, _currentDrawingSession, _currentPageIndex, _deletedAnnotationsElementIds, _draggingEditors, _editorTypes, _editorsToRescale, _enableHighlightFloatingButton, _enableUpdatedAddImage, _enableNewAltTextWhenAddingImage, _filterFactory, _focusMainContainerTimeoutId, _focusManagerAC, _highlightColors, _highlightWhenShiftUp, _highlightToolbar, _idManager, _isEnabled, _isWaiting, _keyboardManagerAC, _lastActiveElement, _mainHighlightColorPicker, _mlManager, _mode, _selectedEditors, _selectedTextNode, _pageColors, _showAllStates, _previousStates, _translation, _translationTimeoutId, _container, _viewer, _updateModeCapability, _d, _AnnotationEditorUIManager_instances, getAnchorElementForSelection_fn, getLayerForTextLayer_fn, displayHighlightToolbar_fn, selectionChange_fn, onSelectEnd_fn, addSelectionListener_fn, addFocusManager_fn, removeFocusManager_fn, addKeyboardManager_fn, removeKeyboardManager_fn, addCopyPasteListeners_fn, removeCopyPasteListeners_fn, addDragAndDropListeners_fn, dispatchUpdateStates_fn, dispatchUpdateUI_fn, enableAll_fn, disableAll_fn, addEditorToLayer_fn, lastSelectedEditor_get, isEmpty_fn, selectEditors_fn, _altText2, _altTextDecorative, _altTextButton, _altTextButtonLabel, _altTextTooltip, _altTextTooltipTimeout, _altTextWasFromKeyBoard, _badge, _editor2, _guessedText, _textWithDisclaimer, _useNewAltTextFlow, _l10nNewButton, _AltText_instances, label_get, setState_fn, _container2, _isPinching, _isPinchingStopped, _isPinchingDisabled, _onPinchStart, _onPinching, _onPinchEnd, _signal, _touchInfo, _touchManagerAC, _touchMoveAC, _TouchManager_instances, onTouchStart_fn, onTouchMove_fn, onTouchEnd_fn, _e, _accessibilityData, _allResizerDivs, _altText3, _disabled, _dragPointerId, _dragPointerType, _keepAspectRatio, _resizersDiv, _lastPointerCoords, _savedDimensions, _focusAC, _focusedResizerName, _hasBeenClicked, _initialRect, _isEditing, _isInEditMode, _isResizerEnabledForKeyboard, _moveInDOMTimeout, _prevDragX, _prevDragY, _telemetryTimeouts, _touchManager, _isDraggable, _zIndex, _AnnotationEditor_instances, translate_fn, _AnnotationEditor_static, rotatePoint_fn, getRotationMatrix_fn, createResizers_fn, resizerPointerdown_fn, resize_fn, addResizeToUndoStack_fn, resizerPointermove_fn, touchPinchStartCallback_fn, touchPinchCallback_fn, touchPinchEndCallback_fn, selectOnPointerEvent_fn, setUpDragSession_fn, addFocusListeners_fn, resizerKeydown_fn, resizerBlur_fn, resizerFocus_fn, setResizerTabIndex_fn, stopResizing_fn, _modified, _modifiedIds, _storage, _AnnotationStorage_instances, setModified_fn, _serializable, _systemFonts, _messageAC, _MessageHandler_instances, onMessage_fn, createStreamSink_fn, processStreamMessage_fn, deleteStreamController_fn, _enableHWA, _baseUrl, __cache, __defs, _docId, _document, __hcmCache, _id3, _DOMFilterFactory_instances, cache_get, hcmCache_get, defs_get, createTables_fn, createUrl_fn, addLuminosityConversion_fn, addGrayConversion_fn, createFilter_fn, appendFeFunc_fn, addTransferMapConversion_fn, addTransferMapAlphaConversion_fn, getRGB_fn, _CanvasGraphics_instances, restoreInitialState_fn, drawFilter_fn, getScaledPath_fn, _f, _port, _src, _metadataMap, _data, _isDisplay, _isPrint, _userSet, _visible, _cachedGetHash, _groups, _initialHash, _order, _OptionalContentConfig_instances, evaluateVisibilityExpression_fn, _g, _capability, _container3, _disableProcessItems, _fontInspectorEnabled, _lang, _layoutTextParams, _pageHeight, _pageWidth, _reader, _rootContainer, _rotation, _scale, _styleCache, _textContentItemsStr, _textContentSource, _textDivs, _textDivProperties, _transform, _h, _ascentCache, _canvasContexts, _canvasCtxFonts, _minFontSize, _pendingTextLayers, _TextLayer_instances, processItems_fn, appendText_fn, layout_fn, _TextLayer_static, getCtx_fn, ensureCtxFont_fn, ensureMinFontSizeComputed_fn, getAscent_fn, _docId2, _delayedCleanupTimeout, _pendingCleanup, _PDFPageProxy_instances, tryCleanup_fn, abortDelayedCleanup_fn, _listeners, _deferred, _i, _fakeWorkerId, _isWorkerDisabled, _workerPorts, _PDFWorker_instances, resolve_fn, _PDFWorker_static, mainThreadWorkerMessageHandler_get, _methodPromises, _pageCache, _pagePromises, _pageRefCache, _passwordCapability, _WorkerTransport_instances, cacheSimpleMethod_fn, _objs, _PDFObjects_instances, ensureObj_fn, _internalRenderTask, _rAF, _canvasInUse, _updates, _hasBorder, _popupElement, _AnnotationElement_instances, setRectEdited_fn, _LinkAnnotationElement_instances, setInternalLink_fn, bindAttachment_fn, bindSetOCGState_fn, _boundKeyDown, _boundHide, _boundShow, _boundToggle, _color, _container4, _contentsObj, _dateObj, _elements, _parent, _parentRect, _pinned, _popup, _position2, _rect, _richText, _titleObj, _updates2, _wasVisible, _PopupElement_instances, html_get, fontSize_get, fontColor_get, makePopupContent_fn, keyDown_fn, setPosition_fn, toggle_fn, show_fn, hide_fn, _line, _square, _circle, _polyline, _polylinesGroupElement, _polylines, _InkAnnotationElement_instances, getTransform_fn, _trigger, _FileAttachmentAnnotationElement_instances, download_fn, _accessibilityManager, _annotationCanvasMap, _editableAnnotations, _structTreeLayer, _AnnotationLayer_instances, appendElement_fn, setAnnotationCanvasMap_fn, _j, _color2, _content, _editorDivId, _editModeAC, _fontSize, _FreeTextEditor_instances, updateFontSize_fn, updateColor_fn, extractText_fn, setEditorDimensions_fn, _FreeTextEditor_static, getNodeContent_fn, setContent_fn, serializeContent_fn, deserializeContent_fn, hasElementChanged_fn, _box, _bottom, _innerMargin, _isLTR, _top, _last, _lastX, _lastY, _min, _min_dist, _scaleFactor, _thickness, _points, _MIN_DIST, _MIN_DIFF, _MIN, _FreeDrawOutliner_instances, getLastCoords_fn, toSVGPathTwoPoints_fn, toSVGPathStart_fn, toSVGPathEnd_fn, getOutlineTwoPoints_fn, getOutlineStart_fn, getOutlineEnd_fn, _box2, _bbox, _innerMargin2, _isLTR2, _points2, _scaleFactor2, _outline, _FreeDrawOutline_instances, computeMinMax_fn, _box3, _lastPoint, _verticalEdges, _intervals, _HighlightOutliner_instances, getOutlines_fn, binarySearch_fn, insert_fn, remove_fn, breakEdge_fn, _box4, _outlines, _button, _buttonSwatch, _defaultColor, _dropdown, _dropdownWasFromKeyboard, _isMainColorPicker, _editor3, _eventBus, _openDropdownAC, _uiManager2, _type, _k, _l10nColor, _ColorPicker_instances, getDropdownRoot_fn, colorSelect_fn, keyDown_fn2, openDropdown_fn, pointerDown_fn2, isDropdownVisible_get, _anchorNode, _anchorOffset, _boxes, _clipPathId, _colorPicker2, _focusOutlines, _focusNode, _focusOffset, _highlightDiv, _highlightOutlines, _id4, _isFreeHighlight, _lastPoint2, _opacity, _outlineId, _text, _thickness2, _methodOfCreation, _HighlightEditor_instances, createOutlines_fn, createFreeOutlines_fn, updateColor_fn2, updateThickness_fn, changeThickness_fn, cleanDrawLayer_fn, addToDrawLayer_fn, _HighlightEditor_static, rotateBbox_fn, keydown_fn, setCaret_fn, getRotation_fn, serializeBoxes_fn, serializeOutlines_fn, highlightMove_fn, endHighlight_fn, hasElementChanged_fn2, _svgProperties, _drawOutlines, _mustBeCommitted, _currentDraw, _currentDrawingAC, _currentDrawingOptions, _currentPointerId, _currentPointerType, _currentPointerIds, _currentMoveTimestamp, _DrawingEditor_instances, createDrawOutlines_fn, createDrawing_fn, cleanDrawLayer_fn2, addToDrawLayer_fn2, convertToParentSpace_fn, convertToDrawSpace_fn, updateBbox_fn, rotateBox_fn, _last2, _line2, _lines, _rotation2, _thickness3, _points3, _lastSVGPath, _lastIndex, _outlines2, _parentWidth, _parentHeight, _InkDrawOutliner_instances, normalizePoint_fn, _bbox2, _currentRotation, _innerMargin3, _lines2, _parentWidth2, _parentHeight2, _parentScale, _rotation3, _thickness4, _InkDrawOutline_instances, getMarginComponents_fn, getBBoxWithNoMargin_fn, computeBbox_fn, updateThickness_fn2, _viewParameters, _InkEditor_instances, hasElementChanged_fn3, _bitmap, _bitmapId, _bitmapPromise, _bitmapUrl, _bitmapFile, _bitmapFileName, _canvas, _resizeTimeoutId, _isSvg, _hasBeenAddedInUndoStack, _StampEditor_instances, getBitmapFetched_fn, getBitmapDone_fn, getBitmap_fn, createCanvas_fn, scaleBitmap_fn, drawBitmap_fn, serializeBitmap_fn, hasElementChanged_fn4, _accessibilityManager2, _allowClick, _annotationLayer, _clickAC, _editorFocusTimeoutId, _editors, _hadPointerDown, _isDisabling, _isEnabling, _drawingAC, _focusedElement, _textLayer, _textSelectionAC, _uiManager3, _l, _editorTypes2, _AnnotationEditorLayer_instances, textLayerPointerDown_fn, currentEditorType_get, createNewEditor_fn, getCenterPoint_fn, cleanup_fn, _parent2, _id5, _mapping, _toUpdate, _DrawLayer_static, _m, setBox_fn, _DrawLayer_instances, createSVG_fn, createClipPath_fn, updateProperties_fn, _classList, _disableAutoFetchTimeout, _percent, _style, _visible2, _state, _updateMatchesCountOnProgress, _visitedPagesCount, _PDFFindController_instances, onFind_fn, reset_fn, query_get, shouldDirtyMatch_fn, isEntireWord_fn, convertToRegExpString_fn, calculateMatch_fn, extractText_fn2, updatePage_fn, updateAllPages_fn, nextMatch_fn, matchesReady_fn, nextPageMatch_fn, advanceOffsetPage_fn, updateMatch_fn, onFindBarClose_fn, requestMatchesCount_fn, updateUIResultsCount_fn, updateUIState_fn, _PDFLinkService_static, isValidExplicitDest_fn, _onAppend, _eventAbortController, _AnnotationLayerBuilder_instances, updatePresentationModeState_fn, _openBlobUrls, _listeners2, _dir, _elements2, _lang2, _l10n, _L10n_static, fixupLangCode_fn, isRTL_fn, _genericl10n_GenericL10n_static, generateBundles_fn, createBundle_fn, getPaths_fn, generateBundlesFallback_fn, createBundleFallback_fn, _eventAbortController2, _PDFHistory_instances, pushOrReplaceState_fn, tryPushCurrentPosition_fn, isValidPage_fn, isValidState_fn, updateInternalState_fn, parseCurrentHash_fn, updateViewarea_fn, popState_fn, pageHide_fn, bindEvents_fn, unbindEvents_fn, _annotationLayer2, _drawLayer, _onAppend2, _structTreeLayer2, _textLayer2, _uiManager4, _opts, _drawLayer2, _promise, _treeDom, _treePromise, _elementAttributes, _rawDims, _elementsToAddToTextLayer, _StructTreeLayerBuilder_instances, setAttributes_fn, addImageInTextLayer_fn, walk_fn, _enabled, _textChildren, _textNodes, _waitingElements, _TextAccessibilityManager_static, compareElementPositions_fn, _TextAccessibilityManager_instances, addIdToAriaOwns_fn, _eventAbortController3, _enablePermissions, _onAppend3, _renderingDone, _textLayer3, _textLayers, _selectionChangeAbortController, _TextLayerBuilder_instances, bindMouse_fn, _TextLayerBuilder_static, removeGlobalSelectionListener_fn, enableGlobalSelectionListener_fn, _annotationMode, _canvasWrapper, _enableHWA2, _hasRestrictedScaling, _isEditing2, _layerProperties, _loadingId, _originalViewport, _previousRotation, _scaleRoundX, _scaleRoundY, _renderError, _renderingState, _textLayerMode, _useThumbnailCanvas, _layers, _PDFPageView_instances, addLayer_fn, setDimensions_fn, dispatchLayerRendered_fn, renderAnnotationLayer_fn, renderAnnotationEditorLayer_fn, renderDrawLayer_fn, renderXfaLayer_fn, renderTextLayer_fn, renderStructTreeLayer_fn, buildXfaTextContentItems_fn, resetCanvas_fn, finishRenderTask_fn, _closeCapability, _destroyCapability, _docProperties, _eventAbortController4, _eventBus2, _externalServices, _pdfDocument, _pdfViewer, _ready, _scripting, _willPrintCapability, _PDFScriptingManager_instances, updateFromSandbox_fn, dispatchPageOpen_fn, dispatchPageClose_fn, initScripting_fn, destroyScripting_fn, _buf, _size, _PDFPageViewBuffer_instances, destroyFirstView_fn, _buffer, _altTextManager2, _annotationEditorHighlightColors, _annotationEditorMode, _annotationEditorUIManager, _annotationMode2, _containerTopLeft, _editorUndoBar, _enableHWA3, _enableHighlightFloatingButton2, _enablePermissions2, _enableUpdatedAddImage2, _enableNewAltTextWhenAddingImage2, _eventAbortController5, _mlManager2, _switchAnnotationEditorModeAC, _switchAnnotationEditorModeTimeoutId, _getAllTextInProgress, _hiddenCopyElement, _interruptCopyCondition, _previousContainerHeight, _resizeObserver, _scrollModePageState, _scaleTimeoutId, _supportsPinchToZoom, _textLayerMode2, _PDFViewer_instances, initializePermissions_fn, onePageRenderedOrForceFetch_fn, copyCallback_fn, ensurePageViewVisible_fn, scrollIntoView_fn, isSameScale_fn, setScaleUpdatePages_fn, pageWidthScaleFactor_get, setScale_fn, resetCurrentPageView_fn, switchToEditAnnotationMode_fn, ensurePdfPageLoaded_fn, getScrollAhead_fn, updateContainerHeightCss_fn, resizeObserverCallback_fn, cleanupSwitchAnnotationEditorMode_fn;
|
|
21
|
-
import { useAttrs, isReactive, watch, unref, computed, reactive, mergeModels, useModel, createBlock, openBlock, resolveDynamicComponent, getCurrentInstance, resolveComponent, createElementBlock, createCommentVNode, normalizeClass, normalizeStyle, withCtx, renderSlot, createElementVNode, toDisplayString, ref, createVNode, Fragment, renderList, createTextVNode, defineComponent, onMounted, nextTick, h, shallowRef, onUnmounted, isRef, isVNode, createApp, withDirectives, mergeProps, inject, useSlots, resolveDirective,
|
|
21
|
+
import { useAttrs, isReactive, watch, unref, computed, reactive, mergeModels, useModel, createBlock, openBlock, resolveDynamicComponent, getCurrentInstance, resolveComponent, createElementBlock, createCommentVNode, normalizeClass, normalizeStyle, withCtx, renderSlot, createElementVNode, toDisplayString, ref, createVNode, Fragment, renderList, createTextVNode, defineComponent, onMounted, nextTick, h, shallowRef, onUnmounted, isRef, isVNode, createApp, withDirectives, mergeProps, inject, useSlots, resolveDirective, getCurrentScope, onScopeDispose, readonly, toValue as toValue$3, onBeforeUnmount, normalizeProps, guardReactiveProps, createSlots, withModifiers, withKeys, vModelText, shallowReadonly, Teleport, vShow, useTemplateRef, Transition, render as render$2, markRaw, vModelDynamic, provide, TransitionGroup, onBeforeUpdate, mergeDefaults, toRef, watchEffect } from "vue";
|
|
22
22
|
import draggable from "vuedraggable";
|
|
23
23
|
const limitlessBackgroundClasses = [
|
|
24
24
|
"bg-indigo-400",
|
|
@@ -9478,11 +9478,11 @@ const _sfc_main$1N = {
|
|
|
9478
9478
|
}
|
|
9479
9479
|
};
|
|
9480
9480
|
const _hoisted_1$1i = { class: "breadcrumb" };
|
|
9481
|
-
const _hoisted_2$
|
|
9481
|
+
const _hoisted_2$Y = {
|
|
9482
9482
|
key: 0,
|
|
9483
9483
|
class: "breadcrumb-elements-item"
|
|
9484
9484
|
};
|
|
9485
|
-
const _hoisted_3$
|
|
9485
|
+
const _hoisted_3$H = { class: "flex-center-vertical" };
|
|
9486
9486
|
const _hoisted_4$w = {
|
|
9487
9487
|
key: 0,
|
|
9488
9488
|
class: "pl-5 pr-5"
|
|
@@ -9509,10 +9509,10 @@ const _sfc_main$1M = {
|
|
|
9509
9509
|
return (_ctx, _cache2) => {
|
|
9510
9510
|
const _component_router_link = resolveComponent("router-link");
|
|
9511
9511
|
return openBlock(), createElementBlock("div", _hoisted_1$1i, [
|
|
9512
|
-
__props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
9512
|
+
__props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_2$Y, [
|
|
9513
9513
|
createVNode(_sfc_main$1N, { style: { "width": "200px", "height": "20px" } })
|
|
9514
9514
|
])) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(__props.value, (breadcrumb, index) => {
|
|
9515
|
-
return openBlock(), createElementBlock("div", _hoisted_3$
|
|
9515
|
+
return openBlock(), createElementBlock("div", _hoisted_3$H, [
|
|
9516
9516
|
renderSlot(_ctx.$slots, "breadcrumb", {
|
|
9517
9517
|
index,
|
|
9518
9518
|
item: breadcrumb
|
|
@@ -12803,7 +12803,7 @@ function useSingleton(instances, optionalProps) {
|
|
|
12803
12803
|
function toValue$2(r) {
|
|
12804
12804
|
return typeof r === "function" ? r() : unref(r);
|
|
12805
12805
|
}
|
|
12806
|
-
function unrefElement$
|
|
12806
|
+
function unrefElement$2(elRef) {
|
|
12807
12807
|
var _a2, _b2;
|
|
12808
12808
|
const plain = toValue$2(elRef);
|
|
12809
12809
|
return (_b2 = (_a2 = plain) === null || _a2 === void 0 ? void 0 : _a2.$el) !== null && _b2 !== void 0 ? _b2 : plain;
|
|
@@ -12886,7 +12886,7 @@ const TippyComponent = defineComponent({
|
|
|
12886
12886
|
}
|
|
12887
12887
|
return options;
|
|
12888
12888
|
};
|
|
12889
|
-
let target = () => unrefElement$
|
|
12889
|
+
let target = () => unrefElement$2(elem);
|
|
12890
12890
|
if (props2.to) {
|
|
12891
12891
|
if (typeof Element !== "undefined" && props2.to instanceof Element) {
|
|
12892
12892
|
target = () => props2.to;
|
|
@@ -13486,11 +13486,11 @@ const _export_sfc = (sfc, props2) => {
|
|
|
13486
13486
|
return target;
|
|
13487
13487
|
};
|
|
13488
13488
|
const _hoisted_1$1h = ["name"];
|
|
13489
|
-
const _hoisted_2$
|
|
13489
|
+
const _hoisted_2$X = {
|
|
13490
13490
|
key: 0,
|
|
13491
13491
|
class: "text-danger"
|
|
13492
13492
|
};
|
|
13493
|
-
const _hoisted_3$
|
|
13493
|
+
const _hoisted_3$G = {
|
|
13494
13494
|
key: 0,
|
|
13495
13495
|
class: "form-control-feedback-icon"
|
|
13496
13496
|
};
|
|
@@ -13576,7 +13576,7 @@ const _sfc_main$1J = {
|
|
|
13576
13576
|
style: normalizeStyle(labelStyle.value)
|
|
13577
13577
|
}, [
|
|
13578
13578
|
createTextVNode(toDisplayString(unref(computedLabel)) + " ", 1),
|
|
13579
|
-
_ctx.isRequired ? withDirectives((openBlock(), createElementBlock("span", _hoisted_2$
|
|
13579
|
+
_ctx.isRequired ? withDirectives((openBlock(), createElementBlock("span", _hoisted_2$X, [..._cache2[0] || (_cache2[0] = [
|
|
13580
13580
|
createTextVNode(" * ", -1)
|
|
13581
13581
|
])])), [
|
|
13582
13582
|
[_directive_tippy, "Camp obligatoriu"]
|
|
@@ -13588,7 +13588,7 @@ const _sfc_main$1J = {
|
|
|
13588
13588
|
createElementVNode("div", {
|
|
13589
13589
|
class: normalizeClass(contentContainerClass.value)
|
|
13590
13590
|
}, [
|
|
13591
|
-
_ctx.leftIcon ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
13591
|
+
_ctx.leftIcon ? (openBlock(), createElementBlock("div", _hoisted_3$G, [
|
|
13592
13592
|
createVNode(_component_app_icon, { value: _ctx.leftIcon }, null, 8, ["value"])
|
|
13593
13593
|
])) : renderSlot(_ctx.$slots, "beforeContent", { key: 1 }, void 0, true),
|
|
13594
13594
|
createElementVNode("div", {
|
|
@@ -18068,9 +18068,520 @@ const _sfc_main$1H = {
|
|
|
18068
18068
|
};
|
|
18069
18069
|
}
|
|
18070
18070
|
};
|
|
18071
|
+
function tryOnScopeDispose(fn7) {
|
|
18072
|
+
if (getCurrentScope()) {
|
|
18073
|
+
onScopeDispose(fn7);
|
|
18074
|
+
return true;
|
|
18075
|
+
}
|
|
18076
|
+
return false;
|
|
18077
|
+
}
|
|
18078
|
+
function toValue$1(r) {
|
|
18079
|
+
return typeof r === "function" ? r() : unref(r);
|
|
18080
|
+
}
|
|
18081
|
+
const isClient$1 = typeof window !== "undefined" && typeof document !== "undefined";
|
|
18082
|
+
typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
|
|
18083
|
+
const toString$2 = Object.prototype.toString;
|
|
18084
|
+
const isObject$4 = (val) => toString$2.call(val) === "[object Object]";
|
|
18085
|
+
const noop$2 = () => {
|
|
18086
|
+
};
|
|
18087
|
+
const isIOS = /* @__PURE__ */ getIsIOS();
|
|
18088
|
+
function getIsIOS() {
|
|
18089
|
+
var _a2, _b2;
|
|
18090
|
+
return isClient$1 && ((_a2 = window == null ? void 0 : window.navigator) == null ? void 0 : _a2.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((_b2 = window == null ? void 0 : window.navigator) == null ? void 0 : _b2.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
|
|
18091
|
+
}
|
|
18092
|
+
function createFilterWrapper(filter2, fn7) {
|
|
18093
|
+
function wrapper(...args) {
|
|
18094
|
+
return new Promise((resolve, reject) => {
|
|
18095
|
+
Promise.resolve(filter2(() => fn7.apply(this, args), { fn: fn7, thisArg: this, args })).then(resolve).catch(reject);
|
|
18096
|
+
});
|
|
18097
|
+
}
|
|
18098
|
+
return wrapper;
|
|
18099
|
+
}
|
|
18100
|
+
const bypassFilter = (invoke) => {
|
|
18101
|
+
return invoke();
|
|
18102
|
+
};
|
|
18103
|
+
function debounceFilter(ms, options = {}) {
|
|
18104
|
+
let timer;
|
|
18105
|
+
let maxTimer;
|
|
18106
|
+
let lastRejector = noop$2;
|
|
18107
|
+
const _clearTimeout = (timer2) => {
|
|
18108
|
+
clearTimeout(timer2);
|
|
18109
|
+
lastRejector();
|
|
18110
|
+
lastRejector = noop$2;
|
|
18111
|
+
};
|
|
18112
|
+
const filter2 = (invoke) => {
|
|
18113
|
+
const duration = toValue$1(ms);
|
|
18114
|
+
const maxDuration = toValue$1(options.maxWait);
|
|
18115
|
+
if (timer)
|
|
18116
|
+
_clearTimeout(timer);
|
|
18117
|
+
if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {
|
|
18118
|
+
if (maxTimer) {
|
|
18119
|
+
_clearTimeout(maxTimer);
|
|
18120
|
+
maxTimer = null;
|
|
18121
|
+
}
|
|
18122
|
+
return Promise.resolve(invoke());
|
|
18123
|
+
}
|
|
18124
|
+
return new Promise((resolve, reject) => {
|
|
18125
|
+
lastRejector = options.rejectOnCancel ? reject : resolve;
|
|
18126
|
+
if (maxDuration && !maxTimer) {
|
|
18127
|
+
maxTimer = setTimeout(() => {
|
|
18128
|
+
if (timer)
|
|
18129
|
+
_clearTimeout(timer);
|
|
18130
|
+
maxTimer = null;
|
|
18131
|
+
resolve(invoke());
|
|
18132
|
+
}, maxDuration);
|
|
18133
|
+
}
|
|
18134
|
+
timer = setTimeout(() => {
|
|
18135
|
+
if (maxTimer)
|
|
18136
|
+
_clearTimeout(maxTimer);
|
|
18137
|
+
maxTimer = null;
|
|
18138
|
+
resolve(invoke());
|
|
18139
|
+
}, duration);
|
|
18140
|
+
});
|
|
18141
|
+
};
|
|
18142
|
+
return filter2;
|
|
18143
|
+
}
|
|
18144
|
+
function pausableFilter(extendFilter = bypassFilter) {
|
|
18145
|
+
const isActive = ref(true);
|
|
18146
|
+
function pause() {
|
|
18147
|
+
isActive.value = false;
|
|
18148
|
+
}
|
|
18149
|
+
function resume() {
|
|
18150
|
+
isActive.value = true;
|
|
18151
|
+
}
|
|
18152
|
+
const eventFilter = (...args) => {
|
|
18153
|
+
if (isActive.value)
|
|
18154
|
+
extendFilter(...args);
|
|
18155
|
+
};
|
|
18156
|
+
return { isActive: readonly(isActive), pause, resume, eventFilter };
|
|
18157
|
+
}
|
|
18158
|
+
function getLifeCycleTarget(target) {
|
|
18159
|
+
return getCurrentInstance();
|
|
18160
|
+
}
|
|
18161
|
+
function watchWithFilter(source, cb, options = {}) {
|
|
18162
|
+
const {
|
|
18163
|
+
eventFilter = bypassFilter,
|
|
18164
|
+
...watchOptions
|
|
18165
|
+
} = options;
|
|
18166
|
+
return watch(
|
|
18167
|
+
source,
|
|
18168
|
+
createFilterWrapper(
|
|
18169
|
+
eventFilter,
|
|
18170
|
+
cb
|
|
18171
|
+
),
|
|
18172
|
+
watchOptions
|
|
18173
|
+
);
|
|
18174
|
+
}
|
|
18175
|
+
function watchPausable(source, cb, options = {}) {
|
|
18176
|
+
const {
|
|
18177
|
+
eventFilter: filter2,
|
|
18178
|
+
...watchOptions
|
|
18179
|
+
} = options;
|
|
18180
|
+
const { eventFilter, pause, resume, isActive } = pausableFilter(filter2);
|
|
18181
|
+
const stop2 = watchWithFilter(
|
|
18182
|
+
source,
|
|
18183
|
+
cb,
|
|
18184
|
+
{
|
|
18185
|
+
...watchOptions,
|
|
18186
|
+
eventFilter
|
|
18187
|
+
}
|
|
18188
|
+
);
|
|
18189
|
+
return { stop: stop2, pause, resume, isActive };
|
|
18190
|
+
}
|
|
18191
|
+
function tryOnMounted(fn7, sync = true, target) {
|
|
18192
|
+
const instance = getLifeCycleTarget();
|
|
18193
|
+
if (instance)
|
|
18194
|
+
onMounted(fn7, target);
|
|
18195
|
+
else if (sync)
|
|
18196
|
+
fn7();
|
|
18197
|
+
else
|
|
18198
|
+
nextTick(fn7);
|
|
18199
|
+
}
|
|
18200
|
+
function watchDebounced(source, cb, options = {}) {
|
|
18201
|
+
const {
|
|
18202
|
+
debounce: debounce2 = 0,
|
|
18203
|
+
maxWait = void 0,
|
|
18204
|
+
...watchOptions
|
|
18205
|
+
} = options;
|
|
18206
|
+
return watchWithFilter(
|
|
18207
|
+
source,
|
|
18208
|
+
cb,
|
|
18209
|
+
{
|
|
18210
|
+
...watchOptions,
|
|
18211
|
+
eventFilter: debounceFilter(debounce2, { maxWait })
|
|
18212
|
+
}
|
|
18213
|
+
);
|
|
18214
|
+
}
|
|
18215
|
+
function unrefElement$1(elRef) {
|
|
18216
|
+
var _a2;
|
|
18217
|
+
const plain = toValue$1(elRef);
|
|
18218
|
+
return (_a2 = plain == null ? void 0 : plain.$el) != null ? _a2 : plain;
|
|
18219
|
+
}
|
|
18220
|
+
const defaultWindow$1 = isClient$1 ? window : void 0;
|
|
18221
|
+
function useEventListener$1(...args) {
|
|
18222
|
+
let target;
|
|
18223
|
+
let events2;
|
|
18224
|
+
let listeners;
|
|
18225
|
+
let options;
|
|
18226
|
+
if (typeof args[0] === "string" || Array.isArray(args[0])) {
|
|
18227
|
+
[events2, listeners, options] = args;
|
|
18228
|
+
target = defaultWindow$1;
|
|
18229
|
+
} else {
|
|
18230
|
+
[target, events2, listeners, options] = args;
|
|
18231
|
+
}
|
|
18232
|
+
if (!target)
|
|
18233
|
+
return noop$2;
|
|
18234
|
+
if (!Array.isArray(events2))
|
|
18235
|
+
events2 = [events2];
|
|
18236
|
+
if (!Array.isArray(listeners))
|
|
18237
|
+
listeners = [listeners];
|
|
18238
|
+
const cleanups = [];
|
|
18239
|
+
const cleanup = () => {
|
|
18240
|
+
cleanups.forEach((fn7) => fn7());
|
|
18241
|
+
cleanups.length = 0;
|
|
18242
|
+
};
|
|
18243
|
+
const register = (el, event, listener, options2) => {
|
|
18244
|
+
el.addEventListener(event, listener, options2);
|
|
18245
|
+
return () => el.removeEventListener(event, listener, options2);
|
|
18246
|
+
};
|
|
18247
|
+
const stopWatch = watch(
|
|
18248
|
+
() => [unrefElement$1(target), toValue$1(options)],
|
|
18249
|
+
([el, options2]) => {
|
|
18250
|
+
cleanup();
|
|
18251
|
+
if (!el)
|
|
18252
|
+
return;
|
|
18253
|
+
const optionsClone = isObject$4(options2) ? { ...options2 } : options2;
|
|
18254
|
+
cleanups.push(
|
|
18255
|
+
...events2.flatMap((event) => {
|
|
18256
|
+
return listeners.map((listener) => register(el, event, listener, optionsClone));
|
|
18257
|
+
})
|
|
18258
|
+
);
|
|
18259
|
+
},
|
|
18260
|
+
{ immediate: true, flush: "post" }
|
|
18261
|
+
);
|
|
18262
|
+
const stop2 = () => {
|
|
18263
|
+
stopWatch();
|
|
18264
|
+
cleanup();
|
|
18265
|
+
};
|
|
18266
|
+
tryOnScopeDispose(stop2);
|
|
18267
|
+
return stop2;
|
|
18268
|
+
}
|
|
18269
|
+
let _iOSWorkaround = false;
|
|
18270
|
+
function onClickOutside$1(target, handler, options = {}) {
|
|
18271
|
+
const { window: window2 = defaultWindow$1, ignore = [], capture = true, detectIframe = false } = options;
|
|
18272
|
+
if (!window2)
|
|
18273
|
+
return noop$2;
|
|
18274
|
+
if (isIOS && !_iOSWorkaround) {
|
|
18275
|
+
_iOSWorkaround = true;
|
|
18276
|
+
Array.from(window2.document.body.children).forEach((el) => el.addEventListener("click", noop$2));
|
|
18277
|
+
window2.document.documentElement.addEventListener("click", noop$2);
|
|
18278
|
+
}
|
|
18279
|
+
let shouldListen = true;
|
|
18280
|
+
const shouldIgnore = (event) => {
|
|
18281
|
+
return ignore.some((target2) => {
|
|
18282
|
+
if (typeof target2 === "string") {
|
|
18283
|
+
return Array.from(window2.document.querySelectorAll(target2)).some((el) => el === event.target || event.composedPath().includes(el));
|
|
18284
|
+
} else {
|
|
18285
|
+
const el = unrefElement$1(target2);
|
|
18286
|
+
return el && (event.target === el || event.composedPath().includes(el));
|
|
18287
|
+
}
|
|
18288
|
+
});
|
|
18289
|
+
};
|
|
18290
|
+
const listener = (event) => {
|
|
18291
|
+
const el = unrefElement$1(target);
|
|
18292
|
+
if (!el || el === event.target || event.composedPath().includes(el))
|
|
18293
|
+
return;
|
|
18294
|
+
if (event.detail === 0)
|
|
18295
|
+
shouldListen = !shouldIgnore(event);
|
|
18296
|
+
if (!shouldListen) {
|
|
18297
|
+
shouldListen = true;
|
|
18298
|
+
return;
|
|
18299
|
+
}
|
|
18300
|
+
handler(event);
|
|
18301
|
+
};
|
|
18302
|
+
const cleanup = [
|
|
18303
|
+
useEventListener$1(window2, "click", listener, { passive: true, capture }),
|
|
18304
|
+
useEventListener$1(window2, "pointerdown", (e2) => {
|
|
18305
|
+
const el = unrefElement$1(target);
|
|
18306
|
+
shouldListen = !shouldIgnore(e2) && !!(el && !e2.composedPath().includes(el));
|
|
18307
|
+
}, { passive: true }),
|
|
18308
|
+
detectIframe && useEventListener$1(window2, "blur", (event) => {
|
|
18309
|
+
setTimeout(() => {
|
|
18310
|
+
var _a2;
|
|
18311
|
+
const el = unrefElement$1(target);
|
|
18312
|
+
if (((_a2 = window2.document.activeElement) == null ? void 0 : _a2.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(window2.document.activeElement))) {
|
|
18313
|
+
handler(event);
|
|
18314
|
+
}
|
|
18315
|
+
}, 0);
|
|
18316
|
+
})
|
|
18317
|
+
].filter(Boolean);
|
|
18318
|
+
const stop2 = () => cleanup.forEach((fn7) => fn7());
|
|
18319
|
+
return stop2;
|
|
18320
|
+
}
|
|
18321
|
+
const _global$1 = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
18322
|
+
const globalKey = "__vueuse_ssr_handlers__";
|
|
18323
|
+
const handlers$1 = /* @__PURE__ */ getHandlers();
|
|
18324
|
+
function getHandlers() {
|
|
18325
|
+
if (!(globalKey in _global$1))
|
|
18326
|
+
_global$1[globalKey] = _global$1[globalKey] || {};
|
|
18327
|
+
return _global$1[globalKey];
|
|
18328
|
+
}
|
|
18329
|
+
function getSSRHandler(key, fallback) {
|
|
18330
|
+
return handlers$1[key] || fallback;
|
|
18331
|
+
}
|
|
18332
|
+
function guessSerializerType(rawInit) {
|
|
18333
|
+
return rawInit == null ? "any" : rawInit instanceof Set ? "set" : rawInit instanceof Map ? "map" : rawInit instanceof Date ? "date" : typeof rawInit === "boolean" ? "boolean" : typeof rawInit === "string" ? "string" : typeof rawInit === "object" ? "object" : !Number.isNaN(rawInit) ? "number" : "any";
|
|
18334
|
+
}
|
|
18335
|
+
const StorageSerializers = {
|
|
18336
|
+
boolean: {
|
|
18337
|
+
read: (v) => v === "true",
|
|
18338
|
+
write: (v) => String(v)
|
|
18339
|
+
},
|
|
18340
|
+
object: {
|
|
18341
|
+
read: (v) => JSON.parse(v),
|
|
18342
|
+
write: (v) => JSON.stringify(v)
|
|
18343
|
+
},
|
|
18344
|
+
number: {
|
|
18345
|
+
read: (v) => Number.parseFloat(v),
|
|
18346
|
+
write: (v) => String(v)
|
|
18347
|
+
},
|
|
18348
|
+
any: {
|
|
18349
|
+
read: (v) => v,
|
|
18350
|
+
write: (v) => String(v)
|
|
18351
|
+
},
|
|
18352
|
+
string: {
|
|
18353
|
+
read: (v) => v,
|
|
18354
|
+
write: (v) => String(v)
|
|
18355
|
+
},
|
|
18356
|
+
map: {
|
|
18357
|
+
read: (v) => new Map(JSON.parse(v)),
|
|
18358
|
+
write: (v) => JSON.stringify(Array.from(v.entries()))
|
|
18359
|
+
},
|
|
18360
|
+
set: {
|
|
18361
|
+
read: (v) => new Set(JSON.parse(v)),
|
|
18362
|
+
write: (v) => JSON.stringify(Array.from(v))
|
|
18363
|
+
},
|
|
18364
|
+
date: {
|
|
18365
|
+
read: (v) => new Date(v),
|
|
18366
|
+
write: (v) => v.toISOString()
|
|
18367
|
+
}
|
|
18368
|
+
};
|
|
18369
|
+
const customStorageEventName = "vueuse-storage";
|
|
18370
|
+
function useStorage(key, defaults2, storage, options = {}) {
|
|
18371
|
+
var _a2;
|
|
18372
|
+
const {
|
|
18373
|
+
flush = "pre",
|
|
18374
|
+
deep = true,
|
|
18375
|
+
listenToStorageChanges = true,
|
|
18376
|
+
writeDefaults = true,
|
|
18377
|
+
mergeDefaults: mergeDefaults2 = false,
|
|
18378
|
+
shallow,
|
|
18379
|
+
window: window2 = defaultWindow$1,
|
|
18380
|
+
eventFilter,
|
|
18381
|
+
onError = (e2) => {
|
|
18382
|
+
console.error(e2);
|
|
18383
|
+
},
|
|
18384
|
+
initOnMounted
|
|
18385
|
+
} = options;
|
|
18386
|
+
const data = (shallow ? shallowRef : ref)(typeof defaults2 === "function" ? defaults2() : defaults2);
|
|
18387
|
+
if (!storage) {
|
|
18388
|
+
try {
|
|
18389
|
+
storage = getSSRHandler("getDefaultStorage", () => {
|
|
18390
|
+
var _a22;
|
|
18391
|
+
return (_a22 = defaultWindow$1) == null ? void 0 : _a22.localStorage;
|
|
18392
|
+
})();
|
|
18393
|
+
} catch (e2) {
|
|
18394
|
+
onError(e2);
|
|
18395
|
+
}
|
|
18396
|
+
}
|
|
18397
|
+
if (!storage)
|
|
18398
|
+
return data;
|
|
18399
|
+
const rawInit = toValue$1(defaults2);
|
|
18400
|
+
const type = guessSerializerType(rawInit);
|
|
18401
|
+
const serializer = (_a2 = options.serializer) != null ? _a2 : StorageSerializers[type];
|
|
18402
|
+
const { pause: pauseWatch, resume: resumeWatch } = watchPausable(
|
|
18403
|
+
data,
|
|
18404
|
+
() => write2(data.value),
|
|
18405
|
+
{ flush, deep, eventFilter }
|
|
18406
|
+
);
|
|
18407
|
+
if (window2 && listenToStorageChanges) {
|
|
18408
|
+
tryOnMounted(() => {
|
|
18409
|
+
useEventListener$1(window2, "storage", update2);
|
|
18410
|
+
useEventListener$1(window2, customStorageEventName, updateFromCustomEvent);
|
|
18411
|
+
if (initOnMounted)
|
|
18412
|
+
update2();
|
|
18413
|
+
});
|
|
18414
|
+
}
|
|
18415
|
+
if (!initOnMounted)
|
|
18416
|
+
update2();
|
|
18417
|
+
function dispatchWriteEvent(oldValue, newValue) {
|
|
18418
|
+
if (window2) {
|
|
18419
|
+
window2.dispatchEvent(new CustomEvent(customStorageEventName, {
|
|
18420
|
+
detail: {
|
|
18421
|
+
key,
|
|
18422
|
+
oldValue,
|
|
18423
|
+
newValue,
|
|
18424
|
+
storageArea: storage
|
|
18425
|
+
}
|
|
18426
|
+
}));
|
|
18427
|
+
}
|
|
18428
|
+
}
|
|
18429
|
+
function write2(v) {
|
|
18430
|
+
try {
|
|
18431
|
+
const oldValue = storage.getItem(key);
|
|
18432
|
+
if (v == null) {
|
|
18433
|
+
dispatchWriteEvent(oldValue, null);
|
|
18434
|
+
storage.removeItem(key);
|
|
18435
|
+
} else {
|
|
18436
|
+
const serialized = serializer.write(v);
|
|
18437
|
+
if (oldValue !== serialized) {
|
|
18438
|
+
storage.setItem(key, serialized);
|
|
18439
|
+
dispatchWriteEvent(oldValue, serialized);
|
|
18440
|
+
}
|
|
18441
|
+
}
|
|
18442
|
+
} catch (e2) {
|
|
18443
|
+
onError(e2);
|
|
18444
|
+
}
|
|
18445
|
+
}
|
|
18446
|
+
function read2(event) {
|
|
18447
|
+
const rawValue = event ? event.newValue : storage.getItem(key);
|
|
18448
|
+
if (rawValue == null) {
|
|
18449
|
+
if (writeDefaults && rawInit != null)
|
|
18450
|
+
storage.setItem(key, serializer.write(rawInit));
|
|
18451
|
+
return rawInit;
|
|
18452
|
+
} else if (!event && mergeDefaults2) {
|
|
18453
|
+
const value = serializer.read(rawValue);
|
|
18454
|
+
if (typeof mergeDefaults2 === "function")
|
|
18455
|
+
return mergeDefaults2(value, rawInit);
|
|
18456
|
+
else if (type === "object" && !Array.isArray(value))
|
|
18457
|
+
return { ...rawInit, ...value };
|
|
18458
|
+
return value;
|
|
18459
|
+
} else if (typeof rawValue !== "string") {
|
|
18460
|
+
return rawValue;
|
|
18461
|
+
} else {
|
|
18462
|
+
return serializer.read(rawValue);
|
|
18463
|
+
}
|
|
18464
|
+
}
|
|
18465
|
+
function update2(event) {
|
|
18466
|
+
if (event && event.storageArea !== storage)
|
|
18467
|
+
return;
|
|
18468
|
+
if (event && event.key == null) {
|
|
18469
|
+
data.value = rawInit;
|
|
18470
|
+
return;
|
|
18471
|
+
}
|
|
18472
|
+
if (event && event.key !== key)
|
|
18473
|
+
return;
|
|
18474
|
+
pauseWatch();
|
|
18475
|
+
try {
|
|
18476
|
+
if ((event == null ? void 0 : event.newValue) !== serializer.write(data.value))
|
|
18477
|
+
data.value = read2(event);
|
|
18478
|
+
} catch (e2) {
|
|
18479
|
+
onError(e2);
|
|
18480
|
+
} finally {
|
|
18481
|
+
if (event)
|
|
18482
|
+
nextTick(resumeWatch);
|
|
18483
|
+
else
|
|
18484
|
+
resumeWatch();
|
|
18485
|
+
}
|
|
18486
|
+
}
|
|
18487
|
+
function updateFromCustomEvent(event) {
|
|
18488
|
+
update2(event.detail);
|
|
18489
|
+
}
|
|
18490
|
+
return data;
|
|
18491
|
+
}
|
|
18492
|
+
function useLocalStorage(key, initialValue, options = {}) {
|
|
18493
|
+
const { window: window2 = defaultWindow$1 } = options;
|
|
18494
|
+
return useStorage(key, initialValue, window2 == null ? void 0 : window2.localStorage, options);
|
|
18495
|
+
}
|
|
18496
|
+
function useWindowScroll(options = {}) {
|
|
18497
|
+
const { window: window2 = defaultWindow$1, behavior = "auto" } = options;
|
|
18498
|
+
if (!window2) {
|
|
18499
|
+
return {
|
|
18500
|
+
x: ref(0),
|
|
18501
|
+
y: ref(0)
|
|
18502
|
+
};
|
|
18503
|
+
}
|
|
18504
|
+
const internalX = ref(window2.scrollX);
|
|
18505
|
+
const internalY = ref(window2.scrollY);
|
|
18506
|
+
const x2 = computed({
|
|
18507
|
+
get() {
|
|
18508
|
+
return internalX.value;
|
|
18509
|
+
},
|
|
18510
|
+
set(x22) {
|
|
18511
|
+
scrollTo({ left: x22, behavior });
|
|
18512
|
+
}
|
|
18513
|
+
});
|
|
18514
|
+
const y3 = computed({
|
|
18515
|
+
get() {
|
|
18516
|
+
return internalY.value;
|
|
18517
|
+
},
|
|
18518
|
+
set(y22) {
|
|
18519
|
+
scrollTo({ top: y22, behavior });
|
|
18520
|
+
}
|
|
18521
|
+
});
|
|
18522
|
+
useEventListener$1(
|
|
18523
|
+
window2,
|
|
18524
|
+
"scroll",
|
|
18525
|
+
() => {
|
|
18526
|
+
internalX.value = window2.scrollX;
|
|
18527
|
+
internalY.value = window2.scrollY;
|
|
18528
|
+
},
|
|
18529
|
+
{
|
|
18530
|
+
capture: false,
|
|
18531
|
+
passive: true
|
|
18532
|
+
}
|
|
18533
|
+
);
|
|
18534
|
+
return { x: x2, y: y3 };
|
|
18535
|
+
}
|
|
18536
|
+
const popupStack = ref([]);
|
|
18537
|
+
function useClickOutside(options = {}) {
|
|
18538
|
+
const id = Symbol("click-outside");
|
|
18539
|
+
const { target, handler, isOpen = true, isEnabled = true, ignore = [] } = options;
|
|
18540
|
+
let stop2 = null;
|
|
18541
|
+
const isActive = computed(() => Boolean(toValue$3(isOpen) && toValue$3(isEnabled)));
|
|
18542
|
+
const isTopPopup = computed(() => {
|
|
18543
|
+
var _a2;
|
|
18544
|
+
return ((_a2 = popupStack.value.at(-1)) == null ? void 0 : _a2.id) === id;
|
|
18545
|
+
});
|
|
18546
|
+
const removeFromStack = () => {
|
|
18547
|
+
popupStack.value = popupStack.value.filter((item) => item.id !== id);
|
|
18548
|
+
};
|
|
18549
|
+
const stopListening = async () => {
|
|
18550
|
+
stop2 == null ? void 0 : stop2();
|
|
18551
|
+
stop2 = null;
|
|
18552
|
+
await sleep(10);
|
|
18553
|
+
removeFromStack();
|
|
18554
|
+
};
|
|
18555
|
+
const startListening = () => {
|
|
18556
|
+
popupStack.value.push({ id, target });
|
|
18557
|
+
if (!toValue$3(target) || !handler) {
|
|
18558
|
+
return;
|
|
18559
|
+
}
|
|
18560
|
+
stop2 = onClickOutside$1(
|
|
18561
|
+
target,
|
|
18562
|
+
(event) => {
|
|
18563
|
+
if (isTopPopup.value) handler(event);
|
|
18564
|
+
},
|
|
18565
|
+
{ ignore }
|
|
18566
|
+
);
|
|
18567
|
+
};
|
|
18568
|
+
watch(
|
|
18569
|
+
[isActive, () => toValue$3(target)],
|
|
18570
|
+
async ([active]) => {
|
|
18571
|
+
active ? startListening() : await stopListening();
|
|
18572
|
+
},
|
|
18573
|
+
{ immediate: true }
|
|
18574
|
+
);
|
|
18575
|
+
onBeforeUnmount(() => stopListening());
|
|
18576
|
+
return {
|
|
18577
|
+
isTopPopup,
|
|
18578
|
+
popupStack,
|
|
18579
|
+
stop: stopListening
|
|
18580
|
+
};
|
|
18581
|
+
}
|
|
18071
18582
|
const _hoisted_1$1e = ["onClick"];
|
|
18072
|
-
const _hoisted_2$
|
|
18073
|
-
const _hoisted_3$
|
|
18583
|
+
const _hoisted_2$W = ["value", "disabled", "placeholder", "onBlur", "onFocus", "onInput", "onKeydown", "onKeypress", "onPaste"];
|
|
18584
|
+
const _hoisted_3$F = { key: 0 };
|
|
18074
18585
|
const _hoisted_4$u = {
|
|
18075
18586
|
key: 1,
|
|
18076
18587
|
class: "app-form-element-placeholder"
|
|
@@ -18097,7 +18608,15 @@ const _sfc_main$1G = {
|
|
|
18097
18608
|
type: String,
|
|
18098
18609
|
default: Constants.LANGUAGE_RO
|
|
18099
18610
|
},
|
|
18100
|
-
showEasyButtons: Boolean
|
|
18611
|
+
showEasyButtons: Boolean,
|
|
18612
|
+
weekStart: {
|
|
18613
|
+
type: Number,
|
|
18614
|
+
default: 1
|
|
18615
|
+
},
|
|
18616
|
+
teleport: {
|
|
18617
|
+
type: Boolean,
|
|
18618
|
+
default: true
|
|
18619
|
+
}
|
|
18101
18620
|
}, {
|
|
18102
18621
|
"modelValue": { type: [Date, Array, String, Number, Object] },
|
|
18103
18622
|
"modelModifiers": {}
|
|
@@ -18139,6 +18658,8 @@ const _sfc_main$1G = {
|
|
|
18139
18658
|
preview: ((_a2 = attrs.formats) == null ? void 0 : _a2.preview) ?? props2.dateFormat
|
|
18140
18659
|
};
|
|
18141
18660
|
});
|
|
18661
|
+
const isMenuOpen = ref(false);
|
|
18662
|
+
useClickOutside({ isOpen: isMenuOpen });
|
|
18142
18663
|
return (_ctx, _cache2) => {
|
|
18143
18664
|
const _component_vue_date_picker = resolveComponent("vue-date-picker");
|
|
18144
18665
|
const _directive_tippy = resolveDirective("tippy");
|
|
@@ -18158,14 +18679,19 @@ const _sfc_main$1G = {
|
|
|
18158
18679
|
placeholder: unref(computedPlaceHolder),
|
|
18159
18680
|
"text-input": computedTextInput.value,
|
|
18160
18681
|
"time-config": computedTimeConfig.value,
|
|
18161
|
-
|
|
18682
|
+
weekStart: __props.weekStart,
|
|
18683
|
+
"day-names": ["Lu", "Ma", "Mi", "Jo", "Vi", "Sâ", "Du"],
|
|
18684
|
+
locale: unref(locale),
|
|
18685
|
+
teleport: __props.teleport,
|
|
18686
|
+
onClosed: _cache2[1] || (_cache2[1] = ($event) => isMenuOpen.value = false),
|
|
18687
|
+
onOpen: _cache2[2] || (_cache2[2] = ($event) => isMenuOpen.value = true)
|
|
18162
18688
|
}), createSlots({
|
|
18163
18689
|
"dp-input": withCtx(({ value, onInput, onEnter, onTab, onBlur, onFocus, onKeypress, onPaste, openMenu }) => [
|
|
18164
18690
|
createElementVNode("div", {
|
|
18165
18691
|
class: "app-date-input dp__input dp__pointer dp__input_readonly dp__input_reg",
|
|
18166
18692
|
onClick: openMenu
|
|
18167
18693
|
}, [
|
|
18168
|
-
_cache2[
|
|
18694
|
+
_cache2[4] || (_cache2[4] = createElementVNode("i", { class: "ph-calendar-blank" }, null, -1)),
|
|
18169
18695
|
isDayOfWeekVisible.value ? (openBlock(), createBlock(_sfc_main$1I, {
|
|
18170
18696
|
key: 0,
|
|
18171
18697
|
language: __props.currentLanguage,
|
|
@@ -18187,8 +18713,8 @@ const _sfc_main$1G = {
|
|
|
18187
18713
|
],
|
|
18188
18714
|
onKeypress,
|
|
18189
18715
|
onPaste
|
|
18190
|
-
}, null, 40, _hoisted_2$
|
|
18191
|
-
modelValue.value ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
18716
|
+
}, null, 40, _hoisted_2$W)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
18717
|
+
modelValue.value ? (openBlock(), createElementBlock("span", _hoisted_3$F, toDisplayString(value), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$u, toDisplayString(unref(computedPlaceHolder)), 1))
|
|
18192
18718
|
], 64))
|
|
18193
18719
|
], 8, _hoisted_1$1e)
|
|
18194
18720
|
]),
|
|
@@ -18212,11 +18738,11 @@ const _sfc_main$1G = {
|
|
|
18212
18738
|
])
|
|
18213
18739
|
};
|
|
18214
18740
|
})
|
|
18215
|
-
]), 1040, ["modelValue", "config", "disabled", "formats", "name", "placeholder", "text-input", "time-config"]),
|
|
18741
|
+
]), 1040, ["modelValue", "config", "disabled", "formats", "name", "placeholder", "text-input", "time-config", "weekStart", "locale", "teleport"]),
|
|
18216
18742
|
__props.showEasyButtons && !_ctx.disabled ? (openBlock(), createElementBlock("div", _hoisted_7$7, [
|
|
18217
18743
|
createVNode(_sfc_main$1H, {
|
|
18218
18744
|
modelValue: modelValue.value,
|
|
18219
|
-
"onUpdate:modelValue": _cache2[
|
|
18745
|
+
"onUpdate:modelValue": _cache2[3] || (_cache2[3] = ($event) => modelValue.value = $event)
|
|
18220
18746
|
}, null, 8, ["modelValue"])
|
|
18221
18747
|
])) : createCommentVNode("", true)
|
|
18222
18748
|
]),
|
|
@@ -18225,13 +18751,13 @@ const _sfc_main$1G = {
|
|
|
18225
18751
|
};
|
|
18226
18752
|
}
|
|
18227
18753
|
};
|
|
18228
|
-
const AppDate = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["__scopeId", "data-v-
|
|
18754
|
+
const AppDate = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["__scopeId", "data-v-dbda72e2"]]);
|
|
18229
18755
|
const _hoisted_1$1d = {
|
|
18230
18756
|
class: "flex-center-vertical dp__input dp__pointer dp__input_readonly dp__input_reg",
|
|
18231
18757
|
style: { "gap": "3px" }
|
|
18232
18758
|
};
|
|
18233
|
-
const _hoisted_2$
|
|
18234
|
-
const _hoisted_3$
|
|
18759
|
+
const _hoisted_2$V = ["disabled", "placeholder", "onBlur", "onKeydown", "onKeypress", "onPaste"];
|
|
18760
|
+
const _hoisted_3$E = { key: 0 };
|
|
18235
18761
|
const _hoisted_4$t = {
|
|
18236
18762
|
key: 1,
|
|
18237
18763
|
class: "app-form-element-placeholder"
|
|
@@ -18255,6 +18781,7 @@ const _sfc_main$1F = {
|
|
|
18255
18781
|
setup(__props) {
|
|
18256
18782
|
const modelValue = useModel(__props, "modelValue");
|
|
18257
18783
|
const inputValue = ref("");
|
|
18784
|
+
const isMenuOpen = ref(false);
|
|
18258
18785
|
const props2 = __props;
|
|
18259
18786
|
const { formElementProps, computedName, computedPlaceHolder } = useAppFormElement(props2);
|
|
18260
18787
|
const computedClass = computed(() => ({
|
|
@@ -18291,6 +18818,9 @@ const _sfc_main$1F = {
|
|
|
18291
18818
|
date2.setMinutes(0);
|
|
18292
18819
|
date2.setSeconds(0);
|
|
18293
18820
|
};
|
|
18821
|
+
useClickOutside({
|
|
18822
|
+
isOpen: isMenuOpen
|
|
18823
|
+
});
|
|
18294
18824
|
return (_ctx, _cache2) => {
|
|
18295
18825
|
const _component_app_date_picker_day_of_week = resolveComponent("app-date-picker-day-of-week");
|
|
18296
18826
|
const _component_vue_date_picker = resolveComponent("vue-date-picker");
|
|
@@ -18312,11 +18842,13 @@ const _sfc_main$1F = {
|
|
|
18312
18842
|
name: unref(computedName),
|
|
18313
18843
|
placeholder: unref(computedPlaceHolder),
|
|
18314
18844
|
"text-input": _ctx.isTypeable,
|
|
18315
|
-
onDateUpdate: updateDate
|
|
18845
|
+
onDateUpdate: updateDate,
|
|
18846
|
+
onClosed: _cache2[2] || (_cache2[2] = ($event) => isMenuOpen.value = false),
|
|
18847
|
+
onOpen: _cache2[3] || (_cache2[3] = ($event) => isMenuOpen.value = true)
|
|
18316
18848
|
}), {
|
|
18317
|
-
"dp-input": withCtx(({ value, isMenuOpen, onTab, onKeypress, onPaste }) => [
|
|
18849
|
+
"dp-input": withCtx(({ value, isMenuOpen: isMenuOpen2, onTab, onKeypress, onPaste }) => [
|
|
18318
18850
|
createElementVNode("div", _hoisted_1$1d, [
|
|
18319
|
-
_cache2[
|
|
18851
|
+
_cache2[5] || (_cache2[5] = createElementVNode("i", { class: "ph-calendar-blank" }, null, -1)),
|
|
18320
18852
|
isDayOfWeekVisible.value ? (openBlock(), createBlock(_component_app_date_picker_day_of_week, {
|
|
18321
18853
|
key: 0,
|
|
18322
18854
|
language: _ctx.currentLanguage,
|
|
@@ -18329,17 +18861,17 @@ const _sfc_main$1F = {
|
|
|
18329
18861
|
type: "text",
|
|
18330
18862
|
disabled: _ctx.disabled,
|
|
18331
18863
|
placeholder: _ctx.placeholder,
|
|
18332
|
-
onBlur: ($event) => !
|
|
18864
|
+
onBlur: ($event) => !isMenuOpen2 && applyInputValue(),
|
|
18333
18865
|
onKeydown: [
|
|
18334
18866
|
withKeys(applyInputValue, ["enter"]),
|
|
18335
18867
|
withKeys(onTab, ["tab"])
|
|
18336
18868
|
],
|
|
18337
18869
|
onKeypress,
|
|
18338
18870
|
onPaste
|
|
18339
|
-
}, null, 40, _hoisted_2$
|
|
18871
|
+
}, null, 40, _hoisted_2$V)), [
|
|
18340
18872
|
[vModelText, inputValue.value]
|
|
18341
18873
|
]) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
18342
|
-
modelValue.value ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
18874
|
+
modelValue.value ? (openBlock(), createElementBlock("span", _hoisted_3$E, toDisplayString(value), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$t, toDisplayString(_ctx.placeholder), 1))
|
|
18343
18875
|
], 64))
|
|
18344
18876
|
])
|
|
18345
18877
|
]),
|
|
@@ -18358,7 +18890,7 @@ const _sfc_main$1F = {
|
|
|
18358
18890
|
_ctx.showEasyButtons && !_ctx.disabled ? (openBlock(), createElementBlock("div", _hoisted_7$6, [
|
|
18359
18891
|
createVNode(_sfc_main$1H, {
|
|
18360
18892
|
modelValue: modelValue.value,
|
|
18361
|
-
"onUpdate:modelValue": _cache2[
|
|
18893
|
+
"onUpdate:modelValue": _cache2[4] || (_cache2[4] = ($event) => modelValue.value = $event)
|
|
18362
18894
|
}, null, 8, ["modelValue"])
|
|
18363
18895
|
])) : createCommentVNode("", true)
|
|
18364
18896
|
]),
|
|
@@ -18377,8 +18909,8 @@ const _sfc_main$1F = {
|
|
|
18377
18909
|
}
|
|
18378
18910
|
};
|
|
18379
18911
|
const _hoisted_1$1c = { class: "w-100" };
|
|
18380
|
-
const _hoisted_2$
|
|
18381
|
-
const _hoisted_3$
|
|
18912
|
+
const _hoisted_2$U = { class: "flex-center-vertical w-100 gap-1" };
|
|
18913
|
+
const _hoisted_3$D = {
|
|
18382
18914
|
key: 0,
|
|
18383
18915
|
class: "flex-center-vertical mt-1"
|
|
18384
18916
|
};
|
|
@@ -18441,7 +18973,7 @@ const _sfc_main$1E = {
|
|
|
18441
18973
|
return openBlock(), createBlock(AppFormElement, normalizeProps(guardReactiveProps(unref(formElementProps))), {
|
|
18442
18974
|
default: withCtx(() => [
|
|
18443
18975
|
createElementVNode("div", _hoisted_1$1c, [
|
|
18444
|
-
createElementVNode("div", _hoisted_2$
|
|
18976
|
+
createElementVNode("div", _hoisted_2$U, [
|
|
18445
18977
|
createVNode(_component_app_date, mergeProps({
|
|
18446
18978
|
modelValue: modelValueStart.value,
|
|
18447
18979
|
"onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) => modelValueStart.value = $event),
|
|
@@ -18459,7 +18991,7 @@ const _sfc_main$1E = {
|
|
|
18459
18991
|
name: __props.endName || _ctx.$attrs["name-end"] || "end"
|
|
18460
18992
|
}, bindableProps.value, { "show-easy-buttons": false }), null, 16, ["modelValue", "placeholder", "name"])
|
|
18461
18993
|
]),
|
|
18462
|
-
_ctx.showEasyButtons ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
18994
|
+
_ctx.showEasyButtons ? (openBlock(), createElementBlock("div", _hoisted_3$D, [
|
|
18463
18995
|
createVNode(_component_app_button_group, {
|
|
18464
18996
|
value: unref(easyButtonsList),
|
|
18465
18997
|
onClick: onEasyButtonClick
|
|
@@ -18474,8 +19006,8 @@ const _sfc_main$1E = {
|
|
|
18474
19006
|
}
|
|
18475
19007
|
};
|
|
18476
19008
|
const _hoisted_1$1b = { class: "d-flex align-items-center" };
|
|
18477
|
-
const _hoisted_2$
|
|
18478
|
-
const _hoisted_3$
|
|
19009
|
+
const _hoisted_2$T = { class: "mb-0 fw-normal" };
|
|
19010
|
+
const _hoisted_3$C = { class: "ms-auto" };
|
|
18479
19011
|
const _sfc_main$1D = {
|
|
18480
19012
|
__name: "AppCard",
|
|
18481
19013
|
props: {
|
|
@@ -18573,7 +19105,7 @@ const _sfc_main$1D = {
|
|
|
18573
19105
|
onClick: collapseBody
|
|
18574
19106
|
}, [
|
|
18575
19107
|
createElementVNode("div", _hoisted_1$1b, [
|
|
18576
|
-
createElementVNode("div", _hoisted_2$
|
|
19108
|
+
createElementVNode("div", _hoisted_2$T, [
|
|
18577
19109
|
renderSlot(_ctx.$slots, "title"),
|
|
18578
19110
|
createElementVNode("div", {
|
|
18579
19111
|
class: "header-elements-toggle d-none",
|
|
@@ -18582,7 +19114,7 @@ const _sfc_main$1D = {
|
|
|
18582
19114
|
createElementVNode("i", { class: "icon-more" }, null, -1)
|
|
18583
19115
|
])])
|
|
18584
19116
|
]),
|
|
18585
|
-
createElementVNode("div", _hoisted_3$
|
|
19117
|
+
createElementVNode("div", _hoisted_3$C, [
|
|
18586
19118
|
createElementVNode("div", {
|
|
18587
19119
|
class: normalizeClass([headerElementsClasses.value])
|
|
18588
19120
|
}, [
|
|
@@ -18675,481 +19207,6 @@ function _sfc_render$3(_ctx, _cache2) {
|
|
|
18675
19207
|
return openBlock(), createBlock(_component_router_view);
|
|
18676
19208
|
}
|
|
18677
19209
|
const AppChild = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$3], ["__scopeId", "data-v-f1bb4de2"]]);
|
|
18678
|
-
function tryOnScopeDispose(fn7) {
|
|
18679
|
-
if (getCurrentScope()) {
|
|
18680
|
-
onScopeDispose(fn7);
|
|
18681
|
-
return true;
|
|
18682
|
-
}
|
|
18683
|
-
return false;
|
|
18684
|
-
}
|
|
18685
|
-
function toValue$1(r) {
|
|
18686
|
-
return typeof r === "function" ? r() : unref(r);
|
|
18687
|
-
}
|
|
18688
|
-
const isClient$1 = typeof window !== "undefined" && typeof document !== "undefined";
|
|
18689
|
-
typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
|
|
18690
|
-
const toString$2 = Object.prototype.toString;
|
|
18691
|
-
const isObject$4 = (val) => toString$2.call(val) === "[object Object]";
|
|
18692
|
-
const noop$2 = () => {
|
|
18693
|
-
};
|
|
18694
|
-
const isIOS = /* @__PURE__ */ getIsIOS();
|
|
18695
|
-
function getIsIOS() {
|
|
18696
|
-
var _a2, _b2;
|
|
18697
|
-
return isClient$1 && ((_a2 = window == null ? void 0 : window.navigator) == null ? void 0 : _a2.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((_b2 = window == null ? void 0 : window.navigator) == null ? void 0 : _b2.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
|
|
18698
|
-
}
|
|
18699
|
-
function createFilterWrapper(filter2, fn7) {
|
|
18700
|
-
function wrapper(...args) {
|
|
18701
|
-
return new Promise((resolve, reject) => {
|
|
18702
|
-
Promise.resolve(filter2(() => fn7.apply(this, args), { fn: fn7, thisArg: this, args })).then(resolve).catch(reject);
|
|
18703
|
-
});
|
|
18704
|
-
}
|
|
18705
|
-
return wrapper;
|
|
18706
|
-
}
|
|
18707
|
-
const bypassFilter = (invoke) => {
|
|
18708
|
-
return invoke();
|
|
18709
|
-
};
|
|
18710
|
-
function debounceFilter(ms, options = {}) {
|
|
18711
|
-
let timer;
|
|
18712
|
-
let maxTimer;
|
|
18713
|
-
let lastRejector = noop$2;
|
|
18714
|
-
const _clearTimeout = (timer2) => {
|
|
18715
|
-
clearTimeout(timer2);
|
|
18716
|
-
lastRejector();
|
|
18717
|
-
lastRejector = noop$2;
|
|
18718
|
-
};
|
|
18719
|
-
const filter2 = (invoke) => {
|
|
18720
|
-
const duration = toValue$1(ms);
|
|
18721
|
-
const maxDuration = toValue$1(options.maxWait);
|
|
18722
|
-
if (timer)
|
|
18723
|
-
_clearTimeout(timer);
|
|
18724
|
-
if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {
|
|
18725
|
-
if (maxTimer) {
|
|
18726
|
-
_clearTimeout(maxTimer);
|
|
18727
|
-
maxTimer = null;
|
|
18728
|
-
}
|
|
18729
|
-
return Promise.resolve(invoke());
|
|
18730
|
-
}
|
|
18731
|
-
return new Promise((resolve, reject) => {
|
|
18732
|
-
lastRejector = options.rejectOnCancel ? reject : resolve;
|
|
18733
|
-
if (maxDuration && !maxTimer) {
|
|
18734
|
-
maxTimer = setTimeout(() => {
|
|
18735
|
-
if (timer)
|
|
18736
|
-
_clearTimeout(timer);
|
|
18737
|
-
maxTimer = null;
|
|
18738
|
-
resolve(invoke());
|
|
18739
|
-
}, maxDuration);
|
|
18740
|
-
}
|
|
18741
|
-
timer = setTimeout(() => {
|
|
18742
|
-
if (maxTimer)
|
|
18743
|
-
_clearTimeout(maxTimer);
|
|
18744
|
-
maxTimer = null;
|
|
18745
|
-
resolve(invoke());
|
|
18746
|
-
}, duration);
|
|
18747
|
-
});
|
|
18748
|
-
};
|
|
18749
|
-
return filter2;
|
|
18750
|
-
}
|
|
18751
|
-
function pausableFilter(extendFilter = bypassFilter) {
|
|
18752
|
-
const isActive = ref(true);
|
|
18753
|
-
function pause() {
|
|
18754
|
-
isActive.value = false;
|
|
18755
|
-
}
|
|
18756
|
-
function resume() {
|
|
18757
|
-
isActive.value = true;
|
|
18758
|
-
}
|
|
18759
|
-
const eventFilter = (...args) => {
|
|
18760
|
-
if (isActive.value)
|
|
18761
|
-
extendFilter(...args);
|
|
18762
|
-
};
|
|
18763
|
-
return { isActive: readonly(isActive), pause, resume, eventFilter };
|
|
18764
|
-
}
|
|
18765
|
-
const directiveHooks = {
|
|
18766
|
-
mounted: "mounted",
|
|
18767
|
-
unmounted: "unmounted"
|
|
18768
|
-
};
|
|
18769
|
-
function getLifeCycleTarget(target) {
|
|
18770
|
-
return getCurrentInstance();
|
|
18771
|
-
}
|
|
18772
|
-
function toRef(...args) {
|
|
18773
|
-
if (args.length !== 1)
|
|
18774
|
-
return toRef$1(...args);
|
|
18775
|
-
const r = args[0];
|
|
18776
|
-
return typeof r === "function" ? readonly(customRef(() => ({ get: r, set: noop$2 }))) : ref(r);
|
|
18777
|
-
}
|
|
18778
|
-
function watchWithFilter(source, cb, options = {}) {
|
|
18779
|
-
const {
|
|
18780
|
-
eventFilter = bypassFilter,
|
|
18781
|
-
...watchOptions
|
|
18782
|
-
} = options;
|
|
18783
|
-
return watch(
|
|
18784
|
-
source,
|
|
18785
|
-
createFilterWrapper(
|
|
18786
|
-
eventFilter,
|
|
18787
|
-
cb
|
|
18788
|
-
),
|
|
18789
|
-
watchOptions
|
|
18790
|
-
);
|
|
18791
|
-
}
|
|
18792
|
-
function watchPausable(source, cb, options = {}) {
|
|
18793
|
-
const {
|
|
18794
|
-
eventFilter: filter2,
|
|
18795
|
-
...watchOptions
|
|
18796
|
-
} = options;
|
|
18797
|
-
const { eventFilter, pause, resume, isActive } = pausableFilter(filter2);
|
|
18798
|
-
const stop2 = watchWithFilter(
|
|
18799
|
-
source,
|
|
18800
|
-
cb,
|
|
18801
|
-
{
|
|
18802
|
-
...watchOptions,
|
|
18803
|
-
eventFilter
|
|
18804
|
-
}
|
|
18805
|
-
);
|
|
18806
|
-
return { stop: stop2, pause, resume, isActive };
|
|
18807
|
-
}
|
|
18808
|
-
function tryOnMounted(fn7, sync = true, target) {
|
|
18809
|
-
const instance = getLifeCycleTarget();
|
|
18810
|
-
if (instance)
|
|
18811
|
-
onMounted(fn7, target);
|
|
18812
|
-
else if (sync)
|
|
18813
|
-
fn7();
|
|
18814
|
-
else
|
|
18815
|
-
nextTick(fn7);
|
|
18816
|
-
}
|
|
18817
|
-
function watchDebounced(source, cb, options = {}) {
|
|
18818
|
-
const {
|
|
18819
|
-
debounce: debounce2 = 0,
|
|
18820
|
-
maxWait = void 0,
|
|
18821
|
-
...watchOptions
|
|
18822
|
-
} = options;
|
|
18823
|
-
return watchWithFilter(
|
|
18824
|
-
source,
|
|
18825
|
-
cb,
|
|
18826
|
-
{
|
|
18827
|
-
...watchOptions,
|
|
18828
|
-
eventFilter: debounceFilter(debounce2, { maxWait })
|
|
18829
|
-
}
|
|
18830
|
-
);
|
|
18831
|
-
}
|
|
18832
|
-
function unrefElement$2(elRef) {
|
|
18833
|
-
var _a2;
|
|
18834
|
-
const plain = toValue$1(elRef);
|
|
18835
|
-
return (_a2 = plain == null ? void 0 : plain.$el) != null ? _a2 : plain;
|
|
18836
|
-
}
|
|
18837
|
-
const defaultWindow$2 = isClient$1 ? window : void 0;
|
|
18838
|
-
function useEventListener$2(...args) {
|
|
18839
|
-
let target;
|
|
18840
|
-
let events2;
|
|
18841
|
-
let listeners;
|
|
18842
|
-
let options;
|
|
18843
|
-
if (typeof args[0] === "string" || Array.isArray(args[0])) {
|
|
18844
|
-
[events2, listeners, options] = args;
|
|
18845
|
-
target = defaultWindow$2;
|
|
18846
|
-
} else {
|
|
18847
|
-
[target, events2, listeners, options] = args;
|
|
18848
|
-
}
|
|
18849
|
-
if (!target)
|
|
18850
|
-
return noop$2;
|
|
18851
|
-
if (!Array.isArray(events2))
|
|
18852
|
-
events2 = [events2];
|
|
18853
|
-
if (!Array.isArray(listeners))
|
|
18854
|
-
listeners = [listeners];
|
|
18855
|
-
const cleanups = [];
|
|
18856
|
-
const cleanup = () => {
|
|
18857
|
-
cleanups.forEach((fn7) => fn7());
|
|
18858
|
-
cleanups.length = 0;
|
|
18859
|
-
};
|
|
18860
|
-
const register = (el, event, listener, options2) => {
|
|
18861
|
-
el.addEventListener(event, listener, options2);
|
|
18862
|
-
return () => el.removeEventListener(event, listener, options2);
|
|
18863
|
-
};
|
|
18864
|
-
const stopWatch = watch(
|
|
18865
|
-
() => [unrefElement$2(target), toValue$1(options)],
|
|
18866
|
-
([el, options2]) => {
|
|
18867
|
-
cleanup();
|
|
18868
|
-
if (!el)
|
|
18869
|
-
return;
|
|
18870
|
-
const optionsClone = isObject$4(options2) ? { ...options2 } : options2;
|
|
18871
|
-
cleanups.push(
|
|
18872
|
-
...events2.flatMap((event) => {
|
|
18873
|
-
return listeners.map((listener) => register(el, event, listener, optionsClone));
|
|
18874
|
-
})
|
|
18875
|
-
);
|
|
18876
|
-
},
|
|
18877
|
-
{ immediate: true, flush: "post" }
|
|
18878
|
-
);
|
|
18879
|
-
const stop2 = () => {
|
|
18880
|
-
stopWatch();
|
|
18881
|
-
cleanup();
|
|
18882
|
-
};
|
|
18883
|
-
tryOnScopeDispose(stop2);
|
|
18884
|
-
return stop2;
|
|
18885
|
-
}
|
|
18886
|
-
let _iOSWorkaround$1 = false;
|
|
18887
|
-
function onClickOutside$2(target, handler, options = {}) {
|
|
18888
|
-
const { window: window2 = defaultWindow$2, ignore = [], capture = true, detectIframe = false } = options;
|
|
18889
|
-
if (!window2)
|
|
18890
|
-
return noop$2;
|
|
18891
|
-
if (isIOS && !_iOSWorkaround$1) {
|
|
18892
|
-
_iOSWorkaround$1 = true;
|
|
18893
|
-
Array.from(window2.document.body.children).forEach((el) => el.addEventListener("click", noop$2));
|
|
18894
|
-
window2.document.documentElement.addEventListener("click", noop$2);
|
|
18895
|
-
}
|
|
18896
|
-
let shouldListen = true;
|
|
18897
|
-
const shouldIgnore = (event) => {
|
|
18898
|
-
return ignore.some((target2) => {
|
|
18899
|
-
if (typeof target2 === "string") {
|
|
18900
|
-
return Array.from(window2.document.querySelectorAll(target2)).some((el) => el === event.target || event.composedPath().includes(el));
|
|
18901
|
-
} else {
|
|
18902
|
-
const el = unrefElement$2(target2);
|
|
18903
|
-
return el && (event.target === el || event.composedPath().includes(el));
|
|
18904
|
-
}
|
|
18905
|
-
});
|
|
18906
|
-
};
|
|
18907
|
-
const listener = (event) => {
|
|
18908
|
-
const el = unrefElement$2(target);
|
|
18909
|
-
if (!el || el === event.target || event.composedPath().includes(el))
|
|
18910
|
-
return;
|
|
18911
|
-
if (event.detail === 0)
|
|
18912
|
-
shouldListen = !shouldIgnore(event);
|
|
18913
|
-
if (!shouldListen) {
|
|
18914
|
-
shouldListen = true;
|
|
18915
|
-
return;
|
|
18916
|
-
}
|
|
18917
|
-
handler(event);
|
|
18918
|
-
};
|
|
18919
|
-
const cleanup = [
|
|
18920
|
-
useEventListener$2(window2, "click", listener, { passive: true, capture }),
|
|
18921
|
-
useEventListener$2(window2, "pointerdown", (e2) => {
|
|
18922
|
-
const el = unrefElement$2(target);
|
|
18923
|
-
shouldListen = !shouldIgnore(e2) && !!(el && !e2.composedPath().includes(el));
|
|
18924
|
-
}, { passive: true }),
|
|
18925
|
-
detectIframe && useEventListener$2(window2, "blur", (event) => {
|
|
18926
|
-
setTimeout(() => {
|
|
18927
|
-
var _a2;
|
|
18928
|
-
const el = unrefElement$2(target);
|
|
18929
|
-
if (((_a2 = window2.document.activeElement) == null ? void 0 : _a2.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(window2.document.activeElement))) {
|
|
18930
|
-
handler(event);
|
|
18931
|
-
}
|
|
18932
|
-
}, 0);
|
|
18933
|
-
})
|
|
18934
|
-
].filter(Boolean);
|
|
18935
|
-
const stop2 = () => cleanup.forEach((fn7) => fn7());
|
|
18936
|
-
return stop2;
|
|
18937
|
-
}
|
|
18938
|
-
const _global$1 = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
18939
|
-
const globalKey = "__vueuse_ssr_handlers__";
|
|
18940
|
-
const handlers$1 = /* @__PURE__ */ getHandlers();
|
|
18941
|
-
function getHandlers() {
|
|
18942
|
-
if (!(globalKey in _global$1))
|
|
18943
|
-
_global$1[globalKey] = _global$1[globalKey] || {};
|
|
18944
|
-
return _global$1[globalKey];
|
|
18945
|
-
}
|
|
18946
|
-
function getSSRHandler(key, fallback) {
|
|
18947
|
-
return handlers$1[key] || fallback;
|
|
18948
|
-
}
|
|
18949
|
-
function guessSerializerType(rawInit) {
|
|
18950
|
-
return rawInit == null ? "any" : rawInit instanceof Set ? "set" : rawInit instanceof Map ? "map" : rawInit instanceof Date ? "date" : typeof rawInit === "boolean" ? "boolean" : typeof rawInit === "string" ? "string" : typeof rawInit === "object" ? "object" : !Number.isNaN(rawInit) ? "number" : "any";
|
|
18951
|
-
}
|
|
18952
|
-
const StorageSerializers = {
|
|
18953
|
-
boolean: {
|
|
18954
|
-
read: (v) => v === "true",
|
|
18955
|
-
write: (v) => String(v)
|
|
18956
|
-
},
|
|
18957
|
-
object: {
|
|
18958
|
-
read: (v) => JSON.parse(v),
|
|
18959
|
-
write: (v) => JSON.stringify(v)
|
|
18960
|
-
},
|
|
18961
|
-
number: {
|
|
18962
|
-
read: (v) => Number.parseFloat(v),
|
|
18963
|
-
write: (v) => String(v)
|
|
18964
|
-
},
|
|
18965
|
-
any: {
|
|
18966
|
-
read: (v) => v,
|
|
18967
|
-
write: (v) => String(v)
|
|
18968
|
-
},
|
|
18969
|
-
string: {
|
|
18970
|
-
read: (v) => v,
|
|
18971
|
-
write: (v) => String(v)
|
|
18972
|
-
},
|
|
18973
|
-
map: {
|
|
18974
|
-
read: (v) => new Map(JSON.parse(v)),
|
|
18975
|
-
write: (v) => JSON.stringify(Array.from(v.entries()))
|
|
18976
|
-
},
|
|
18977
|
-
set: {
|
|
18978
|
-
read: (v) => new Set(JSON.parse(v)),
|
|
18979
|
-
write: (v) => JSON.stringify(Array.from(v))
|
|
18980
|
-
},
|
|
18981
|
-
date: {
|
|
18982
|
-
read: (v) => new Date(v),
|
|
18983
|
-
write: (v) => v.toISOString()
|
|
18984
|
-
}
|
|
18985
|
-
};
|
|
18986
|
-
const customStorageEventName = "vueuse-storage";
|
|
18987
|
-
function useStorage(key, defaults2, storage, options = {}) {
|
|
18988
|
-
var _a2;
|
|
18989
|
-
const {
|
|
18990
|
-
flush = "pre",
|
|
18991
|
-
deep = true,
|
|
18992
|
-
listenToStorageChanges = true,
|
|
18993
|
-
writeDefaults = true,
|
|
18994
|
-
mergeDefaults: mergeDefaults2 = false,
|
|
18995
|
-
shallow,
|
|
18996
|
-
window: window2 = defaultWindow$2,
|
|
18997
|
-
eventFilter,
|
|
18998
|
-
onError = (e2) => {
|
|
18999
|
-
console.error(e2);
|
|
19000
|
-
},
|
|
19001
|
-
initOnMounted
|
|
19002
|
-
} = options;
|
|
19003
|
-
const data = (shallow ? shallowRef : ref)(typeof defaults2 === "function" ? defaults2() : defaults2);
|
|
19004
|
-
if (!storage) {
|
|
19005
|
-
try {
|
|
19006
|
-
storage = getSSRHandler("getDefaultStorage", () => {
|
|
19007
|
-
var _a22;
|
|
19008
|
-
return (_a22 = defaultWindow$2) == null ? void 0 : _a22.localStorage;
|
|
19009
|
-
})();
|
|
19010
|
-
} catch (e2) {
|
|
19011
|
-
onError(e2);
|
|
19012
|
-
}
|
|
19013
|
-
}
|
|
19014
|
-
if (!storage)
|
|
19015
|
-
return data;
|
|
19016
|
-
const rawInit = toValue$1(defaults2);
|
|
19017
|
-
const type = guessSerializerType(rawInit);
|
|
19018
|
-
const serializer = (_a2 = options.serializer) != null ? _a2 : StorageSerializers[type];
|
|
19019
|
-
const { pause: pauseWatch, resume: resumeWatch } = watchPausable(
|
|
19020
|
-
data,
|
|
19021
|
-
() => write2(data.value),
|
|
19022
|
-
{ flush, deep, eventFilter }
|
|
19023
|
-
);
|
|
19024
|
-
if (window2 && listenToStorageChanges) {
|
|
19025
|
-
tryOnMounted(() => {
|
|
19026
|
-
useEventListener$2(window2, "storage", update2);
|
|
19027
|
-
useEventListener$2(window2, customStorageEventName, updateFromCustomEvent);
|
|
19028
|
-
if (initOnMounted)
|
|
19029
|
-
update2();
|
|
19030
|
-
});
|
|
19031
|
-
}
|
|
19032
|
-
if (!initOnMounted)
|
|
19033
|
-
update2();
|
|
19034
|
-
function dispatchWriteEvent(oldValue, newValue) {
|
|
19035
|
-
if (window2) {
|
|
19036
|
-
window2.dispatchEvent(new CustomEvent(customStorageEventName, {
|
|
19037
|
-
detail: {
|
|
19038
|
-
key,
|
|
19039
|
-
oldValue,
|
|
19040
|
-
newValue,
|
|
19041
|
-
storageArea: storage
|
|
19042
|
-
}
|
|
19043
|
-
}));
|
|
19044
|
-
}
|
|
19045
|
-
}
|
|
19046
|
-
function write2(v) {
|
|
19047
|
-
try {
|
|
19048
|
-
const oldValue = storage.getItem(key);
|
|
19049
|
-
if (v == null) {
|
|
19050
|
-
dispatchWriteEvent(oldValue, null);
|
|
19051
|
-
storage.removeItem(key);
|
|
19052
|
-
} else {
|
|
19053
|
-
const serialized = serializer.write(v);
|
|
19054
|
-
if (oldValue !== serialized) {
|
|
19055
|
-
storage.setItem(key, serialized);
|
|
19056
|
-
dispatchWriteEvent(oldValue, serialized);
|
|
19057
|
-
}
|
|
19058
|
-
}
|
|
19059
|
-
} catch (e2) {
|
|
19060
|
-
onError(e2);
|
|
19061
|
-
}
|
|
19062
|
-
}
|
|
19063
|
-
function read2(event) {
|
|
19064
|
-
const rawValue = event ? event.newValue : storage.getItem(key);
|
|
19065
|
-
if (rawValue == null) {
|
|
19066
|
-
if (writeDefaults && rawInit != null)
|
|
19067
|
-
storage.setItem(key, serializer.write(rawInit));
|
|
19068
|
-
return rawInit;
|
|
19069
|
-
} else if (!event && mergeDefaults2) {
|
|
19070
|
-
const value = serializer.read(rawValue);
|
|
19071
|
-
if (typeof mergeDefaults2 === "function")
|
|
19072
|
-
return mergeDefaults2(value, rawInit);
|
|
19073
|
-
else if (type === "object" && !Array.isArray(value))
|
|
19074
|
-
return { ...rawInit, ...value };
|
|
19075
|
-
return value;
|
|
19076
|
-
} else if (typeof rawValue !== "string") {
|
|
19077
|
-
return rawValue;
|
|
19078
|
-
} else {
|
|
19079
|
-
return serializer.read(rawValue);
|
|
19080
|
-
}
|
|
19081
|
-
}
|
|
19082
|
-
function update2(event) {
|
|
19083
|
-
if (event && event.storageArea !== storage)
|
|
19084
|
-
return;
|
|
19085
|
-
if (event && event.key == null) {
|
|
19086
|
-
data.value = rawInit;
|
|
19087
|
-
return;
|
|
19088
|
-
}
|
|
19089
|
-
if (event && event.key !== key)
|
|
19090
|
-
return;
|
|
19091
|
-
pauseWatch();
|
|
19092
|
-
try {
|
|
19093
|
-
if ((event == null ? void 0 : event.newValue) !== serializer.write(data.value))
|
|
19094
|
-
data.value = read2(event);
|
|
19095
|
-
} catch (e2) {
|
|
19096
|
-
onError(e2);
|
|
19097
|
-
} finally {
|
|
19098
|
-
if (event)
|
|
19099
|
-
nextTick(resumeWatch);
|
|
19100
|
-
else
|
|
19101
|
-
resumeWatch();
|
|
19102
|
-
}
|
|
19103
|
-
}
|
|
19104
|
-
function updateFromCustomEvent(event) {
|
|
19105
|
-
update2(event.detail);
|
|
19106
|
-
}
|
|
19107
|
-
return data;
|
|
19108
|
-
}
|
|
19109
|
-
function useLocalStorage(key, initialValue, options = {}) {
|
|
19110
|
-
const { window: window2 = defaultWindow$2 } = options;
|
|
19111
|
-
return useStorage(key, initialValue, window2 == null ? void 0 : window2.localStorage, options);
|
|
19112
|
-
}
|
|
19113
|
-
function useWindowScroll(options = {}) {
|
|
19114
|
-
const { window: window2 = defaultWindow$2, behavior = "auto" } = options;
|
|
19115
|
-
if (!window2) {
|
|
19116
|
-
return {
|
|
19117
|
-
x: ref(0),
|
|
19118
|
-
y: ref(0)
|
|
19119
|
-
};
|
|
19120
|
-
}
|
|
19121
|
-
const internalX = ref(window2.scrollX);
|
|
19122
|
-
const internalY = ref(window2.scrollY);
|
|
19123
|
-
const x2 = computed({
|
|
19124
|
-
get() {
|
|
19125
|
-
return internalX.value;
|
|
19126
|
-
},
|
|
19127
|
-
set(x22) {
|
|
19128
|
-
scrollTo({ left: x22, behavior });
|
|
19129
|
-
}
|
|
19130
|
-
});
|
|
19131
|
-
const y3 = computed({
|
|
19132
|
-
get() {
|
|
19133
|
-
return internalY.value;
|
|
19134
|
-
},
|
|
19135
|
-
set(y22) {
|
|
19136
|
-
scrollTo({ top: y22, behavior });
|
|
19137
|
-
}
|
|
19138
|
-
});
|
|
19139
|
-
useEventListener$2(
|
|
19140
|
-
window2,
|
|
19141
|
-
"scroll",
|
|
19142
|
-
() => {
|
|
19143
|
-
internalX.value = window2.scrollX;
|
|
19144
|
-
internalY.value = window2.scrollY;
|
|
19145
|
-
},
|
|
19146
|
-
{
|
|
19147
|
-
capture: false,
|
|
19148
|
-
passive: true
|
|
19149
|
-
}
|
|
19150
|
-
);
|
|
19151
|
-
return { x: x2, y: y3 };
|
|
19152
|
-
}
|
|
19153
19210
|
const min = Math.min;
|
|
19154
19211
|
const max = Math.max;
|
|
19155
19212
|
const round = Math.round;
|
|
@@ -20880,8 +20937,8 @@ const _sfc_main$1A = {
|
|
|
20880
20937
|
}
|
|
20881
20938
|
};
|
|
20882
20939
|
const _hoisted_1$19 = { class: "w-100 position-relative cursor-pointer" };
|
|
20883
|
-
const _hoisted_2$
|
|
20884
|
-
const _hoisted_3$
|
|
20940
|
+
const _hoisted_2$S = ["placeholder"];
|
|
20941
|
+
const _hoisted_3$B = {
|
|
20885
20942
|
key: 1,
|
|
20886
20943
|
class: "flex-1 input-placeholder"
|
|
20887
20944
|
};
|
|
@@ -20994,11 +21051,16 @@ const _sfc_main$1z = {
|
|
|
20994
21051
|
const onDeleteInput = () => {
|
|
20995
21052
|
modelValue.value = null;
|
|
20996
21053
|
};
|
|
20997
|
-
|
|
20998
|
-
|
|
20999
|
-
|
|
21000
|
-
|
|
21001
|
-
|
|
21054
|
+
useClickOutside({
|
|
21055
|
+
target: grid,
|
|
21056
|
+
handler: () => {
|
|
21057
|
+
if (!showGrid.value) {
|
|
21058
|
+
return;
|
|
21059
|
+
}
|
|
21060
|
+
close2();
|
|
21061
|
+
},
|
|
21062
|
+
isOpen: showGrid,
|
|
21063
|
+
ignore: [input, searchField]
|
|
21002
21064
|
});
|
|
21003
21065
|
const inputClass = computed(() => ({
|
|
21004
21066
|
"w-100 form-control": true,
|
|
@@ -21061,7 +21123,7 @@ const _sfc_main$1z = {
|
|
|
21061
21123
|
class: "mb-0 no-hover flex-1 form-control",
|
|
21062
21124
|
placeholder: props2.placeholder,
|
|
21063
21125
|
onKeyup: withKeys(onKeyEnter, ["enter"])
|
|
21064
|
-
}, null, 40, _hoisted_2$
|
|
21126
|
+
}, null, 40, _hoisted_2$S)), [
|
|
21065
21127
|
[vModelText, searchValue.value]
|
|
21066
21128
|
]) : (openBlock(), createElementBlock("div", {
|
|
21067
21129
|
key: 1,
|
|
@@ -21071,7 +21133,7 @@ const _sfc_main$1z = {
|
|
|
21071
21133
|
renderSlot(_ctx.$slots, "default", { item: modelValue.value }, () => [
|
|
21072
21134
|
modelValue.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
21073
21135
|
createTextVNode(toDisplayString(getDisplayValue2(modelValue.value)), 1)
|
|
21074
|
-
], 64)) : (openBlock(), createElementBlock("span", _hoisted_3$
|
|
21136
|
+
], 64)) : (openBlock(), createElementBlock("span", _hoisted_3$B, toDisplayString(props2.placeholder), 1))
|
|
21075
21137
|
], true)
|
|
21076
21138
|
], 2)),
|
|
21077
21139
|
modelValue.value && __props.showRemoveButtons ? (openBlock(), createElementBlock("div", _hoisted_4$s, [
|
|
@@ -21125,7 +21187,7 @@ const _sfc_main$1z = {
|
|
|
21125
21187
|
};
|
|
21126
21188
|
}
|
|
21127
21189
|
};
|
|
21128
|
-
const AppGridPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-
|
|
21190
|
+
const AppGridPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-12dbbc29"]]);
|
|
21129
21191
|
const EMIT_SUB_HOUR = "sub-hour";
|
|
21130
21192
|
const EMIT_NOW = "now";
|
|
21131
21193
|
const EMIT_ADD_HOUR = "add-hour";
|
|
@@ -21156,11 +21218,11 @@ const _hoisted_1$18 = {
|
|
|
21156
21218
|
class: "display-block w-100",
|
|
21157
21219
|
style: {}
|
|
21158
21220
|
};
|
|
21159
|
-
const _hoisted_2$
|
|
21221
|
+
const _hoisted_2$R = {
|
|
21160
21222
|
key: 0,
|
|
21161
21223
|
class: "ml-10"
|
|
21162
21224
|
};
|
|
21163
|
-
const _hoisted_3$
|
|
21225
|
+
const _hoisted_3$A = {
|
|
21164
21226
|
key: 1,
|
|
21165
21227
|
class: "flex-center-vertical ml-5 mr-5 time-picker-icon"
|
|
21166
21228
|
};
|
|
@@ -21329,14 +21391,14 @@ const _sfc_main$1x = {
|
|
|
21329
21391
|
class: "app-grid-picker-minute app-form-group-element flex-grow-1",
|
|
21330
21392
|
"display-by": "value"
|
|
21331
21393
|
}, null, 8, ["modelValue", "disabled", "options"]),
|
|
21332
|
-
_ctx.showEasyButtons && !_ctx.disabled ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
21394
|
+
_ctx.showEasyButtons && !_ctx.disabled ? (openBlock(), createElementBlock("div", _hoisted_2$R, [
|
|
21333
21395
|
createVNode(_sfc_main$1y, {
|
|
21334
21396
|
onAddHour,
|
|
21335
21397
|
onSubHour,
|
|
21336
21398
|
onNow: onSelectNow
|
|
21337
21399
|
})
|
|
21338
21400
|
])) : createCommentVNode("", true),
|
|
21339
|
-
!_ctx.disabled && __props.isClearable && modelValue.value ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
21401
|
+
!_ctx.disabled && __props.isClearable && modelValue.value ? (openBlock(), createElementBlock("div", _hoisted_3$A, [
|
|
21340
21402
|
withDirectives(createElementVNode("i", {
|
|
21341
21403
|
class: "ph-x-circle app-cross-icon",
|
|
21342
21404
|
onClick: withModifiers(reset2, ["stop"])
|
|
@@ -21613,8 +21675,8 @@ __publicField(_DateUtils, "isOlderThan", (timestamp, minutes) => {
|
|
|
21613
21675
|
});
|
|
21614
21676
|
let DateUtils = _DateUtils;
|
|
21615
21677
|
const _hoisted_1$17 = { class: "flex-center-vertical w-100" };
|
|
21616
|
-
const _hoisted_2$
|
|
21617
|
-
const _hoisted_3$
|
|
21678
|
+
const _hoisted_2$Q = { class: "app-form-group-element flex-grow-1 mr-5" };
|
|
21679
|
+
const _hoisted_3$z = { class: "app-form-group-element flex-grow-1" };
|
|
21618
21680
|
const _hoisted_4$r = {
|
|
21619
21681
|
key: 0,
|
|
21620
21682
|
class: "easy-buttons"
|
|
@@ -21768,7 +21830,7 @@ const _sfc_main$1w = {
|
|
|
21768
21830
|
]),
|
|
21769
21831
|
default: withCtx(() => [
|
|
21770
21832
|
createElementVNode("div", _hoisted_1$17, [
|
|
21771
|
-
createElementVNode("div", _hoisted_2$
|
|
21833
|
+
createElementVNode("div", _hoisted_2$Q, [
|
|
21772
21834
|
createVNode(_sfc_main$1F, {
|
|
21773
21835
|
modelValue: localDate.value,
|
|
21774
21836
|
"onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) => localDate.value = $event),
|
|
@@ -21778,7 +21840,7 @@ const _sfc_main$1w = {
|
|
|
21778
21840
|
"input-only": true
|
|
21779
21841
|
}, null, 8, ["modelValue", "disabled", "show-day-of-week"])
|
|
21780
21842
|
]),
|
|
21781
|
-
createElementVNode("div", _hoisted_3$
|
|
21843
|
+
createElementVNode("div", _hoisted_3$z, [
|
|
21782
21844
|
createVNode(AppTimePicker, {
|
|
21783
21845
|
ref: "timePicker",
|
|
21784
21846
|
modelValue: localTime.value,
|
|
@@ -21942,8 +22004,8 @@ var IconCaretUpFilled = createVueComponent("filled", "caret-up-filled", "IconCar
|
|
|
21942
22004
|
*/
|
|
21943
22005
|
var IconSquareCheckFilled = createVueComponent("filled", "square-check-filled", "IconSquareCheckFilled", [["path", { "d": "M18.333 2c1.96 0 3.56 1.537 3.662 3.472l.005 .195v12.666c0 1.96 -1.537 3.56 -3.472 3.662l-.195 .005h-12.666a3.667 3.667 0 0 1 -3.662 -3.472l-.005 -.195v-12.666c0 -1.96 1.537 -3.56 3.472 -3.662l.195 -.005h12.666zm-2.626 7.293a1 1 0 0 0 -1.414 0l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.32 1.497l2 2l.094 .083a1 1 0 0 0 1.32 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z", "key": "svg-0" }]]);
|
|
21944
22006
|
const _hoisted_1$16 = { class: "display-flex-column h-100" };
|
|
21945
|
-
const _hoisted_2$
|
|
21946
|
-
const _hoisted_3$
|
|
22007
|
+
const _hoisted_2$P = { class: "flex-center-vertical w-100 p-3" };
|
|
22008
|
+
const _hoisted_3$y = { class: "flex-1" };
|
|
21947
22009
|
const _hoisted_4$q = { class: "font-600 text-size-14" };
|
|
21948
22010
|
const _hoisted_5$k = { class: "p-20 flex-1 w-100" };
|
|
21949
22011
|
const _sfc_main$1v = {
|
|
@@ -21993,8 +22055,8 @@ const _sfc_main$1v = {
|
|
|
21993
22055
|
style: normalizeStyle(drawerStyle.value)
|
|
21994
22056
|
}, [
|
|
21995
22057
|
createElementVNode("div", _hoisted_1$16, [
|
|
21996
|
-
createElementVNode("div", _hoisted_2$
|
|
21997
|
-
createElementVNode("div", _hoisted_3$
|
|
22058
|
+
createElementVNode("div", _hoisted_2$P, [
|
|
22059
|
+
createElementVNode("div", _hoisted_3$y, [
|
|
21998
22060
|
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
21999
22061
|
createElementVNode("div", _hoisted_4$q, toDisplayString(__props.title), 1)
|
|
22000
22062
|
], true)
|
|
@@ -22018,8 +22080,8 @@ const _sfc_main$1v = {
|
|
|
22018
22080
|
};
|
|
22019
22081
|
const AppDrawer = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["__scopeId", "data-v-15e2a1ca"]]);
|
|
22020
22082
|
const _hoisted_1$15 = { class: "display-flex-column h-100" };
|
|
22021
|
-
const _hoisted_2$
|
|
22022
|
-
const _hoisted_3$
|
|
22083
|
+
const _hoisted_2$O = { class: "flex-center-vertical pr-20 pl-20 w-100 mt-15" };
|
|
22084
|
+
const _hoisted_3$x = { class: "flex-1 mb-10" };
|
|
22023
22085
|
const _hoisted_4$p = { class: "mb-0" };
|
|
22024
22086
|
const _hoisted_5$j = { class: "p-20 flex-1 w-100" };
|
|
22025
22087
|
const _hoisted_6$c = { class: "flex-center p-10 w-100 gap-1" };
|
|
@@ -22082,8 +22144,8 @@ const _sfc_main$1u = {
|
|
|
22082
22144
|
class: normalizeClass(["filter-sidebar", { active: isExpanded.value }])
|
|
22083
22145
|
}, [
|
|
22084
22146
|
createElementVNode("div", _hoisted_1$15, [
|
|
22085
|
-
createElementVNode("div", _hoisted_2$
|
|
22086
|
-
createElementVNode("div", _hoisted_3$
|
|
22147
|
+
createElementVNode("div", _hoisted_2$O, [
|
|
22148
|
+
createElementVNode("div", _hoisted_3$x, [
|
|
22087
22149
|
createElementVNode("h4", _hoisted_4$p, toDisplayString(__props.title), 1)
|
|
22088
22150
|
]),
|
|
22089
22151
|
createElementVNode("i", {
|
|
@@ -22580,6 +22642,10 @@ const _sfc_main$1t = {
|
|
|
22580
22642
|
}
|
|
22581
22643
|
};
|
|
22582
22644
|
const _hoisted_1$14 = {
|
|
22645
|
+
class: "app-modal-overlay",
|
|
22646
|
+
style: { "z-index": "99999" }
|
|
22647
|
+
};
|
|
22648
|
+
const _hoisted_2$N = {
|
|
22583
22649
|
"aria-modal": "true",
|
|
22584
22650
|
class: "modal fade show display-block",
|
|
22585
22651
|
tabindex: "-1"
|
|
@@ -22620,17 +22686,13 @@ const _sfc_main$1s = {
|
|
|
22620
22686
|
const props2 = __props;
|
|
22621
22687
|
const emits = __emit;
|
|
22622
22688
|
const modal = useTemplateRef("modal");
|
|
22623
|
-
const overlay = useTemplateRef("overlay");
|
|
22624
22689
|
const show2 = () => {
|
|
22625
22690
|
emits("show");
|
|
22626
22691
|
isVisible.value = true;
|
|
22627
22692
|
};
|
|
22628
22693
|
const hide3 = () => {
|
|
22629
|
-
|
|
22630
|
-
|
|
22631
|
-
emits("hide");
|
|
22632
|
-
isVisible.value = false;
|
|
22633
|
-
}
|
|
22694
|
+
emits("hide");
|
|
22695
|
+
isVisible.value = false;
|
|
22634
22696
|
};
|
|
22635
22697
|
let isFullyRendered = false;
|
|
22636
22698
|
watch(isVisible, async (newValue) => {
|
|
@@ -22640,8 +22702,14 @@ const _sfc_main$1s = {
|
|
|
22640
22702
|
isFullyRendered = true;
|
|
22641
22703
|
}
|
|
22642
22704
|
});
|
|
22643
|
-
|
|
22644
|
-
|
|
22705
|
+
const { isTopPopup } = useClickOutside({
|
|
22706
|
+
target: modal,
|
|
22707
|
+
handler: () => {
|
|
22708
|
+
if (isFullyRendered && isVisible.value && props2.clickToClose) {
|
|
22709
|
+
hide3();
|
|
22710
|
+
}
|
|
22711
|
+
},
|
|
22712
|
+
isOpen: isVisible
|
|
22645
22713
|
});
|
|
22646
22714
|
const modalStyle = computed(() => {
|
|
22647
22715
|
const width = props2.modalWidthValue ?? props2.width;
|
|
@@ -22667,20 +22735,8 @@ const _sfc_main$1s = {
|
|
|
22667
22735
|
document.body.style.overflow = "";
|
|
22668
22736
|
document.body.style.paddingRight = "";
|
|
22669
22737
|
}
|
|
22670
|
-
function isElementVisible(element) {
|
|
22671
|
-
if (!element) {
|
|
22672
|
-
return false;
|
|
22673
|
-
}
|
|
22674
|
-
const style = window.getComputedStyle(element);
|
|
22675
|
-
return style.display !== "none" && style.visibility !== "hidden" && style.opacity !== "0";
|
|
22676
|
-
}
|
|
22677
|
-
function getHighestOverlay() {
|
|
22678
|
-
const overlays = Array.from(document.querySelectorAll(".app-modal-overlay"));
|
|
22679
|
-
const visibleOverlays = overlays.filter(isElementVisible);
|
|
22680
|
-
return visibleOverlays.length ? visibleOverlays.pop() : null;
|
|
22681
|
-
}
|
|
22682
22738
|
function onKeydown(event) {
|
|
22683
|
-
if (event.key !== "Escape" || !isVisible.value) {
|
|
22739
|
+
if (event.key !== "Escape" || !isVisible.value || !isTopPopup.value) {
|
|
22684
22740
|
return;
|
|
22685
22741
|
}
|
|
22686
22742
|
event.preventDefault();
|
|
@@ -22700,13 +22756,8 @@ const _sfc_main$1s = {
|
|
|
22700
22756
|
return (_ctx, _cache2) => {
|
|
22701
22757
|
return openBlock(), createBlock(Transition, { name: "fadeHeight" }, {
|
|
22702
22758
|
default: withCtx(() => [
|
|
22703
|
-
withDirectives(createElementVNode("div",
|
|
22704
|
-
|
|
22705
|
-
ref: overlay,
|
|
22706
|
-
class: "app-modal-overlay",
|
|
22707
|
-
style: { "z-index": "99999" }
|
|
22708
|
-
}, [
|
|
22709
|
-
createElementVNode("div", _hoisted_1$14, [
|
|
22759
|
+
withDirectives(createElementVNode("div", _hoisted_1$14, [
|
|
22760
|
+
createElementVNode("div", _hoisted_2$N, [
|
|
22710
22761
|
createElementVNode("div", {
|
|
22711
22762
|
ref_key: "modal",
|
|
22712
22763
|
ref: modal,
|
|
@@ -22730,10 +22781,10 @@ const _sfc_main$1s = {
|
|
|
22730
22781
|
};
|
|
22731
22782
|
}
|
|
22732
22783
|
};
|
|
22733
|
-
const AppModal = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__scopeId", "data-v-
|
|
22784
|
+
const AppModal = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__scopeId", "data-v-4065aede"]]);
|
|
22734
22785
|
const _hoisted_1$13 = { class: "app-alert-modal rounded-3 shadow p-3" };
|
|
22735
22786
|
const _hoisted_2$M = { class: "mb-2 fw-semibold" };
|
|
22736
|
-
const _hoisted_3$
|
|
22787
|
+
const _hoisted_3$w = ["innerHTML"];
|
|
22737
22788
|
const _hoisted_4$o = {
|
|
22738
22789
|
key: 1,
|
|
22739
22790
|
class: "mb-0 app-alert-modal-text"
|
|
@@ -22818,7 +22869,7 @@ const _sfc_main$1r = {
|
|
|
22818
22869
|
key: 0,
|
|
22819
22870
|
class: "app-alert-modal-text",
|
|
22820
22871
|
innerHTML: __props.text
|
|
22821
|
-
}, null, 8, _hoisted_3$
|
|
22872
|
+
}, null, 8, _hoisted_3$w)) : (openBlock(), createElementBlock("p", _hoisted_4$o, toDisplayString(__props.text), 1))
|
|
22822
22873
|
]),
|
|
22823
22874
|
createElementVNode("div", _hoisted_5$i, [
|
|
22824
22875
|
__props.showCancelButton ? (openBlock(), createBlock(_sfc_main$1L, {
|
|
@@ -26049,7 +26100,7 @@ const fileStatus = {
|
|
|
26049
26100
|
};
|
|
26050
26101
|
const _hoisted_1$11 = { class: "flex-center-vertical" };
|
|
26051
26102
|
const _hoisted_2$L = { key: 0 };
|
|
26052
|
-
const _hoisted_3$
|
|
26103
|
+
const _hoisted_3$v = {
|
|
26053
26104
|
key: 1,
|
|
26054
26105
|
class: "file-action-button flex-1 mr-10"
|
|
26055
26106
|
};
|
|
@@ -26102,7 +26153,7 @@ const _sfc_main$1o = {
|
|
|
26102
26153
|
style: { "font-size": "22px" }
|
|
26103
26154
|
}, null, 2),
|
|
26104
26155
|
__props.file ? (openBlock(), createElementBlock("div", _hoisted_2$L, toDisplayString(filename.value), 1)) : createCommentVNode("", true),
|
|
26105
|
-
__props.file ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
26156
|
+
__props.file ? (openBlock(), createElementBlock("div", _hoisted_3$v, [
|
|
26106
26157
|
props2.showPreview ? (openBlock(), createElementBlock("div", {
|
|
26107
26158
|
key: 0,
|
|
26108
26159
|
class: "ml-5 mr-5 action-icon",
|
|
@@ -26141,7 +26192,7 @@ const _hoisted_2$K = {
|
|
|
26141
26192
|
key: 0,
|
|
26142
26193
|
class: "flex-1"
|
|
26143
26194
|
};
|
|
26144
|
-
const _hoisted_3$
|
|
26195
|
+
const _hoisted_3$u = {
|
|
26145
26196
|
key: 1,
|
|
26146
26197
|
class: "flex-1"
|
|
26147
26198
|
};
|
|
@@ -26227,7 +26278,7 @@ const _sfc_main$1n = {
|
|
|
26227
26278
|
onPreview: () => emits("preview", file)
|
|
26228
26279
|
}, null, 8, ["file", "disabled", "show-preview", "show-download", "onRemove", "onDownload", "onPreview"]);
|
|
26229
26280
|
}), 128))
|
|
26230
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
26281
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_3$u, toDisplayString(__props.disabled ? "Nu a fost ales niciun fișier." : "Alegeți un fișier."), 1)),
|
|
26231
26282
|
createElementVNode("div", _hoisted_4$m, [
|
|
26232
26283
|
!__props.disabled ? (openBlock(), createElementBlock("div", {
|
|
26233
26284
|
key: 0,
|
|
@@ -26428,7 +26479,7 @@ const _sfc_main$1k = {
|
|
|
26428
26479
|
};
|
|
26429
26480
|
const _hoisted_1$Y = { class: "display-flex align-items-center" };
|
|
26430
26481
|
const _hoisted_2$I = { class: "display-flex pl-10" };
|
|
26431
|
-
const _hoisted_3$
|
|
26482
|
+
const _hoisted_3$t = {
|
|
26432
26483
|
key: 1,
|
|
26433
26484
|
class: "card list app-form-repeater-list'"
|
|
26434
26485
|
};
|
|
@@ -26573,7 +26624,7 @@ const _sfc_main$1j = {
|
|
|
26573
26624
|
renderSlot(_ctx.$slots, "content", normalizeProps(guardReactiveProps({ index, element, removeItemAtIndex })))
|
|
26574
26625
|
]),
|
|
26575
26626
|
_: 2
|
|
26576
|
-
}, 1032, ["can-collapse", "is-collapsed", "onIsCollapsedChanged"])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
26627
|
+
}, 1032, ["can-collapse", "is-collapsed", "onIsCollapsedChanged"])) : (openBlock(), createElementBlock("div", _hoisted_3$t, [
|
|
26577
26628
|
createElementVNode("div", _hoisted_4$l, [
|
|
26578
26629
|
createElementVNode("div", _hoisted_5$f, [
|
|
26579
26630
|
!__props.disabled && __props.isDraggable ? (openBlock(), createBlock(unref(IconMenu2), {
|
|
@@ -27869,7 +27920,7 @@ const _sfc_main$1i = {
|
|
|
27869
27920
|
};
|
|
27870
27921
|
const _hoisted_1$X = { class: "card card-table table-responsive shadow-0 mb-20 overflow-hidden" };
|
|
27871
27922
|
const _hoisted_2$H = { class: "table table-bordered" };
|
|
27872
|
-
const _hoisted_3$
|
|
27923
|
+
const _hoisted_3$s = ["onClick"];
|
|
27873
27924
|
function _sfc_render$1(_ctx, _cache2, $props, $setup, $data, $options) {
|
|
27874
27925
|
return openBlock(), createElementBlock("div", _hoisted_1$X, [
|
|
27875
27926
|
createElementVNode("table", _hoisted_2$H, [
|
|
@@ -27892,7 +27943,7 @@ function _sfc_render$1(_ctx, _cache2, $props, $setup, $data, $options) {
|
|
|
27892
27943
|
class: normalizeClass($setup.tdClass(colorShade)),
|
|
27893
27944
|
style: normalizeStyle($setup.cellStyle(colorShade)),
|
|
27894
27945
|
onClick: ($event) => $setup.selectColor(colorShade)
|
|
27895
|
-
}, null, 14, _hoisted_3$
|
|
27946
|
+
}, null, 14, _hoisted_3$s);
|
|
27896
27947
|
}), 256))
|
|
27897
27948
|
]);
|
|
27898
27949
|
}), 128))
|
|
@@ -27906,7 +27957,7 @@ const _hoisted_2$G = {
|
|
|
27906
27957
|
key: 0,
|
|
27907
27958
|
class: "app-number-spinners"
|
|
27908
27959
|
};
|
|
27909
|
-
const _hoisted_3$
|
|
27960
|
+
const _hoisted_3$r = { class: "form-control-feedback-icon" };
|
|
27910
27961
|
const _sfc_main$1h = {
|
|
27911
27962
|
__name: "AppInput",
|
|
27912
27963
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -28019,7 +28070,7 @@ const _sfc_main$1h = {
|
|
|
28019
28070
|
key: 1,
|
|
28020
28071
|
class: normalizeClass(["form-control-feedback", "form-control-feedback-end", { "has-spinners-clear-icon": __props.type === "number" }])
|
|
28021
28072
|
}, [
|
|
28022
|
-
createElementVNode("div", _hoisted_3$
|
|
28073
|
+
createElementVNode("div", _hoisted_3$r, [
|
|
28023
28074
|
withDirectives(createElementVNode("i", {
|
|
28024
28075
|
class: "ph-x-circle app-cross-icon",
|
|
28025
28076
|
onClick: withModifiers(clearOptions, ["stop"])
|
|
@@ -28571,7 +28622,7 @@ const _sfc_main$1a = {
|
|
|
28571
28622
|
};
|
|
28572
28623
|
const _hoisted_1$Q = { class: "row" };
|
|
28573
28624
|
const _hoisted_2$E = { class: "col-lg-12" };
|
|
28574
|
-
const _hoisted_3$
|
|
28625
|
+
const _hoisted_3$q = { class: "card card-white animated fadeIn" };
|
|
28575
28626
|
const _hoisted_4$k = { class: "card-header" };
|
|
28576
28627
|
const _hoisted_5$e = { class: "card-body" };
|
|
28577
28628
|
const _sfc_main$19 = {
|
|
@@ -28580,7 +28631,7 @@ const _sfc_main$19 = {
|
|
|
28580
28631
|
return (_ctx, _cache2) => {
|
|
28581
28632
|
return openBlock(), createElementBlock("div", _hoisted_1$Q, [
|
|
28582
28633
|
createElementVNode("div", _hoisted_2$E, [
|
|
28583
|
-
createElementVNode("div", _hoisted_3$
|
|
28634
|
+
createElementVNode("div", _hoisted_3$q, [
|
|
28584
28635
|
createElementVNode("div", _hoisted_4$k, [
|
|
28585
28636
|
createVNode(_sfc_main$1b, {
|
|
28586
28637
|
img: true,
|
|
@@ -28780,7 +28831,7 @@ function useModelWatch({ props: props2, emits, propName = "modelValue", onDataCh
|
|
|
28780
28831
|
}
|
|
28781
28832
|
const _hoisted_1$P = ["tabindex"];
|
|
28782
28833
|
const _hoisted_2$D = ["tabindex"];
|
|
28783
|
-
const _hoisted_3$
|
|
28834
|
+
const _hoisted_3$p = ["tabindex"];
|
|
28784
28835
|
const _hoisted_4$j = ["onClick", "onKeyup"];
|
|
28785
28836
|
const _hoisted_5$d = ["tabindex"];
|
|
28786
28837
|
const _hoisted_6$9 = ["tabindex"];
|
|
@@ -28952,7 +29003,7 @@ const _sfc_main$17 = {
|
|
|
28952
29003
|
tabindex: firstPageSelected() ? -1 : 0,
|
|
28953
29004
|
onClick: _cache2[4] || (_cache2[4] = ($event) => prevPage()),
|
|
28954
29005
|
onKeyup: _cache2[5] || (_cache2[5] = withKeys(($event) => prevPage(), ["enter"]))
|
|
28955
|
-
}, toDisplayString(_ctx.prevText), 43, _hoisted_3$
|
|
29006
|
+
}, toDisplayString(_ctx.prevText), 43, _hoisted_3$p))
|
|
28956
29007
|
], 2)) : createCommentVNode("", true),
|
|
28957
29008
|
(openBlock(true), createElementBlock(Fragment, null, renderList(pages.value, (page) => {
|
|
28958
29009
|
return openBlock(), createElementBlock("li", {
|
|
@@ -29018,7 +29069,7 @@ const _sfc_main$17 = {
|
|
|
29018
29069
|
};
|
|
29019
29070
|
const _hoisted_1$O = { class: "pagination-info-label" };
|
|
29020
29071
|
const _hoisted_2$C = { class: "text-muted d-none d-lg-block d-xl-block" };
|
|
29021
|
-
const _hoisted_3$
|
|
29072
|
+
const _hoisted_3$o = { key: 0 };
|
|
29022
29073
|
const _hoisted_4$i = { key: 1 };
|
|
29023
29074
|
const _sfc_main$16 = {
|
|
29024
29075
|
__name: "AppPaginationInfo",
|
|
@@ -29043,7 +29094,7 @@ const _sfc_main$16 = {
|
|
|
29043
29094
|
createElementVNode("div", _hoisted_1$O, [
|
|
29044
29095
|
createElementVNode("span", _hoisted_2$C, [
|
|
29045
29096
|
createTextVNode(toDisplayString(`Inregistrari vizibile: ${props2.modelValue.from || 0} - ${props2.modelValue.to || 0}`) + " ", 1),
|
|
29046
|
-
props2.modelValue.total ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
29097
|
+
props2.modelValue.total ? (openBlock(), createElementBlock("span", _hoisted_3$o, toDisplayString(` din ${props2.modelValue.total}`), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$i, toDisplayString(` (total negenerat)`)))
|
|
29047
29098
|
])
|
|
29048
29099
|
]),
|
|
29049
29100
|
__props.canTogglePagination ? (openBlock(), createBlock(_sfc_main$1L, {
|
|
@@ -29211,227 +29262,6 @@ function useSelectNew(modelValue, config) {
|
|
|
29211
29262
|
provide(SelectNewSymbol, api);
|
|
29212
29263
|
return api;
|
|
29213
29264
|
}
|
|
29214
|
-
function unrefElement$1(elRef) {
|
|
29215
|
-
var _a2;
|
|
29216
|
-
const plain = toValue$1(elRef);
|
|
29217
|
-
return (_a2 = plain == null ? void 0 : plain.$el) != null ? _a2 : plain;
|
|
29218
|
-
}
|
|
29219
|
-
const defaultWindow$1 = isClient$1 ? window : void 0;
|
|
29220
|
-
function useEventListener$1(...args) {
|
|
29221
|
-
let target;
|
|
29222
|
-
let events2;
|
|
29223
|
-
let listeners;
|
|
29224
|
-
let options;
|
|
29225
|
-
if (typeof args[0] === "string" || Array.isArray(args[0])) {
|
|
29226
|
-
[events2, listeners, options] = args;
|
|
29227
|
-
target = defaultWindow$1;
|
|
29228
|
-
} else {
|
|
29229
|
-
[target, events2, listeners, options] = args;
|
|
29230
|
-
}
|
|
29231
|
-
if (!target)
|
|
29232
|
-
return noop$2;
|
|
29233
|
-
if (!Array.isArray(events2))
|
|
29234
|
-
events2 = [events2];
|
|
29235
|
-
if (!Array.isArray(listeners))
|
|
29236
|
-
listeners = [listeners];
|
|
29237
|
-
const cleanups = [];
|
|
29238
|
-
const cleanup = () => {
|
|
29239
|
-
cleanups.forEach((fn7) => fn7());
|
|
29240
|
-
cleanups.length = 0;
|
|
29241
|
-
};
|
|
29242
|
-
const register = (el, event, listener, options2) => {
|
|
29243
|
-
el.addEventListener(event, listener, options2);
|
|
29244
|
-
return () => el.removeEventListener(event, listener, options2);
|
|
29245
|
-
};
|
|
29246
|
-
const stopWatch = watch(
|
|
29247
|
-
() => [unrefElement$1(target), toValue$1(options)],
|
|
29248
|
-
([el, options2]) => {
|
|
29249
|
-
cleanup();
|
|
29250
|
-
if (!el)
|
|
29251
|
-
return;
|
|
29252
|
-
const optionsClone = isObject$4(options2) ? { ...options2 } : options2;
|
|
29253
|
-
cleanups.push(
|
|
29254
|
-
...events2.flatMap((event) => {
|
|
29255
|
-
return listeners.map((listener) => register(el, event, listener, optionsClone));
|
|
29256
|
-
})
|
|
29257
|
-
);
|
|
29258
|
-
},
|
|
29259
|
-
{ immediate: true, flush: "post" }
|
|
29260
|
-
);
|
|
29261
|
-
const stop2 = () => {
|
|
29262
|
-
stopWatch();
|
|
29263
|
-
cleanup();
|
|
29264
|
-
};
|
|
29265
|
-
tryOnScopeDispose(stop2);
|
|
29266
|
-
return stop2;
|
|
29267
|
-
}
|
|
29268
|
-
let _iOSWorkaround = false;
|
|
29269
|
-
function onClickOutside$1(target, handler, options = {}) {
|
|
29270
|
-
const { window: window2 = defaultWindow$1, ignore = [], capture = true, detectIframe = false } = options;
|
|
29271
|
-
if (!window2)
|
|
29272
|
-
return noop$2;
|
|
29273
|
-
if (isIOS && !_iOSWorkaround) {
|
|
29274
|
-
_iOSWorkaround = true;
|
|
29275
|
-
Array.from(window2.document.body.children).forEach((el) => el.addEventListener("click", noop$2));
|
|
29276
|
-
window2.document.documentElement.addEventListener("click", noop$2);
|
|
29277
|
-
}
|
|
29278
|
-
let shouldListen = true;
|
|
29279
|
-
const shouldIgnore = (event) => {
|
|
29280
|
-
return ignore.some((target2) => {
|
|
29281
|
-
if (typeof target2 === "string") {
|
|
29282
|
-
return Array.from(window2.document.querySelectorAll(target2)).some((el) => el === event.target || event.composedPath().includes(el));
|
|
29283
|
-
} else {
|
|
29284
|
-
const el = unrefElement$1(target2);
|
|
29285
|
-
return el && (event.target === el || event.composedPath().includes(el));
|
|
29286
|
-
}
|
|
29287
|
-
});
|
|
29288
|
-
};
|
|
29289
|
-
const listener = (event) => {
|
|
29290
|
-
const el = unrefElement$1(target);
|
|
29291
|
-
if (!el || el === event.target || event.composedPath().includes(el))
|
|
29292
|
-
return;
|
|
29293
|
-
if (event.detail === 0)
|
|
29294
|
-
shouldListen = !shouldIgnore(event);
|
|
29295
|
-
if (!shouldListen) {
|
|
29296
|
-
shouldListen = true;
|
|
29297
|
-
return;
|
|
29298
|
-
}
|
|
29299
|
-
handler(event);
|
|
29300
|
-
};
|
|
29301
|
-
const cleanup = [
|
|
29302
|
-
useEventListener$1(window2, "click", listener, { passive: true, capture }),
|
|
29303
|
-
useEventListener$1(window2, "pointerdown", (e2) => {
|
|
29304
|
-
const el = unrefElement$1(target);
|
|
29305
|
-
shouldListen = !shouldIgnore(e2) && !!(el && !e2.composedPath().includes(el));
|
|
29306
|
-
}, { passive: true }),
|
|
29307
|
-
detectIframe && useEventListener$1(window2, "blur", (event) => {
|
|
29308
|
-
setTimeout(() => {
|
|
29309
|
-
var _a2;
|
|
29310
|
-
const el = unrefElement$1(target);
|
|
29311
|
-
if (((_a2 = window2.document.activeElement) == null ? void 0 : _a2.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(window2.document.activeElement))) {
|
|
29312
|
-
handler(event);
|
|
29313
|
-
}
|
|
29314
|
-
}, 0);
|
|
29315
|
-
})
|
|
29316
|
-
].filter(Boolean);
|
|
29317
|
-
const stop2 = () => cleanup.forEach((fn7) => fn7());
|
|
29318
|
-
return stop2;
|
|
29319
|
-
}
|
|
29320
|
-
const vOnClickOutside = {
|
|
29321
|
-
[directiveHooks.mounted](el, binding) {
|
|
29322
|
-
const capture = !binding.modifiers.bubble;
|
|
29323
|
-
if (typeof binding.value === "function") {
|
|
29324
|
-
el.__onClickOutside_stop = onClickOutside$1(el, binding.value, { capture });
|
|
29325
|
-
} else {
|
|
29326
|
-
const [handler, options] = binding.value;
|
|
29327
|
-
el.__onClickOutside_stop = onClickOutside$1(el, handler, Object.assign({ capture }, options));
|
|
29328
|
-
}
|
|
29329
|
-
},
|
|
29330
|
-
[directiveHooks.unmounted](el) {
|
|
29331
|
-
el.__onClickOutside_stop();
|
|
29332
|
-
}
|
|
29333
|
-
};
|
|
29334
|
-
function resolveElement(el) {
|
|
29335
|
-
if (typeof Window !== "undefined" && el instanceof Window)
|
|
29336
|
-
return el.document.documentElement;
|
|
29337
|
-
if (typeof Document !== "undefined" && el instanceof Document)
|
|
29338
|
-
return el.documentElement;
|
|
29339
|
-
return el;
|
|
29340
|
-
}
|
|
29341
|
-
function checkOverflowScroll(ele) {
|
|
29342
|
-
const style = window.getComputedStyle(ele);
|
|
29343
|
-
if (style.overflowX === "scroll" || style.overflowY === "scroll" || style.overflowX === "auto" && ele.clientWidth < ele.scrollWidth || style.overflowY === "auto" && ele.clientHeight < ele.scrollHeight) {
|
|
29344
|
-
return true;
|
|
29345
|
-
} else {
|
|
29346
|
-
const parent = ele.parentNode;
|
|
29347
|
-
if (!parent || parent.tagName === "BODY")
|
|
29348
|
-
return false;
|
|
29349
|
-
return checkOverflowScroll(parent);
|
|
29350
|
-
}
|
|
29351
|
-
}
|
|
29352
|
-
function preventDefault(rawEvent) {
|
|
29353
|
-
const e2 = rawEvent || window.event;
|
|
29354
|
-
const _target = e2.target;
|
|
29355
|
-
if (checkOverflowScroll(_target))
|
|
29356
|
-
return false;
|
|
29357
|
-
if (e2.touches.length > 1)
|
|
29358
|
-
return true;
|
|
29359
|
-
if (e2.preventDefault)
|
|
29360
|
-
e2.preventDefault();
|
|
29361
|
-
return false;
|
|
29362
|
-
}
|
|
29363
|
-
const elInitialOverflow = /* @__PURE__ */ new WeakMap();
|
|
29364
|
-
function useScrollLock(element, initialState = false) {
|
|
29365
|
-
const isLocked = ref(initialState);
|
|
29366
|
-
let stopTouchMoveListener = null;
|
|
29367
|
-
let initialOverflow = "";
|
|
29368
|
-
watch(toRef(element), (el) => {
|
|
29369
|
-
const target = resolveElement(toValue$1(el));
|
|
29370
|
-
if (target) {
|
|
29371
|
-
const ele = target;
|
|
29372
|
-
if (!elInitialOverflow.get(ele))
|
|
29373
|
-
elInitialOverflow.set(ele, ele.style.overflow);
|
|
29374
|
-
if (ele.style.overflow !== "hidden")
|
|
29375
|
-
initialOverflow = ele.style.overflow;
|
|
29376
|
-
if (ele.style.overflow === "hidden")
|
|
29377
|
-
return isLocked.value = true;
|
|
29378
|
-
if (isLocked.value)
|
|
29379
|
-
return ele.style.overflow = "hidden";
|
|
29380
|
-
}
|
|
29381
|
-
}, {
|
|
29382
|
-
immediate: true
|
|
29383
|
-
});
|
|
29384
|
-
const lock = () => {
|
|
29385
|
-
const el = resolveElement(toValue$1(element));
|
|
29386
|
-
if (!el || isLocked.value)
|
|
29387
|
-
return;
|
|
29388
|
-
if (isIOS) {
|
|
29389
|
-
stopTouchMoveListener = useEventListener$1(
|
|
29390
|
-
el,
|
|
29391
|
-
"touchmove",
|
|
29392
|
-
(e2) => {
|
|
29393
|
-
preventDefault(e2);
|
|
29394
|
-
},
|
|
29395
|
-
{ passive: false }
|
|
29396
|
-
);
|
|
29397
|
-
}
|
|
29398
|
-
el.style.overflow = "hidden";
|
|
29399
|
-
isLocked.value = true;
|
|
29400
|
-
};
|
|
29401
|
-
const unlock = () => {
|
|
29402
|
-
const el = resolveElement(toValue$1(element));
|
|
29403
|
-
if (!el || !isLocked.value)
|
|
29404
|
-
return;
|
|
29405
|
-
isIOS && (stopTouchMoveListener == null ? void 0 : stopTouchMoveListener());
|
|
29406
|
-
el.style.overflow = initialOverflow;
|
|
29407
|
-
elInitialOverflow.delete(el);
|
|
29408
|
-
isLocked.value = false;
|
|
29409
|
-
};
|
|
29410
|
-
tryOnScopeDispose(unlock);
|
|
29411
|
-
return computed({
|
|
29412
|
-
get() {
|
|
29413
|
-
return isLocked.value;
|
|
29414
|
-
},
|
|
29415
|
-
set(v) {
|
|
29416
|
-
if (v)
|
|
29417
|
-
lock();
|
|
29418
|
-
else unlock();
|
|
29419
|
-
}
|
|
29420
|
-
});
|
|
29421
|
-
}
|
|
29422
|
-
function onScrollLock() {
|
|
29423
|
-
let isMounted = false;
|
|
29424
|
-
const state = ref(false);
|
|
29425
|
-
return (el, binding) => {
|
|
29426
|
-
state.value = binding.value;
|
|
29427
|
-
if (isMounted)
|
|
29428
|
-
return;
|
|
29429
|
-
isMounted = true;
|
|
29430
|
-
const isLocked = useScrollLock(el, binding.value);
|
|
29431
|
-
watch(state, (v) => isLocked.value = v);
|
|
29432
|
-
};
|
|
29433
|
-
}
|
|
29434
|
-
onScrollLock();
|
|
29435
29265
|
const _hoisted_1$N = { class: "select-item d-flex align-items-center my-auto" };
|
|
29436
29266
|
const _hoisted_2$B = { class: "select-item-text text-truncate" };
|
|
29437
29267
|
const _sfc_main$15 = {
|
|
@@ -29458,7 +29288,7 @@ const _hoisted_2$A = {
|
|
|
29458
29288
|
key: 0,
|
|
29459
29289
|
class: "px-3 py-2 text-muted"
|
|
29460
29290
|
};
|
|
29461
|
-
const _hoisted_3$
|
|
29291
|
+
const _hoisted_3$n = { key: 1 };
|
|
29462
29292
|
const _hoisted_4$h = ["aria-disabled", "aria-selected", "onMouseenter", "onClick"];
|
|
29463
29293
|
const _hoisted_5$c = { class: "overflow-hidden text-truncate mx-2" };
|
|
29464
29294
|
const _hoisted_6$8 = {
|
|
@@ -29469,6 +29299,7 @@ const _sfc_main$14 = {
|
|
|
29469
29299
|
__name: "AppSelectNewDropdown",
|
|
29470
29300
|
setup(__props) {
|
|
29471
29301
|
const { selectId, visibleOptions, isLoading, toggleOption, isOptionSelected, isDropdownOpen, isItemDisabled, closeDropdown, displayBy, activeIndex } = inject(SelectNewSymbol);
|
|
29302
|
+
const dropdown = ref(null);
|
|
29472
29303
|
const itemWrapperClass = (item, idx) => {
|
|
29473
29304
|
return {
|
|
29474
29305
|
"dropdown-item d-flex align-items-center gap-2 px-0": true,
|
|
@@ -29484,6 +29315,12 @@ const _sfc_main$14 = {
|
|
|
29484
29315
|
};
|
|
29485
29316
|
};
|
|
29486
29317
|
const getOptionLabel = (option) => lodashExports.isObject(option) ? lodashExports.get(option, displayBy.value, "") : option;
|
|
29318
|
+
useClickOutside({
|
|
29319
|
+
target: dropdown,
|
|
29320
|
+
handler: closeDropdown,
|
|
29321
|
+
isOpen: isDropdownOpen,
|
|
29322
|
+
ignore: [`#${selectId}`]
|
|
29323
|
+
});
|
|
29487
29324
|
watch(
|
|
29488
29325
|
isDropdownOpen,
|
|
29489
29326
|
(open3) => {
|
|
@@ -29491,12 +29328,14 @@ const _sfc_main$14 = {
|
|
|
29491
29328
|
{ immediate: true }
|
|
29492
29329
|
);
|
|
29493
29330
|
return (_ctx, _cache2) => {
|
|
29494
|
-
return
|
|
29331
|
+
return openBlock(), createElementBlock("div", {
|
|
29495
29332
|
id: unref(selectId),
|
|
29333
|
+
ref_key: "dropdown",
|
|
29334
|
+
ref: dropdown,
|
|
29496
29335
|
class: "multiselect-container dropdown-menu show select-dropdown",
|
|
29497
29336
|
role: "listbox"
|
|
29498
29337
|
}, [
|
|
29499
|
-
unref(isLoading) ? (openBlock(), createElementBlock("div", _hoisted_2$A, "Loading…")) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
29338
|
+
unref(isLoading) ? (openBlock(), createElementBlock("div", _hoisted_2$A, "Loading…")) : (openBlock(), createElementBlock("div", _hoisted_3$n, [
|
|
29500
29339
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(visibleOptions), (item, idx) => {
|
|
29501
29340
|
return openBlock(), createElementBlock("div", {
|
|
29502
29341
|
key: idx,
|
|
@@ -29522,13 +29361,11 @@ const _sfc_main$14 = {
|
|
|
29522
29361
|
}), 128)),
|
|
29523
29362
|
!unref(visibleOptions) || unref(visibleOptions).length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$8, "No results")) : createCommentVNode("", true)
|
|
29524
29363
|
]))
|
|
29525
|
-
], 8, _hoisted_1$M)
|
|
29526
|
-
[unref(vOnClickOutside), unref(closeDropdown)]
|
|
29527
|
-
]);
|
|
29364
|
+
], 8, _hoisted_1$M);
|
|
29528
29365
|
};
|
|
29529
29366
|
}
|
|
29530
29367
|
};
|
|
29531
|
-
const AppSelectNewDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-
|
|
29368
|
+
const AppSelectNewDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-aadaea92"]]);
|
|
29532
29369
|
const _hoisted_1$L = { class: "select2-selection__choice flex-center-vertical" };
|
|
29533
29370
|
const _hoisted_2$z = { class: "flex-1 choice-text overflow-hidden text-truncate" };
|
|
29534
29371
|
const _sfc_main$13 = {
|
|
@@ -29565,7 +29402,7 @@ const _sfc_main$13 = {
|
|
|
29565
29402
|
const AppRemovableTag = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-01abf8e6"]]);
|
|
29566
29403
|
const _hoisted_1$K = { class: "app-select-content display-flex flex-column gap-1 overflow-hidden" };
|
|
29567
29404
|
const _hoisted_2$y = ["placeholder"];
|
|
29568
|
-
const _hoisted_3$
|
|
29405
|
+
const _hoisted_3$m = {
|
|
29569
29406
|
key: 0,
|
|
29570
29407
|
class: "display-flex flex-row gap-1 flex-wrap overflow-hidden"
|
|
29571
29408
|
};
|
|
@@ -29619,7 +29456,7 @@ const _sfc_main$12 = {
|
|
|
29619
29456
|
[vShow, unref(isDropdownOpen)],
|
|
29620
29457
|
[vModelText, unref(searchQuery)]
|
|
29621
29458
|
]),
|
|
29622
|
-
unref(selectedList).length ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
29459
|
+
unref(selectedList).length ? (openBlock(), createElementBlock("div", _hoisted_3$m, [
|
|
29623
29460
|
unref(isMultiSelect) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(selectedList), (opt, idx) => {
|
|
29624
29461
|
return openBlock(), createElementBlock("div", {
|
|
29625
29462
|
key: idx,
|
|
@@ -29678,7 +29515,7 @@ const _sfc_main$12 = {
|
|
|
29678
29515
|
const AppSelectNewContent = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-d0b57778"]]);
|
|
29679
29516
|
const _hoisted_1$J = ["id"];
|
|
29680
29517
|
const _hoisted_2$x = { class: "app-select-area flex-1 flex-center-vertical overflow-hidden" };
|
|
29681
|
-
const _hoisted_3$
|
|
29518
|
+
const _hoisted_3$l = { class: "flex-center-vertical" };
|
|
29682
29519
|
const _sfc_main$11 = {
|
|
29683
29520
|
__name: "AppSelectNew",
|
|
29684
29521
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -29759,7 +29596,7 @@ const _sfc_main$11 = {
|
|
|
29759
29596
|
]),
|
|
29760
29597
|
_: 3
|
|
29761
29598
|
}, 8, ["anchor", "is-open"]),
|
|
29762
|
-
createElementVNode("div", _hoisted_3$
|
|
29599
|
+
createElementVNode("div", _hoisted_3$l, [
|
|
29763
29600
|
__props.isClearable && !unref(isModelValueEmpty) ? withDirectives((openBlock(), createElementBlock("i", {
|
|
29764
29601
|
key: 0,
|
|
29765
29602
|
class: "ph-x-circle",
|
|
@@ -29790,7 +29627,7 @@ const _hoisted_1$I = {
|
|
|
29790
29627
|
class: "d-flex flex-center-vertical"
|
|
29791
29628
|
};
|
|
29792
29629
|
const _hoisted_2$w = { class: "mr-auto" };
|
|
29793
|
-
const _hoisted_3$
|
|
29630
|
+
const _hoisted_3$k = { class: "d-flex" };
|
|
29794
29631
|
const _hoisted_4$f = {
|
|
29795
29632
|
key: 0,
|
|
29796
29633
|
class: "icon-eye-blocked"
|
|
@@ -29851,7 +29688,7 @@ const _sfc_main$10 = {
|
|
|
29851
29688
|
return (_ctx, _cache2) => {
|
|
29852
29689
|
return __props.isLoaded ? (openBlock(), createElementBlock("div", _hoisted_1$I, [
|
|
29853
29690
|
createElementVNode("div", _hoisted_2$w, [
|
|
29854
|
-
createElementVNode("span", _hoisted_3$
|
|
29691
|
+
createElementVNode("span", _hoisted_3$k, [
|
|
29855
29692
|
createVNode(_sfc_main$11, {
|
|
29856
29693
|
modelValue: pageSizeValue.value,
|
|
29857
29694
|
"onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) => pageSizeValue.value = $event),
|
|
@@ -30297,7 +30134,7 @@ const _hoisted_2$t = {
|
|
|
30297
30134
|
key: 0,
|
|
30298
30135
|
class: "p-2 text-muted flex-center-vertical gap-1"
|
|
30299
30136
|
};
|
|
30300
|
-
const _hoisted_3$
|
|
30137
|
+
const _hoisted_3$j = {
|
|
30301
30138
|
key: 1,
|
|
30302
30139
|
class: "p-2 text-muted flex-center-vertical gap-1"
|
|
30303
30140
|
};
|
|
@@ -30310,6 +30147,10 @@ const _sfc_main$U = {
|
|
|
30310
30147
|
shouldFetchOnMount: {
|
|
30311
30148
|
default: false
|
|
30312
30149
|
},
|
|
30150
|
+
clickOutsideIgnore: {
|
|
30151
|
+
type: Array,
|
|
30152
|
+
default: () => []
|
|
30153
|
+
},
|
|
30313
30154
|
...sharedProps,
|
|
30314
30155
|
search: {}
|
|
30315
30156
|
}, {
|
|
@@ -30369,6 +30210,12 @@ const _sfc_main$U = {
|
|
|
30369
30210
|
focusedOption.value = option;
|
|
30370
30211
|
};
|
|
30371
30212
|
const appSelectDropdown = ref(null);
|
|
30213
|
+
useClickOutside({
|
|
30214
|
+
target: appSelectDropdown,
|
|
30215
|
+
handler: closeModal,
|
|
30216
|
+
isOpen: isDropdownOpen,
|
|
30217
|
+
ignore: props2.clickOutsideIgnore
|
|
30218
|
+
});
|
|
30372
30219
|
watch(isDropdownOpen, async (newValue) => {
|
|
30373
30220
|
var _a2;
|
|
30374
30221
|
if (!newValue || !props2.shouldScrollToSelectedOption) {
|
|
@@ -30426,7 +30273,7 @@ const _sfc_main$U = {
|
|
|
30426
30273
|
}),
|
|
30427
30274
|
_cache2[0] || (_cache2[0] = createTextVNode(" Tastati pentru a cauta... ", -1))
|
|
30428
30275
|
])) : createCommentVNode("", true),
|
|
30429
|
-
isNoResultsVisible.value ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
30276
|
+
isNoResultsVisible.value ? (openBlock(), createElementBlock("div", _hoisted_3$j, [
|
|
30430
30277
|
createVNode(unref(IconMoodEmpty), {
|
|
30431
30278
|
size: 22,
|
|
30432
30279
|
"stroke-width": 1.8
|
|
@@ -30434,15 +30281,14 @@ const _sfc_main$U = {
|
|
|
30434
30281
|
_cache2[1] || (_cache2[1] = createTextVNode(" Cautarea nu a returnat nici un rezultat... ", -1))
|
|
30435
30282
|
])) : createCommentVNode("", true)
|
|
30436
30283
|
], 40, _hoisted_1$E)), [
|
|
30437
|
-
[vShow, isDropdownOpen.value]
|
|
30438
|
-
[unref(vOnClickOutside), closeModal]
|
|
30284
|
+
[vShow, isDropdownOpen.value]
|
|
30439
30285
|
]);
|
|
30440
30286
|
};
|
|
30441
30287
|
}
|
|
30442
30288
|
};
|
|
30443
30289
|
const _hoisted_1$D = { class: "app-select-content display-flex flex-column" };
|
|
30444
30290
|
const _hoisted_2$s = { class: "flex-center-vertical" };
|
|
30445
|
-
const _hoisted_3$
|
|
30291
|
+
const _hoisted_3$i = {
|
|
30446
30292
|
key: 0,
|
|
30447
30293
|
class: "text-muted flex-1 input-placeholder"
|
|
30448
30294
|
};
|
|
@@ -30498,7 +30344,7 @@ const _sfc_main$T = {
|
|
|
30498
30344
|
return (_ctx, _cache2) => {
|
|
30499
30345
|
return openBlock(), createElementBlock("div", _hoisted_1$D, [
|
|
30500
30346
|
createElementVNode("div", _hoisted_2$s, [
|
|
30501
|
-
unref(isModelValueEmpty) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
30347
|
+
unref(isModelValueEmpty) ? (openBlock(), createElementBlock("div", _hoisted_3$i, [
|
|
30502
30348
|
!props2.isDropdownOpen ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
30503
30349
|
createTextVNode(toDisplayString(props2.placeholder), 1)
|
|
30504
30350
|
], 64)) : createCommentVNode("", true)
|
|
@@ -30581,7 +30427,7 @@ const _sfc_main$T = {
|
|
|
30581
30427
|
};
|
|
30582
30428
|
const _hoisted_1$C = ["onKeyup"];
|
|
30583
30429
|
const _hoisted_2$r = { class: "app-select-area flex-center-vertical" };
|
|
30584
|
-
const _hoisted_3$
|
|
30430
|
+
const _hoisted_3$h = {
|
|
30585
30431
|
class: "flex-center-vertical",
|
|
30586
30432
|
style: {}
|
|
30587
30433
|
};
|
|
@@ -30731,7 +30577,7 @@ const _sfc_main$S = {
|
|
|
30731
30577
|
};
|
|
30732
30578
|
})
|
|
30733
30579
|
]), 1040, ["modelValue", "is-dropdown-open", "placeholder"]),
|
|
30734
|
-
createElementVNode("div", _hoisted_3$
|
|
30580
|
+
createElementVNode("div", _hoisted_3$h, [
|
|
30735
30581
|
unref(isClearable) ? withDirectives((openBlock(), createElementBlock("i", {
|
|
30736
30582
|
key: 0,
|
|
30737
30583
|
class: "ph-x-circle",
|
|
@@ -30762,7 +30608,8 @@ const _sfc_main$S = {
|
|
|
30762
30608
|
"hovered-option": hoveredOption.value,
|
|
30763
30609
|
"onUpdate:hoveredOption": _cache2[5] || (_cache2[5] = ($event) => hoveredOption.value = $event),
|
|
30764
30610
|
search: search.value,
|
|
30765
|
-
list: filteredOptions.value
|
|
30611
|
+
list: filteredOptions.value,
|
|
30612
|
+
"click-outside-ignore": [appSelect.value]
|
|
30766
30613
|
}, unref(sharedPropValues)), createSlots({ _: 2 }, [
|
|
30767
30614
|
renderList(Object.keys(_ctx.$slots), (slot) => {
|
|
30768
30615
|
return {
|
|
@@ -30772,7 +30619,7 @@ const _sfc_main$S = {
|
|
|
30772
30619
|
])
|
|
30773
30620
|
};
|
|
30774
30621
|
})
|
|
30775
|
-
]), 1040, ["modelValue", "is-dropdown-open", "hovered-option", "search", "list"]), [
|
|
30622
|
+
]), 1040, ["modelValue", "is-dropdown-open", "hovered-option", "search", "list", "click-outside-ignore"]), [
|
|
30776
30623
|
[vShow, isDropdownOpen.value]
|
|
30777
30624
|
])
|
|
30778
30625
|
]),
|
|
@@ -30799,7 +30646,7 @@ const _hoisted_2$q = {
|
|
|
30799
30646
|
key: 0,
|
|
30800
30647
|
class: "nav nav-sidebar"
|
|
30801
30648
|
};
|
|
30802
|
-
const _hoisted_3$
|
|
30649
|
+
const _hoisted_3$g = { style: { "padding": "12px 20px" } };
|
|
30803
30650
|
const _sfc_main$R = {
|
|
30804
30651
|
__name: "AppSidebar",
|
|
30805
30652
|
props: {
|
|
@@ -30851,7 +30698,7 @@ const _sfc_main$R = {
|
|
|
30851
30698
|
key: n,
|
|
30852
30699
|
style: { "opacity": "0.5" }
|
|
30853
30700
|
}, [
|
|
30854
|
-
createElementVNode("div", _hoisted_3$
|
|
30701
|
+
createElementVNode("div", _hoisted_3$g, [
|
|
30855
30702
|
createVNode(_component_app_placeholder_heading, {
|
|
30856
30703
|
img: true,
|
|
30857
30704
|
"img-size": "20px",
|
|
@@ -30878,7 +30725,7 @@ const _hoisted_2$p = {
|
|
|
30878
30725
|
key: 0,
|
|
30879
30726
|
class: "pr-2 flex-center-vertical"
|
|
30880
30727
|
};
|
|
30881
|
-
const _hoisted_3$
|
|
30728
|
+
const _hoisted_3$f = {
|
|
30882
30729
|
key: 1,
|
|
30883
30730
|
class: "pr-2 flex-grow-1 flex-column justify-content-center sidebar-header-text"
|
|
30884
30731
|
};
|
|
@@ -30913,7 +30760,7 @@ const _sfc_main$Q = {
|
|
|
30913
30760
|
!__props.canCollapse || !__props.sidebarCollapsed ? (openBlock(), createElementBlock("div", _hoisted_2$p, [
|
|
30914
30761
|
renderSlot(_ctx.$slots, "sidebar-header-img")
|
|
30915
30762
|
])) : createCommentVNode("", true),
|
|
30916
|
-
!__props.canCollapse || !__props.sidebarCollapsed ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
30763
|
+
!__props.canCollapse || !__props.sidebarCollapsed ? (openBlock(), createElementBlock("div", _hoisted_3$f, [
|
|
30917
30764
|
renderSlot(_ctx.$slots, "sidebar-header-text")
|
|
30918
30765
|
])) : createCommentVNode("", true),
|
|
30919
30766
|
__props.canCollapse ? (openBlock(), createElementBlock("div", _hoisted_4$d, [
|
|
@@ -31005,7 +30852,7 @@ const _sfc_main$P = {
|
|
|
31005
30852
|
const AppSliderInput = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-caf401d2"]]);
|
|
31006
30853
|
const _hoisted_1$y = { class: "page-header" };
|
|
31007
30854
|
const _hoisted_2$o = { class: "breadcrumb-line breadcrumb-line-light header-elements-md-inline" };
|
|
31008
|
-
const _hoisted_3$
|
|
30855
|
+
const _hoisted_3$e = { class: "d-flex" };
|
|
31009
30856
|
const _hoisted_4$c = { class: "breadcrumb" };
|
|
31010
30857
|
const _hoisted_5$7 = { class: "header-elements" };
|
|
31011
30858
|
const _sfc_main$O = {
|
|
@@ -31024,7 +30871,7 @@ const _sfc_main$O = {
|
|
|
31024
30871
|
return (_ctx, _cache2) => {
|
|
31025
30872
|
return openBlock(), createElementBlock("div", _hoisted_1$y, [
|
|
31026
30873
|
createElementVNode("div", _hoisted_2$o, [
|
|
31027
|
-
createElementVNode("div", _hoisted_3$
|
|
30874
|
+
createElementVNode("div", _hoisted_3$e, [
|
|
31028
30875
|
createElementVNode("div", _hoisted_4$c, [
|
|
31029
30876
|
renderSlot(_ctx.$slots, "breadcrumbs", {}, () => [
|
|
31030
30877
|
createVNode(_sfc_main$1M, {
|
|
@@ -31100,7 +30947,7 @@ const _hoisted_1$x = {
|
|
|
31100
30947
|
style: { "overflow-x": "auto", "flex-wrap": "wrap" }
|
|
31101
30948
|
};
|
|
31102
30949
|
const _hoisted_2$n = ["onClick"];
|
|
31103
|
-
const _hoisted_3$
|
|
30950
|
+
const _hoisted_3$d = { class: "flex-center-vertical mr-5" };
|
|
31104
30951
|
const _hoisted_4$b = { class: "display-flex-column" };
|
|
31105
30952
|
const _hoisted_5$6 = {
|
|
31106
30953
|
key: 1,
|
|
@@ -31148,7 +30995,7 @@ const _sfc_main$M = {
|
|
|
31148
30995
|
}, () => [
|
|
31149
30996
|
createVNode(_sfc_main$1D, { style: { "margin": "2px" } }, {
|
|
31150
30997
|
body: withCtx(() => [
|
|
31151
|
-
createElementVNode("div", _hoisted_3$
|
|
30998
|
+
createElementVNode("div", _hoisted_3$d, [
|
|
31152
30999
|
createElementVNode("div", _hoisted_4$b, [
|
|
31153
31000
|
createElementVNode("div", null, [
|
|
31154
31001
|
currentItem.icon ? (openBlock(), createBlock(_sfc_main$1P, {
|
|
@@ -31187,7 +31034,7 @@ const _sfc_main$M = {
|
|
|
31187
31034
|
};
|
|
31188
31035
|
const _hoisted_1$w = { key: 0 };
|
|
31189
31036
|
const _hoisted_2$m = { class: "p-3" };
|
|
31190
|
-
const _hoisted_3$
|
|
31037
|
+
const _hoisted_3$c = { key: 1 };
|
|
31191
31038
|
const _hoisted_4$a = { class: "app-table-row-filters" };
|
|
31192
31039
|
const _hoisted_5$5 = { class: "app-table-row-filters-number bg-primary flex-shrink-0" };
|
|
31193
31040
|
const _hoisted_6$4 = { class: "break-normal" };
|
|
@@ -31243,7 +31090,7 @@ const _sfc_main$L = {
|
|
|
31243
31090
|
(currentFilter == null ? void 0 : currentFilter.field) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
31244
31091
|
createElementVNode("span", null, toDisplayString(currentFilter.field) + ": ", 1),
|
|
31245
31092
|
createElementVNode("span", null, toDisplayString(currentFilter.value), 1)
|
|
31246
|
-
], 64)) : (openBlock(), createElementBlock("span", _hoisted_3$
|
|
31093
|
+
], 64)) : (openBlock(), createElementBlock("span", _hoisted_3$c, toDisplayString(currentFilter), 1))
|
|
31247
31094
|
]);
|
|
31248
31095
|
}), 128))
|
|
31249
31096
|
])
|
|
@@ -31275,7 +31122,7 @@ const _sfc_main$L = {
|
|
|
31275
31122
|
const AppTableFilterDetailedRow = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-6654229d"]]);
|
|
31276
31123
|
const _hoisted_1$v = { class: "app-table-filter-body d-flex" };
|
|
31277
31124
|
const _hoisted_2$l = { class: "flex-grow-1" };
|
|
31278
|
-
const _hoisted_3$
|
|
31125
|
+
const _hoisted_3$b = { class: "mr-5 pl-10 flex-center-vertical" };
|
|
31279
31126
|
const _hoisted_4$9 = { class: "display-flex" };
|
|
31280
31127
|
const _sfc_main$K = {
|
|
31281
31128
|
__name: "AppTableFilter",
|
|
@@ -31327,7 +31174,7 @@ const _sfc_main$K = {
|
|
|
31327
31174
|
}, null, 8, ["modelValue"])
|
|
31328
31175
|
])
|
|
31329
31176
|
]),
|
|
31330
|
-
createElementVNode("div", _hoisted_3$
|
|
31177
|
+
createElementVNode("div", _hoisted_3$b, [
|
|
31331
31178
|
renderSlot(_ctx.$slots, "beforeButton"),
|
|
31332
31179
|
renderSlot(_ctx.$slots, "button", {}, () => [
|
|
31333
31180
|
createElementVNode("div", _hoisted_4$9, [
|
|
@@ -31371,7 +31218,7 @@ const _sfc_main$K = {
|
|
|
31371
31218
|
};
|
|
31372
31219
|
const _hoisted_1$u = { class: "table-responsive" };
|
|
31373
31220
|
const _hoisted_2$k = { class: "table table-striped app-table-rows" };
|
|
31374
|
-
const _hoisted_3$
|
|
31221
|
+
const _hoisted_3$a = {
|
|
31375
31222
|
key: 0,
|
|
31376
31223
|
class: "td-selection"
|
|
31377
31224
|
};
|
|
@@ -31429,7 +31276,7 @@ const _sfc_main$J = {
|
|
|
31429
31276
|
createElementVNode("table", _hoisted_2$k, [
|
|
31430
31277
|
createElementVNode("thead", null, [
|
|
31431
31278
|
createElementVNode("tr", null, [
|
|
31432
|
-
__props.hasSelection ? (openBlock(), createElementBlock("th", _hoisted_3$
|
|
31279
|
+
__props.hasSelection ? (openBlock(), createElementBlock("th", _hoisted_3$a)) : createCommentVNode("", true),
|
|
31433
31280
|
_ctx.$slots.actions ? (openBlock(), createElementBlock("th", _hoisted_4$8, [
|
|
31434
31281
|
renderSlot(_ctx.$slots, "actionsTitle", {}, () => [
|
|
31435
31282
|
_cache2[0] || (_cache2[0] = createTextVNode(" Acțiuni ", -1))
|
|
@@ -32030,7 +31877,7 @@ function useTable(config, emits) {
|
|
|
32030
31877
|
}
|
|
32031
31878
|
const _hoisted_1$s = { class: "position-relative" };
|
|
32032
31879
|
const _hoisted_2$j = { class: "row" };
|
|
32033
|
-
const _hoisted_3$
|
|
31880
|
+
const _hoisted_3$9 = { class: "col-lg-12" };
|
|
32034
31881
|
const _sfc_main$H = {
|
|
32035
31882
|
__name: "AppTableMagic",
|
|
32036
31883
|
props: {
|
|
@@ -32166,7 +32013,7 @@ const _sfc_main$H = {
|
|
|
32166
32013
|
]), 1032, ["selected-filters", "onOnFilterReset", "onOnFilterSet", "onOnSearchFilterSet"])) : createCommentVNode("", true),
|
|
32167
32014
|
renderSlot(_ctx.$slots, "beforeTable"),
|
|
32168
32015
|
createElementVNode("div", _hoisted_2$j, [
|
|
32169
|
-
createElementVNode("div", _hoisted_3$
|
|
32016
|
+
createElementVNode("div", _hoisted_3$9, [
|
|
32170
32017
|
createVNode(_sfc_main$I, {
|
|
32171
32018
|
ref_key: "appTable",
|
|
32172
32019
|
ref: appTable,
|
|
@@ -32570,7 +32417,7 @@ const _sfc_main$C = {
|
|
|
32570
32417
|
};
|
|
32571
32418
|
const _hoisted_1$p = { class: "flex-column" };
|
|
32572
32419
|
const _hoisted_2$g = { class: "app-toolbar-top navbar navbar-dark navbar-static py-1" };
|
|
32573
|
-
const _hoisted_3$
|
|
32420
|
+
const _hoisted_3$8 = { class: "flex-center-vertical" };
|
|
32574
32421
|
const _hoisted_4$7 = { class: "app-toolbar-bottom page-header page-header-light shadow flex-center-vertical justify-content-between display-flex-column flex-lg-row" };
|
|
32575
32422
|
const _sfc_main$B = {
|
|
32576
32423
|
__name: "AppToolbar",
|
|
@@ -32583,7 +32430,7 @@ const _sfc_main$B = {
|
|
|
32583
32430
|
return (_ctx, _cache2) => {
|
|
32584
32431
|
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
32585
32432
|
createElementVNode("div", _hoisted_2$g, [
|
|
32586
|
-
createElementVNode("div", _hoisted_3$
|
|
32433
|
+
createElementVNode("div", _hoisted_3$8, [
|
|
32587
32434
|
createVNode(_sfc_main$1L, {
|
|
32588
32435
|
type: "button",
|
|
32589
32436
|
class: "btn-transparent px-2",
|
|
@@ -32757,10 +32604,6 @@ const _hoisted_2$e = {
|
|
|
32757
32604
|
key: 0,
|
|
32758
32605
|
class: "nav-item nav-item-dropdown-lg dropdown ms-lg-2"
|
|
32759
32606
|
};
|
|
32760
|
-
const _hoisted_3$8 = {
|
|
32761
|
-
class: "dropdown-menu dropdown-menu-end show cursor-pointer",
|
|
32762
|
-
"data-bs-popper": "static"
|
|
32763
|
-
};
|
|
32764
32607
|
const _sfc_main$x = {
|
|
32765
32608
|
__name: "AppDropdown",
|
|
32766
32609
|
props: {
|
|
@@ -32768,27 +32611,42 @@ const _sfc_main$x = {
|
|
|
32768
32611
|
},
|
|
32769
32612
|
setup(__props) {
|
|
32770
32613
|
const isDropdownOpen = ref(false);
|
|
32614
|
+
const dropdownMenu = ref(null);
|
|
32615
|
+
const dropdownHeader = ref(null);
|
|
32771
32616
|
const toggleDropdown = () => {
|
|
32772
32617
|
isDropdownOpen.value = !isDropdownOpen.value;
|
|
32773
32618
|
};
|
|
32774
32619
|
const closeModal = () => {
|
|
32775
32620
|
isDropdownOpen.value = false;
|
|
32776
32621
|
};
|
|
32622
|
+
useClickOutside({
|
|
32623
|
+
target: dropdownMenu,
|
|
32624
|
+
handler: closeModal,
|
|
32625
|
+
isOpen: isDropdownOpen,
|
|
32626
|
+
ignore: [dropdownHeader]
|
|
32627
|
+
});
|
|
32777
32628
|
return (_ctx, _cache2) => {
|
|
32778
32629
|
const _component_app_button = resolveComponent("app-button");
|
|
32779
32630
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
32780
32631
|
createElementVNode("div", _hoisted_1$l, [
|
|
32781
32632
|
createElementVNode("a", {
|
|
32633
|
+
ref_key: "dropdownHeader",
|
|
32634
|
+
ref: dropdownHeader,
|
|
32782
32635
|
class: "navbar-nav-link rounded-pill p-1 cursor-pointer mr-5",
|
|
32783
32636
|
"data-bs-toggle": "dropdown",
|
|
32784
32637
|
onClick: toggleDropdown
|
|
32785
32638
|
}, [
|
|
32786
32639
|
renderSlot(_ctx.$slots, "dropdown-header")
|
|
32787
|
-
]),
|
|
32640
|
+
], 512),
|
|
32788
32641
|
renderSlot(_ctx.$slots, "dropdown-header-icon")
|
|
32789
32642
|
]),
|
|
32790
32643
|
isDropdownOpen.value ? (openBlock(), createElementBlock("div", _hoisted_2$e, [
|
|
32791
|
-
|
|
32644
|
+
createElementVNode("div", {
|
|
32645
|
+
ref_key: "dropdownMenu",
|
|
32646
|
+
ref: dropdownMenu,
|
|
32647
|
+
class: "dropdown-menu dropdown-menu-end show cursor-pointer",
|
|
32648
|
+
"data-bs-popper": "static"
|
|
32649
|
+
}, [
|
|
32792
32650
|
renderSlot(_ctx.$slots, "dropdown-content", {}, () => [
|
|
32793
32651
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.list, (option, index) => {
|
|
32794
32652
|
return openBlock(), createElementBlock("div", { key: index }, [
|
|
@@ -32799,9 +32657,7 @@ const _sfc_main$x = {
|
|
|
32799
32657
|
]);
|
|
32800
32658
|
}), 128))
|
|
32801
32659
|
])
|
|
32802
|
-
]
|
|
32803
|
-
[unref(vOnClickOutside), closeModal]
|
|
32804
|
-
])
|
|
32660
|
+
], 512)
|
|
32805
32661
|
])) : createCommentVNode("", true)
|
|
32806
32662
|
], 64);
|
|
32807
32663
|
};
|
|
@@ -41919,7 +41775,7 @@ var St = {
|
|
|
41919
41775
|
}), jr = ["data-dp-mobile"], Mr = /* @__PURE__ */ defineComponent({
|
|
41920
41776
|
__name: "VueDatePicker",
|
|
41921
41777
|
setup(e2, { expose: t2 }) {
|
|
41922
|
-
let { rootEmit: l, setState: d3, inputValue: p, modelValue: m3, rootProps: h4, defaults: { inline: g, config: x2, textInput: T2, range: E2, multiDates: D2, teleport: j, floatingConfig: M3, flow: ee } } = $(), { validateDate: te, isValidTime: z2 } = ht(), { menuTransition: B2, showTransition: V } = pt(), { isMobile: re2 } = Kt(), { findNextFocusableElement: H3, getNumVal: U } = Wt(), q2 = useSlots(), J = ref(false), se = ref(g.value.enabled), ce = ref(g.value.enabled || h4.centered), le = toRef
|
|
41778
|
+
let { rootEmit: l, setState: d3, inputValue: p, modelValue: m3, rootProps: h4, defaults: { inline: g, config: x2, textInput: T2, range: E2, multiDates: D2, teleport: j, floatingConfig: M3, flow: ee } } = $(), { validateDate: te, isValidTime: z2 } = ht(), { menuTransition: B2, showTransition: V } = pt(), { isMobile: re2 } = Kt(), { findNextFocusableElement: H3, getNumVal: U } = Wt(), q2 = useSlots(), J = ref(false), se = ref(g.value.enabled), ce = ref(g.value.enabled || h4.centered), le = toRef(h4, "modelValue"), ue = toRef(h4, "timezone"), de = useTemplateRef("dp-menu-wrap"), fe = useTemplateRef("dp-menu"), pe = useTemplateRef("input-cmp"), me = useTemplateRef("picker-wrapper"), he = useTemplateRef("menu-arrow"), ge = ref(false), _e2 = ref(false), ve = ref(false), ye = ref(true), { floatingStyles: be, middlewareData: Y2, placement: xe, y: Se } = useFloating(pe, de, {
|
|
41923
41779
|
strategy: M3.value.strategy,
|
|
41924
41780
|
placement: M3.value.placement,
|
|
41925
41781
|
middleware: ((e3) => (M3.value.flip && e3.push(flip(typeof M3.value.flip == "object" ? M3.value.flip : {})), M3.value.shift && e3.push(shift(typeof M3.value.shift == "object" ? M3.value.shift : {})), M3.value.arrow && e3.push(arrow({ element: M3.value.arrow === true ? he : M3.value.arrow })), e3))([offset(M3.value.offset)]),
|
|
@@ -86589,6 +86445,7 @@ export {
|
|
|
86589
86445
|
toPathString,
|
|
86590
86446
|
urlToBooleanOption,
|
|
86591
86447
|
useAppFormElement,
|
|
86448
|
+
useClickOutside,
|
|
86592
86449
|
useForm,
|
|
86593
86450
|
useFormOld as useFormFunky,
|
|
86594
86451
|
useFormValidation,
|