@stsdti/funky-ui-kit 1.3.0 → 1.3.2
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.es.js +47 -56
- package/dist/funky-ui-kit.es.js.map +1 -1
- package/package.json +1 -1
- package/web-types.json +1 -3
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, _a2, 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, _l2, _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, resolveDirective, withDirectives, mergeProps, inject, useSlots, normalizeProps, guardReactiveProps, createSlots, withModifiers, withKeys, vModelText, onMounted, onBeforeUnmount, getCurrentScope, onScopeDispose, toRef as toRef$1, readonly, customRef, vShow, nextTick, h, useTemplateRef, Transition,
|
|
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, resolveDirective, withDirectives, mergeProps, inject, useSlots, normalizeProps, guardReactiveProps, createSlots, withModifiers, withKeys, vModelText, onMounted, onBeforeUnmount, getCurrentScope, onScopeDispose, toRef as toRef$1, readonly, customRef, vShow, nextTick, h, useTemplateRef, Transition, render as render$2, isRef, vModelDynamic, provide, TransitionGroup, defineComponent, shallowRef, onUnmounted, isVNode, createApp, Teleport, toValue as toValue$2, onBeforeUpdate, watchEffect } from "vue";
|
|
22
22
|
import ToastPlugin, { useToast } from "vue-toast-notification";
|
|
23
23
|
import draggable from "vuedraggable";
|
|
24
24
|
const limitlessBackgroundClasses = [
|
|
@@ -9292,8 +9292,8 @@ const _sfc_main$1I = {
|
|
|
9292
9292
|
return false;
|
|
9293
9293
|
}
|
|
9294
9294
|
const instance = getCurrentInstance();
|
|
9295
|
-
const
|
|
9296
|
-
return !!
|
|
9295
|
+
const app2 = instance == null ? void 0 : instance.appContext.app;
|
|
9296
|
+
return !!app2.component(props2.value);
|
|
9297
9297
|
});
|
|
9298
9298
|
const is = computed(() => {
|
|
9299
9299
|
if (isComponentInstance2.value) {
|
|
@@ -14625,12 +14625,10 @@ const _sfc_main$1z = {
|
|
|
14625
14625
|
default: "Pana la"
|
|
14626
14626
|
},
|
|
14627
14627
|
startName: {
|
|
14628
|
-
type: String
|
|
14629
|
-
default: "start"
|
|
14628
|
+
type: String
|
|
14630
14629
|
},
|
|
14631
14630
|
endName: {
|
|
14632
|
-
type: String
|
|
14633
|
-
default: "end"
|
|
14631
|
+
type: String
|
|
14634
14632
|
},
|
|
14635
14633
|
...appDatePickerProps,
|
|
14636
14634
|
...appFormElementProps
|
|
@@ -14680,7 +14678,7 @@ const _sfc_main$1z = {
|
|
|
14680
14678
|
modelValue: modelValueStart.value,
|
|
14681
14679
|
"onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) => modelValueStart.value = $event),
|
|
14682
14680
|
placeholder: __props.placeholderLeft,
|
|
14683
|
-
name: __props.startName
|
|
14681
|
+
name: __props.startName || _ctx.$attrs["name-start"] || "start"
|
|
14684
14682
|
}, bindableProps.value, { showEasyButtons: false }), null, 16, ["modelValue", "placeholder", "name"]),
|
|
14685
14683
|
createVNode(_sfc_main$1A, mergeProps({
|
|
14686
14684
|
class: "app-form-group-element flex-1",
|
|
@@ -14688,7 +14686,7 @@ const _sfc_main$1z = {
|
|
|
14688
14686
|
modelValue: modelValueEnd.value,
|
|
14689
14687
|
"onUpdate:modelValue": _cache2[1] || (_cache2[1] = ($event) => modelValueEnd.value = $event),
|
|
14690
14688
|
placeholder: __props.placeholderRight,
|
|
14691
|
-
name: __props.endName
|
|
14689
|
+
name: __props.endName || _ctx.$attrs["name-end"] || "end"
|
|
14692
14690
|
}, bindableProps.value, { showEasyButtons: false }), null, 16, ["modelValue", "placeholder", "name"])
|
|
14693
14691
|
]),
|
|
14694
14692
|
_ctx.showEasyButtons ? (openBlock(), createElementBlock("div", _hoisted_3$C, [
|
|
@@ -16809,6 +16807,27 @@ const _sfc_main$1o = {
|
|
|
16809
16807
|
};
|
|
16810
16808
|
}
|
|
16811
16809
|
};
|
|
16810
|
+
class Media {
|
|
16811
|
+
static get type() {
|
|
16812
|
+
return {
|
|
16813
|
+
mediable: "mediable",
|
|
16814
|
+
spatieMediable: "spatie"
|
|
16815
|
+
};
|
|
16816
|
+
}
|
|
16817
|
+
static getTag(media, type = mediaType) {
|
|
16818
|
+
let path = type === this.type.mediable ? "pivot.tag" : "custom_properties.tag";
|
|
16819
|
+
return lodashExports.get(media, path);
|
|
16820
|
+
}
|
|
16821
|
+
}
|
|
16822
|
+
let router = null;
|
|
16823
|
+
const getRouter = () => router;
|
|
16824
|
+
const getRoute = () => lodashExports.get(router, "currentRoute.value");
|
|
16825
|
+
const setRouter = (value) => router = value;
|
|
16826
|
+
let app = null;
|
|
16827
|
+
const getApp = () => app;
|
|
16828
|
+
const setApp = (value) => app = value;
|
|
16829
|
+
let mediaType = Media.type.spatieMediable;
|
|
16830
|
+
const setMediaType = (value) => mediaType = value;
|
|
16812
16831
|
const _hoisted_1$10 = {
|
|
16813
16832
|
"aria-modal": "true",
|
|
16814
16833
|
class: "modal fade show display-block",
|
|
@@ -17005,16 +17024,11 @@ const _sfc_main$1m = {
|
|
|
17005
17024
|
resolve: {
|
|
17006
17025
|
type: Function,
|
|
17007
17026
|
required: true
|
|
17008
|
-
},
|
|
17009
|
-
destroy: {
|
|
17010
|
-
type: Function,
|
|
17011
|
-
required: true
|
|
17012
17027
|
}
|
|
17013
17028
|
},
|
|
17014
17029
|
setup(__props) {
|
|
17015
17030
|
const props2 = __props;
|
|
17016
17031
|
const isVisible = ref(false);
|
|
17017
|
-
let isResolved = false;
|
|
17018
17032
|
const iconMap = {
|
|
17019
17033
|
warning: IconAlertTriangle,
|
|
17020
17034
|
info: IconInfoCircle
|
|
@@ -17044,15 +17058,8 @@ const _sfc_main$1m = {
|
|
|
17044
17058
|
isVisible.value = true;
|
|
17045
17059
|
});
|
|
17046
17060
|
function close2(result) {
|
|
17047
|
-
if (isResolved) {
|
|
17048
|
-
return;
|
|
17049
|
-
}
|
|
17050
|
-
isResolved = true;
|
|
17051
17061
|
isVisible.value = false;
|
|
17052
17062
|
props2.resolve(result);
|
|
17053
|
-
setTimeout(() => {
|
|
17054
|
-
props2.destroy();
|
|
17055
|
-
}, 300);
|
|
17056
17063
|
}
|
|
17057
17064
|
function onConfirm() {
|
|
17058
17065
|
close2({ value: true });
|
|
@@ -17061,7 +17068,6 @@ const _sfc_main$1m = {
|
|
|
17061
17068
|
close2({ value: false });
|
|
17062
17069
|
}
|
|
17063
17070
|
return (_ctx, _cache2) => {
|
|
17064
|
-
const _component_app_button = resolveComponent("app-button");
|
|
17065
17071
|
return openBlock(), createBlock(AppModal, {
|
|
17066
17072
|
modelValue: isVisible.value,
|
|
17067
17073
|
"onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) => isVisible.value = $event),
|
|
@@ -17091,7 +17097,7 @@ const _sfc_main$1m = {
|
|
|
17091
17097
|
])
|
|
17092
17098
|
]),
|
|
17093
17099
|
createElementVNode("div", _hoisted_7$6, [
|
|
17094
|
-
createVNode(
|
|
17100
|
+
createVNode(_sfc_main$1E, {
|
|
17095
17101
|
class: "btn btn-light",
|
|
17096
17102
|
onClick: onCancel
|
|
17097
17103
|
}, {
|
|
@@ -17100,7 +17106,7 @@ const _sfc_main$1m = {
|
|
|
17100
17106
|
]),
|
|
17101
17107
|
_: 1
|
|
17102
17108
|
}),
|
|
17103
|
-
createVNode(
|
|
17109
|
+
createVNode(_sfc_main$1E, {
|
|
17104
17110
|
class: normalizeClass(confirmButtonClass.value),
|
|
17105
17111
|
onClick: onConfirm
|
|
17106
17112
|
}, {
|
|
@@ -17172,19 +17178,21 @@ class UIUtils {
|
|
|
17172
17178
|
return new Promise((resolve) => {
|
|
17173
17179
|
const container = document.createElement("div");
|
|
17174
17180
|
document.body.appendChild(container);
|
|
17175
|
-
|
|
17176
|
-
|
|
17177
|
-
|
|
17178
|
-
|
|
17179
|
-
}
|
|
17180
|
-
container.remove();
|
|
17181
|
+
const cleanup = () => {
|
|
17182
|
+
setTimeout(() => {
|
|
17183
|
+
render$2(null, container);
|
|
17184
|
+
container.remove();
|
|
17185
|
+
}, 300);
|
|
17181
17186
|
};
|
|
17182
|
-
|
|
17187
|
+
const vNode = h(_sfc_main$1m, {
|
|
17183
17188
|
...options,
|
|
17184
|
-
resolve
|
|
17185
|
-
|
|
17189
|
+
resolve: (value) => {
|
|
17190
|
+
resolve(value);
|
|
17191
|
+
cleanup();
|
|
17192
|
+
}
|
|
17186
17193
|
});
|
|
17187
|
-
|
|
17194
|
+
vNode.appContext = getApp()._context;
|
|
17195
|
+
render$2(vNode, container);
|
|
17188
17196
|
});
|
|
17189
17197
|
}
|
|
17190
17198
|
static closeToasts() {
|
|
@@ -28516,11 +28524,11 @@ const directive = {
|
|
|
28516
28524
|
}
|
|
28517
28525
|
};
|
|
28518
28526
|
const plugin$1 = {
|
|
28519
|
-
install(
|
|
28527
|
+
install(app2, options = {}) {
|
|
28520
28528
|
tippy.setDefaultProps(options.defaultProps || {});
|
|
28521
|
-
|
|
28522
|
-
|
|
28523
|
-
|
|
28529
|
+
app2.directive(options.directive || "tippy", directive);
|
|
28530
|
+
app2.component(options.component || "tippy", TippyComponent);
|
|
28531
|
+
app2.component(options.componentSingleton || "tippy-singleton", TippySingleton);
|
|
28524
28532
|
}
|
|
28525
28533
|
};
|
|
28526
28534
|
const setDefaultProps$1 = tippy.setDefaultProps;
|
|
@@ -29228,24 +29236,6 @@ const urlToBooleanOption = (value) => {
|
|
|
29228
29236
|
}
|
|
29229
29237
|
return null;
|
|
29230
29238
|
};
|
|
29231
|
-
class Media {
|
|
29232
|
-
static get type() {
|
|
29233
|
-
return {
|
|
29234
|
-
mediable: "mediable",
|
|
29235
|
-
spatieMediable: "spatie"
|
|
29236
|
-
};
|
|
29237
|
-
}
|
|
29238
|
-
static getTag(media, type = mediaType) {
|
|
29239
|
-
let path = type === this.type.mediable ? "pivot.tag" : "custom_properties.tag";
|
|
29240
|
-
return lodashExports.get(media, path);
|
|
29241
|
-
}
|
|
29242
|
-
}
|
|
29243
|
-
let router = null;
|
|
29244
|
-
let mediaType = Media.type.spatieMediable;
|
|
29245
|
-
const getRouter = () => router;
|
|
29246
|
-
const getRoute = () => lodashExports.get(router, "currentRoute.value");
|
|
29247
|
-
const setRouter = (value) => router = value;
|
|
29248
|
-
const setMediaType = (value) => mediaType = value;
|
|
29249
29239
|
function useTableFilters(tableFilters, emits) {
|
|
29250
29240
|
const migrateFilterDefinition = (filterDefinition) => {
|
|
29251
29241
|
if ("computed" in filterDefinition) {
|
|
@@ -83042,6 +83032,7 @@ const plugin = {
|
|
|
83042
83032
|
}
|
|
83043
83033
|
Vue.use(ToastPlugin);
|
|
83044
83034
|
Vue.directive("horizontal-scroll", vHorizontalScroll);
|
|
83035
|
+
setApp(config == null ? void 0 : config.app);
|
|
83045
83036
|
setRouter(config == null ? void 0 : config.router);
|
|
83046
83037
|
(config == null ? void 0 : config.mediaType) ? setMediaType(config.mediaType) : null;
|
|
83047
83038
|
}
|