@stsdti/funky-ui-kit 1.6.10 → 1.6.12
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 -864
- 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"
|
|
@@ -18147,6 +18658,8 @@ const _sfc_main$1G = {
|
|
|
18147
18658
|
preview: ((_a2 = attrs.formats) == null ? void 0 : _a2.preview) ?? props2.dateFormat
|
|
18148
18659
|
};
|
|
18149
18660
|
});
|
|
18661
|
+
const isMenuOpen = ref(false);
|
|
18662
|
+
useClickOutside({ isOpen: isMenuOpen });
|
|
18150
18663
|
return (_ctx, _cache2) => {
|
|
18151
18664
|
const _component_vue_date_picker = resolveComponent("vue-date-picker");
|
|
18152
18665
|
const _directive_tippy = resolveDirective("tippy");
|
|
@@ -18169,14 +18682,16 @@ const _sfc_main$1G = {
|
|
|
18169
18682
|
weekStart: __props.weekStart,
|
|
18170
18683
|
"day-names": ["Lu", "Ma", "Mi", "Jo", "Vi", "Sâ", "Du"],
|
|
18171
18684
|
locale: unref(locale),
|
|
18172
|
-
teleport: __props.teleport
|
|
18685
|
+
teleport: __props.teleport,
|
|
18686
|
+
onClosed: _cache2[1] || (_cache2[1] = ($event) => isMenuOpen.value = false),
|
|
18687
|
+
onOpen: _cache2[2] || (_cache2[2] = ($event) => isMenuOpen.value = true)
|
|
18173
18688
|
}), createSlots({
|
|
18174
18689
|
"dp-input": withCtx(({ value, onInput, onEnter, onTab, onBlur, onFocus, onKeypress, onPaste, openMenu }) => [
|
|
18175
18690
|
createElementVNode("div", {
|
|
18176
18691
|
class: "app-date-input dp__input dp__pointer dp__input_readonly dp__input_reg",
|
|
18177
18692
|
onClick: openMenu
|
|
18178
18693
|
}, [
|
|
18179
|
-
_cache2[
|
|
18694
|
+
_cache2[4] || (_cache2[4] = createElementVNode("i", { class: "ph-calendar-blank" }, null, -1)),
|
|
18180
18695
|
isDayOfWeekVisible.value ? (openBlock(), createBlock(_sfc_main$1I, {
|
|
18181
18696
|
key: 0,
|
|
18182
18697
|
language: __props.currentLanguage,
|
|
@@ -18198,8 +18713,8 @@ const _sfc_main$1G = {
|
|
|
18198
18713
|
],
|
|
18199
18714
|
onKeypress,
|
|
18200
18715
|
onPaste
|
|
18201
|
-
}, null, 40, _hoisted_2$
|
|
18202
|
-
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))
|
|
18203
18718
|
], 64))
|
|
18204
18719
|
], 8, _hoisted_1$1e)
|
|
18205
18720
|
]),
|
|
@@ -18227,7 +18742,7 @@ const _sfc_main$1G = {
|
|
|
18227
18742
|
__props.showEasyButtons && !_ctx.disabled ? (openBlock(), createElementBlock("div", _hoisted_7$7, [
|
|
18228
18743
|
createVNode(_sfc_main$1H, {
|
|
18229
18744
|
modelValue: modelValue.value,
|
|
18230
|
-
"onUpdate:modelValue": _cache2[
|
|
18745
|
+
"onUpdate:modelValue": _cache2[3] || (_cache2[3] = ($event) => modelValue.value = $event)
|
|
18231
18746
|
}, null, 8, ["modelValue"])
|
|
18232
18747
|
])) : createCommentVNode("", true)
|
|
18233
18748
|
]),
|
|
@@ -18236,13 +18751,13 @@ const _sfc_main$1G = {
|
|
|
18236
18751
|
};
|
|
18237
18752
|
}
|
|
18238
18753
|
};
|
|
18239
|
-
const AppDate = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["__scopeId", "data-v-
|
|
18754
|
+
const AppDate = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["__scopeId", "data-v-dbda72e2"]]);
|
|
18240
18755
|
const _hoisted_1$1d = {
|
|
18241
18756
|
class: "flex-center-vertical dp__input dp__pointer dp__input_readonly dp__input_reg",
|
|
18242
18757
|
style: { "gap": "3px" }
|
|
18243
18758
|
};
|
|
18244
|
-
const _hoisted_2$
|
|
18245
|
-
const _hoisted_3$
|
|
18759
|
+
const _hoisted_2$V = ["disabled", "placeholder", "onBlur", "onKeydown", "onKeypress", "onPaste"];
|
|
18760
|
+
const _hoisted_3$E = { key: 0 };
|
|
18246
18761
|
const _hoisted_4$t = {
|
|
18247
18762
|
key: 1,
|
|
18248
18763
|
class: "app-form-element-placeholder"
|
|
@@ -18266,6 +18781,7 @@ const _sfc_main$1F = {
|
|
|
18266
18781
|
setup(__props) {
|
|
18267
18782
|
const modelValue = useModel(__props, "modelValue");
|
|
18268
18783
|
const inputValue = ref("");
|
|
18784
|
+
const isMenuOpen = ref(false);
|
|
18269
18785
|
const props2 = __props;
|
|
18270
18786
|
const { formElementProps, computedName, computedPlaceHolder } = useAppFormElement(props2);
|
|
18271
18787
|
const computedClass = computed(() => ({
|
|
@@ -18302,6 +18818,9 @@ const _sfc_main$1F = {
|
|
|
18302
18818
|
date2.setMinutes(0);
|
|
18303
18819
|
date2.setSeconds(0);
|
|
18304
18820
|
};
|
|
18821
|
+
useClickOutside({
|
|
18822
|
+
isOpen: isMenuOpen
|
|
18823
|
+
});
|
|
18305
18824
|
return (_ctx, _cache2) => {
|
|
18306
18825
|
const _component_app_date_picker_day_of_week = resolveComponent("app-date-picker-day-of-week");
|
|
18307
18826
|
const _component_vue_date_picker = resolveComponent("vue-date-picker");
|
|
@@ -18323,11 +18842,13 @@ const _sfc_main$1F = {
|
|
|
18323
18842
|
name: unref(computedName),
|
|
18324
18843
|
placeholder: unref(computedPlaceHolder),
|
|
18325
18844
|
"text-input": _ctx.isTypeable,
|
|
18326
|
-
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)
|
|
18327
18848
|
}), {
|
|
18328
|
-
"dp-input": withCtx(({ value, isMenuOpen, onTab, onKeypress, onPaste }) => [
|
|
18849
|
+
"dp-input": withCtx(({ value, isMenuOpen: isMenuOpen2, onTab, onKeypress, onPaste }) => [
|
|
18329
18850
|
createElementVNode("div", _hoisted_1$1d, [
|
|
18330
|
-
_cache2[
|
|
18851
|
+
_cache2[5] || (_cache2[5] = createElementVNode("i", { class: "ph-calendar-blank" }, null, -1)),
|
|
18331
18852
|
isDayOfWeekVisible.value ? (openBlock(), createBlock(_component_app_date_picker_day_of_week, {
|
|
18332
18853
|
key: 0,
|
|
18333
18854
|
language: _ctx.currentLanguage,
|
|
@@ -18340,17 +18861,17 @@ const _sfc_main$1F = {
|
|
|
18340
18861
|
type: "text",
|
|
18341
18862
|
disabled: _ctx.disabled,
|
|
18342
18863
|
placeholder: _ctx.placeholder,
|
|
18343
|
-
onBlur: ($event) => !
|
|
18864
|
+
onBlur: ($event) => !isMenuOpen2 && applyInputValue(),
|
|
18344
18865
|
onKeydown: [
|
|
18345
18866
|
withKeys(applyInputValue, ["enter"]),
|
|
18346
18867
|
withKeys(onTab, ["tab"])
|
|
18347
18868
|
],
|
|
18348
18869
|
onKeypress,
|
|
18349
18870
|
onPaste
|
|
18350
|
-
}, null, 40, _hoisted_2$
|
|
18871
|
+
}, null, 40, _hoisted_2$V)), [
|
|
18351
18872
|
[vModelText, inputValue.value]
|
|
18352
18873
|
]) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
18353
|
-
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))
|
|
18354
18875
|
], 64))
|
|
18355
18876
|
])
|
|
18356
18877
|
]),
|
|
@@ -18369,7 +18890,7 @@ const _sfc_main$1F = {
|
|
|
18369
18890
|
_ctx.showEasyButtons && !_ctx.disabled ? (openBlock(), createElementBlock("div", _hoisted_7$6, [
|
|
18370
18891
|
createVNode(_sfc_main$1H, {
|
|
18371
18892
|
modelValue: modelValue.value,
|
|
18372
|
-
"onUpdate:modelValue": _cache2[
|
|
18893
|
+
"onUpdate:modelValue": _cache2[4] || (_cache2[4] = ($event) => modelValue.value = $event)
|
|
18373
18894
|
}, null, 8, ["modelValue"])
|
|
18374
18895
|
])) : createCommentVNode("", true)
|
|
18375
18896
|
]),
|
|
@@ -18388,8 +18909,8 @@ const _sfc_main$1F = {
|
|
|
18388
18909
|
}
|
|
18389
18910
|
};
|
|
18390
18911
|
const _hoisted_1$1c = { class: "w-100" };
|
|
18391
|
-
const _hoisted_2$
|
|
18392
|
-
const _hoisted_3$
|
|
18912
|
+
const _hoisted_2$U = { class: "flex-center-vertical w-100 gap-1" };
|
|
18913
|
+
const _hoisted_3$D = {
|
|
18393
18914
|
key: 0,
|
|
18394
18915
|
class: "flex-center-vertical mt-1"
|
|
18395
18916
|
};
|
|
@@ -18452,7 +18973,7 @@ const _sfc_main$1E = {
|
|
|
18452
18973
|
return openBlock(), createBlock(AppFormElement, normalizeProps(guardReactiveProps(unref(formElementProps))), {
|
|
18453
18974
|
default: withCtx(() => [
|
|
18454
18975
|
createElementVNode("div", _hoisted_1$1c, [
|
|
18455
|
-
createElementVNode("div", _hoisted_2$
|
|
18976
|
+
createElementVNode("div", _hoisted_2$U, [
|
|
18456
18977
|
createVNode(_component_app_date, mergeProps({
|
|
18457
18978
|
modelValue: modelValueStart.value,
|
|
18458
18979
|
"onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) => modelValueStart.value = $event),
|
|
@@ -18470,7 +18991,7 @@ const _sfc_main$1E = {
|
|
|
18470
18991
|
name: __props.endName || _ctx.$attrs["name-end"] || "end"
|
|
18471
18992
|
}, bindableProps.value, { "show-easy-buttons": false }), null, 16, ["modelValue", "placeholder", "name"])
|
|
18472
18993
|
]),
|
|
18473
|
-
_ctx.showEasyButtons ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
18994
|
+
_ctx.showEasyButtons ? (openBlock(), createElementBlock("div", _hoisted_3$D, [
|
|
18474
18995
|
createVNode(_component_app_button_group, {
|
|
18475
18996
|
value: unref(easyButtonsList),
|
|
18476
18997
|
onClick: onEasyButtonClick
|
|
@@ -18485,8 +19006,8 @@ const _sfc_main$1E = {
|
|
|
18485
19006
|
}
|
|
18486
19007
|
};
|
|
18487
19008
|
const _hoisted_1$1b = { class: "d-flex align-items-center" };
|
|
18488
|
-
const _hoisted_2$
|
|
18489
|
-
const _hoisted_3$
|
|
19009
|
+
const _hoisted_2$T = { class: "mb-0 fw-normal" };
|
|
19010
|
+
const _hoisted_3$C = { class: "ms-auto" };
|
|
18490
19011
|
const _sfc_main$1D = {
|
|
18491
19012
|
__name: "AppCard",
|
|
18492
19013
|
props: {
|
|
@@ -18584,7 +19105,7 @@ const _sfc_main$1D = {
|
|
|
18584
19105
|
onClick: collapseBody
|
|
18585
19106
|
}, [
|
|
18586
19107
|
createElementVNode("div", _hoisted_1$1b, [
|
|
18587
|
-
createElementVNode("div", _hoisted_2$
|
|
19108
|
+
createElementVNode("div", _hoisted_2$T, [
|
|
18588
19109
|
renderSlot(_ctx.$slots, "title"),
|
|
18589
19110
|
createElementVNode("div", {
|
|
18590
19111
|
class: "header-elements-toggle d-none",
|
|
@@ -18593,7 +19114,7 @@ const _sfc_main$1D = {
|
|
|
18593
19114
|
createElementVNode("i", { class: "icon-more" }, null, -1)
|
|
18594
19115
|
])])
|
|
18595
19116
|
]),
|
|
18596
|
-
createElementVNode("div", _hoisted_3$
|
|
19117
|
+
createElementVNode("div", _hoisted_3$C, [
|
|
18597
19118
|
createElementVNode("div", {
|
|
18598
19119
|
class: normalizeClass([headerElementsClasses.value])
|
|
18599
19120
|
}, [
|
|
@@ -18686,481 +19207,6 @@ function _sfc_render$3(_ctx, _cache2) {
|
|
|
18686
19207
|
return openBlock(), createBlock(_component_router_view);
|
|
18687
19208
|
}
|
|
18688
19209
|
const AppChild = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$3], ["__scopeId", "data-v-f1bb4de2"]]);
|
|
18689
|
-
function tryOnScopeDispose(fn7) {
|
|
18690
|
-
if (getCurrentScope()) {
|
|
18691
|
-
onScopeDispose(fn7);
|
|
18692
|
-
return true;
|
|
18693
|
-
}
|
|
18694
|
-
return false;
|
|
18695
|
-
}
|
|
18696
|
-
function toValue$1(r) {
|
|
18697
|
-
return typeof r === "function" ? r() : unref(r);
|
|
18698
|
-
}
|
|
18699
|
-
const isClient$1 = typeof window !== "undefined" && typeof document !== "undefined";
|
|
18700
|
-
typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
|
|
18701
|
-
const toString$2 = Object.prototype.toString;
|
|
18702
|
-
const isObject$4 = (val) => toString$2.call(val) === "[object Object]";
|
|
18703
|
-
const noop$2 = () => {
|
|
18704
|
-
};
|
|
18705
|
-
const isIOS = /* @__PURE__ */ getIsIOS();
|
|
18706
|
-
function getIsIOS() {
|
|
18707
|
-
var _a2, _b2;
|
|
18708
|
-
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));
|
|
18709
|
-
}
|
|
18710
|
-
function createFilterWrapper(filter2, fn7) {
|
|
18711
|
-
function wrapper(...args) {
|
|
18712
|
-
return new Promise((resolve, reject) => {
|
|
18713
|
-
Promise.resolve(filter2(() => fn7.apply(this, args), { fn: fn7, thisArg: this, args })).then(resolve).catch(reject);
|
|
18714
|
-
});
|
|
18715
|
-
}
|
|
18716
|
-
return wrapper;
|
|
18717
|
-
}
|
|
18718
|
-
const bypassFilter = (invoke) => {
|
|
18719
|
-
return invoke();
|
|
18720
|
-
};
|
|
18721
|
-
function debounceFilter(ms, options = {}) {
|
|
18722
|
-
let timer;
|
|
18723
|
-
let maxTimer;
|
|
18724
|
-
let lastRejector = noop$2;
|
|
18725
|
-
const _clearTimeout = (timer2) => {
|
|
18726
|
-
clearTimeout(timer2);
|
|
18727
|
-
lastRejector();
|
|
18728
|
-
lastRejector = noop$2;
|
|
18729
|
-
};
|
|
18730
|
-
const filter2 = (invoke) => {
|
|
18731
|
-
const duration = toValue$1(ms);
|
|
18732
|
-
const maxDuration = toValue$1(options.maxWait);
|
|
18733
|
-
if (timer)
|
|
18734
|
-
_clearTimeout(timer);
|
|
18735
|
-
if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {
|
|
18736
|
-
if (maxTimer) {
|
|
18737
|
-
_clearTimeout(maxTimer);
|
|
18738
|
-
maxTimer = null;
|
|
18739
|
-
}
|
|
18740
|
-
return Promise.resolve(invoke());
|
|
18741
|
-
}
|
|
18742
|
-
return new Promise((resolve, reject) => {
|
|
18743
|
-
lastRejector = options.rejectOnCancel ? reject : resolve;
|
|
18744
|
-
if (maxDuration && !maxTimer) {
|
|
18745
|
-
maxTimer = setTimeout(() => {
|
|
18746
|
-
if (timer)
|
|
18747
|
-
_clearTimeout(timer);
|
|
18748
|
-
maxTimer = null;
|
|
18749
|
-
resolve(invoke());
|
|
18750
|
-
}, maxDuration);
|
|
18751
|
-
}
|
|
18752
|
-
timer = setTimeout(() => {
|
|
18753
|
-
if (maxTimer)
|
|
18754
|
-
_clearTimeout(maxTimer);
|
|
18755
|
-
maxTimer = null;
|
|
18756
|
-
resolve(invoke());
|
|
18757
|
-
}, duration);
|
|
18758
|
-
});
|
|
18759
|
-
};
|
|
18760
|
-
return filter2;
|
|
18761
|
-
}
|
|
18762
|
-
function pausableFilter(extendFilter = bypassFilter) {
|
|
18763
|
-
const isActive = ref(true);
|
|
18764
|
-
function pause() {
|
|
18765
|
-
isActive.value = false;
|
|
18766
|
-
}
|
|
18767
|
-
function resume() {
|
|
18768
|
-
isActive.value = true;
|
|
18769
|
-
}
|
|
18770
|
-
const eventFilter = (...args) => {
|
|
18771
|
-
if (isActive.value)
|
|
18772
|
-
extendFilter(...args);
|
|
18773
|
-
};
|
|
18774
|
-
return { isActive: readonly(isActive), pause, resume, eventFilter };
|
|
18775
|
-
}
|
|
18776
|
-
const directiveHooks = {
|
|
18777
|
-
mounted: "mounted",
|
|
18778
|
-
unmounted: "unmounted"
|
|
18779
|
-
};
|
|
18780
|
-
function getLifeCycleTarget(target) {
|
|
18781
|
-
return getCurrentInstance();
|
|
18782
|
-
}
|
|
18783
|
-
function toRef(...args) {
|
|
18784
|
-
if (args.length !== 1)
|
|
18785
|
-
return toRef$1(...args);
|
|
18786
|
-
const r = args[0];
|
|
18787
|
-
return typeof r === "function" ? readonly(customRef(() => ({ get: r, set: noop$2 }))) : ref(r);
|
|
18788
|
-
}
|
|
18789
|
-
function watchWithFilter(source, cb, options = {}) {
|
|
18790
|
-
const {
|
|
18791
|
-
eventFilter = bypassFilter,
|
|
18792
|
-
...watchOptions
|
|
18793
|
-
} = options;
|
|
18794
|
-
return watch(
|
|
18795
|
-
source,
|
|
18796
|
-
createFilterWrapper(
|
|
18797
|
-
eventFilter,
|
|
18798
|
-
cb
|
|
18799
|
-
),
|
|
18800
|
-
watchOptions
|
|
18801
|
-
);
|
|
18802
|
-
}
|
|
18803
|
-
function watchPausable(source, cb, options = {}) {
|
|
18804
|
-
const {
|
|
18805
|
-
eventFilter: filter2,
|
|
18806
|
-
...watchOptions
|
|
18807
|
-
} = options;
|
|
18808
|
-
const { eventFilter, pause, resume, isActive } = pausableFilter(filter2);
|
|
18809
|
-
const stop2 = watchWithFilter(
|
|
18810
|
-
source,
|
|
18811
|
-
cb,
|
|
18812
|
-
{
|
|
18813
|
-
...watchOptions,
|
|
18814
|
-
eventFilter
|
|
18815
|
-
}
|
|
18816
|
-
);
|
|
18817
|
-
return { stop: stop2, pause, resume, isActive };
|
|
18818
|
-
}
|
|
18819
|
-
function tryOnMounted(fn7, sync = true, target) {
|
|
18820
|
-
const instance = getLifeCycleTarget();
|
|
18821
|
-
if (instance)
|
|
18822
|
-
onMounted(fn7, target);
|
|
18823
|
-
else if (sync)
|
|
18824
|
-
fn7();
|
|
18825
|
-
else
|
|
18826
|
-
nextTick(fn7);
|
|
18827
|
-
}
|
|
18828
|
-
function watchDebounced(source, cb, options = {}) {
|
|
18829
|
-
const {
|
|
18830
|
-
debounce: debounce2 = 0,
|
|
18831
|
-
maxWait = void 0,
|
|
18832
|
-
...watchOptions
|
|
18833
|
-
} = options;
|
|
18834
|
-
return watchWithFilter(
|
|
18835
|
-
source,
|
|
18836
|
-
cb,
|
|
18837
|
-
{
|
|
18838
|
-
...watchOptions,
|
|
18839
|
-
eventFilter: debounceFilter(debounce2, { maxWait })
|
|
18840
|
-
}
|
|
18841
|
-
);
|
|
18842
|
-
}
|
|
18843
|
-
function unrefElement$2(elRef) {
|
|
18844
|
-
var _a2;
|
|
18845
|
-
const plain = toValue$1(elRef);
|
|
18846
|
-
return (_a2 = plain == null ? void 0 : plain.$el) != null ? _a2 : plain;
|
|
18847
|
-
}
|
|
18848
|
-
const defaultWindow$2 = isClient$1 ? window : void 0;
|
|
18849
|
-
function useEventListener$2(...args) {
|
|
18850
|
-
let target;
|
|
18851
|
-
let events2;
|
|
18852
|
-
let listeners;
|
|
18853
|
-
let options;
|
|
18854
|
-
if (typeof args[0] === "string" || Array.isArray(args[0])) {
|
|
18855
|
-
[events2, listeners, options] = args;
|
|
18856
|
-
target = defaultWindow$2;
|
|
18857
|
-
} else {
|
|
18858
|
-
[target, events2, listeners, options] = args;
|
|
18859
|
-
}
|
|
18860
|
-
if (!target)
|
|
18861
|
-
return noop$2;
|
|
18862
|
-
if (!Array.isArray(events2))
|
|
18863
|
-
events2 = [events2];
|
|
18864
|
-
if (!Array.isArray(listeners))
|
|
18865
|
-
listeners = [listeners];
|
|
18866
|
-
const cleanups = [];
|
|
18867
|
-
const cleanup = () => {
|
|
18868
|
-
cleanups.forEach((fn7) => fn7());
|
|
18869
|
-
cleanups.length = 0;
|
|
18870
|
-
};
|
|
18871
|
-
const register = (el, event, listener, options2) => {
|
|
18872
|
-
el.addEventListener(event, listener, options2);
|
|
18873
|
-
return () => el.removeEventListener(event, listener, options2);
|
|
18874
|
-
};
|
|
18875
|
-
const stopWatch = watch(
|
|
18876
|
-
() => [unrefElement$2(target), toValue$1(options)],
|
|
18877
|
-
([el, options2]) => {
|
|
18878
|
-
cleanup();
|
|
18879
|
-
if (!el)
|
|
18880
|
-
return;
|
|
18881
|
-
const optionsClone = isObject$4(options2) ? { ...options2 } : options2;
|
|
18882
|
-
cleanups.push(
|
|
18883
|
-
...events2.flatMap((event) => {
|
|
18884
|
-
return listeners.map((listener) => register(el, event, listener, optionsClone));
|
|
18885
|
-
})
|
|
18886
|
-
);
|
|
18887
|
-
},
|
|
18888
|
-
{ immediate: true, flush: "post" }
|
|
18889
|
-
);
|
|
18890
|
-
const stop2 = () => {
|
|
18891
|
-
stopWatch();
|
|
18892
|
-
cleanup();
|
|
18893
|
-
};
|
|
18894
|
-
tryOnScopeDispose(stop2);
|
|
18895
|
-
return stop2;
|
|
18896
|
-
}
|
|
18897
|
-
let _iOSWorkaround$1 = false;
|
|
18898
|
-
function onClickOutside$2(target, handler, options = {}) {
|
|
18899
|
-
const { window: window2 = defaultWindow$2, ignore = [], capture = true, detectIframe = false } = options;
|
|
18900
|
-
if (!window2)
|
|
18901
|
-
return noop$2;
|
|
18902
|
-
if (isIOS && !_iOSWorkaround$1) {
|
|
18903
|
-
_iOSWorkaround$1 = true;
|
|
18904
|
-
Array.from(window2.document.body.children).forEach((el) => el.addEventListener("click", noop$2));
|
|
18905
|
-
window2.document.documentElement.addEventListener("click", noop$2);
|
|
18906
|
-
}
|
|
18907
|
-
let shouldListen = true;
|
|
18908
|
-
const shouldIgnore = (event) => {
|
|
18909
|
-
return ignore.some((target2) => {
|
|
18910
|
-
if (typeof target2 === "string") {
|
|
18911
|
-
return Array.from(window2.document.querySelectorAll(target2)).some((el) => el === event.target || event.composedPath().includes(el));
|
|
18912
|
-
} else {
|
|
18913
|
-
const el = unrefElement$2(target2);
|
|
18914
|
-
return el && (event.target === el || event.composedPath().includes(el));
|
|
18915
|
-
}
|
|
18916
|
-
});
|
|
18917
|
-
};
|
|
18918
|
-
const listener = (event) => {
|
|
18919
|
-
const el = unrefElement$2(target);
|
|
18920
|
-
if (!el || el === event.target || event.composedPath().includes(el))
|
|
18921
|
-
return;
|
|
18922
|
-
if (event.detail === 0)
|
|
18923
|
-
shouldListen = !shouldIgnore(event);
|
|
18924
|
-
if (!shouldListen) {
|
|
18925
|
-
shouldListen = true;
|
|
18926
|
-
return;
|
|
18927
|
-
}
|
|
18928
|
-
handler(event);
|
|
18929
|
-
};
|
|
18930
|
-
const cleanup = [
|
|
18931
|
-
useEventListener$2(window2, "click", listener, { passive: true, capture }),
|
|
18932
|
-
useEventListener$2(window2, "pointerdown", (e2) => {
|
|
18933
|
-
const el = unrefElement$2(target);
|
|
18934
|
-
shouldListen = !shouldIgnore(e2) && !!(el && !e2.composedPath().includes(el));
|
|
18935
|
-
}, { passive: true }),
|
|
18936
|
-
detectIframe && useEventListener$2(window2, "blur", (event) => {
|
|
18937
|
-
setTimeout(() => {
|
|
18938
|
-
var _a2;
|
|
18939
|
-
const el = unrefElement$2(target);
|
|
18940
|
-
if (((_a2 = window2.document.activeElement) == null ? void 0 : _a2.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(window2.document.activeElement))) {
|
|
18941
|
-
handler(event);
|
|
18942
|
-
}
|
|
18943
|
-
}, 0);
|
|
18944
|
-
})
|
|
18945
|
-
].filter(Boolean);
|
|
18946
|
-
const stop2 = () => cleanup.forEach((fn7) => fn7());
|
|
18947
|
-
return stop2;
|
|
18948
|
-
}
|
|
18949
|
-
const _global$1 = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
18950
|
-
const globalKey = "__vueuse_ssr_handlers__";
|
|
18951
|
-
const handlers$1 = /* @__PURE__ */ getHandlers();
|
|
18952
|
-
function getHandlers() {
|
|
18953
|
-
if (!(globalKey in _global$1))
|
|
18954
|
-
_global$1[globalKey] = _global$1[globalKey] || {};
|
|
18955
|
-
return _global$1[globalKey];
|
|
18956
|
-
}
|
|
18957
|
-
function getSSRHandler(key, fallback) {
|
|
18958
|
-
return handlers$1[key] || fallback;
|
|
18959
|
-
}
|
|
18960
|
-
function guessSerializerType(rawInit) {
|
|
18961
|
-
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";
|
|
18962
|
-
}
|
|
18963
|
-
const StorageSerializers = {
|
|
18964
|
-
boolean: {
|
|
18965
|
-
read: (v) => v === "true",
|
|
18966
|
-
write: (v) => String(v)
|
|
18967
|
-
},
|
|
18968
|
-
object: {
|
|
18969
|
-
read: (v) => JSON.parse(v),
|
|
18970
|
-
write: (v) => JSON.stringify(v)
|
|
18971
|
-
},
|
|
18972
|
-
number: {
|
|
18973
|
-
read: (v) => Number.parseFloat(v),
|
|
18974
|
-
write: (v) => String(v)
|
|
18975
|
-
},
|
|
18976
|
-
any: {
|
|
18977
|
-
read: (v) => v,
|
|
18978
|
-
write: (v) => String(v)
|
|
18979
|
-
},
|
|
18980
|
-
string: {
|
|
18981
|
-
read: (v) => v,
|
|
18982
|
-
write: (v) => String(v)
|
|
18983
|
-
},
|
|
18984
|
-
map: {
|
|
18985
|
-
read: (v) => new Map(JSON.parse(v)),
|
|
18986
|
-
write: (v) => JSON.stringify(Array.from(v.entries()))
|
|
18987
|
-
},
|
|
18988
|
-
set: {
|
|
18989
|
-
read: (v) => new Set(JSON.parse(v)),
|
|
18990
|
-
write: (v) => JSON.stringify(Array.from(v))
|
|
18991
|
-
},
|
|
18992
|
-
date: {
|
|
18993
|
-
read: (v) => new Date(v),
|
|
18994
|
-
write: (v) => v.toISOString()
|
|
18995
|
-
}
|
|
18996
|
-
};
|
|
18997
|
-
const customStorageEventName = "vueuse-storage";
|
|
18998
|
-
function useStorage(key, defaults2, storage, options = {}) {
|
|
18999
|
-
var _a2;
|
|
19000
|
-
const {
|
|
19001
|
-
flush = "pre",
|
|
19002
|
-
deep = true,
|
|
19003
|
-
listenToStorageChanges = true,
|
|
19004
|
-
writeDefaults = true,
|
|
19005
|
-
mergeDefaults: mergeDefaults2 = false,
|
|
19006
|
-
shallow,
|
|
19007
|
-
window: window2 = defaultWindow$2,
|
|
19008
|
-
eventFilter,
|
|
19009
|
-
onError = (e2) => {
|
|
19010
|
-
console.error(e2);
|
|
19011
|
-
},
|
|
19012
|
-
initOnMounted
|
|
19013
|
-
} = options;
|
|
19014
|
-
const data = (shallow ? shallowRef : ref)(typeof defaults2 === "function" ? defaults2() : defaults2);
|
|
19015
|
-
if (!storage) {
|
|
19016
|
-
try {
|
|
19017
|
-
storage = getSSRHandler("getDefaultStorage", () => {
|
|
19018
|
-
var _a22;
|
|
19019
|
-
return (_a22 = defaultWindow$2) == null ? void 0 : _a22.localStorage;
|
|
19020
|
-
})();
|
|
19021
|
-
} catch (e2) {
|
|
19022
|
-
onError(e2);
|
|
19023
|
-
}
|
|
19024
|
-
}
|
|
19025
|
-
if (!storage)
|
|
19026
|
-
return data;
|
|
19027
|
-
const rawInit = toValue$1(defaults2);
|
|
19028
|
-
const type = guessSerializerType(rawInit);
|
|
19029
|
-
const serializer = (_a2 = options.serializer) != null ? _a2 : StorageSerializers[type];
|
|
19030
|
-
const { pause: pauseWatch, resume: resumeWatch } = watchPausable(
|
|
19031
|
-
data,
|
|
19032
|
-
() => write2(data.value),
|
|
19033
|
-
{ flush, deep, eventFilter }
|
|
19034
|
-
);
|
|
19035
|
-
if (window2 && listenToStorageChanges) {
|
|
19036
|
-
tryOnMounted(() => {
|
|
19037
|
-
useEventListener$2(window2, "storage", update2);
|
|
19038
|
-
useEventListener$2(window2, customStorageEventName, updateFromCustomEvent);
|
|
19039
|
-
if (initOnMounted)
|
|
19040
|
-
update2();
|
|
19041
|
-
});
|
|
19042
|
-
}
|
|
19043
|
-
if (!initOnMounted)
|
|
19044
|
-
update2();
|
|
19045
|
-
function dispatchWriteEvent(oldValue, newValue) {
|
|
19046
|
-
if (window2) {
|
|
19047
|
-
window2.dispatchEvent(new CustomEvent(customStorageEventName, {
|
|
19048
|
-
detail: {
|
|
19049
|
-
key,
|
|
19050
|
-
oldValue,
|
|
19051
|
-
newValue,
|
|
19052
|
-
storageArea: storage
|
|
19053
|
-
}
|
|
19054
|
-
}));
|
|
19055
|
-
}
|
|
19056
|
-
}
|
|
19057
|
-
function write2(v) {
|
|
19058
|
-
try {
|
|
19059
|
-
const oldValue = storage.getItem(key);
|
|
19060
|
-
if (v == null) {
|
|
19061
|
-
dispatchWriteEvent(oldValue, null);
|
|
19062
|
-
storage.removeItem(key);
|
|
19063
|
-
} else {
|
|
19064
|
-
const serialized = serializer.write(v);
|
|
19065
|
-
if (oldValue !== serialized) {
|
|
19066
|
-
storage.setItem(key, serialized);
|
|
19067
|
-
dispatchWriteEvent(oldValue, serialized);
|
|
19068
|
-
}
|
|
19069
|
-
}
|
|
19070
|
-
} catch (e2) {
|
|
19071
|
-
onError(e2);
|
|
19072
|
-
}
|
|
19073
|
-
}
|
|
19074
|
-
function read2(event) {
|
|
19075
|
-
const rawValue = event ? event.newValue : storage.getItem(key);
|
|
19076
|
-
if (rawValue == null) {
|
|
19077
|
-
if (writeDefaults && rawInit != null)
|
|
19078
|
-
storage.setItem(key, serializer.write(rawInit));
|
|
19079
|
-
return rawInit;
|
|
19080
|
-
} else if (!event && mergeDefaults2) {
|
|
19081
|
-
const value = serializer.read(rawValue);
|
|
19082
|
-
if (typeof mergeDefaults2 === "function")
|
|
19083
|
-
return mergeDefaults2(value, rawInit);
|
|
19084
|
-
else if (type === "object" && !Array.isArray(value))
|
|
19085
|
-
return { ...rawInit, ...value };
|
|
19086
|
-
return value;
|
|
19087
|
-
} else if (typeof rawValue !== "string") {
|
|
19088
|
-
return rawValue;
|
|
19089
|
-
} else {
|
|
19090
|
-
return serializer.read(rawValue);
|
|
19091
|
-
}
|
|
19092
|
-
}
|
|
19093
|
-
function update2(event) {
|
|
19094
|
-
if (event && event.storageArea !== storage)
|
|
19095
|
-
return;
|
|
19096
|
-
if (event && event.key == null) {
|
|
19097
|
-
data.value = rawInit;
|
|
19098
|
-
return;
|
|
19099
|
-
}
|
|
19100
|
-
if (event && event.key !== key)
|
|
19101
|
-
return;
|
|
19102
|
-
pauseWatch();
|
|
19103
|
-
try {
|
|
19104
|
-
if ((event == null ? void 0 : event.newValue) !== serializer.write(data.value))
|
|
19105
|
-
data.value = read2(event);
|
|
19106
|
-
} catch (e2) {
|
|
19107
|
-
onError(e2);
|
|
19108
|
-
} finally {
|
|
19109
|
-
if (event)
|
|
19110
|
-
nextTick(resumeWatch);
|
|
19111
|
-
else
|
|
19112
|
-
resumeWatch();
|
|
19113
|
-
}
|
|
19114
|
-
}
|
|
19115
|
-
function updateFromCustomEvent(event) {
|
|
19116
|
-
update2(event.detail);
|
|
19117
|
-
}
|
|
19118
|
-
return data;
|
|
19119
|
-
}
|
|
19120
|
-
function useLocalStorage(key, initialValue, options = {}) {
|
|
19121
|
-
const { window: window2 = defaultWindow$2 } = options;
|
|
19122
|
-
return useStorage(key, initialValue, window2 == null ? void 0 : window2.localStorage, options);
|
|
19123
|
-
}
|
|
19124
|
-
function useWindowScroll(options = {}) {
|
|
19125
|
-
const { window: window2 = defaultWindow$2, behavior = "auto" } = options;
|
|
19126
|
-
if (!window2) {
|
|
19127
|
-
return {
|
|
19128
|
-
x: ref(0),
|
|
19129
|
-
y: ref(0)
|
|
19130
|
-
};
|
|
19131
|
-
}
|
|
19132
|
-
const internalX = ref(window2.scrollX);
|
|
19133
|
-
const internalY = ref(window2.scrollY);
|
|
19134
|
-
const x2 = computed({
|
|
19135
|
-
get() {
|
|
19136
|
-
return internalX.value;
|
|
19137
|
-
},
|
|
19138
|
-
set(x22) {
|
|
19139
|
-
scrollTo({ left: x22, behavior });
|
|
19140
|
-
}
|
|
19141
|
-
});
|
|
19142
|
-
const y3 = computed({
|
|
19143
|
-
get() {
|
|
19144
|
-
return internalY.value;
|
|
19145
|
-
},
|
|
19146
|
-
set(y22) {
|
|
19147
|
-
scrollTo({ top: y22, behavior });
|
|
19148
|
-
}
|
|
19149
|
-
});
|
|
19150
|
-
useEventListener$2(
|
|
19151
|
-
window2,
|
|
19152
|
-
"scroll",
|
|
19153
|
-
() => {
|
|
19154
|
-
internalX.value = window2.scrollX;
|
|
19155
|
-
internalY.value = window2.scrollY;
|
|
19156
|
-
},
|
|
19157
|
-
{
|
|
19158
|
-
capture: false,
|
|
19159
|
-
passive: true
|
|
19160
|
-
}
|
|
19161
|
-
);
|
|
19162
|
-
return { x: x2, y: y3 };
|
|
19163
|
-
}
|
|
19164
19210
|
const min = Math.min;
|
|
19165
19211
|
const max = Math.max;
|
|
19166
19212
|
const round = Math.round;
|
|
@@ -20891,8 +20937,8 @@ const _sfc_main$1A = {
|
|
|
20891
20937
|
}
|
|
20892
20938
|
};
|
|
20893
20939
|
const _hoisted_1$19 = { class: "w-100 position-relative cursor-pointer" };
|
|
20894
|
-
const _hoisted_2$
|
|
20895
|
-
const _hoisted_3$
|
|
20940
|
+
const _hoisted_2$S = ["placeholder"];
|
|
20941
|
+
const _hoisted_3$B = {
|
|
20896
20942
|
key: 1,
|
|
20897
20943
|
class: "flex-1 input-placeholder"
|
|
20898
20944
|
};
|
|
@@ -21005,11 +21051,16 @@ const _sfc_main$1z = {
|
|
|
21005
21051
|
const onDeleteInput = () => {
|
|
21006
21052
|
modelValue.value = null;
|
|
21007
21053
|
};
|
|
21008
|
-
|
|
21009
|
-
|
|
21010
|
-
|
|
21011
|
-
|
|
21012
|
-
|
|
21054
|
+
useClickOutside({
|
|
21055
|
+
target: grid,
|
|
21056
|
+
handler: () => {
|
|
21057
|
+
if (!showGrid.value) {
|
|
21058
|
+
return;
|
|
21059
|
+
}
|
|
21060
|
+
close2();
|
|
21061
|
+
},
|
|
21062
|
+
isOpen: showGrid,
|
|
21063
|
+
ignore: [input, searchField]
|
|
21013
21064
|
});
|
|
21014
21065
|
const inputClass = computed(() => ({
|
|
21015
21066
|
"w-100 form-control": true,
|
|
@@ -21072,7 +21123,7 @@ const _sfc_main$1z = {
|
|
|
21072
21123
|
class: "mb-0 no-hover flex-1 form-control",
|
|
21073
21124
|
placeholder: props2.placeholder,
|
|
21074
21125
|
onKeyup: withKeys(onKeyEnter, ["enter"])
|
|
21075
|
-
}, null, 40, _hoisted_2$
|
|
21126
|
+
}, null, 40, _hoisted_2$S)), [
|
|
21076
21127
|
[vModelText, searchValue.value]
|
|
21077
21128
|
]) : (openBlock(), createElementBlock("div", {
|
|
21078
21129
|
key: 1,
|
|
@@ -21082,7 +21133,7 @@ const _sfc_main$1z = {
|
|
|
21082
21133
|
renderSlot(_ctx.$slots, "default", { item: modelValue.value }, () => [
|
|
21083
21134
|
modelValue.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
21084
21135
|
createTextVNode(toDisplayString(getDisplayValue2(modelValue.value)), 1)
|
|
21085
|
-
], 64)) : (openBlock(), createElementBlock("span", _hoisted_3$
|
|
21136
|
+
], 64)) : (openBlock(), createElementBlock("span", _hoisted_3$B, toDisplayString(props2.placeholder), 1))
|
|
21086
21137
|
], true)
|
|
21087
21138
|
], 2)),
|
|
21088
21139
|
modelValue.value && __props.showRemoveButtons ? (openBlock(), createElementBlock("div", _hoisted_4$s, [
|
|
@@ -21136,7 +21187,7 @@ const _sfc_main$1z = {
|
|
|
21136
21187
|
};
|
|
21137
21188
|
}
|
|
21138
21189
|
};
|
|
21139
|
-
const AppGridPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-
|
|
21190
|
+
const AppGridPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-12dbbc29"]]);
|
|
21140
21191
|
const EMIT_SUB_HOUR = "sub-hour";
|
|
21141
21192
|
const EMIT_NOW = "now";
|
|
21142
21193
|
const EMIT_ADD_HOUR = "add-hour";
|
|
@@ -21167,11 +21218,11 @@ const _hoisted_1$18 = {
|
|
|
21167
21218
|
class: "display-block w-100",
|
|
21168
21219
|
style: {}
|
|
21169
21220
|
};
|
|
21170
|
-
const _hoisted_2$
|
|
21221
|
+
const _hoisted_2$R = {
|
|
21171
21222
|
key: 0,
|
|
21172
21223
|
class: "ml-10"
|
|
21173
21224
|
};
|
|
21174
|
-
const _hoisted_3$
|
|
21225
|
+
const _hoisted_3$A = {
|
|
21175
21226
|
key: 1,
|
|
21176
21227
|
class: "flex-center-vertical ml-5 mr-5 time-picker-icon"
|
|
21177
21228
|
};
|
|
@@ -21340,14 +21391,14 @@ const _sfc_main$1x = {
|
|
|
21340
21391
|
class: "app-grid-picker-minute app-form-group-element flex-grow-1",
|
|
21341
21392
|
"display-by": "value"
|
|
21342
21393
|
}, null, 8, ["modelValue", "disabled", "options"]),
|
|
21343
|
-
_ctx.showEasyButtons && !_ctx.disabled ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
21394
|
+
_ctx.showEasyButtons && !_ctx.disabled ? (openBlock(), createElementBlock("div", _hoisted_2$R, [
|
|
21344
21395
|
createVNode(_sfc_main$1y, {
|
|
21345
21396
|
onAddHour,
|
|
21346
21397
|
onSubHour,
|
|
21347
21398
|
onNow: onSelectNow
|
|
21348
21399
|
})
|
|
21349
21400
|
])) : createCommentVNode("", true),
|
|
21350
|
-
!_ctx.disabled && __props.isClearable && modelValue.value ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
21401
|
+
!_ctx.disabled && __props.isClearable && modelValue.value ? (openBlock(), createElementBlock("div", _hoisted_3$A, [
|
|
21351
21402
|
withDirectives(createElementVNode("i", {
|
|
21352
21403
|
class: "ph-x-circle app-cross-icon",
|
|
21353
21404
|
onClick: withModifiers(reset2, ["stop"])
|
|
@@ -21624,8 +21675,8 @@ __publicField(_DateUtils, "isOlderThan", (timestamp, minutes) => {
|
|
|
21624
21675
|
});
|
|
21625
21676
|
let DateUtils = _DateUtils;
|
|
21626
21677
|
const _hoisted_1$17 = { class: "flex-center-vertical w-100" };
|
|
21627
|
-
const _hoisted_2$
|
|
21628
|
-
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" };
|
|
21629
21680
|
const _hoisted_4$r = {
|
|
21630
21681
|
key: 0,
|
|
21631
21682
|
class: "easy-buttons"
|
|
@@ -21779,7 +21830,7 @@ const _sfc_main$1w = {
|
|
|
21779
21830
|
]),
|
|
21780
21831
|
default: withCtx(() => [
|
|
21781
21832
|
createElementVNode("div", _hoisted_1$17, [
|
|
21782
|
-
createElementVNode("div", _hoisted_2$
|
|
21833
|
+
createElementVNode("div", _hoisted_2$Q, [
|
|
21783
21834
|
createVNode(_sfc_main$1F, {
|
|
21784
21835
|
modelValue: localDate.value,
|
|
21785
21836
|
"onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) => localDate.value = $event),
|
|
@@ -21789,7 +21840,7 @@ const _sfc_main$1w = {
|
|
|
21789
21840
|
"input-only": true
|
|
21790
21841
|
}, null, 8, ["modelValue", "disabled", "show-day-of-week"])
|
|
21791
21842
|
]),
|
|
21792
|
-
createElementVNode("div", _hoisted_3$
|
|
21843
|
+
createElementVNode("div", _hoisted_3$z, [
|
|
21793
21844
|
createVNode(AppTimePicker, {
|
|
21794
21845
|
ref: "timePicker",
|
|
21795
21846
|
modelValue: localTime.value,
|
|
@@ -21953,23 +22004,26 @@ var IconCaretUpFilled = createVueComponent("filled", "caret-up-filled", "IconCar
|
|
|
21953
22004
|
*/
|
|
21954
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" }]]);
|
|
21955
22006
|
const _hoisted_1$16 = { class: "display-flex-column h-100" };
|
|
21956
|
-
const _hoisted_2$
|
|
21957
|
-
const _hoisted_3$
|
|
22007
|
+
const _hoisted_2$P = { class: "flex-center-vertical w-100 p-3" };
|
|
22008
|
+
const _hoisted_3$y = { class: "flex-1" };
|
|
21958
22009
|
const _hoisted_4$q = { class: "font-600 text-size-14" };
|
|
21959
22010
|
const _hoisted_5$k = { class: "p-20 flex-1 w-100" };
|
|
21960
22011
|
const _sfc_main$1v = {
|
|
21961
22012
|
__name: "AppDrawer",
|
|
21962
|
-
props: {
|
|
22013
|
+
props: /* @__PURE__ */ mergeModels({
|
|
21963
22014
|
title: {},
|
|
21964
22015
|
width: {
|
|
21965
22016
|
default: "600px"
|
|
21966
22017
|
}
|
|
21967
|
-
},
|
|
21968
|
-
|
|
22018
|
+
}, {
|
|
22019
|
+
"modelValue": { default: false },
|
|
22020
|
+
"modelModifiers": {}
|
|
22021
|
+
}),
|
|
22022
|
+
emits: /* @__PURE__ */ mergeModels(["mounted"], ["update:modelValue"]),
|
|
21969
22023
|
setup(__props, { emit: __emit }) {
|
|
21970
22024
|
const props2 = __props;
|
|
21971
22025
|
const emits = __emit;
|
|
21972
|
-
const isExpanded =
|
|
22026
|
+
const isExpanded = useModel(__props, "modelValue");
|
|
21973
22027
|
const toggle2 = () => {
|
|
21974
22028
|
isExpanded.value = !isExpanded.value;
|
|
21975
22029
|
};
|
|
@@ -21990,22 +22044,24 @@ const _sfc_main$1v = {
|
|
|
21990
22044
|
onMounted(() => {
|
|
21991
22045
|
emits("mounted", externalContext);
|
|
21992
22046
|
});
|
|
22047
|
+
const drawer = useTemplateRef("drawer");
|
|
22048
|
+
useClickOutside({ target: drawer, handler: hide3, isOpen: isExpanded });
|
|
21993
22049
|
return (_ctx, _cache2) => {
|
|
21994
22050
|
return openBlock(), createElementBlock("div", null, [
|
|
21995
22051
|
createElementVNode("div", {
|
|
21996
22052
|
id: "content-overlay",
|
|
21997
22053
|
ref: "overlay",
|
|
21998
|
-
class: normalizeClass({ active: isExpanded.value })
|
|
21999
|
-
onClick: hide3
|
|
22054
|
+
class: normalizeClass({ active: isExpanded.value })
|
|
22000
22055
|
}, null, 2),
|
|
22001
22056
|
createElementVNode("div", {
|
|
22002
|
-
|
|
22057
|
+
ref_key: "drawer",
|
|
22058
|
+
ref: drawer,
|
|
22003
22059
|
class: normalizeClass(["filter-sidebar", drawerClass.value]),
|
|
22004
22060
|
style: normalizeStyle(drawerStyle.value)
|
|
22005
22061
|
}, [
|
|
22006
22062
|
createElementVNode("div", _hoisted_1$16, [
|
|
22007
|
-
createElementVNode("div", _hoisted_2$
|
|
22008
|
-
createElementVNode("div", _hoisted_3$
|
|
22063
|
+
createElementVNode("div", _hoisted_2$P, [
|
|
22064
|
+
createElementVNode("div", _hoisted_3$y, [
|
|
22009
22065
|
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
22010
22066
|
createElementVNode("div", _hoisted_4$q, toDisplayString(__props.title), 1)
|
|
22011
22067
|
], true)
|
|
@@ -22027,10 +22083,10 @@ const _sfc_main$1v = {
|
|
|
22027
22083
|
};
|
|
22028
22084
|
}
|
|
22029
22085
|
};
|
|
22030
|
-
const AppDrawer = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["__scopeId", "data-v-
|
|
22086
|
+
const AppDrawer = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["__scopeId", "data-v-7b902216"]]);
|
|
22031
22087
|
const _hoisted_1$15 = { class: "display-flex-column h-100" };
|
|
22032
|
-
const _hoisted_2$
|
|
22033
|
-
const _hoisted_3$
|
|
22088
|
+
const _hoisted_2$O = { class: "flex-center-vertical pr-20 pl-20 w-100 mt-15" };
|
|
22089
|
+
const _hoisted_3$x = { class: "flex-1 mb-10" };
|
|
22034
22090
|
const _hoisted_4$p = { class: "mb-0" };
|
|
22035
22091
|
const _hoisted_5$j = { class: "p-20 flex-1 w-100" };
|
|
22036
22092
|
const _hoisted_6$c = { class: "flex-center p-10 w-100 gap-1" };
|
|
@@ -22093,8 +22149,8 @@ const _sfc_main$1u = {
|
|
|
22093
22149
|
class: normalizeClass(["filter-sidebar", { active: isExpanded.value }])
|
|
22094
22150
|
}, [
|
|
22095
22151
|
createElementVNode("div", _hoisted_1$15, [
|
|
22096
|
-
createElementVNode("div", _hoisted_2$
|
|
22097
|
-
createElementVNode("div", _hoisted_3$
|
|
22152
|
+
createElementVNode("div", _hoisted_2$O, [
|
|
22153
|
+
createElementVNode("div", _hoisted_3$x, [
|
|
22098
22154
|
createElementVNode("h4", _hoisted_4$p, toDisplayString(__props.title), 1)
|
|
22099
22155
|
]),
|
|
22100
22156
|
createElementVNode("i", {
|
|
@@ -22591,6 +22647,10 @@ const _sfc_main$1t = {
|
|
|
22591
22647
|
}
|
|
22592
22648
|
};
|
|
22593
22649
|
const _hoisted_1$14 = {
|
|
22650
|
+
class: "app-modal-overlay",
|
|
22651
|
+
style: { "z-index": "99999" }
|
|
22652
|
+
};
|
|
22653
|
+
const _hoisted_2$N = {
|
|
22594
22654
|
"aria-modal": "true",
|
|
22595
22655
|
class: "modal fade show display-block",
|
|
22596
22656
|
tabindex: "-1"
|
|
@@ -22631,17 +22691,13 @@ const _sfc_main$1s = {
|
|
|
22631
22691
|
const props2 = __props;
|
|
22632
22692
|
const emits = __emit;
|
|
22633
22693
|
const modal = useTemplateRef("modal");
|
|
22634
|
-
const overlay = useTemplateRef("overlay");
|
|
22635
22694
|
const show2 = () => {
|
|
22636
22695
|
emits("show");
|
|
22637
22696
|
isVisible.value = true;
|
|
22638
22697
|
};
|
|
22639
22698
|
const hide3 = () => {
|
|
22640
|
-
|
|
22641
|
-
|
|
22642
|
-
emits("hide");
|
|
22643
|
-
isVisible.value = false;
|
|
22644
|
-
}
|
|
22699
|
+
emits("hide");
|
|
22700
|
+
isVisible.value = false;
|
|
22645
22701
|
};
|
|
22646
22702
|
let isFullyRendered = false;
|
|
22647
22703
|
watch(isVisible, async (newValue) => {
|
|
@@ -22651,8 +22707,14 @@ const _sfc_main$1s = {
|
|
|
22651
22707
|
isFullyRendered = true;
|
|
22652
22708
|
}
|
|
22653
22709
|
});
|
|
22654
|
-
|
|
22655
|
-
|
|
22710
|
+
const { isTopPopup } = useClickOutside({
|
|
22711
|
+
target: modal,
|
|
22712
|
+
handler: () => {
|
|
22713
|
+
if (isFullyRendered && isVisible.value && props2.clickToClose) {
|
|
22714
|
+
hide3();
|
|
22715
|
+
}
|
|
22716
|
+
},
|
|
22717
|
+
isOpen: isVisible
|
|
22656
22718
|
});
|
|
22657
22719
|
const modalStyle = computed(() => {
|
|
22658
22720
|
const width = props2.modalWidthValue ?? props2.width;
|
|
@@ -22678,20 +22740,8 @@ const _sfc_main$1s = {
|
|
|
22678
22740
|
document.body.style.overflow = "";
|
|
22679
22741
|
document.body.style.paddingRight = "";
|
|
22680
22742
|
}
|
|
22681
|
-
function isElementVisible(element) {
|
|
22682
|
-
if (!element) {
|
|
22683
|
-
return false;
|
|
22684
|
-
}
|
|
22685
|
-
const style = window.getComputedStyle(element);
|
|
22686
|
-
return style.display !== "none" && style.visibility !== "hidden" && style.opacity !== "0";
|
|
22687
|
-
}
|
|
22688
|
-
function getHighestOverlay() {
|
|
22689
|
-
const overlays = Array.from(document.querySelectorAll(".app-modal-overlay"));
|
|
22690
|
-
const visibleOverlays = overlays.filter(isElementVisible);
|
|
22691
|
-
return visibleOverlays.length ? visibleOverlays.pop() : null;
|
|
22692
|
-
}
|
|
22693
22743
|
function onKeydown(event) {
|
|
22694
|
-
if (event.key !== "Escape" || !isVisible.value) {
|
|
22744
|
+
if (event.key !== "Escape" || !isVisible.value || !isTopPopup.value) {
|
|
22695
22745
|
return;
|
|
22696
22746
|
}
|
|
22697
22747
|
event.preventDefault();
|
|
@@ -22711,13 +22761,8 @@ const _sfc_main$1s = {
|
|
|
22711
22761
|
return (_ctx, _cache2) => {
|
|
22712
22762
|
return openBlock(), createBlock(Transition, { name: "fadeHeight" }, {
|
|
22713
22763
|
default: withCtx(() => [
|
|
22714
|
-
withDirectives(createElementVNode("div",
|
|
22715
|
-
|
|
22716
|
-
ref: overlay,
|
|
22717
|
-
class: "app-modal-overlay",
|
|
22718
|
-
style: { "z-index": "99999" }
|
|
22719
|
-
}, [
|
|
22720
|
-
createElementVNode("div", _hoisted_1$14, [
|
|
22764
|
+
withDirectives(createElementVNode("div", _hoisted_1$14, [
|
|
22765
|
+
createElementVNode("div", _hoisted_2$N, [
|
|
22721
22766
|
createElementVNode("div", {
|
|
22722
22767
|
ref_key: "modal",
|
|
22723
22768
|
ref: modal,
|
|
@@ -22741,10 +22786,10 @@ const _sfc_main$1s = {
|
|
|
22741
22786
|
};
|
|
22742
22787
|
}
|
|
22743
22788
|
};
|
|
22744
|
-
const AppModal = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__scopeId", "data-v-
|
|
22789
|
+
const AppModal = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__scopeId", "data-v-4065aede"]]);
|
|
22745
22790
|
const _hoisted_1$13 = { class: "app-alert-modal rounded-3 shadow p-3" };
|
|
22746
22791
|
const _hoisted_2$M = { class: "mb-2 fw-semibold" };
|
|
22747
|
-
const _hoisted_3$
|
|
22792
|
+
const _hoisted_3$w = ["innerHTML"];
|
|
22748
22793
|
const _hoisted_4$o = {
|
|
22749
22794
|
key: 1,
|
|
22750
22795
|
class: "mb-0 app-alert-modal-text"
|
|
@@ -22829,7 +22874,7 @@ const _sfc_main$1r = {
|
|
|
22829
22874
|
key: 0,
|
|
22830
22875
|
class: "app-alert-modal-text",
|
|
22831
22876
|
innerHTML: __props.text
|
|
22832
|
-
}, null, 8, _hoisted_3$
|
|
22877
|
+
}, null, 8, _hoisted_3$w)) : (openBlock(), createElementBlock("p", _hoisted_4$o, toDisplayString(__props.text), 1))
|
|
22833
22878
|
]),
|
|
22834
22879
|
createElementVNode("div", _hoisted_5$i, [
|
|
22835
22880
|
__props.showCancelButton ? (openBlock(), createBlock(_sfc_main$1L, {
|
|
@@ -26060,7 +26105,7 @@ const fileStatus = {
|
|
|
26060
26105
|
};
|
|
26061
26106
|
const _hoisted_1$11 = { class: "flex-center-vertical" };
|
|
26062
26107
|
const _hoisted_2$L = { key: 0 };
|
|
26063
|
-
const _hoisted_3$
|
|
26108
|
+
const _hoisted_3$v = {
|
|
26064
26109
|
key: 1,
|
|
26065
26110
|
class: "file-action-button flex-1 mr-10"
|
|
26066
26111
|
};
|
|
@@ -26113,7 +26158,7 @@ const _sfc_main$1o = {
|
|
|
26113
26158
|
style: { "font-size": "22px" }
|
|
26114
26159
|
}, null, 2),
|
|
26115
26160
|
__props.file ? (openBlock(), createElementBlock("div", _hoisted_2$L, toDisplayString(filename.value), 1)) : createCommentVNode("", true),
|
|
26116
|
-
__props.file ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
26161
|
+
__props.file ? (openBlock(), createElementBlock("div", _hoisted_3$v, [
|
|
26117
26162
|
props2.showPreview ? (openBlock(), createElementBlock("div", {
|
|
26118
26163
|
key: 0,
|
|
26119
26164
|
class: "ml-5 mr-5 action-icon",
|
|
@@ -26152,7 +26197,7 @@ const _hoisted_2$K = {
|
|
|
26152
26197
|
key: 0,
|
|
26153
26198
|
class: "flex-1"
|
|
26154
26199
|
};
|
|
26155
|
-
const _hoisted_3$
|
|
26200
|
+
const _hoisted_3$u = {
|
|
26156
26201
|
key: 1,
|
|
26157
26202
|
class: "flex-1"
|
|
26158
26203
|
};
|
|
@@ -26238,7 +26283,7 @@ const _sfc_main$1n = {
|
|
|
26238
26283
|
onPreview: () => emits("preview", file)
|
|
26239
26284
|
}, null, 8, ["file", "disabled", "show-preview", "show-download", "onRemove", "onDownload", "onPreview"]);
|
|
26240
26285
|
}), 128))
|
|
26241
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
26286
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_3$u, toDisplayString(__props.disabled ? "Nu a fost ales niciun fișier." : "Alegeți un fișier."), 1)),
|
|
26242
26287
|
createElementVNode("div", _hoisted_4$m, [
|
|
26243
26288
|
!__props.disabled ? (openBlock(), createElementBlock("div", {
|
|
26244
26289
|
key: 0,
|
|
@@ -26439,7 +26484,7 @@ const _sfc_main$1k = {
|
|
|
26439
26484
|
};
|
|
26440
26485
|
const _hoisted_1$Y = { class: "display-flex align-items-center" };
|
|
26441
26486
|
const _hoisted_2$I = { class: "display-flex pl-10" };
|
|
26442
|
-
const _hoisted_3$
|
|
26487
|
+
const _hoisted_3$t = {
|
|
26443
26488
|
key: 1,
|
|
26444
26489
|
class: "card list app-form-repeater-list'"
|
|
26445
26490
|
};
|
|
@@ -26584,7 +26629,7 @@ const _sfc_main$1j = {
|
|
|
26584
26629
|
renderSlot(_ctx.$slots, "content", normalizeProps(guardReactiveProps({ index, element, removeItemAtIndex })))
|
|
26585
26630
|
]),
|
|
26586
26631
|
_: 2
|
|
26587
|
-
}, 1032, ["can-collapse", "is-collapsed", "onIsCollapsedChanged"])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
26632
|
+
}, 1032, ["can-collapse", "is-collapsed", "onIsCollapsedChanged"])) : (openBlock(), createElementBlock("div", _hoisted_3$t, [
|
|
26588
26633
|
createElementVNode("div", _hoisted_4$l, [
|
|
26589
26634
|
createElementVNode("div", _hoisted_5$f, [
|
|
26590
26635
|
!__props.disabled && __props.isDraggable ? (openBlock(), createBlock(unref(IconMenu2), {
|
|
@@ -27880,7 +27925,7 @@ const _sfc_main$1i = {
|
|
|
27880
27925
|
};
|
|
27881
27926
|
const _hoisted_1$X = { class: "card card-table table-responsive shadow-0 mb-20 overflow-hidden" };
|
|
27882
27927
|
const _hoisted_2$H = { class: "table table-bordered" };
|
|
27883
|
-
const _hoisted_3$
|
|
27928
|
+
const _hoisted_3$s = ["onClick"];
|
|
27884
27929
|
function _sfc_render$1(_ctx, _cache2, $props, $setup, $data, $options) {
|
|
27885
27930
|
return openBlock(), createElementBlock("div", _hoisted_1$X, [
|
|
27886
27931
|
createElementVNode("table", _hoisted_2$H, [
|
|
@@ -27903,7 +27948,7 @@ function _sfc_render$1(_ctx, _cache2, $props, $setup, $data, $options) {
|
|
|
27903
27948
|
class: normalizeClass($setup.tdClass(colorShade)),
|
|
27904
27949
|
style: normalizeStyle($setup.cellStyle(colorShade)),
|
|
27905
27950
|
onClick: ($event) => $setup.selectColor(colorShade)
|
|
27906
|
-
}, null, 14, _hoisted_3$
|
|
27951
|
+
}, null, 14, _hoisted_3$s);
|
|
27907
27952
|
}), 256))
|
|
27908
27953
|
]);
|
|
27909
27954
|
}), 128))
|
|
@@ -27917,7 +27962,7 @@ const _hoisted_2$G = {
|
|
|
27917
27962
|
key: 0,
|
|
27918
27963
|
class: "app-number-spinners"
|
|
27919
27964
|
};
|
|
27920
|
-
const _hoisted_3$
|
|
27965
|
+
const _hoisted_3$r = { class: "form-control-feedback-icon" };
|
|
27921
27966
|
const _sfc_main$1h = {
|
|
27922
27967
|
__name: "AppInput",
|
|
27923
27968
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -28030,7 +28075,7 @@ const _sfc_main$1h = {
|
|
|
28030
28075
|
key: 1,
|
|
28031
28076
|
class: normalizeClass(["form-control-feedback", "form-control-feedback-end", { "has-spinners-clear-icon": __props.type === "number" }])
|
|
28032
28077
|
}, [
|
|
28033
|
-
createElementVNode("div", _hoisted_3$
|
|
28078
|
+
createElementVNode("div", _hoisted_3$r, [
|
|
28034
28079
|
withDirectives(createElementVNode("i", {
|
|
28035
28080
|
class: "ph-x-circle app-cross-icon",
|
|
28036
28081
|
onClick: withModifiers(clearOptions, ["stop"])
|
|
@@ -28582,7 +28627,7 @@ const _sfc_main$1a = {
|
|
|
28582
28627
|
};
|
|
28583
28628
|
const _hoisted_1$Q = { class: "row" };
|
|
28584
28629
|
const _hoisted_2$E = { class: "col-lg-12" };
|
|
28585
|
-
const _hoisted_3$
|
|
28630
|
+
const _hoisted_3$q = { class: "card card-white animated fadeIn" };
|
|
28586
28631
|
const _hoisted_4$k = { class: "card-header" };
|
|
28587
28632
|
const _hoisted_5$e = { class: "card-body" };
|
|
28588
28633
|
const _sfc_main$19 = {
|
|
@@ -28591,7 +28636,7 @@ const _sfc_main$19 = {
|
|
|
28591
28636
|
return (_ctx, _cache2) => {
|
|
28592
28637
|
return openBlock(), createElementBlock("div", _hoisted_1$Q, [
|
|
28593
28638
|
createElementVNode("div", _hoisted_2$E, [
|
|
28594
|
-
createElementVNode("div", _hoisted_3$
|
|
28639
|
+
createElementVNode("div", _hoisted_3$q, [
|
|
28595
28640
|
createElementVNode("div", _hoisted_4$k, [
|
|
28596
28641
|
createVNode(_sfc_main$1b, {
|
|
28597
28642
|
img: true,
|
|
@@ -28791,7 +28836,7 @@ function useModelWatch({ props: props2, emits, propName = "modelValue", onDataCh
|
|
|
28791
28836
|
}
|
|
28792
28837
|
const _hoisted_1$P = ["tabindex"];
|
|
28793
28838
|
const _hoisted_2$D = ["tabindex"];
|
|
28794
|
-
const _hoisted_3$
|
|
28839
|
+
const _hoisted_3$p = ["tabindex"];
|
|
28795
28840
|
const _hoisted_4$j = ["onClick", "onKeyup"];
|
|
28796
28841
|
const _hoisted_5$d = ["tabindex"];
|
|
28797
28842
|
const _hoisted_6$9 = ["tabindex"];
|
|
@@ -28963,7 +29008,7 @@ const _sfc_main$17 = {
|
|
|
28963
29008
|
tabindex: firstPageSelected() ? -1 : 0,
|
|
28964
29009
|
onClick: _cache2[4] || (_cache2[4] = ($event) => prevPage()),
|
|
28965
29010
|
onKeyup: _cache2[5] || (_cache2[5] = withKeys(($event) => prevPage(), ["enter"]))
|
|
28966
|
-
}, toDisplayString(_ctx.prevText), 43, _hoisted_3$
|
|
29011
|
+
}, toDisplayString(_ctx.prevText), 43, _hoisted_3$p))
|
|
28967
29012
|
], 2)) : createCommentVNode("", true),
|
|
28968
29013
|
(openBlock(true), createElementBlock(Fragment, null, renderList(pages.value, (page) => {
|
|
28969
29014
|
return openBlock(), createElementBlock("li", {
|
|
@@ -29029,7 +29074,7 @@ const _sfc_main$17 = {
|
|
|
29029
29074
|
};
|
|
29030
29075
|
const _hoisted_1$O = { class: "pagination-info-label" };
|
|
29031
29076
|
const _hoisted_2$C = { class: "text-muted d-none d-lg-block d-xl-block" };
|
|
29032
|
-
const _hoisted_3$
|
|
29077
|
+
const _hoisted_3$o = { key: 0 };
|
|
29033
29078
|
const _hoisted_4$i = { key: 1 };
|
|
29034
29079
|
const _sfc_main$16 = {
|
|
29035
29080
|
__name: "AppPaginationInfo",
|
|
@@ -29054,7 +29099,7 @@ const _sfc_main$16 = {
|
|
|
29054
29099
|
createElementVNode("div", _hoisted_1$O, [
|
|
29055
29100
|
createElementVNode("span", _hoisted_2$C, [
|
|
29056
29101
|
createTextVNode(toDisplayString(`Inregistrari vizibile: ${props2.modelValue.from || 0} - ${props2.modelValue.to || 0}`) + " ", 1),
|
|
29057
|
-
props2.modelValue.total ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
29102
|
+
props2.modelValue.total ? (openBlock(), createElementBlock("span", _hoisted_3$o, toDisplayString(` din ${props2.modelValue.total}`), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$i, toDisplayString(` (total negenerat)`)))
|
|
29058
29103
|
])
|
|
29059
29104
|
]),
|
|
29060
29105
|
__props.canTogglePagination ? (openBlock(), createBlock(_sfc_main$1L, {
|
|
@@ -29222,227 +29267,6 @@ function useSelectNew(modelValue, config) {
|
|
|
29222
29267
|
provide(SelectNewSymbol, api);
|
|
29223
29268
|
return api;
|
|
29224
29269
|
}
|
|
29225
|
-
function unrefElement$1(elRef) {
|
|
29226
|
-
var _a2;
|
|
29227
|
-
const plain = toValue$1(elRef);
|
|
29228
|
-
return (_a2 = plain == null ? void 0 : plain.$el) != null ? _a2 : plain;
|
|
29229
|
-
}
|
|
29230
|
-
const defaultWindow$1 = isClient$1 ? window : void 0;
|
|
29231
|
-
function useEventListener$1(...args) {
|
|
29232
|
-
let target;
|
|
29233
|
-
let events2;
|
|
29234
|
-
let listeners;
|
|
29235
|
-
let options;
|
|
29236
|
-
if (typeof args[0] === "string" || Array.isArray(args[0])) {
|
|
29237
|
-
[events2, listeners, options] = args;
|
|
29238
|
-
target = defaultWindow$1;
|
|
29239
|
-
} else {
|
|
29240
|
-
[target, events2, listeners, options] = args;
|
|
29241
|
-
}
|
|
29242
|
-
if (!target)
|
|
29243
|
-
return noop$2;
|
|
29244
|
-
if (!Array.isArray(events2))
|
|
29245
|
-
events2 = [events2];
|
|
29246
|
-
if (!Array.isArray(listeners))
|
|
29247
|
-
listeners = [listeners];
|
|
29248
|
-
const cleanups = [];
|
|
29249
|
-
const cleanup = () => {
|
|
29250
|
-
cleanups.forEach((fn7) => fn7());
|
|
29251
|
-
cleanups.length = 0;
|
|
29252
|
-
};
|
|
29253
|
-
const register = (el, event, listener, options2) => {
|
|
29254
|
-
el.addEventListener(event, listener, options2);
|
|
29255
|
-
return () => el.removeEventListener(event, listener, options2);
|
|
29256
|
-
};
|
|
29257
|
-
const stopWatch = watch(
|
|
29258
|
-
() => [unrefElement$1(target), toValue$1(options)],
|
|
29259
|
-
([el, options2]) => {
|
|
29260
|
-
cleanup();
|
|
29261
|
-
if (!el)
|
|
29262
|
-
return;
|
|
29263
|
-
const optionsClone = isObject$4(options2) ? { ...options2 } : options2;
|
|
29264
|
-
cleanups.push(
|
|
29265
|
-
...events2.flatMap((event) => {
|
|
29266
|
-
return listeners.map((listener) => register(el, event, listener, optionsClone));
|
|
29267
|
-
})
|
|
29268
|
-
);
|
|
29269
|
-
},
|
|
29270
|
-
{ immediate: true, flush: "post" }
|
|
29271
|
-
);
|
|
29272
|
-
const stop2 = () => {
|
|
29273
|
-
stopWatch();
|
|
29274
|
-
cleanup();
|
|
29275
|
-
};
|
|
29276
|
-
tryOnScopeDispose(stop2);
|
|
29277
|
-
return stop2;
|
|
29278
|
-
}
|
|
29279
|
-
let _iOSWorkaround = false;
|
|
29280
|
-
function onClickOutside$1(target, handler, options = {}) {
|
|
29281
|
-
const { window: window2 = defaultWindow$1, ignore = [], capture = true, detectIframe = false } = options;
|
|
29282
|
-
if (!window2)
|
|
29283
|
-
return noop$2;
|
|
29284
|
-
if (isIOS && !_iOSWorkaround) {
|
|
29285
|
-
_iOSWorkaround = true;
|
|
29286
|
-
Array.from(window2.document.body.children).forEach((el) => el.addEventListener("click", noop$2));
|
|
29287
|
-
window2.document.documentElement.addEventListener("click", noop$2);
|
|
29288
|
-
}
|
|
29289
|
-
let shouldListen = true;
|
|
29290
|
-
const shouldIgnore = (event) => {
|
|
29291
|
-
return ignore.some((target2) => {
|
|
29292
|
-
if (typeof target2 === "string") {
|
|
29293
|
-
return Array.from(window2.document.querySelectorAll(target2)).some((el) => el === event.target || event.composedPath().includes(el));
|
|
29294
|
-
} else {
|
|
29295
|
-
const el = unrefElement$1(target2);
|
|
29296
|
-
return el && (event.target === el || event.composedPath().includes(el));
|
|
29297
|
-
}
|
|
29298
|
-
});
|
|
29299
|
-
};
|
|
29300
|
-
const listener = (event) => {
|
|
29301
|
-
const el = unrefElement$1(target);
|
|
29302
|
-
if (!el || el === event.target || event.composedPath().includes(el))
|
|
29303
|
-
return;
|
|
29304
|
-
if (event.detail === 0)
|
|
29305
|
-
shouldListen = !shouldIgnore(event);
|
|
29306
|
-
if (!shouldListen) {
|
|
29307
|
-
shouldListen = true;
|
|
29308
|
-
return;
|
|
29309
|
-
}
|
|
29310
|
-
handler(event);
|
|
29311
|
-
};
|
|
29312
|
-
const cleanup = [
|
|
29313
|
-
useEventListener$1(window2, "click", listener, { passive: true, capture }),
|
|
29314
|
-
useEventListener$1(window2, "pointerdown", (e2) => {
|
|
29315
|
-
const el = unrefElement$1(target);
|
|
29316
|
-
shouldListen = !shouldIgnore(e2) && !!(el && !e2.composedPath().includes(el));
|
|
29317
|
-
}, { passive: true }),
|
|
29318
|
-
detectIframe && useEventListener$1(window2, "blur", (event) => {
|
|
29319
|
-
setTimeout(() => {
|
|
29320
|
-
var _a2;
|
|
29321
|
-
const el = unrefElement$1(target);
|
|
29322
|
-
if (((_a2 = window2.document.activeElement) == null ? void 0 : _a2.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(window2.document.activeElement))) {
|
|
29323
|
-
handler(event);
|
|
29324
|
-
}
|
|
29325
|
-
}, 0);
|
|
29326
|
-
})
|
|
29327
|
-
].filter(Boolean);
|
|
29328
|
-
const stop2 = () => cleanup.forEach((fn7) => fn7());
|
|
29329
|
-
return stop2;
|
|
29330
|
-
}
|
|
29331
|
-
const vOnClickOutside = {
|
|
29332
|
-
[directiveHooks.mounted](el, binding) {
|
|
29333
|
-
const capture = !binding.modifiers.bubble;
|
|
29334
|
-
if (typeof binding.value === "function") {
|
|
29335
|
-
el.__onClickOutside_stop = onClickOutside$1(el, binding.value, { capture });
|
|
29336
|
-
} else {
|
|
29337
|
-
const [handler, options] = binding.value;
|
|
29338
|
-
el.__onClickOutside_stop = onClickOutside$1(el, handler, Object.assign({ capture }, options));
|
|
29339
|
-
}
|
|
29340
|
-
},
|
|
29341
|
-
[directiveHooks.unmounted](el) {
|
|
29342
|
-
el.__onClickOutside_stop();
|
|
29343
|
-
}
|
|
29344
|
-
};
|
|
29345
|
-
function resolveElement(el) {
|
|
29346
|
-
if (typeof Window !== "undefined" && el instanceof Window)
|
|
29347
|
-
return el.document.documentElement;
|
|
29348
|
-
if (typeof Document !== "undefined" && el instanceof Document)
|
|
29349
|
-
return el.documentElement;
|
|
29350
|
-
return el;
|
|
29351
|
-
}
|
|
29352
|
-
function checkOverflowScroll(ele) {
|
|
29353
|
-
const style = window.getComputedStyle(ele);
|
|
29354
|
-
if (style.overflowX === "scroll" || style.overflowY === "scroll" || style.overflowX === "auto" && ele.clientWidth < ele.scrollWidth || style.overflowY === "auto" && ele.clientHeight < ele.scrollHeight) {
|
|
29355
|
-
return true;
|
|
29356
|
-
} else {
|
|
29357
|
-
const parent = ele.parentNode;
|
|
29358
|
-
if (!parent || parent.tagName === "BODY")
|
|
29359
|
-
return false;
|
|
29360
|
-
return checkOverflowScroll(parent);
|
|
29361
|
-
}
|
|
29362
|
-
}
|
|
29363
|
-
function preventDefault(rawEvent) {
|
|
29364
|
-
const e2 = rawEvent || window.event;
|
|
29365
|
-
const _target = e2.target;
|
|
29366
|
-
if (checkOverflowScroll(_target))
|
|
29367
|
-
return false;
|
|
29368
|
-
if (e2.touches.length > 1)
|
|
29369
|
-
return true;
|
|
29370
|
-
if (e2.preventDefault)
|
|
29371
|
-
e2.preventDefault();
|
|
29372
|
-
return false;
|
|
29373
|
-
}
|
|
29374
|
-
const elInitialOverflow = /* @__PURE__ */ new WeakMap();
|
|
29375
|
-
function useScrollLock(element, initialState = false) {
|
|
29376
|
-
const isLocked = ref(initialState);
|
|
29377
|
-
let stopTouchMoveListener = null;
|
|
29378
|
-
let initialOverflow = "";
|
|
29379
|
-
watch(toRef(element), (el) => {
|
|
29380
|
-
const target = resolveElement(toValue$1(el));
|
|
29381
|
-
if (target) {
|
|
29382
|
-
const ele = target;
|
|
29383
|
-
if (!elInitialOverflow.get(ele))
|
|
29384
|
-
elInitialOverflow.set(ele, ele.style.overflow);
|
|
29385
|
-
if (ele.style.overflow !== "hidden")
|
|
29386
|
-
initialOverflow = ele.style.overflow;
|
|
29387
|
-
if (ele.style.overflow === "hidden")
|
|
29388
|
-
return isLocked.value = true;
|
|
29389
|
-
if (isLocked.value)
|
|
29390
|
-
return ele.style.overflow = "hidden";
|
|
29391
|
-
}
|
|
29392
|
-
}, {
|
|
29393
|
-
immediate: true
|
|
29394
|
-
});
|
|
29395
|
-
const lock = () => {
|
|
29396
|
-
const el = resolveElement(toValue$1(element));
|
|
29397
|
-
if (!el || isLocked.value)
|
|
29398
|
-
return;
|
|
29399
|
-
if (isIOS) {
|
|
29400
|
-
stopTouchMoveListener = useEventListener$1(
|
|
29401
|
-
el,
|
|
29402
|
-
"touchmove",
|
|
29403
|
-
(e2) => {
|
|
29404
|
-
preventDefault(e2);
|
|
29405
|
-
},
|
|
29406
|
-
{ passive: false }
|
|
29407
|
-
);
|
|
29408
|
-
}
|
|
29409
|
-
el.style.overflow = "hidden";
|
|
29410
|
-
isLocked.value = true;
|
|
29411
|
-
};
|
|
29412
|
-
const unlock = () => {
|
|
29413
|
-
const el = resolveElement(toValue$1(element));
|
|
29414
|
-
if (!el || !isLocked.value)
|
|
29415
|
-
return;
|
|
29416
|
-
isIOS && (stopTouchMoveListener == null ? void 0 : stopTouchMoveListener());
|
|
29417
|
-
el.style.overflow = initialOverflow;
|
|
29418
|
-
elInitialOverflow.delete(el);
|
|
29419
|
-
isLocked.value = false;
|
|
29420
|
-
};
|
|
29421
|
-
tryOnScopeDispose(unlock);
|
|
29422
|
-
return computed({
|
|
29423
|
-
get() {
|
|
29424
|
-
return isLocked.value;
|
|
29425
|
-
},
|
|
29426
|
-
set(v) {
|
|
29427
|
-
if (v)
|
|
29428
|
-
lock();
|
|
29429
|
-
else unlock();
|
|
29430
|
-
}
|
|
29431
|
-
});
|
|
29432
|
-
}
|
|
29433
|
-
function onScrollLock() {
|
|
29434
|
-
let isMounted = false;
|
|
29435
|
-
const state = ref(false);
|
|
29436
|
-
return (el, binding) => {
|
|
29437
|
-
state.value = binding.value;
|
|
29438
|
-
if (isMounted)
|
|
29439
|
-
return;
|
|
29440
|
-
isMounted = true;
|
|
29441
|
-
const isLocked = useScrollLock(el, binding.value);
|
|
29442
|
-
watch(state, (v) => isLocked.value = v);
|
|
29443
|
-
};
|
|
29444
|
-
}
|
|
29445
|
-
onScrollLock();
|
|
29446
29270
|
const _hoisted_1$N = { class: "select-item d-flex align-items-center my-auto" };
|
|
29447
29271
|
const _hoisted_2$B = { class: "select-item-text text-truncate" };
|
|
29448
29272
|
const _sfc_main$15 = {
|
|
@@ -29469,7 +29293,7 @@ const _hoisted_2$A = {
|
|
|
29469
29293
|
key: 0,
|
|
29470
29294
|
class: "px-3 py-2 text-muted"
|
|
29471
29295
|
};
|
|
29472
|
-
const _hoisted_3$
|
|
29296
|
+
const _hoisted_3$n = { key: 1 };
|
|
29473
29297
|
const _hoisted_4$h = ["aria-disabled", "aria-selected", "onMouseenter", "onClick"];
|
|
29474
29298
|
const _hoisted_5$c = { class: "overflow-hidden text-truncate mx-2" };
|
|
29475
29299
|
const _hoisted_6$8 = {
|
|
@@ -29480,6 +29304,7 @@ const _sfc_main$14 = {
|
|
|
29480
29304
|
__name: "AppSelectNewDropdown",
|
|
29481
29305
|
setup(__props) {
|
|
29482
29306
|
const { selectId, visibleOptions, isLoading, toggleOption, isOptionSelected, isDropdownOpen, isItemDisabled, closeDropdown, displayBy, activeIndex } = inject(SelectNewSymbol);
|
|
29307
|
+
const dropdown = ref(null);
|
|
29483
29308
|
const itemWrapperClass = (item, idx) => {
|
|
29484
29309
|
return {
|
|
29485
29310
|
"dropdown-item d-flex align-items-center gap-2 px-0": true,
|
|
@@ -29495,6 +29320,12 @@ const _sfc_main$14 = {
|
|
|
29495
29320
|
};
|
|
29496
29321
|
};
|
|
29497
29322
|
const getOptionLabel = (option) => lodashExports.isObject(option) ? lodashExports.get(option, displayBy.value, "") : option;
|
|
29323
|
+
useClickOutside({
|
|
29324
|
+
target: dropdown,
|
|
29325
|
+
handler: closeDropdown,
|
|
29326
|
+
isOpen: isDropdownOpen,
|
|
29327
|
+
ignore: [`#${selectId}`]
|
|
29328
|
+
});
|
|
29498
29329
|
watch(
|
|
29499
29330
|
isDropdownOpen,
|
|
29500
29331
|
(open3) => {
|
|
@@ -29502,12 +29333,14 @@ const _sfc_main$14 = {
|
|
|
29502
29333
|
{ immediate: true }
|
|
29503
29334
|
);
|
|
29504
29335
|
return (_ctx, _cache2) => {
|
|
29505
|
-
return
|
|
29336
|
+
return openBlock(), createElementBlock("div", {
|
|
29506
29337
|
id: unref(selectId),
|
|
29338
|
+
ref_key: "dropdown",
|
|
29339
|
+
ref: dropdown,
|
|
29507
29340
|
class: "multiselect-container dropdown-menu show select-dropdown",
|
|
29508
29341
|
role: "listbox"
|
|
29509
29342
|
}, [
|
|
29510
|
-
unref(isLoading) ? (openBlock(), createElementBlock("div", _hoisted_2$A, "Loading…")) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
29343
|
+
unref(isLoading) ? (openBlock(), createElementBlock("div", _hoisted_2$A, "Loading…")) : (openBlock(), createElementBlock("div", _hoisted_3$n, [
|
|
29511
29344
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(visibleOptions), (item, idx) => {
|
|
29512
29345
|
return openBlock(), createElementBlock("div", {
|
|
29513
29346
|
key: idx,
|
|
@@ -29533,13 +29366,11 @@ const _sfc_main$14 = {
|
|
|
29533
29366
|
}), 128)),
|
|
29534
29367
|
!unref(visibleOptions) || unref(visibleOptions).length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$8, "No results")) : createCommentVNode("", true)
|
|
29535
29368
|
]))
|
|
29536
|
-
], 8, _hoisted_1$M)
|
|
29537
|
-
[unref(vOnClickOutside), unref(closeDropdown)]
|
|
29538
|
-
]);
|
|
29369
|
+
], 8, _hoisted_1$M);
|
|
29539
29370
|
};
|
|
29540
29371
|
}
|
|
29541
29372
|
};
|
|
29542
|
-
const AppSelectNewDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-
|
|
29373
|
+
const AppSelectNewDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-aadaea92"]]);
|
|
29543
29374
|
const _hoisted_1$L = { class: "select2-selection__choice flex-center-vertical" };
|
|
29544
29375
|
const _hoisted_2$z = { class: "flex-1 choice-text overflow-hidden text-truncate" };
|
|
29545
29376
|
const _sfc_main$13 = {
|
|
@@ -29576,7 +29407,7 @@ const _sfc_main$13 = {
|
|
|
29576
29407
|
const AppRemovableTag = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-01abf8e6"]]);
|
|
29577
29408
|
const _hoisted_1$K = { class: "app-select-content display-flex flex-column gap-1 overflow-hidden" };
|
|
29578
29409
|
const _hoisted_2$y = ["placeholder"];
|
|
29579
|
-
const _hoisted_3$
|
|
29410
|
+
const _hoisted_3$m = {
|
|
29580
29411
|
key: 0,
|
|
29581
29412
|
class: "display-flex flex-row gap-1 flex-wrap overflow-hidden"
|
|
29582
29413
|
};
|
|
@@ -29630,7 +29461,7 @@ const _sfc_main$12 = {
|
|
|
29630
29461
|
[vShow, unref(isDropdownOpen)],
|
|
29631
29462
|
[vModelText, unref(searchQuery)]
|
|
29632
29463
|
]),
|
|
29633
|
-
unref(selectedList).length ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
29464
|
+
unref(selectedList).length ? (openBlock(), createElementBlock("div", _hoisted_3$m, [
|
|
29634
29465
|
unref(isMultiSelect) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(selectedList), (opt, idx) => {
|
|
29635
29466
|
return openBlock(), createElementBlock("div", {
|
|
29636
29467
|
key: idx,
|
|
@@ -29689,7 +29520,7 @@ const _sfc_main$12 = {
|
|
|
29689
29520
|
const AppSelectNewContent = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-d0b57778"]]);
|
|
29690
29521
|
const _hoisted_1$J = ["id"];
|
|
29691
29522
|
const _hoisted_2$x = { class: "app-select-area flex-1 flex-center-vertical overflow-hidden" };
|
|
29692
|
-
const _hoisted_3$
|
|
29523
|
+
const _hoisted_3$l = { class: "flex-center-vertical" };
|
|
29693
29524
|
const _sfc_main$11 = {
|
|
29694
29525
|
__name: "AppSelectNew",
|
|
29695
29526
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -29770,7 +29601,7 @@ const _sfc_main$11 = {
|
|
|
29770
29601
|
]),
|
|
29771
29602
|
_: 3
|
|
29772
29603
|
}, 8, ["anchor", "is-open"]),
|
|
29773
|
-
createElementVNode("div", _hoisted_3$
|
|
29604
|
+
createElementVNode("div", _hoisted_3$l, [
|
|
29774
29605
|
__props.isClearable && !unref(isModelValueEmpty) ? withDirectives((openBlock(), createElementBlock("i", {
|
|
29775
29606
|
key: 0,
|
|
29776
29607
|
class: "ph-x-circle",
|
|
@@ -29801,7 +29632,7 @@ const _hoisted_1$I = {
|
|
|
29801
29632
|
class: "d-flex flex-center-vertical"
|
|
29802
29633
|
};
|
|
29803
29634
|
const _hoisted_2$w = { class: "mr-auto" };
|
|
29804
|
-
const _hoisted_3$
|
|
29635
|
+
const _hoisted_3$k = { class: "d-flex" };
|
|
29805
29636
|
const _hoisted_4$f = {
|
|
29806
29637
|
key: 0,
|
|
29807
29638
|
class: "icon-eye-blocked"
|
|
@@ -29862,7 +29693,7 @@ const _sfc_main$10 = {
|
|
|
29862
29693
|
return (_ctx, _cache2) => {
|
|
29863
29694
|
return __props.isLoaded ? (openBlock(), createElementBlock("div", _hoisted_1$I, [
|
|
29864
29695
|
createElementVNode("div", _hoisted_2$w, [
|
|
29865
|
-
createElementVNode("span", _hoisted_3$
|
|
29696
|
+
createElementVNode("span", _hoisted_3$k, [
|
|
29866
29697
|
createVNode(_sfc_main$11, {
|
|
29867
29698
|
modelValue: pageSizeValue.value,
|
|
29868
29699
|
"onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) => pageSizeValue.value = $event),
|
|
@@ -30308,7 +30139,7 @@ const _hoisted_2$t = {
|
|
|
30308
30139
|
key: 0,
|
|
30309
30140
|
class: "p-2 text-muted flex-center-vertical gap-1"
|
|
30310
30141
|
};
|
|
30311
|
-
const _hoisted_3$
|
|
30142
|
+
const _hoisted_3$j = {
|
|
30312
30143
|
key: 1,
|
|
30313
30144
|
class: "p-2 text-muted flex-center-vertical gap-1"
|
|
30314
30145
|
};
|
|
@@ -30321,6 +30152,10 @@ const _sfc_main$U = {
|
|
|
30321
30152
|
shouldFetchOnMount: {
|
|
30322
30153
|
default: false
|
|
30323
30154
|
},
|
|
30155
|
+
clickOutsideIgnore: {
|
|
30156
|
+
type: Array,
|
|
30157
|
+
default: () => []
|
|
30158
|
+
},
|
|
30324
30159
|
...sharedProps,
|
|
30325
30160
|
search: {}
|
|
30326
30161
|
}, {
|
|
@@ -30380,6 +30215,12 @@ const _sfc_main$U = {
|
|
|
30380
30215
|
focusedOption.value = option;
|
|
30381
30216
|
};
|
|
30382
30217
|
const appSelectDropdown = ref(null);
|
|
30218
|
+
useClickOutside({
|
|
30219
|
+
target: appSelectDropdown,
|
|
30220
|
+
handler: closeModal,
|
|
30221
|
+
isOpen: isDropdownOpen,
|
|
30222
|
+
ignore: props2.clickOutsideIgnore
|
|
30223
|
+
});
|
|
30383
30224
|
watch(isDropdownOpen, async (newValue) => {
|
|
30384
30225
|
var _a2;
|
|
30385
30226
|
if (!newValue || !props2.shouldScrollToSelectedOption) {
|
|
@@ -30437,7 +30278,7 @@ const _sfc_main$U = {
|
|
|
30437
30278
|
}),
|
|
30438
30279
|
_cache2[0] || (_cache2[0] = createTextVNode(" Tastati pentru a cauta... ", -1))
|
|
30439
30280
|
])) : createCommentVNode("", true),
|
|
30440
|
-
isNoResultsVisible.value ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
30281
|
+
isNoResultsVisible.value ? (openBlock(), createElementBlock("div", _hoisted_3$j, [
|
|
30441
30282
|
createVNode(unref(IconMoodEmpty), {
|
|
30442
30283
|
size: 22,
|
|
30443
30284
|
"stroke-width": 1.8
|
|
@@ -30445,15 +30286,14 @@ const _sfc_main$U = {
|
|
|
30445
30286
|
_cache2[1] || (_cache2[1] = createTextVNode(" Cautarea nu a returnat nici un rezultat... ", -1))
|
|
30446
30287
|
])) : createCommentVNode("", true)
|
|
30447
30288
|
], 40, _hoisted_1$E)), [
|
|
30448
|
-
[vShow, isDropdownOpen.value]
|
|
30449
|
-
[unref(vOnClickOutside), closeModal]
|
|
30289
|
+
[vShow, isDropdownOpen.value]
|
|
30450
30290
|
]);
|
|
30451
30291
|
};
|
|
30452
30292
|
}
|
|
30453
30293
|
};
|
|
30454
30294
|
const _hoisted_1$D = { class: "app-select-content display-flex flex-column" };
|
|
30455
30295
|
const _hoisted_2$s = { class: "flex-center-vertical" };
|
|
30456
|
-
const _hoisted_3$
|
|
30296
|
+
const _hoisted_3$i = {
|
|
30457
30297
|
key: 0,
|
|
30458
30298
|
class: "text-muted flex-1 input-placeholder"
|
|
30459
30299
|
};
|
|
@@ -30509,7 +30349,7 @@ const _sfc_main$T = {
|
|
|
30509
30349
|
return (_ctx, _cache2) => {
|
|
30510
30350
|
return openBlock(), createElementBlock("div", _hoisted_1$D, [
|
|
30511
30351
|
createElementVNode("div", _hoisted_2$s, [
|
|
30512
|
-
unref(isModelValueEmpty) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
30352
|
+
unref(isModelValueEmpty) ? (openBlock(), createElementBlock("div", _hoisted_3$i, [
|
|
30513
30353
|
!props2.isDropdownOpen ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
30514
30354
|
createTextVNode(toDisplayString(props2.placeholder), 1)
|
|
30515
30355
|
], 64)) : createCommentVNode("", true)
|
|
@@ -30592,7 +30432,7 @@ const _sfc_main$T = {
|
|
|
30592
30432
|
};
|
|
30593
30433
|
const _hoisted_1$C = ["onKeyup"];
|
|
30594
30434
|
const _hoisted_2$r = { class: "app-select-area flex-center-vertical" };
|
|
30595
|
-
const _hoisted_3$
|
|
30435
|
+
const _hoisted_3$h = {
|
|
30596
30436
|
class: "flex-center-vertical",
|
|
30597
30437
|
style: {}
|
|
30598
30438
|
};
|
|
@@ -30742,7 +30582,7 @@ const _sfc_main$S = {
|
|
|
30742
30582
|
};
|
|
30743
30583
|
})
|
|
30744
30584
|
]), 1040, ["modelValue", "is-dropdown-open", "placeholder"]),
|
|
30745
|
-
createElementVNode("div", _hoisted_3$
|
|
30585
|
+
createElementVNode("div", _hoisted_3$h, [
|
|
30746
30586
|
unref(isClearable) ? withDirectives((openBlock(), createElementBlock("i", {
|
|
30747
30587
|
key: 0,
|
|
30748
30588
|
class: "ph-x-circle",
|
|
@@ -30773,7 +30613,8 @@ const _sfc_main$S = {
|
|
|
30773
30613
|
"hovered-option": hoveredOption.value,
|
|
30774
30614
|
"onUpdate:hoveredOption": _cache2[5] || (_cache2[5] = ($event) => hoveredOption.value = $event),
|
|
30775
30615
|
search: search.value,
|
|
30776
|
-
list: filteredOptions.value
|
|
30616
|
+
list: filteredOptions.value,
|
|
30617
|
+
"click-outside-ignore": [appSelect.value]
|
|
30777
30618
|
}, unref(sharedPropValues)), createSlots({ _: 2 }, [
|
|
30778
30619
|
renderList(Object.keys(_ctx.$slots), (slot) => {
|
|
30779
30620
|
return {
|
|
@@ -30783,7 +30624,7 @@ const _sfc_main$S = {
|
|
|
30783
30624
|
])
|
|
30784
30625
|
};
|
|
30785
30626
|
})
|
|
30786
|
-
]), 1040, ["modelValue", "is-dropdown-open", "hovered-option", "search", "list"]), [
|
|
30627
|
+
]), 1040, ["modelValue", "is-dropdown-open", "hovered-option", "search", "list", "click-outside-ignore"]), [
|
|
30787
30628
|
[vShow, isDropdownOpen.value]
|
|
30788
30629
|
])
|
|
30789
30630
|
]),
|
|
@@ -30810,7 +30651,7 @@ const _hoisted_2$q = {
|
|
|
30810
30651
|
key: 0,
|
|
30811
30652
|
class: "nav nav-sidebar"
|
|
30812
30653
|
};
|
|
30813
|
-
const _hoisted_3$
|
|
30654
|
+
const _hoisted_3$g = { style: { "padding": "12px 20px" } };
|
|
30814
30655
|
const _sfc_main$R = {
|
|
30815
30656
|
__name: "AppSidebar",
|
|
30816
30657
|
props: {
|
|
@@ -30862,7 +30703,7 @@ const _sfc_main$R = {
|
|
|
30862
30703
|
key: n,
|
|
30863
30704
|
style: { "opacity": "0.5" }
|
|
30864
30705
|
}, [
|
|
30865
|
-
createElementVNode("div", _hoisted_3$
|
|
30706
|
+
createElementVNode("div", _hoisted_3$g, [
|
|
30866
30707
|
createVNode(_component_app_placeholder_heading, {
|
|
30867
30708
|
img: true,
|
|
30868
30709
|
"img-size": "20px",
|
|
@@ -30889,7 +30730,7 @@ const _hoisted_2$p = {
|
|
|
30889
30730
|
key: 0,
|
|
30890
30731
|
class: "pr-2 flex-center-vertical"
|
|
30891
30732
|
};
|
|
30892
|
-
const _hoisted_3$
|
|
30733
|
+
const _hoisted_3$f = {
|
|
30893
30734
|
key: 1,
|
|
30894
30735
|
class: "pr-2 flex-grow-1 flex-column justify-content-center sidebar-header-text"
|
|
30895
30736
|
};
|
|
@@ -30924,7 +30765,7 @@ const _sfc_main$Q = {
|
|
|
30924
30765
|
!__props.canCollapse || !__props.sidebarCollapsed ? (openBlock(), createElementBlock("div", _hoisted_2$p, [
|
|
30925
30766
|
renderSlot(_ctx.$slots, "sidebar-header-img")
|
|
30926
30767
|
])) : createCommentVNode("", true),
|
|
30927
|
-
!__props.canCollapse || !__props.sidebarCollapsed ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
30768
|
+
!__props.canCollapse || !__props.sidebarCollapsed ? (openBlock(), createElementBlock("div", _hoisted_3$f, [
|
|
30928
30769
|
renderSlot(_ctx.$slots, "sidebar-header-text")
|
|
30929
30770
|
])) : createCommentVNode("", true),
|
|
30930
30771
|
__props.canCollapse ? (openBlock(), createElementBlock("div", _hoisted_4$d, [
|
|
@@ -31016,7 +30857,7 @@ const _sfc_main$P = {
|
|
|
31016
30857
|
const AppSliderInput = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-caf401d2"]]);
|
|
31017
30858
|
const _hoisted_1$y = { class: "page-header" };
|
|
31018
30859
|
const _hoisted_2$o = { class: "breadcrumb-line breadcrumb-line-light header-elements-md-inline" };
|
|
31019
|
-
const _hoisted_3$
|
|
30860
|
+
const _hoisted_3$e = { class: "d-flex" };
|
|
31020
30861
|
const _hoisted_4$c = { class: "breadcrumb" };
|
|
31021
30862
|
const _hoisted_5$7 = { class: "header-elements" };
|
|
31022
30863
|
const _sfc_main$O = {
|
|
@@ -31035,7 +30876,7 @@ const _sfc_main$O = {
|
|
|
31035
30876
|
return (_ctx, _cache2) => {
|
|
31036
30877
|
return openBlock(), createElementBlock("div", _hoisted_1$y, [
|
|
31037
30878
|
createElementVNode("div", _hoisted_2$o, [
|
|
31038
|
-
createElementVNode("div", _hoisted_3$
|
|
30879
|
+
createElementVNode("div", _hoisted_3$e, [
|
|
31039
30880
|
createElementVNode("div", _hoisted_4$c, [
|
|
31040
30881
|
renderSlot(_ctx.$slots, "breadcrumbs", {}, () => [
|
|
31041
30882
|
createVNode(_sfc_main$1M, {
|
|
@@ -31111,7 +30952,7 @@ const _hoisted_1$x = {
|
|
|
31111
30952
|
style: { "overflow-x": "auto", "flex-wrap": "wrap" }
|
|
31112
30953
|
};
|
|
31113
30954
|
const _hoisted_2$n = ["onClick"];
|
|
31114
|
-
const _hoisted_3$
|
|
30955
|
+
const _hoisted_3$d = { class: "flex-center-vertical mr-5" };
|
|
31115
30956
|
const _hoisted_4$b = { class: "display-flex-column" };
|
|
31116
30957
|
const _hoisted_5$6 = {
|
|
31117
30958
|
key: 1,
|
|
@@ -31159,7 +31000,7 @@ const _sfc_main$M = {
|
|
|
31159
31000
|
}, () => [
|
|
31160
31001
|
createVNode(_sfc_main$1D, { style: { "margin": "2px" } }, {
|
|
31161
31002
|
body: withCtx(() => [
|
|
31162
|
-
createElementVNode("div", _hoisted_3$
|
|
31003
|
+
createElementVNode("div", _hoisted_3$d, [
|
|
31163
31004
|
createElementVNode("div", _hoisted_4$b, [
|
|
31164
31005
|
createElementVNode("div", null, [
|
|
31165
31006
|
currentItem.icon ? (openBlock(), createBlock(_sfc_main$1P, {
|
|
@@ -31198,7 +31039,7 @@ const _sfc_main$M = {
|
|
|
31198
31039
|
};
|
|
31199
31040
|
const _hoisted_1$w = { key: 0 };
|
|
31200
31041
|
const _hoisted_2$m = { class: "p-3" };
|
|
31201
|
-
const _hoisted_3$
|
|
31042
|
+
const _hoisted_3$c = { key: 1 };
|
|
31202
31043
|
const _hoisted_4$a = { class: "app-table-row-filters" };
|
|
31203
31044
|
const _hoisted_5$5 = { class: "app-table-row-filters-number bg-primary flex-shrink-0" };
|
|
31204
31045
|
const _hoisted_6$4 = { class: "break-normal" };
|
|
@@ -31254,7 +31095,7 @@ const _sfc_main$L = {
|
|
|
31254
31095
|
(currentFilter == null ? void 0 : currentFilter.field) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
31255
31096
|
createElementVNode("span", null, toDisplayString(currentFilter.field) + ": ", 1),
|
|
31256
31097
|
createElementVNode("span", null, toDisplayString(currentFilter.value), 1)
|
|
31257
|
-
], 64)) : (openBlock(), createElementBlock("span", _hoisted_3$
|
|
31098
|
+
], 64)) : (openBlock(), createElementBlock("span", _hoisted_3$c, toDisplayString(currentFilter), 1))
|
|
31258
31099
|
]);
|
|
31259
31100
|
}), 128))
|
|
31260
31101
|
])
|
|
@@ -31286,7 +31127,7 @@ const _sfc_main$L = {
|
|
|
31286
31127
|
const AppTableFilterDetailedRow = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-6654229d"]]);
|
|
31287
31128
|
const _hoisted_1$v = { class: "app-table-filter-body d-flex" };
|
|
31288
31129
|
const _hoisted_2$l = { class: "flex-grow-1" };
|
|
31289
|
-
const _hoisted_3$
|
|
31130
|
+
const _hoisted_3$b = { class: "mr-5 pl-10 flex-center-vertical" };
|
|
31290
31131
|
const _hoisted_4$9 = { class: "display-flex" };
|
|
31291
31132
|
const _sfc_main$K = {
|
|
31292
31133
|
__name: "AppTableFilter",
|
|
@@ -31338,7 +31179,7 @@ const _sfc_main$K = {
|
|
|
31338
31179
|
}, null, 8, ["modelValue"])
|
|
31339
31180
|
])
|
|
31340
31181
|
]),
|
|
31341
|
-
createElementVNode("div", _hoisted_3$
|
|
31182
|
+
createElementVNode("div", _hoisted_3$b, [
|
|
31342
31183
|
renderSlot(_ctx.$slots, "beforeButton"),
|
|
31343
31184
|
renderSlot(_ctx.$slots, "button", {}, () => [
|
|
31344
31185
|
createElementVNode("div", _hoisted_4$9, [
|
|
@@ -31382,7 +31223,7 @@ const _sfc_main$K = {
|
|
|
31382
31223
|
};
|
|
31383
31224
|
const _hoisted_1$u = { class: "table-responsive" };
|
|
31384
31225
|
const _hoisted_2$k = { class: "table table-striped app-table-rows" };
|
|
31385
|
-
const _hoisted_3$
|
|
31226
|
+
const _hoisted_3$a = {
|
|
31386
31227
|
key: 0,
|
|
31387
31228
|
class: "td-selection"
|
|
31388
31229
|
};
|
|
@@ -31440,7 +31281,7 @@ const _sfc_main$J = {
|
|
|
31440
31281
|
createElementVNode("table", _hoisted_2$k, [
|
|
31441
31282
|
createElementVNode("thead", null, [
|
|
31442
31283
|
createElementVNode("tr", null, [
|
|
31443
|
-
__props.hasSelection ? (openBlock(), createElementBlock("th", _hoisted_3$
|
|
31284
|
+
__props.hasSelection ? (openBlock(), createElementBlock("th", _hoisted_3$a)) : createCommentVNode("", true),
|
|
31444
31285
|
_ctx.$slots.actions ? (openBlock(), createElementBlock("th", _hoisted_4$8, [
|
|
31445
31286
|
renderSlot(_ctx.$slots, "actionsTitle", {}, () => [
|
|
31446
31287
|
_cache2[0] || (_cache2[0] = createTextVNode(" Acțiuni ", -1))
|
|
@@ -32041,7 +31882,7 @@ function useTable(config, emits) {
|
|
|
32041
31882
|
}
|
|
32042
31883
|
const _hoisted_1$s = { class: "position-relative" };
|
|
32043
31884
|
const _hoisted_2$j = { class: "row" };
|
|
32044
|
-
const _hoisted_3$
|
|
31885
|
+
const _hoisted_3$9 = { class: "col-lg-12" };
|
|
32045
31886
|
const _sfc_main$H = {
|
|
32046
31887
|
__name: "AppTableMagic",
|
|
32047
31888
|
props: {
|
|
@@ -32177,7 +32018,7 @@ const _sfc_main$H = {
|
|
|
32177
32018
|
]), 1032, ["selected-filters", "onOnFilterReset", "onOnFilterSet", "onOnSearchFilterSet"])) : createCommentVNode("", true),
|
|
32178
32019
|
renderSlot(_ctx.$slots, "beforeTable"),
|
|
32179
32020
|
createElementVNode("div", _hoisted_2$j, [
|
|
32180
|
-
createElementVNode("div", _hoisted_3$
|
|
32021
|
+
createElementVNode("div", _hoisted_3$9, [
|
|
32181
32022
|
createVNode(_sfc_main$I, {
|
|
32182
32023
|
ref_key: "appTable",
|
|
32183
32024
|
ref: appTable,
|
|
@@ -32581,7 +32422,7 @@ const _sfc_main$C = {
|
|
|
32581
32422
|
};
|
|
32582
32423
|
const _hoisted_1$p = { class: "flex-column" };
|
|
32583
32424
|
const _hoisted_2$g = { class: "app-toolbar-top navbar navbar-dark navbar-static py-1" };
|
|
32584
|
-
const _hoisted_3$
|
|
32425
|
+
const _hoisted_3$8 = { class: "flex-center-vertical" };
|
|
32585
32426
|
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" };
|
|
32586
32427
|
const _sfc_main$B = {
|
|
32587
32428
|
__name: "AppToolbar",
|
|
@@ -32594,7 +32435,7 @@ const _sfc_main$B = {
|
|
|
32594
32435
|
return (_ctx, _cache2) => {
|
|
32595
32436
|
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
32596
32437
|
createElementVNode("div", _hoisted_2$g, [
|
|
32597
|
-
createElementVNode("div", _hoisted_3$
|
|
32438
|
+
createElementVNode("div", _hoisted_3$8, [
|
|
32598
32439
|
createVNode(_sfc_main$1L, {
|
|
32599
32440
|
type: "button",
|
|
32600
32441
|
class: "btn-transparent px-2",
|
|
@@ -32768,10 +32609,6 @@ const _hoisted_2$e = {
|
|
|
32768
32609
|
key: 0,
|
|
32769
32610
|
class: "nav-item nav-item-dropdown-lg dropdown ms-lg-2"
|
|
32770
32611
|
};
|
|
32771
|
-
const _hoisted_3$8 = {
|
|
32772
|
-
class: "dropdown-menu dropdown-menu-end show cursor-pointer",
|
|
32773
|
-
"data-bs-popper": "static"
|
|
32774
|
-
};
|
|
32775
32612
|
const _sfc_main$x = {
|
|
32776
32613
|
__name: "AppDropdown",
|
|
32777
32614
|
props: {
|
|
@@ -32779,27 +32616,42 @@ const _sfc_main$x = {
|
|
|
32779
32616
|
},
|
|
32780
32617
|
setup(__props) {
|
|
32781
32618
|
const isDropdownOpen = ref(false);
|
|
32619
|
+
const dropdownMenu = ref(null);
|
|
32620
|
+
const dropdownHeader = ref(null);
|
|
32782
32621
|
const toggleDropdown = () => {
|
|
32783
32622
|
isDropdownOpen.value = !isDropdownOpen.value;
|
|
32784
32623
|
};
|
|
32785
32624
|
const closeModal = () => {
|
|
32786
32625
|
isDropdownOpen.value = false;
|
|
32787
32626
|
};
|
|
32627
|
+
useClickOutside({
|
|
32628
|
+
target: dropdownMenu,
|
|
32629
|
+
handler: closeModal,
|
|
32630
|
+
isOpen: isDropdownOpen,
|
|
32631
|
+
ignore: [dropdownHeader]
|
|
32632
|
+
});
|
|
32788
32633
|
return (_ctx, _cache2) => {
|
|
32789
32634
|
const _component_app_button = resolveComponent("app-button");
|
|
32790
32635
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
32791
32636
|
createElementVNode("div", _hoisted_1$l, [
|
|
32792
32637
|
createElementVNode("a", {
|
|
32638
|
+
ref_key: "dropdownHeader",
|
|
32639
|
+
ref: dropdownHeader,
|
|
32793
32640
|
class: "navbar-nav-link rounded-pill p-1 cursor-pointer mr-5",
|
|
32794
32641
|
"data-bs-toggle": "dropdown",
|
|
32795
32642
|
onClick: toggleDropdown
|
|
32796
32643
|
}, [
|
|
32797
32644
|
renderSlot(_ctx.$slots, "dropdown-header")
|
|
32798
|
-
]),
|
|
32645
|
+
], 512),
|
|
32799
32646
|
renderSlot(_ctx.$slots, "dropdown-header-icon")
|
|
32800
32647
|
]),
|
|
32801
32648
|
isDropdownOpen.value ? (openBlock(), createElementBlock("div", _hoisted_2$e, [
|
|
32802
|
-
|
|
32649
|
+
createElementVNode("div", {
|
|
32650
|
+
ref_key: "dropdownMenu",
|
|
32651
|
+
ref: dropdownMenu,
|
|
32652
|
+
class: "dropdown-menu dropdown-menu-end show cursor-pointer",
|
|
32653
|
+
"data-bs-popper": "static"
|
|
32654
|
+
}, [
|
|
32803
32655
|
renderSlot(_ctx.$slots, "dropdown-content", {}, () => [
|
|
32804
32656
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.list, (option, index) => {
|
|
32805
32657
|
return openBlock(), createElementBlock("div", { key: index }, [
|
|
@@ -32810,9 +32662,7 @@ const _sfc_main$x = {
|
|
|
32810
32662
|
]);
|
|
32811
32663
|
}), 128))
|
|
32812
32664
|
])
|
|
32813
|
-
]
|
|
32814
|
-
[unref(vOnClickOutside), closeModal]
|
|
32815
|
-
])
|
|
32665
|
+
], 512)
|
|
32816
32666
|
])) : createCommentVNode("", true)
|
|
32817
32667
|
], 64);
|
|
32818
32668
|
};
|
|
@@ -41930,7 +41780,7 @@ var St = {
|
|
|
41930
41780
|
}), jr = ["data-dp-mobile"], Mr = /* @__PURE__ */ defineComponent({
|
|
41931
41781
|
__name: "VueDatePicker",
|
|
41932
41782
|
setup(e2, { expose: t2 }) {
|
|
41933
|
-
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
|
|
41783
|
+
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, {
|
|
41934
41784
|
strategy: M3.value.strategy,
|
|
41935
41785
|
placement: M3.value.placement,
|
|
41936
41786
|
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)]),
|
|
@@ -86600,6 +86450,7 @@ export {
|
|
|
86600
86450
|
toPathString,
|
|
86601
86451
|
urlToBooleanOption,
|
|
86602
86452
|
useAppFormElement,
|
|
86453
|
+
useClickOutside,
|
|
86603
86454
|
useForm,
|
|
86604
86455
|
useFormOld as useFormFunky,
|
|
86605
86456
|
useFormValidation,
|