@fewangsit/wangsvue 1.5.219-alpha.2 → 1.5.219-alpha.4
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/changelog/index.d.ts +164 -0
- package/changelogpage/index.d.ts +184 -0
- package/comment/index.d.ts +187 -0
- package/components.d.ts +21 -0
- package/detailmember/index.d.ts +77 -0
- package/detailsprint/index.d.ts +86 -0
- package/inputinitialname/index.d.ts +118 -0
- package/inputrepositoryname/index.d.ts +86 -0
- package/loading-page-BrQattYE.js +1 -0
- package/loading-page-CgfbWppy.js +1 -0
- package/loading-page-CoC9UhfC.js +4 -0
- package/loading-page-CoXtqoc9.js +4 -0
- package/loading-page-DbLuqCHa.js +1 -0
- package/loading-page-f8D03l3G.js +4 -0
- package/loading-plane-CgfbWppy.js +1 -0
- package/loading-plane-CoXtqoc9.js +4 -0
- package/loading-table-Bdr9ZhtP.js +1 -0
- package/loading-table-ByUoWqUo.js +4 -0
- package/loading-table-BygEMzFM.js +4 -0
- package/loading-table-BzrSQlA0.js +1 -0
- package/loading-table-D9bw9OcI.js +4 -0
- package/loading-table-chOgXi94.js +1 -0
- package/no-data-CTKux8RI.js +4 -0
- package/no-data-Cgze_Rvp.js +1 -0
- package/no-data-DLHO1L_u.js +4 -0
- package/no-data-Dep79CBh.js +1 -0
- package/no-data-g0dJCy2p.js +4 -0
- package/no-data-y1X5WtcQ.js +1 -0
- package/notificationitem/index.d.ts +107 -0
- package/package.json +1 -1
- package/stats.html +1 -1
- package/style.css +2 -2
- package/summaryaccordion/index.d.ts +121 -0
- package/taskdetail/index.d.ts +82 -0
- package/taskdetailpbi/index.d.ts +35 -0
- package/tasktable/index.d.ts +87 -0
- package/wangsvue.es.js +66312 -170
- package/wangsvue.js +66314 -0
- package/wangsvue.system.js +234 -67600
- package/animation/index.es.js +0 -69
- package/assets/lottiejs/loading-page.es.js +0 -20
- package/assets/lottiejs/loading-plane.es.js +0 -4
- package/assets/lottiejs/loading-table.es.js +0 -20
- package/assets/lottiejs/no-data.es.js +0 -20
- package/backgroundimagecropper/index.es.js +0 -76
- package/badge/index.es.js +0 -121
- package/badgegroup/index.es.js +0 -80
- package/basecalendar/index.es.js +0 -1399
- package/basetree/index.es.js +0 -269
- package/breadcrumb/index.es.js +0 -54
- package/button/index.es.js +0 -126
- package/buttonbulkaction/index.es.js +0 -237
- package/buttoncopy/index.es.js +0 -34
- package/buttondownload/index.es.js +0 -162
- package/buttonfilter/index.es.js +0 -37
- package/buttonradio/index.es.js +0 -117
- package/buttonsearch/index.es.js +0 -86
- package/buttonselecttree/index.es.js +0 -281
- package/buttontoggle/index.es.js +0 -13
- package/calendar/index.es.js +0 -172
- package/card/index.es.js +0 -49
- package/checkbox/index.es.js +0 -166
- package/codesnippet/index.es.js +0 -138
- package/codesnippetadapter/index.es.js +0 -30
- package/columnlist/index.es.js +0 -282
- package/config/defaultProps.es.js +0 -24
- package/config/index.es.js +0 -13
- package/config/locale.es.js +0 -41
- package/customcolumn/index.es.js +0 -155
- package/datatable/index.es.js +0 -1328
- package/dialog/index.es.js +0 -121
- package/dialogconfirm/index.es.js +0 -155
- package/dialogform/index.es.js +0 -260
- package/dialogselecttree/index.es.js +0 -317
- package/directives/focus.es.js +0 -18
- package/directives/index.es.js +0 -2
- package/directives/tooltip.es.js +0 -1
- package/dropdown/index.es.js +0 -297
- package/editor/index.es.js +0 -1160
- package/editorbutton/index.es.js +0 -30
- package/event-bus/index.es.js +0 -5
- package/event-bus/mitt.es.js +0 -70
- package/fieldwrapper/index.es.js +0 -45
- package/fileupload/index.es.js +0 -266
- package/filtercontainer/index.es.js +0 -347
- package/form/index.es.js +0 -238
- package/gallerypreview/index.es.js +0 -157
- package/icon/index.es.js +0 -84
- package/image/index.es.js +0 -224
- package/imagecompressor/index.es.js +0 -701
- package/imageinputinfo/index.es.js +0 -50
- package/inlinemessage/index.es.js +0 -106
- package/inputbadge/index.es.js +0 -261
- package/inputcurrency/index.es.js +0 -186
- package/inputemail/index.es.js +0 -51
- package/inputgroup/index.es.js +0 -34
- package/inputnumber/index.es.js +0 -310
- package/inputpassword/index.es.js +0 -147
- package/inputphonenumber/index.es.js +0 -1060
- package/inputrangenumber/index.es.js +0 -165
- package/inputtext/index.es.js +0 -317
- package/inputurl/index.es.js +0 -63
- package/invisiblefield/index.es.js +0 -35
- package/litedropdown/index.es.js +0 -108
- package/loading/index.es.js +0 -26
- package/loading-page-BXZ4fLOS.js +0 -8
- package/loading-page-BuLpsb_1.js +0 -8
- package/loading-page-CNqVBg__.js +0 -4
- package/loading-page-DbhhZih2.js +0 -4
- package/loading-page-DjfWXoOy.js +0 -8
- package/loading-page-S-KRY5zm.js +0 -4
- package/loading-plane-C1mi7Whv.js +0 -4
- package/loading-plane-CWq1hz_l.js +0 -8
- package/loading-table-B7LAXzAp.js +0 -4
- package/loading-table-BLmgKUsR.js +0 -4
- package/loading-table-CG7-cuhv.js +0 -8
- package/loading-table-CUPS49ta.js +0 -4
- package/loading-table-CuWWrTbv.js +0 -8
- package/loading-table-DbBzVwaZ.js +0 -8
- package/mentionlist/index.es.js +0 -91
- package/mentionsection/index.es.js +0 -62
- package/menu/index.es.js +0 -87
- package/menuitem/index.es.js +0 -67
- package/multirow/index.es.js +0 -53
- package/multiselect/index.es.js +0 -221
- package/no-data-B781skt3.js +0 -4
- package/no-data-CAksOnDl.js +0 -4
- package/no-data-DCsjBXQR.js +0 -4
- package/no-data-Dz0QOe7Q.js +0 -8
- package/no-data-_Huxiv9q.js +0 -8
- package/no-data-ybRQontJ.js +0 -8
- package/overlaypanel/index.es.js +0 -62
- package/paginator/index.es.js +0 -53
- package/plugins/WangsVue.es.js +0 -363
- package/plugins/formValidation.es.js +0 -19
- package/progressbar/index.es.js +0 -50
- package/quickfilter/index.es.js +0 -153
- package/tabmenu/index.es.js +0 -31
- package/textarea/index.es.js +0 -130
- package/timeline/index.es.js +0 -149
- package/timelinecontentbytype/index.es.js +0 -133
- package/toast/index.es.js +0 -87
- package/toggleswitch/index.es.js +0 -107
- package/tree/index.es.js +0 -379
- package/treenode/index.es.js +0 -631
- package/treesearchinput/index.es.js +0 -62
- package/usergroup/index.es.js +0 -101
- package/username/index.es.js +0 -160
- package/utils/addAttachment.util.es.js +0 -50
- package/utils/baseToast.util.es.js +0 -52
- package/utils/convertJsonImage.util.es.js +0 -28
- package/utils/date.util.es.js +0 -253
- package/utils/exportToExcel.util.es.js +0 -89
- package/utils/filterOptions.util.es.js +0 -10
- package/utils/genPlaceholder.util.es.js +0 -51
- package/utils/getProjectPermission.util.es.js +0 -20
- package/utils/getSalesRole.util.es.js +0 -7
- package/utils/getUser.util.es.js +0 -4
- package/utils/getUserType.util.es.js +0 -18
- package/utils/index.es.js +0 -3
- package/utils/isIntersect.es.js +0 -6
- package/utils/mergePropsWithDefaults.util.es.js +0 -10
- package/utils/object.util.es.js +0 -95
- package/utils/queryParamsStringfy.util.es.js +0 -23
- package/utils/role.util.es.js +0 -8
- package/utils/statusSeverity.util.es.js +0 -36
- package/utils/textFormatter.util.es.js +0 -32
- package/utils/toast.util.es.js +0 -20
- package/utils/xlsx.util.es.js +0 -15
- package/validatormessage/index.es.js +0 -19
- package/vendor/@popperjs/core/lib/createPopper.es.js +0 -149
- package/vendor/@popperjs/core/lib/dom-utils/contains.es.js +0 -19
- package/vendor/@popperjs/core/lib/dom-utils/getBoundingClientRect.es.js +0 -38
- package/vendor/@popperjs/core/lib/dom-utils/getClippingRect.es.js +0 -61
- package/vendor/@popperjs/core/lib/dom-utils/getCompositeRect.es.js +0 -53
- package/vendor/@popperjs/core/lib/dom-utils/getComputedStyle.es.js +0 -7
- package/vendor/@popperjs/core/lib/dom-utils/getDocumentElement.es.js +0 -10
- package/vendor/@popperjs/core/lib/dom-utils/getDocumentRect.es.js +0 -27
- package/vendor/@popperjs/core/lib/dom-utils/getHTMLElementScroll.es.js +0 -9
- package/vendor/@popperjs/core/lib/dom-utils/getLayoutRect.es.js +0 -21
- package/vendor/@popperjs/core/lib/dom-utils/getNodeName.es.js +0 -6
- package/vendor/@popperjs/core/lib/dom-utils/getNodeScroll.es.js +0 -14
- package/vendor/@popperjs/core/lib/dom-utils/getOffsetParent.es.js +0 -51
- package/vendor/@popperjs/core/lib/dom-utils/getParentNode.es.js +0 -21
- package/vendor/@popperjs/core/lib/dom-utils/getScrollParent.es.js +0 -16
- package/vendor/@popperjs/core/lib/dom-utils/getViewportRect.es.js +0 -31
- package/vendor/@popperjs/core/lib/dom-utils/getWindow.es.js +0 -13
- package/vendor/@popperjs/core/lib/dom-utils/getWindowScroll.es.js +0 -13
- package/vendor/@popperjs/core/lib/dom-utils/getWindowScrollBarX.es.js +0 -9
- package/vendor/@popperjs/core/lib/dom-utils/instanceOf.es.js +0 -21
- package/vendor/@popperjs/core/lib/dom-utils/isLayoutViewport.es.js +0 -7
- package/vendor/@popperjs/core/lib/dom-utils/isScrollParent.es.js +0 -8
- package/vendor/@popperjs/core/lib/dom-utils/isTableElement.es.js +0 -7
- package/vendor/@popperjs/core/lib/dom-utils/listScrollParents.es.js +0 -22
- package/vendor/@popperjs/core/lib/enums.es.js +0 -45
- package/vendor/@popperjs/core/lib/index.es.js +0 -1
- package/vendor/@popperjs/core/lib/modifiers/applyStyles.es.js +0 -71
- package/vendor/@popperjs/core/lib/modifiers/arrow.es.js +0 -72
- package/vendor/@popperjs/core/lib/modifiers/computeStyles.es.js +0 -130
- package/vendor/@popperjs/core/lib/modifiers/eventListeners.es.js +0 -40
- package/vendor/@popperjs/core/lib/modifiers/flip.es.js +0 -113
- package/vendor/@popperjs/core/lib/modifiers/hide.es.js +0 -57
- package/vendor/@popperjs/core/lib/modifiers/index.es.js +0 -1
- package/vendor/@popperjs/core/lib/modifiers/offset.es.js +0 -42
- package/vendor/@popperjs/core/lib/modifiers/popperOffsets.es.js +0 -19
- package/vendor/@popperjs/core/lib/modifiers/preventOverflow.es.js +0 -105
- package/vendor/@popperjs/core/lib/popper-lite.es.js +0 -1
- package/vendor/@popperjs/core/lib/popper.es.js +0 -17
- package/vendor/@popperjs/core/lib/utils/computeAutoPlacement.es.js +0 -35
- package/vendor/@popperjs/core/lib/utils/computeOffsets.es.js +0 -59
- package/vendor/@popperjs/core/lib/utils/debounce.es.js +0 -17
- package/vendor/@popperjs/core/lib/utils/detectOverflow.es.js +0 -47
- package/vendor/@popperjs/core/lib/utils/expandToHashMap.es.js +0 -9
- package/vendor/@popperjs/core/lib/utils/getAltAxis.es.js +0 -6
- package/vendor/@popperjs/core/lib/utils/getBasePlacement.es.js +0 -6
- package/vendor/@popperjs/core/lib/utils/getFreshSideObject.es.js +0 -11
- package/vendor/@popperjs/core/lib/utils/getMainAxisFromPlacement.es.js +0 -6
- package/vendor/@popperjs/core/lib/utils/getOppositePlacement.es.js +0 -14
- package/vendor/@popperjs/core/lib/utils/getOppositeVariationPlacement.es.js +0 -12
- package/vendor/@popperjs/core/lib/utils/getVariation.es.js +0 -6
- package/vendor/@popperjs/core/lib/utils/math.es.js +0 -8
- package/vendor/@popperjs/core/lib/utils/mergeByName.es.js +0 -16
- package/vendor/@popperjs/core/lib/utils/mergePaddingObject.es.js +0 -7
- package/vendor/@popperjs/core/lib/utils/orderModifiers.es.js +0 -39
- package/vendor/@popperjs/core/lib/utils/rectToClientRect.es.js +0 -11
- package/vendor/@popperjs/core/lib/utils/userAgent.es.js +0 -12
- package/vendor/@popperjs/core/lib/utils/within.es.js +0 -12
- package/vendor/@tiptap/core/dist/index.es.js +0 -4362
- package/vendor/@tiptap/extension-bold/dist/index.es.js +0 -81
- package/vendor/@tiptap/extension-bubble-menu/dist/index.es.js +0 -202
- package/vendor/@tiptap/extension-bullet-list/dist/index.es.js +0 -66
- package/vendor/@tiptap/extension-code/dist/index.es.js +0 -59
- package/vendor/@tiptap/extension-document/dist/index.es.js +0 -9
- package/vendor/@tiptap/extension-floating-menu/dist/index.es.js +0 -154
- package/vendor/@tiptap/extension-heading/dist/index.es.js +0 -70
- package/vendor/@tiptap/extension-history/dist/index.es.js +0 -39
- package/vendor/@tiptap/extension-image/dist/index.es.js +0 -67
- package/vendor/@tiptap/extension-italic/dist/index.es.js +0 -80
- package/vendor/@tiptap/extension-link/dist/index.es.js +0 -351
- package/vendor/@tiptap/extension-list-item/dist/index.es.js +0 -33
- package/vendor/@tiptap/extension-mention/dist/index.es.js +0 -165
- package/vendor/@tiptap/extension-ordered-list/dist/index.es.js +0 -84
- package/vendor/@tiptap/extension-paragraph/dist/index.es.js +0 -35
- package/vendor/@tiptap/extension-placeholder/dist/index.es.js +0 -59
- package/vendor/@tiptap/extension-text/dist/index.es.js +0 -8
- package/vendor/@tiptap/extension-underline/dist/index.es.js +0 -46
- package/vendor/@tiptap/pm/commands/dist/index.es.js +0 -1
- package/vendor/@tiptap/pm/history/dist/index.es.js +0 -1
- package/vendor/@tiptap/pm/keymap/dist/index.es.js +0 -1
- package/vendor/@tiptap/pm/model/dist/index.es.js +0 -1
- package/vendor/@tiptap/pm/schema-list/dist/index.es.js +0 -1
- package/vendor/@tiptap/pm/state/dist/index.es.js +0 -1
- package/vendor/@tiptap/pm/transform/dist/index.es.js +0 -1
- package/vendor/@tiptap/pm/view/dist/index.es.js +0 -1
- package/vendor/@tiptap/suggestion/dist/index.es.js +0 -215
- package/vendor/@tiptap/vue-3/dist/index.es.js +0 -535
- package/vendor/@wangs-ui/core/components/p-BU8h34na.es.js +0 -22
- package/vendor/@wangs-ui/core/components/p-C5lMEBcj.es.js +0 -163
- package/vendor/@wangs-ui/core/components/p-CKYwZoTo.es.js +0 -61
- package/vendor/@wangs-ui/core/components/p-CsoK-EWG.es.js +0 -203
- package/vendor/@wangs-ui/core/components/p-DPHEi31J.es.js +0 -160
- package/vendor/@wangs-ui/core/components/p-DTTCzifR.es.js +0 -1447
- package/vendor/@wangs-ui/core/components/p-Duri5p90.es.js +0 -184
- package/vendor/@wangs-ui/core/components/wangs-button.es.js +0 -38
- package/vendor/@wangs-ui/core/components/wangs-icon.es.js +0 -5
- package/vendor/@wangs-ui/core/components/wangs-input-otp.es.js +0 -5
- package/vendor/@wangs-ui/core/components/wangs-tab-menu.es.js +0 -5
- package/vendor/@wangs-ui/core/dist/esm/index-DCkh3cGv.es.js +0 -340
- package/vendor/@wangs-ui/core/dist/esm/index.es.js +0 -1
- package/vendor/@wangs-ui/core/dist/index.es.js +0 -1
- package/vendor/@wangs-ui/vue/dist/index.es.js +0 -98
- package/vendor/base64toblob/base64toblob.es.js +0 -37
- package/vendor/highlight.js/es/core.es.js +0 -7
- package/vendor/highlight.js/es/languages/javascript.es.js +0 -700
- package/vendor/highlight.js/es/languages/json.es.js +0 -41
- package/vendor/highlight.js/es/languages/typescript.es.js +0 -803
- package/vendor/highlight.js/es/languages/vbscript-html.es.js +0 -16
- package/vendor/highlight.js/lib/core.es.js +0 -1541
- package/vendor/linkifyjs/dist/linkify.es.es.js +0 -1158
- package/vendor/lodash/_Symbol.es.js +0 -14
- package/vendor/lodash/_baseGetTag.es.js +0 -23
- package/vendor/lodash/_baseTrim.es.js +0 -17
- package/vendor/lodash/_freeGlobal.es.js +0 -13
- package/vendor/lodash/_getRawTag.es.js +0 -34
- package/vendor/lodash/_objectToString.es.js +0 -16
- package/vendor/lodash/_root.es.js +0 -15
- package/vendor/lodash/_trimmedEndIndex.es.js +0 -18
- package/vendor/lodash/debounce.es.js +0 -98
- package/vendor/lodash/isObject.es.js +0 -15
- package/vendor/lodash/isObjectLike.es.js +0 -14
- package/vendor/lodash/isSymbol.es.js +0 -18
- package/vendor/lodash/now.es.js +0 -16
- package/vendor/lodash/throttle.es.js +0 -30
- package/vendor/lodash/toNumber.es.js +0 -38
- package/vendor/lodash-es/_DataView.es.js +0 -6
- package/vendor/lodash-es/_Hash.es.js +0 -21
- package/vendor/lodash-es/_LazyWrapper.es.js +0 -1
- package/vendor/lodash-es/_ListCache.es.js +0 -21
- package/vendor/lodash-es/_LodashWrapper.es.js +0 -1
- package/vendor/lodash-es/_Map.es.js +0 -6
- package/vendor/lodash-es/_MapCache.es.js +0 -21
- package/vendor/lodash-es/_Promise.es.js +0 -6
- package/vendor/lodash-es/_Set.es.js +0 -6
- package/vendor/lodash-es/_SetCache.es.js +0 -15
- package/vendor/lodash-es/_Stack.es.js +0 -18
- package/vendor/lodash-es/_Symbol.es.js +0 -5
- package/vendor/lodash-es/_Uint8Array.es.js +0 -5
- package/vendor/lodash-es/_WeakMap.es.js +0 -6
- package/vendor/lodash-es/_apply.es.js +0 -1
- package/vendor/lodash-es/_arrayAggregator.es.js +0 -1
- package/vendor/lodash-es/_arrayEach.es.js +0 -12
- package/vendor/lodash-es/_arrayEachRight.es.js +0 -1
- package/vendor/lodash-es/_arrayEvery.es.js +0 -1
- package/vendor/lodash-es/_arrayFilter.es.js +0 -13
- package/vendor/lodash-es/_arrayIncludes.es.js +0 -1
- package/vendor/lodash-es/_arrayIncludesWith.es.js +0 -1
- package/vendor/lodash-es/_arrayLikeKeys.es.js +0 -24
- package/vendor/lodash-es/_arrayMap.es.js +0 -1
- package/vendor/lodash-es/_arrayPush.es.js +0 -10
- package/vendor/lodash-es/_arrayReduce.es.js +0 -1
- package/vendor/lodash-es/_arrayReduceRight.es.js +0 -1
- package/vendor/lodash-es/_arraySample.es.js +0 -1
- package/vendor/lodash-es/_arraySampleSize.es.js +0 -1
- package/vendor/lodash-es/_arrayShuffle.es.js +0 -1
- package/vendor/lodash-es/_arraySome.es.js +0 -12
- package/vendor/lodash-es/_asciiSize.es.js +0 -1
- package/vendor/lodash-es/_asciiToArray.es.js +0 -1
- package/vendor/lodash-es/_asciiWords.es.js +0 -1
- package/vendor/lodash-es/_assignMergeValue.es.js +0 -1
- package/vendor/lodash-es/_assignValue.es.js +0 -13
- package/vendor/lodash-es/_assocIndexOf.es.js +0 -13
- package/vendor/lodash-es/_baseAggregator.es.js +0 -1
- package/vendor/lodash-es/_baseAssign.es.js +0 -1
- package/vendor/lodash-es/_baseAssignIn.es.js +0 -1
- package/vendor/lodash-es/_baseAssignValue.es.js +0 -16
- package/vendor/lodash-es/_baseAt.es.js +0 -1
- package/vendor/lodash-es/_baseClamp.es.js +0 -1
- package/vendor/lodash-es/_baseClone.es.js +0 -73
- package/vendor/lodash-es/_baseConforms.es.js +0 -1
- package/vendor/lodash-es/_baseConformsTo.es.js +0 -1
- package/vendor/lodash-es/_baseCreate.es.js +0 -21
- package/vendor/lodash-es/_baseDelay.es.js +0 -1
- package/vendor/lodash-es/_baseDifference.es.js +0 -1
- package/vendor/lodash-es/_baseEach.es.js +0 -1
- package/vendor/lodash-es/_baseEachRight.es.js +0 -1
- package/vendor/lodash-es/_baseEvery.es.js +0 -1
- package/vendor/lodash-es/_baseExtremum.es.js +0 -1
- package/vendor/lodash-es/_baseFill.es.js +0 -1
- package/vendor/lodash-es/_baseFilter.es.js +0 -1
- package/vendor/lodash-es/_baseFindIndex.es.js +0 -1
- package/vendor/lodash-es/_baseFindKey.es.js +0 -1
- package/vendor/lodash-es/_baseFlatten.es.js +0 -1
- package/vendor/lodash-es/_baseFor.es.js +0 -1
- package/vendor/lodash-es/_baseForOwn.es.js +0 -1
- package/vendor/lodash-es/_baseForOwnRight.es.js +0 -1
- package/vendor/lodash-es/_baseForRight.es.js +0 -1
- package/vendor/lodash-es/_baseFunctions.es.js +0 -1
- package/vendor/lodash-es/_baseGet.es.js +0 -1
- package/vendor/lodash-es/_baseGetAllKeys.es.js +0 -9
- package/vendor/lodash-es/_baseGetTag.es.js +0 -14
- package/vendor/lodash-es/_baseGt.es.js +0 -1
- package/vendor/lodash-es/_baseHas.es.js +0 -1
- package/vendor/lodash-es/_baseHasIn.es.js +0 -1
- package/vendor/lodash-es/_baseInRange.es.js +0 -1
- package/vendor/lodash-es/_baseIndexOf.es.js +0 -1
- package/vendor/lodash-es/_baseIndexOfWith.es.js +0 -1
- package/vendor/lodash-es/_baseIntersection.es.js +0 -1
- package/vendor/lodash-es/_baseInverter.es.js +0 -1
- package/vendor/lodash-es/_baseInvoke.es.js +0 -1
- package/vendor/lodash-es/_baseIsArguments.es.js +0 -9
- package/vendor/lodash-es/_baseIsArrayBuffer.es.js +0 -1
- package/vendor/lodash-es/_baseIsDate.es.js +0 -1
- package/vendor/lodash-es/_baseIsEqual.es.js +0 -14
- package/vendor/lodash-es/_baseIsEqualDeep.es.js +0 -45
- package/vendor/lodash-es/_baseIsMap.es.js +0 -9
- package/vendor/lodash-es/_baseIsMatch.es.js +0 -1
- package/vendor/lodash-es/_baseIsNaN.es.js +0 -1
- package/vendor/lodash-es/_baseIsNative.es.js +0 -22
- package/vendor/lodash-es/_baseIsRegExp.es.js +0 -1
- package/vendor/lodash-es/_baseIsSet.es.js +0 -9
- package/vendor/lodash-es/_baseIsTypedArray.es.js +0 -14
- package/vendor/lodash-es/_baseIteratee.es.js +0 -1
- package/vendor/lodash-es/_baseKeys.es.js +0 -19
- package/vendor/lodash-es/_baseKeysIn.es.js +0 -1
- package/vendor/lodash-es/_baseLodash.es.js +0 -1
- package/vendor/lodash-es/_baseLt.es.js +0 -1
- package/vendor/lodash-es/_baseMap.es.js +0 -1
- package/vendor/lodash-es/_baseMatches.es.js +0 -1
- package/vendor/lodash-es/_baseMatchesProperty.es.js +0 -1
- package/vendor/lodash-es/_baseMean.es.js +0 -1
- package/vendor/lodash-es/_baseMerge.es.js +0 -1
- package/vendor/lodash-es/_baseMergeDeep.es.js +0 -1
- package/vendor/lodash-es/_baseNth.es.js +0 -1
- package/vendor/lodash-es/_baseOrderBy.es.js +0 -1
- package/vendor/lodash-es/_basePick.es.js +0 -1
- package/vendor/lodash-es/_basePickBy.es.js +0 -1
- package/vendor/lodash-es/_baseProperty.es.js +0 -1
- package/vendor/lodash-es/_basePropertyDeep.es.js +0 -1
- package/vendor/lodash-es/_basePropertyOf.es.js +0 -1
- package/vendor/lodash-es/_basePullAll.es.js +0 -1
- package/vendor/lodash-es/_basePullAt.es.js +0 -1
- package/vendor/lodash-es/_baseRandom.es.js +0 -1
- package/vendor/lodash-es/_baseRange.es.js +0 -1
- package/vendor/lodash-es/_baseReduce.es.js +0 -1
- package/vendor/lodash-es/_baseRepeat.es.js +0 -1
- package/vendor/lodash-es/_baseRest.es.js +0 -1
- package/vendor/lodash-es/_baseSample.es.js +0 -1
- package/vendor/lodash-es/_baseSampleSize.es.js +0 -1
- package/vendor/lodash-es/_baseSet.es.js +0 -1
- package/vendor/lodash-es/_baseSetData.es.js +0 -1
- package/vendor/lodash-es/_baseSetToString.es.js +0 -1
- package/vendor/lodash-es/_baseShuffle.es.js +0 -1
- package/vendor/lodash-es/_baseSlice.es.js +0 -1
- package/vendor/lodash-es/_baseSome.es.js +0 -1
- package/vendor/lodash-es/_baseSortBy.es.js +0 -1
- package/vendor/lodash-es/_baseSortedIndex.es.js +0 -1
- package/vendor/lodash-es/_baseSortedIndexBy.es.js +0 -1
- package/vendor/lodash-es/_baseSortedUniq.es.js +0 -1
- package/vendor/lodash-es/_baseSum.es.js +0 -1
- package/vendor/lodash-es/_baseTimes.es.js +0 -10
- package/vendor/lodash-es/_baseToNumber.es.js +0 -1
- package/vendor/lodash-es/_baseToPairs.es.js +0 -1
- package/vendor/lodash-es/_baseToString.es.js +0 -1
- package/vendor/lodash-es/_baseTrim.es.js +0 -8
- package/vendor/lodash-es/_baseUnary.es.js +0 -8
- package/vendor/lodash-es/_baseUniq.es.js +0 -1
- package/vendor/lodash-es/_baseUnset.es.js +0 -1
- package/vendor/lodash-es/_baseUpdate.es.js +0 -1
- package/vendor/lodash-es/_baseValues.es.js +0 -1
- package/vendor/lodash-es/_baseWhile.es.js +0 -1
- package/vendor/lodash-es/_baseWrapperValue.es.js +0 -1
- package/vendor/lodash-es/_baseXor.es.js +0 -1
- package/vendor/lodash-es/_baseZipObject.es.js +0 -1
- package/vendor/lodash-es/_cacheHas.es.js +0 -6
- package/vendor/lodash-es/_castArrayLikeObject.es.js +0 -1
- package/vendor/lodash-es/_castFunction.es.js +0 -1
- package/vendor/lodash-es/_castPath.es.js +0 -1
- package/vendor/lodash-es/_castRest.es.js +0 -1
- package/vendor/lodash-es/_castSlice.es.js +0 -1
- package/vendor/lodash-es/_charsEndIndex.es.js +0 -1
- package/vendor/lodash-es/_charsStartIndex.es.js +0 -1
- package/vendor/lodash-es/_cloneArrayBuffer.es.js +0 -9
- package/vendor/lodash-es/_cloneBuffer.es.js +0 -14
- package/vendor/lodash-es/_cloneDataView.es.js +0 -8
- package/vendor/lodash-es/_cloneRegExp.es.js +0 -9
- package/vendor/lodash-es/_cloneSymbol.es.js +0 -8
- package/vendor/lodash-es/_cloneTypedArray.es.js +0 -8
- package/vendor/lodash-es/_compareAscending.es.js +0 -1
- package/vendor/lodash-es/_compareMultiple.es.js +0 -1
- package/vendor/lodash-es/_composeArgs.es.js +0 -1
- package/vendor/lodash-es/_composeArgsRight.es.js +0 -1
- package/vendor/lodash-es/_copyArray.es.js +0 -1
- package/vendor/lodash-es/_copyObject.es.js +0 -1
- package/vendor/lodash-es/_copySymbols.es.js +0 -1
- package/vendor/lodash-es/_copySymbolsIn.es.js +0 -1
- package/vendor/lodash-es/_coreJsData.es.js +0 -5
- package/vendor/lodash-es/_countHolders.es.js +0 -1
- package/vendor/lodash-es/_createAggregator.es.js +0 -1
- package/vendor/lodash-es/_createAssigner.es.js +0 -1
- package/vendor/lodash-es/_createBaseEach.es.js +0 -1
- package/vendor/lodash-es/_createBaseFor.es.js +0 -1
- package/vendor/lodash-es/_createBind.es.js +0 -1
- package/vendor/lodash-es/_createCaseFirst.es.js +0 -1
- package/vendor/lodash-es/_createCompounder.es.js +0 -1
- package/vendor/lodash-es/_createCtor.es.js +0 -1
- package/vendor/lodash-es/_createCurry.es.js +0 -1
- package/vendor/lodash-es/_createFind.es.js +0 -1
- package/vendor/lodash-es/_createFlow.es.js +0 -1
- package/vendor/lodash-es/_createHybrid.es.js +0 -1
- package/vendor/lodash-es/_createInverter.es.js +0 -1
- package/vendor/lodash-es/_createMathOperation.es.js +0 -1
- package/vendor/lodash-es/_createOver.es.js +0 -1
- package/vendor/lodash-es/_createPadding.es.js +0 -1
- package/vendor/lodash-es/_createPartial.es.js +0 -1
- package/vendor/lodash-es/_createRange.es.js +0 -1
- package/vendor/lodash-es/_createRecurry.es.js +0 -1
- package/vendor/lodash-es/_createRelationalOperation.es.js +0 -1
- package/vendor/lodash-es/_createRound.es.js +0 -1
- package/vendor/lodash-es/_createSet.es.js +0 -1
- package/vendor/lodash-es/_createToPairs.es.js +0 -1
- package/vendor/lodash-es/_createWrap.es.js +0 -1
- package/vendor/lodash-es/_customDefaultsAssignIn.es.js +0 -1
- package/vendor/lodash-es/_customDefaultsMerge.es.js +0 -1
- package/vendor/lodash-es/_customOmitClone.es.js +0 -1
- package/vendor/lodash-es/_deburrLetter.es.js +0 -1
- package/vendor/lodash-es/_defineProperty.es.js +0 -12
- package/vendor/lodash-es/_equalArrays.es.js +0 -50
- package/vendor/lodash-es/_equalByTag.es.js +0 -59
- package/vendor/lodash-es/_equalObjects.es.js +0 -50
- package/vendor/lodash-es/_escapeHtmlChar.es.js +0 -1
- package/vendor/lodash-es/_escapeStringChar.es.js +0 -1
- package/vendor/lodash-es/_flatRest.es.js +0 -1
- package/vendor/lodash-es/_freeGlobal.es.js +0 -4
- package/vendor/lodash-es/_getAllKeys.es.js +0 -9
- package/vendor/lodash-es/_getAllKeysIn.es.js +0 -1
- package/vendor/lodash-es/_getData.es.js +0 -1
- package/vendor/lodash-es/_getFuncName.es.js +0 -1
- package/vendor/lodash-es/_getHolder.es.js +0 -1
- package/vendor/lodash-es/_getMapData.es.js +0 -8
- package/vendor/lodash-es/_getMatchData.es.js +0 -1
- package/vendor/lodash-es/_getNative.es.js +0 -9
- package/vendor/lodash-es/_getPrototype.es.js +0 -5
- package/vendor/lodash-es/_getRawTag.es.js +0 -25
- package/vendor/lodash-es/_getSymbols.es.js +0 -17
- package/vendor/lodash-es/_getSymbolsIn.es.js +0 -1
- package/vendor/lodash-es/_getTag.es.js +0 -34
- package/vendor/lodash-es/_getValue.es.js +0 -6
- package/vendor/lodash-es/_getView.es.js +0 -1
- package/vendor/lodash-es/_getWrapDetails.es.js +0 -1
- package/vendor/lodash-es/_hasPath.es.js +0 -1
- package/vendor/lodash-es/_hasUnicode.es.js +0 -1
- package/vendor/lodash-es/_hasUnicodeWord.es.js +0 -1
- package/vendor/lodash-es/_hashClear.es.js +0 -8
- package/vendor/lodash-es/_hashDelete.es.js +0 -8
- package/vendor/lodash-es/_hashGet.es.js +0 -15
- package/vendor/lodash-es/_hashHas.es.js +0 -10
- package/vendor/lodash-es/_hashSet.es.js +0 -11
- package/vendor/lodash-es/_initCloneArray.es.js +0 -13
- package/vendor/lodash-es/_initCloneByTag.es.js +0 -43
- package/vendor/lodash-es/_initCloneObject.es.js +0 -9
- package/vendor/lodash-es/_insertWrapDetails.es.js +0 -1
- package/vendor/lodash-es/_isFlattenable.es.js +0 -1
- package/vendor/lodash-es/_isIndex.es.js +0 -10
- package/vendor/lodash-es/_isIterateeCall.es.js +0 -1
- package/vendor/lodash-es/_isKey.es.js +0 -1
- package/vendor/lodash-es/_isKeyable.es.js +0 -7
- package/vendor/lodash-es/_isLaziable.es.js +0 -1
- package/vendor/lodash-es/_isMaskable.es.js +0 -1
- package/vendor/lodash-es/_isMasked.es.js +0 -11
- package/vendor/lodash-es/_isPrototype.es.js +0 -8
- package/vendor/lodash-es/_isStrictComparable.es.js +0 -1
- package/vendor/lodash-es/_iteratorToArray.es.js +0 -1
- package/vendor/lodash-es/_lazyClone.es.js +0 -1
- package/vendor/lodash-es/_lazyReverse.es.js +0 -1
- package/vendor/lodash-es/_lazyValue.es.js +0 -1
- package/vendor/lodash-es/_listCacheClear.es.js +0 -7
- package/vendor/lodash-es/_listCacheDelete.es.js +0 -20
- package/vendor/lodash-es/_listCacheGet.es.js +0 -8
- package/vendor/lodash-es/_listCacheHas.es.js +0 -7
- package/vendor/lodash-es/_listCacheSet.es.js +0 -14
- package/vendor/lodash-es/_mapCacheClear.es.js +0 -14
- package/vendor/lodash-es/_mapCacheDelete.es.js +0 -9
- package/vendor/lodash-es/_mapCacheGet.es.js +0 -7
- package/vendor/lodash-es/_mapCacheHas.es.js +0 -7
- package/vendor/lodash-es/_mapCacheSet.es.js +0 -10
- package/vendor/lodash-es/_mapToArray.es.js +0 -10
- package/vendor/lodash-es/_matchesStrictComparable.es.js +0 -1
- package/vendor/lodash-es/_memoizeCapped.es.js +0 -1
- package/vendor/lodash-es/_mergeData.es.js +0 -1
- package/vendor/lodash-es/_metaMap.es.js +0 -1
- package/vendor/lodash-es/_nativeCreate.es.js +0 -5
- package/vendor/lodash-es/_nativeKeys.es.js +0 -5
- package/vendor/lodash-es/_nativeKeysIn.es.js +0 -1
- package/vendor/lodash-es/_nodeUtil.es.js +0 -18
- package/vendor/lodash-es/_objectToString.es.js +0 -8
- package/vendor/lodash-es/_overArg.es.js +0 -8
- package/vendor/lodash-es/_overRest.es.js +0 -1
- package/vendor/lodash-es/_parent.es.js +0 -1
- package/vendor/lodash-es/_reEscape.es.js +0 -1
- package/vendor/lodash-es/_reEvaluate.es.js +0 -1
- package/vendor/lodash-es/_reInterpolate.es.js +0 -1
- package/vendor/lodash-es/_realNames.es.js +0 -1
- package/vendor/lodash-es/_reorder.es.js +0 -1
- package/vendor/lodash-es/_replaceHolders.es.js +0 -1
- package/vendor/lodash-es/_root.es.js +0 -6
- package/vendor/lodash-es/_safeGet.es.js +0 -1
- package/vendor/lodash-es/_setCacheAdd.es.js +0 -8
- package/vendor/lodash-es/_setCacheHas.es.js +0 -6
- package/vendor/lodash-es/_setData.es.js +0 -1
- package/vendor/lodash-es/_setToArray.es.js +0 -10
- package/vendor/lodash-es/_setToPairs.es.js +0 -1
- package/vendor/lodash-es/_setToString.es.js +0 -1
- package/vendor/lodash-es/_setWrapToString.es.js +0 -1
- package/vendor/lodash-es/_shortOut.es.js +0 -1
- package/vendor/lodash-es/_shuffleSelf.es.js +0 -1
- package/vendor/lodash-es/_stackClear.es.js +0 -8
- package/vendor/lodash-es/_stackDelete.es.js +0 -8
- package/vendor/lodash-es/_stackGet.es.js +0 -6
- package/vendor/lodash-es/_stackHas.es.js +0 -6
- package/vendor/lodash-es/_stackSet.es.js +0 -22
- package/vendor/lodash-es/_strictIndexOf.es.js +0 -1
- package/vendor/lodash-es/_strictLastIndexOf.es.js +0 -1
- package/vendor/lodash-es/_stringSize.es.js +0 -1
- package/vendor/lodash-es/_stringToArray.es.js +0 -1
- package/vendor/lodash-es/_stringToPath.es.js +0 -1
- package/vendor/lodash-es/_toKey.es.js +0 -1
- package/vendor/lodash-es/_toSource.es.js +0 -18
- package/vendor/lodash-es/_trimmedEndIndex.es.js +0 -10
- package/vendor/lodash-es/_unescapeHtmlChar.es.js +0 -1
- package/vendor/lodash-es/_unicodeSize.es.js +0 -1
- package/vendor/lodash-es/_unicodeToArray.es.js +0 -1
- package/vendor/lodash-es/_unicodeWords.es.js +0 -1
- package/vendor/lodash-es/_updateWrapDetails.es.js +0 -1
- package/vendor/lodash-es/_wrapperClone.es.js +0 -1
- package/vendor/lodash-es/add.es.js +0 -1
- package/vendor/lodash-es/after.es.js +0 -1
- package/vendor/lodash-es/array.default.es.js +0 -1
- package/vendor/lodash-es/array.es.js +0 -1
- package/vendor/lodash-es/ary.es.js +0 -1
- package/vendor/lodash-es/assign.es.js +0 -1
- package/vendor/lodash-es/assignIn.es.js +0 -1
- package/vendor/lodash-es/assignInWith.es.js +0 -1
- package/vendor/lodash-es/assignWith.es.js +0 -1
- package/vendor/lodash-es/at.es.js +0 -1
- package/vendor/lodash-es/attempt.es.js +0 -1
- package/vendor/lodash-es/before.es.js +0 -1
- package/vendor/lodash-es/bind.es.js +0 -1
- package/vendor/lodash-es/bindAll.es.js +0 -1
- package/vendor/lodash-es/bindKey.es.js +0 -1
- package/vendor/lodash-es/camelCase.es.js +0 -1
- package/vendor/lodash-es/capitalize.es.js +0 -1
- package/vendor/lodash-es/castArray.es.js +0 -1
- package/vendor/lodash-es/ceil.es.js +0 -1
- package/vendor/lodash-es/chain.es.js +0 -1
- package/vendor/lodash-es/chunk.es.js +0 -1
- package/vendor/lodash-es/clamp.es.js +0 -1
- package/vendor/lodash-es/clone.es.js +0 -1
- package/vendor/lodash-es/cloneDeep.es.js +0 -8
- package/vendor/lodash-es/cloneDeepWith.es.js +0 -1
- package/vendor/lodash-es/cloneWith.es.js +0 -1
- package/vendor/lodash-es/collection.default.es.js +0 -1
- package/vendor/lodash-es/collection.es.js +0 -1
- package/vendor/lodash-es/commit.es.js +0 -1
- package/vendor/lodash-es/compact.es.js +0 -1
- package/vendor/lodash-es/concat.es.js +0 -1
- package/vendor/lodash-es/cond.es.js +0 -1
- package/vendor/lodash-es/conforms.es.js +0 -1
- package/vendor/lodash-es/conformsTo.es.js +0 -1
- package/vendor/lodash-es/constant.es.js +0 -1
- package/vendor/lodash-es/countBy.es.js +0 -1
- package/vendor/lodash-es/create.es.js +0 -1
- package/vendor/lodash-es/curry.es.js +0 -1
- package/vendor/lodash-es/curryRight.es.js +0 -1
- package/vendor/lodash-es/date.default.es.js +0 -1
- package/vendor/lodash-es/date.es.js +0 -1
- package/vendor/lodash-es/debounce.es.js +0 -89
- package/vendor/lodash-es/deburr.es.js +0 -1
- package/vendor/lodash-es/defaultTo.es.js +0 -1
- package/vendor/lodash-es/defaults.es.js +0 -1
- package/vendor/lodash-es/defaultsDeep.es.js +0 -1
- package/vendor/lodash-es/defer.es.js +0 -1
- package/vendor/lodash-es/delay.es.js +0 -1
- package/vendor/lodash-es/difference.es.js +0 -1
- package/vendor/lodash-es/differenceBy.es.js +0 -1
- package/vendor/lodash-es/differenceWith.es.js +0 -1
- package/vendor/lodash-es/divide.es.js +0 -1
- package/vendor/lodash-es/drop.es.js +0 -1
- package/vendor/lodash-es/dropRight.es.js +0 -1
- package/vendor/lodash-es/dropRightWhile.es.js +0 -1
- package/vendor/lodash-es/dropWhile.es.js +0 -1
- package/vendor/lodash-es/each.es.js +0 -1
- package/vendor/lodash-es/eachRight.es.js +0 -1
- package/vendor/lodash-es/endsWith.es.js +0 -1
- package/vendor/lodash-es/entries.es.js +0 -1
- package/vendor/lodash-es/entriesIn.es.js +0 -1
- package/vendor/lodash-es/eq.es.js +0 -6
- package/vendor/lodash-es/escape.es.js +0 -1
- package/vendor/lodash-es/escapeRegExp.es.js +0 -1
- package/vendor/lodash-es/every.es.js +0 -1
- package/vendor/lodash-es/extend.es.js +0 -1
- package/vendor/lodash-es/extendWith.es.js +0 -1
- package/vendor/lodash-es/fill.es.js +0 -1
- package/vendor/lodash-es/filter.es.js +0 -1
- package/vendor/lodash-es/find.es.js +0 -1
- package/vendor/lodash-es/findIndex.es.js +0 -1
- package/vendor/lodash-es/findKey.es.js +0 -1
- package/vendor/lodash-es/findLast.es.js +0 -1
- package/vendor/lodash-es/findLastIndex.es.js +0 -1
- package/vendor/lodash-es/findLastKey.es.js +0 -1
- package/vendor/lodash-es/first.es.js +0 -1
- package/vendor/lodash-es/flatMap.es.js +0 -1
- package/vendor/lodash-es/flatMapDeep.es.js +0 -1
- package/vendor/lodash-es/flatMapDepth.es.js +0 -1
- package/vendor/lodash-es/flatten.es.js +0 -1
- package/vendor/lodash-es/flattenDeep.es.js +0 -1
- package/vendor/lodash-es/flattenDepth.es.js +0 -1
- package/vendor/lodash-es/flip.es.js +0 -1
- package/vendor/lodash-es/floor.es.js +0 -1
- package/vendor/lodash-es/flow.es.js +0 -1
- package/vendor/lodash-es/flowRight.es.js +0 -1
- package/vendor/lodash-es/forEach.es.js +0 -1
- package/vendor/lodash-es/forEachRight.es.js +0 -1
- package/vendor/lodash-es/forIn.es.js +0 -1
- package/vendor/lodash-es/forInRight.es.js +0 -1
- package/vendor/lodash-es/forOwn.es.js +0 -1
- package/vendor/lodash-es/forOwnRight.es.js +0 -1
- package/vendor/lodash-es/fromPairs.es.js +0 -1
- package/vendor/lodash-es/function.default.es.js +0 -1
- package/vendor/lodash-es/function.es.js +0 -1
- package/vendor/lodash-es/functions.es.js +0 -1
- package/vendor/lodash-es/functionsIn.es.js +0 -1
- package/vendor/lodash-es/get.es.js +0 -1
- package/vendor/lodash-es/groupBy.es.js +0 -1
- package/vendor/lodash-es/gt.es.js +0 -1
- package/vendor/lodash-es/gte.es.js +0 -1
- package/vendor/lodash-es/has.es.js +0 -1
- package/vendor/lodash-es/hasIn.es.js +0 -1
- package/vendor/lodash-es/head.es.js +0 -1
- package/vendor/lodash-es/identity.es.js +0 -1
- package/vendor/lodash-es/inRange.es.js +0 -1
- package/vendor/lodash-es/includes.es.js +0 -1
- package/vendor/lodash-es/indexOf.es.js +0 -1
- package/vendor/lodash-es/initial.es.js +0 -1
- package/vendor/lodash-es/intersection.es.js +0 -1
- package/vendor/lodash-es/intersectionBy.es.js +0 -1
- package/vendor/lodash-es/intersectionWith.es.js +0 -1
- package/vendor/lodash-es/invert.es.js +0 -1
- package/vendor/lodash-es/invertBy.es.js +0 -1
- package/vendor/lodash-es/invoke.es.js +0 -1
- package/vendor/lodash-es/invokeMap.es.js +0 -1
- package/vendor/lodash-es/isArguments.es.js +0 -13
- package/vendor/lodash-es/isArray.es.js +0 -4
- package/vendor/lodash-es/isArrayBuffer.es.js +0 -1
- package/vendor/lodash-es/isArrayLike.es.js +0 -8
- package/vendor/lodash-es/isArrayLikeObject.es.js +0 -1
- package/vendor/lodash-es/isBoolean.es.js +0 -1
- package/vendor/lodash-es/isBuffer.es.js +0 -11
- package/vendor/lodash-es/isDate.es.js +0 -1
- package/vendor/lodash-es/isElement.es.js +0 -1
- package/vendor/lodash-es/isEmpty.es.js +0 -1
- package/vendor/lodash-es/isEqual.es.js +0 -7
- package/vendor/lodash-es/isEqualWith.es.js +0 -1
- package/vendor/lodash-es/isError.es.js +0 -1
- package/vendor/lodash-es/isFinite.es.js +0 -1
- package/vendor/lodash-es/isFunction.es.js +0 -13
- package/vendor/lodash-es/isInteger.es.js +0 -1
- package/vendor/lodash-es/isLength.es.js +0 -7
- package/vendor/lodash-es/isMap.es.js +0 -8
- package/vendor/lodash-es/isMatch.es.js +0 -1
- package/vendor/lodash-es/isMatchWith.es.js +0 -1
- package/vendor/lodash-es/isNaN.es.js +0 -1
- package/vendor/lodash-es/isNative.es.js +0 -1
- package/vendor/lodash-es/isNil.es.js +0 -1
- package/vendor/lodash-es/isNull.es.js +0 -1
- package/vendor/lodash-es/isNumber.es.js +0 -1
- package/vendor/lodash-es/isObject.es.js +0 -7
- package/vendor/lodash-es/isObjectLike.es.js +0 -6
- package/vendor/lodash-es/isPlainObject.es.js +0 -1
- package/vendor/lodash-es/isRegExp.es.js +0 -1
- package/vendor/lodash-es/isSafeInteger.es.js +0 -1
- package/vendor/lodash-es/isSet.es.js +0 -8
- package/vendor/lodash-es/isString.es.js +0 -1
- package/vendor/lodash-es/isSymbol.es.js +0 -9
- package/vendor/lodash-es/isTypedArray.es.js +0 -8
- package/vendor/lodash-es/isUndefined.es.js +0 -1
- package/vendor/lodash-es/isWeakMap.es.js +0 -1
- package/vendor/lodash-es/isWeakSet.es.js +0 -1
- package/vendor/lodash-es/iteratee.es.js +0 -1
- package/vendor/lodash-es/join.es.js +0 -1
- package/vendor/lodash-es/kebabCase.es.js +0 -1
- package/vendor/lodash-es/keyBy.es.js +0 -1
- package/vendor/lodash-es/keys.es.js +0 -9
- package/vendor/lodash-es/keysIn.es.js +0 -1
- package/vendor/lodash-es/lang.default.es.js +0 -1
- package/vendor/lodash-es/lang.es.js +0 -1
- package/vendor/lodash-es/last.es.js +0 -1
- package/vendor/lodash-es/lastIndexOf.es.js +0 -1
- package/vendor/lodash-es/lodash.default.es.js +0 -1
- package/vendor/lodash-es/lodash.es.js +0 -1
- package/vendor/lodash-es/lowerCase.es.js +0 -1
- package/vendor/lodash-es/lowerFirst.es.js +0 -1
- package/vendor/lodash-es/lt.es.js +0 -1
- package/vendor/lodash-es/lte.es.js +0 -1
- package/vendor/lodash-es/map.es.js +0 -1
- package/vendor/lodash-es/mapKeys.es.js +0 -1
- package/vendor/lodash-es/mapValues.es.js +0 -1
- package/vendor/lodash-es/matches.es.js +0 -1
- package/vendor/lodash-es/matchesProperty.es.js +0 -1
- package/vendor/lodash-es/math.default.es.js +0 -1
- package/vendor/lodash-es/math.es.js +0 -1
- package/vendor/lodash-es/max.es.js +0 -1
- package/vendor/lodash-es/maxBy.es.js +0 -1
- package/vendor/lodash-es/mean.es.js +0 -1
- package/vendor/lodash-es/meanBy.es.js +0 -1
- package/vendor/lodash-es/memoize.es.js +0 -1
- package/vendor/lodash-es/merge.es.js +0 -1
- package/vendor/lodash-es/mergeWith.es.js +0 -1
- package/vendor/lodash-es/method.es.js +0 -1
- package/vendor/lodash-es/methodOf.es.js +0 -1
- package/vendor/lodash-es/min.es.js +0 -1
- package/vendor/lodash-es/minBy.es.js +0 -1
- package/vendor/lodash-es/mixin.es.js +0 -1
- package/vendor/lodash-es/multiply.es.js +0 -1
- package/vendor/lodash-es/negate.es.js +0 -1
- package/vendor/lodash-es/next.es.js +0 -1
- package/vendor/lodash-es/noop.es.js +0 -1
- package/vendor/lodash-es/now.es.js +0 -7
- package/vendor/lodash-es/nth.es.js +0 -1
- package/vendor/lodash-es/nthArg.es.js +0 -1
- package/vendor/lodash-es/number.default.es.js +0 -1
- package/vendor/lodash-es/number.es.js +0 -1
- package/vendor/lodash-es/object.default.es.js +0 -1
- package/vendor/lodash-es/object.es.js +0 -1
- package/vendor/lodash-es/omit.es.js +0 -1
- package/vendor/lodash-es/omitBy.es.js +0 -1
- package/vendor/lodash-es/once.es.js +0 -1
- package/vendor/lodash-es/orderBy.es.js +0 -1
- package/vendor/lodash-es/over.es.js +0 -1
- package/vendor/lodash-es/overArgs.es.js +0 -1
- package/vendor/lodash-es/overEvery.es.js +0 -1
- package/vendor/lodash-es/overSome.es.js +0 -1
- package/vendor/lodash-es/pad.es.js +0 -1
- package/vendor/lodash-es/padEnd.es.js +0 -1
- package/vendor/lodash-es/padStart.es.js +0 -1
- package/vendor/lodash-es/parseInt.es.js +0 -1
- package/vendor/lodash-es/partial.es.js +0 -1
- package/vendor/lodash-es/partialRight.es.js +0 -1
- package/vendor/lodash-es/partition.es.js +0 -1
- package/vendor/lodash-es/pick.es.js +0 -1
- package/vendor/lodash-es/pickBy.es.js +0 -1
- package/vendor/lodash-es/plant.es.js +0 -1
- package/vendor/lodash-es/property.es.js +0 -1
- package/vendor/lodash-es/propertyOf.es.js +0 -1
- package/vendor/lodash-es/pull.es.js +0 -1
- package/vendor/lodash-es/pullAll.es.js +0 -1
- package/vendor/lodash-es/pullAllBy.es.js +0 -1
- package/vendor/lodash-es/pullAllWith.es.js +0 -1
- package/vendor/lodash-es/pullAt.es.js +0 -1
- package/vendor/lodash-es/random.es.js +0 -1
- package/vendor/lodash-es/range.es.js +0 -1
- package/vendor/lodash-es/rangeRight.es.js +0 -1
- package/vendor/lodash-es/rearg.es.js +0 -1
- package/vendor/lodash-es/reduce.es.js +0 -1
- package/vendor/lodash-es/reduceRight.es.js +0 -1
- package/vendor/lodash-es/reject.es.js +0 -1
- package/vendor/lodash-es/remove.es.js +0 -1
- package/vendor/lodash-es/repeat.es.js +0 -1
- package/vendor/lodash-es/replace.es.js +0 -1
- package/vendor/lodash-es/rest.es.js +0 -1
- package/vendor/lodash-es/result.es.js +0 -1
- package/vendor/lodash-es/reverse.es.js +0 -1
- package/vendor/lodash-es/round.es.js +0 -1
- package/vendor/lodash-es/sample.es.js +0 -1
- package/vendor/lodash-es/sampleSize.es.js +0 -1
- package/vendor/lodash-es/seq.default.es.js +0 -1
- package/vendor/lodash-es/seq.es.js +0 -1
- package/vendor/lodash-es/set.es.js +0 -1
- package/vendor/lodash-es/setWith.es.js +0 -1
- package/vendor/lodash-es/shuffle.es.js +0 -1
- package/vendor/lodash-es/size.es.js +0 -1
- package/vendor/lodash-es/slice.es.js +0 -1
- package/vendor/lodash-es/snakeCase.es.js +0 -1
- package/vendor/lodash-es/some.es.js +0 -1
- package/vendor/lodash-es/sortBy.es.js +0 -1
- package/vendor/lodash-es/sortedIndex.es.js +0 -1
- package/vendor/lodash-es/sortedIndexBy.es.js +0 -1
- package/vendor/lodash-es/sortedIndexOf.es.js +0 -1
- package/vendor/lodash-es/sortedLastIndex.es.js +0 -1
- package/vendor/lodash-es/sortedLastIndexBy.es.js +0 -1
- package/vendor/lodash-es/sortedLastIndexOf.es.js +0 -1
- package/vendor/lodash-es/sortedUniq.es.js +0 -1
- package/vendor/lodash-es/sortedUniqBy.es.js +0 -1
- package/vendor/lodash-es/split.es.js +0 -1
- package/vendor/lodash-es/spread.es.js +0 -1
- package/vendor/lodash-es/startCase.es.js +0 -1
- package/vendor/lodash-es/startsWith.es.js +0 -1
- package/vendor/lodash-es/string.default.es.js +0 -1
- package/vendor/lodash-es/string.es.js +0 -1
- package/vendor/lodash-es/stubArray.es.js +0 -6
- package/vendor/lodash-es/stubFalse.es.js +0 -6
- package/vendor/lodash-es/stubObject.es.js +0 -1
- package/vendor/lodash-es/stubString.es.js +0 -1
- package/vendor/lodash-es/stubTrue.es.js +0 -1
- package/vendor/lodash-es/subtract.es.js +0 -1
- package/vendor/lodash-es/sum.es.js +0 -1
- package/vendor/lodash-es/sumBy.es.js +0 -1
- package/vendor/lodash-es/tail.es.js +0 -1
- package/vendor/lodash-es/take.es.js +0 -1
- package/vendor/lodash-es/takeRight.es.js +0 -1
- package/vendor/lodash-es/takeRightWhile.es.js +0 -1
- package/vendor/lodash-es/takeWhile.es.js +0 -1
- package/vendor/lodash-es/tap.es.js +0 -1
- package/vendor/lodash-es/template.es.js +0 -1
- package/vendor/lodash-es/templateSettings.es.js +0 -1
- package/vendor/lodash-es/throttle.es.js +0 -1
- package/vendor/lodash-es/thru.es.js +0 -1
- package/vendor/lodash-es/times.es.js +0 -1
- package/vendor/lodash-es/toArray.es.js +0 -1
- package/vendor/lodash-es/toFinite.es.js +0 -1
- package/vendor/lodash-es/toInteger.es.js +0 -1
- package/vendor/lodash-es/toIterator.es.js +0 -1
- package/vendor/lodash-es/toJSON.es.js +0 -1
- package/vendor/lodash-es/toLength.es.js +0 -1
- package/vendor/lodash-es/toLower.es.js +0 -1
- package/vendor/lodash-es/toNumber.es.js +0 -29
- package/vendor/lodash-es/toPairs.es.js +0 -1
- package/vendor/lodash-es/toPairsIn.es.js +0 -1
- package/vendor/lodash-es/toPath.es.js +0 -1
- package/vendor/lodash-es/toPlainObject.es.js +0 -1
- package/vendor/lodash-es/toSafeInteger.es.js +0 -1
- package/vendor/lodash-es/toString.es.js +0 -6
- package/vendor/lodash-es/toUpper.es.js +0 -1
- package/vendor/lodash-es/transform.es.js +0 -1
- package/vendor/lodash-es/trim.es.js +0 -1
- package/vendor/lodash-es/trimEnd.es.js +0 -1
- package/vendor/lodash-es/trimStart.es.js +0 -1
- package/vendor/lodash-es/truncate.es.js +0 -1
- package/vendor/lodash-es/unary.es.js +0 -1
- package/vendor/lodash-es/unescape.es.js +0 -1
- package/vendor/lodash-es/union.es.js +0 -1
- package/vendor/lodash-es/unionBy.es.js +0 -1
- package/vendor/lodash-es/unionWith.es.js +0 -1
- package/vendor/lodash-es/uniq.es.js +0 -1
- package/vendor/lodash-es/uniqBy.es.js +0 -1
- package/vendor/lodash-es/uniqWith.es.js +0 -1
- package/vendor/lodash-es/uniqueId.es.js +0 -9
- package/vendor/lodash-es/unset.es.js +0 -1
- package/vendor/lodash-es/unzip.es.js +0 -1
- package/vendor/lodash-es/unzipWith.es.js +0 -1
- package/vendor/lodash-es/update.es.js +0 -1
- package/vendor/lodash-es/updateWith.es.js +0 -1
- package/vendor/lodash-es/upperCase.es.js +0 -1
- package/vendor/lodash-es/upperFirst.es.js +0 -1
- package/vendor/lodash-es/util.default.es.js +0 -1
- package/vendor/lodash-es/util.es.js +0 -1
- package/vendor/lodash-es/value.es.js +0 -1
- package/vendor/lodash-es/valueOf.es.js +0 -1
- package/vendor/lodash-es/values.es.js +0 -1
- package/vendor/lodash-es/valuesIn.es.js +0 -1
- package/vendor/lodash-es/without.es.js +0 -1
- package/vendor/lodash-es/words.es.js +0 -1
- package/vendor/lodash-es/wrap.es.js +0 -1
- package/vendor/lodash-es/wrapperAt.es.js +0 -1
- package/vendor/lodash-es/wrapperChain.es.js +0 -1
- package/vendor/lodash-es/wrapperLodash.es.js +0 -1
- package/vendor/lodash-es/wrapperReverse.es.js +0 -1
- package/vendor/lodash-es/wrapperValue.es.js +0 -1
- package/vendor/lodash-es/xor.es.js +0 -1
- package/vendor/lodash-es/xorBy.es.js +0 -1
- package/vendor/lodash-es/xorWith.es.js +0 -1
- package/vendor/lodash-es/zip.es.js +0 -1
- package/vendor/lodash-es/zipObject.es.js +0 -1
- package/vendor/lodash-es/zipObjectDeep.es.js +0 -1
- package/vendor/lodash-es/zipWith.es.js +0 -1
- package/vendor/orderedmap/dist/index.es.js +0 -119
- package/vendor/primevue/api/api.esm.es.js +0 -276
- package/vendor/primevue/avatar/avatar.esm.es.js +0 -85
- package/vendor/primevue/avatar/style/avatarstyle.esm.es.js +0 -21
- package/vendor/primevue/avatargroup/avatargroup.esm.es.js +0 -27
- package/vendor/primevue/avatargroup/style/avatargroupstyle.esm.es.js +0 -11
- package/vendor/primevue/badge/badge.esm.es.js +0 -43
- package/vendor/primevue/badge/style/badgestyle.esm.es.js +0 -26
- package/vendor/primevue/base/style/basestyle.esm.es.js +0 -129
- package/vendor/primevue/basecomponent/basecomponent.esm.es.js +0 -475
- package/vendor/primevue/basedirective/basedirective.esm.es.js +0 -326
- package/vendor/primevue/baseicon/baseicon.esm.es.js +0 -87
- package/vendor/primevue/baseicon/style/baseiconstyle.esm.es.js +0 -9
- package/vendor/primevue/button/button.esm.es.js +0 -167
- package/vendor/primevue/button/style/buttonstyle.esm.es.js +0 -63
- package/vendor/primevue/card/card.esm.es.js +0 -41
- package/vendor/primevue/card/style/cardstyle.esm.es.js +0 -18
- package/vendor/primevue/checkbox/checkbox.esm.es.js +0 -197
- package/vendor/primevue/checkbox/style/checkboxstyle.esm.es.js +0 -22
- package/vendor/primevue/config/config.esm.es.js +0 -230
- package/vendor/primevue/dialog/dialog.esm.es.js +0 -641
- package/vendor/primevue/dialog/style/dialogstyle.esm.es.js +0 -59
- package/vendor/primevue/dropdown/dropdown.esm.es.js +0 -1443
- package/vendor/primevue/dropdown/style/dropdownstyle.esm.es.js +0 -67
- package/vendor/primevue/fileupload/fileupload.esm.es.js +0 -870
- package/vendor/primevue/fileupload/style/fileuploadstyle.esm.es.js +0 -37
- package/vendor/primevue/focustrap/focustrap.esm.es.js +0 -167
- package/vendor/primevue/focustrap/style/focustrapstyle.esm.es.js +0 -4
- package/vendor/primevue/icons/angledoubleleft/index.esm.es.js +0 -26
- package/vendor/primevue/icons/angledoubleright/index.esm.es.js +0 -26
- package/vendor/primevue/icons/angledown/index.esm.es.js +0 -24
- package/vendor/primevue/icons/angleleft/index.esm.es.js +0 -24
- package/vendor/primevue/icons/angleright/index.esm.es.js +0 -24
- package/vendor/primevue/icons/angleup/index.esm.es.js +0 -24
- package/vendor/primevue/icons/blank/index.esm.es.js +0 -26
- package/vendor/primevue/icons/check/index.esm.es.js +0 -24
- package/vendor/primevue/icons/chevrondown/index.esm.es.js +0 -24
- package/vendor/primevue/icons/exclamationtriangle/index.esm.es.js +0 -32
- package/vendor/primevue/icons/eye/index.esm.es.js +0 -26
- package/vendor/primevue/icons/eyeslash/index.esm.es.js +0 -26
- package/vendor/primevue/icons/infocircle/index.esm.es.js +0 -26
- package/vendor/primevue/icons/plus/index.esm.es.js +0 -24
- package/vendor/primevue/icons/refresh/index.esm.es.js +0 -26
- package/vendor/primevue/icons/search/index.esm.es.js +0 -26
- package/vendor/primevue/icons/searchminus/index.esm.es.js +0 -26
- package/vendor/primevue/icons/searchplus/index.esm.es.js +0 -26
- package/vendor/primevue/icons/spinner/index.esm.es.js +0 -24
- package/vendor/primevue/icons/times/index.esm.es.js +0 -24
- package/vendor/primevue/icons/timescircle/index.esm.es.js +0 -26
- package/vendor/primevue/icons/undo/index.esm.es.js +0 -26
- package/vendor/primevue/icons/upload/index.esm.es.js +0 -26
- package/vendor/primevue/icons/windowmaximize/index.esm.es.js +0 -26
- package/vendor/primevue/icons/windowminimize/index.esm.es.js +0 -26
- package/vendor/primevue/image/image.esm.es.js +0 -426
- package/vendor/primevue/image/style/imagestyle.esm.es.js +0 -40
- package/vendor/primevue/inputgroup/inputgroup.esm.es.js +0 -27
- package/vendor/primevue/inputgroup/style/inputgroupstyle.esm.es.js +0 -11
- package/vendor/primevue/inputgroupaddon/inputgroupaddon.esm.es.js +0 -27
- package/vendor/primevue/inputgroupaddon/style/inputgroupaddonstyle.esm.es.js +0 -11
- package/vendor/primevue/inputnumber/inputnumber.esm.es.js +0 -1205
- package/vendor/primevue/inputnumber/style/inputnumberstyle.esm.es.js +0 -40
- package/vendor/primevue/inputtext/inputtext.esm.es.js +0 -68
- package/vendor/primevue/inputtext/style/inputtextstyle.esm.es.js +0 -20
- package/vendor/primevue/menu/menu.esm.es.js +0 -606
- package/vendor/primevue/menu/style/menustyle.esm.es.js +0 -33
- package/vendor/primevue/message/message.esm.es.js +0 -215
- package/vendor/primevue/message/style/messagestyle.esm.es.js +0 -19
- package/vendor/primevue/multiselect/multiselect.esm.es.js +0 -1631
- package/vendor/primevue/multiselect/style/multiselectstyle.esm.es.js +0 -76
- package/vendor/primevue/overlayeventbus/overlayeventbus.esm.es.js +0 -5
- package/vendor/primevue/overlaypanel/overlaypanel.esm.es.js +0 -400
- package/vendor/primevue/overlaypanel/style/overlaypanelstyle.esm.es.js +0 -19
- package/vendor/primevue/paginator/paginator.esm.es.js +0 -882
- package/vendor/primevue/paginator/style/paginatorstyle.esm.es.js +0 -88
- package/vendor/primevue/password/password.esm.es.js +0 -516
- package/vendor/primevue/password/style/passwordstyle.esm.es.js +0 -47
- package/vendor/primevue/portal/portal.esm.es.js +0 -40
- package/vendor/primevue/progressbar/progressbar.esm.es.js +0 -74
- package/vendor/primevue/progressbar/style/progressbarstyle.esm.es.js +0 -20
- package/vendor/primevue/ripple/ripple.esm.es.js +0 -118
- package/vendor/primevue/ripple/style/ripplestyle.esm.es.js +0 -11
- package/vendor/primevue/selectbutton/selectbutton.esm.es.js +0 -324
- package/vendor/primevue/selectbutton/style/selectbuttonstyle.esm.es.js +0 -25
- package/vendor/primevue/skeleton/skeleton.esm.es.js +0 -69
- package/vendor/primevue/skeleton/style/skeletonstyle.esm.es.js +0 -23
- package/vendor/primevue/textarea/style/textareastyle.esm.es.js +0 -19
- package/vendor/primevue/textarea/textarea.esm.es.js +0 -86
- package/vendor/primevue/timeline/style/timelinestyle.esm.es.js +0 -20
- package/vendor/primevue/timeline/timeline.esm.es.js +0 -87
- package/vendor/primevue/toast/style/toaststyle.esm.es.js +0 -81
- package/vendor/primevue/toast/toast.esm.es.js +0 -500
- package/vendor/primevue/toasteventbus/toasteventbus.esm.es.js +0 -5
- package/vendor/primevue/toastservice/toastservice.esm.es.js +0 -25
- package/vendor/primevue/tooltip/style/tooltipstyle.esm.es.js +0 -13
- package/vendor/primevue/tooltip/tooltip.esm.es.js +0 -453
- package/vendor/primevue/usestyle/usestyle.esm.es.js +0 -115
- package/vendor/primevue/usetoast/usetoast.esm.es.js +0 -13
- package/vendor/primevue/utils/utils.esm.es.js +0 -1386
- package/vendor/primevue/virtualscroller/style/virtualscrollerstyle.esm.es.js +0 -9
- package/vendor/primevue/virtualscroller/virtualscroller.esm.es.js +0 -931
- package/vendor/prosemirror-commands/dist/index.es.js +0 -521
- package/vendor/prosemirror-history/dist/index.es.js +0 -356
- package/vendor/prosemirror-keymap/dist/index.es.js +0 -80
- package/vendor/prosemirror-model/dist/index.es.js +0 -3205
- package/vendor/prosemirror-schema-list/dist/index.es.js +0 -129
- package/vendor/prosemirror-state/dist/index.es.js +0 -934
- package/vendor/prosemirror-transform/dist/index.es.js +0 -1824
- package/vendor/prosemirror-view/dist/index.es.js +0 -5150
- package/vendor/rope-sequence/dist/index.es.js +0 -183
- package/vendor/simplebar-core/dist/index.es.js +0 -767
- package/vendor/simplebar-vue/dist/simplebar-vue.esm.es.js +0 -189
- package/vendor/single-spa/lib/es2015/esm/single-spa.min.es.js +0 -669
- package/vendor/tippy.js/dist/tippy.esm.es.js +0 -1168
- package/vendor/vee-validate/dist/vee-validate.esm.es.js +0 -2042
- package/vendor/vue-advanced-cropper/dist/index.esm-bundler.es.js +0 -1382
- package/vendor/vue-demi/lib/index.es.js +0 -1
- package/vendor/w3c-keyname/index.es.js +0 -104
- package/wangsvue.esm.browser.js +0 -67705
|
@@ -1,1205 +0,0 @@
|
|
|
1
|
-
import { s as script$4 } from "../button/button.esm.es.js";
|
|
2
|
-
import { s as script$2 } from "../icons/angledown/index.esm.es.js";
|
|
3
|
-
import { s as script$3 } from "../icons/angleup/index.esm.es.js";
|
|
4
|
-
import { s as script$5 } from "../inputtext/inputtext.esm.es.js";
|
|
5
|
-
import { D as DomHandler, O as ObjectUtils } from "../utils/utils.esm.es.js";
|
|
6
|
-
import { s as script$6 } from "../basecomponent/basecomponent.esm.es.js";
|
|
7
|
-
import { I as InputNumberStyle } from "./style/inputnumberstyle.esm.es.js";
|
|
8
|
-
import { resolveComponent, createElementBlock, openBlock, mergeProps, createVNode, createCommentVNode, createBlock, toHandlers, withCtx, renderSlot, resolveDynamicComponent } from "vue";
|
|
9
|
-
var script$1 = {
|
|
10
|
-
name: "BaseInputNumber",
|
|
11
|
-
"extends": script$6,
|
|
12
|
-
props: {
|
|
13
|
-
modelValue: {
|
|
14
|
-
type: Number,
|
|
15
|
-
"default": null
|
|
16
|
-
},
|
|
17
|
-
format: {
|
|
18
|
-
type: Boolean,
|
|
19
|
-
"default": true
|
|
20
|
-
},
|
|
21
|
-
showButtons: {
|
|
22
|
-
type: Boolean,
|
|
23
|
-
"default": false
|
|
24
|
-
},
|
|
25
|
-
buttonLayout: {
|
|
26
|
-
type: String,
|
|
27
|
-
"default": "stacked"
|
|
28
|
-
},
|
|
29
|
-
incrementButtonClass: {
|
|
30
|
-
type: String,
|
|
31
|
-
"default": null
|
|
32
|
-
},
|
|
33
|
-
decrementButtonClass: {
|
|
34
|
-
type: String,
|
|
35
|
-
"default": null
|
|
36
|
-
},
|
|
37
|
-
incrementButtonIcon: {
|
|
38
|
-
type: String,
|
|
39
|
-
"default": void 0
|
|
40
|
-
},
|
|
41
|
-
decrementButtonIcon: {
|
|
42
|
-
type: String,
|
|
43
|
-
"default": void 0
|
|
44
|
-
},
|
|
45
|
-
locale: {
|
|
46
|
-
type: String,
|
|
47
|
-
"default": void 0
|
|
48
|
-
},
|
|
49
|
-
localeMatcher: {
|
|
50
|
-
type: String,
|
|
51
|
-
"default": void 0
|
|
52
|
-
},
|
|
53
|
-
mode: {
|
|
54
|
-
type: String,
|
|
55
|
-
"default": "decimal"
|
|
56
|
-
},
|
|
57
|
-
prefix: {
|
|
58
|
-
type: String,
|
|
59
|
-
"default": null
|
|
60
|
-
},
|
|
61
|
-
suffix: {
|
|
62
|
-
type: String,
|
|
63
|
-
"default": null
|
|
64
|
-
},
|
|
65
|
-
currency: {
|
|
66
|
-
type: String,
|
|
67
|
-
"default": void 0
|
|
68
|
-
},
|
|
69
|
-
currencyDisplay: {
|
|
70
|
-
type: String,
|
|
71
|
-
"default": void 0
|
|
72
|
-
},
|
|
73
|
-
useGrouping: {
|
|
74
|
-
type: Boolean,
|
|
75
|
-
"default": true
|
|
76
|
-
},
|
|
77
|
-
minFractionDigits: {
|
|
78
|
-
type: Number,
|
|
79
|
-
"default": void 0
|
|
80
|
-
},
|
|
81
|
-
maxFractionDigits: {
|
|
82
|
-
type: Number,
|
|
83
|
-
"default": void 0
|
|
84
|
-
},
|
|
85
|
-
roundingMode: {
|
|
86
|
-
type: String,
|
|
87
|
-
"default": "halfExpand",
|
|
88
|
-
validator: function validator(value) {
|
|
89
|
-
return ["ceil", "floor", "expand", "trunc", "halfCeil", "halfFloor", "halfExpand", "halfTrunc", "halfEven"].includes(value);
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
min: {
|
|
93
|
-
type: Number,
|
|
94
|
-
"default": null
|
|
95
|
-
},
|
|
96
|
-
max: {
|
|
97
|
-
type: Number,
|
|
98
|
-
"default": null
|
|
99
|
-
},
|
|
100
|
-
step: {
|
|
101
|
-
type: Number,
|
|
102
|
-
"default": 1
|
|
103
|
-
},
|
|
104
|
-
allowEmpty: {
|
|
105
|
-
type: Boolean,
|
|
106
|
-
"default": true
|
|
107
|
-
},
|
|
108
|
-
highlightOnFocus: {
|
|
109
|
-
type: Boolean,
|
|
110
|
-
"default": false
|
|
111
|
-
},
|
|
112
|
-
readonly: {
|
|
113
|
-
type: Boolean,
|
|
114
|
-
"default": false
|
|
115
|
-
},
|
|
116
|
-
variant: {
|
|
117
|
-
type: String,
|
|
118
|
-
"default": null
|
|
119
|
-
},
|
|
120
|
-
invalid: {
|
|
121
|
-
type: Boolean,
|
|
122
|
-
"default": false
|
|
123
|
-
},
|
|
124
|
-
disabled: {
|
|
125
|
-
type: Boolean,
|
|
126
|
-
"default": false
|
|
127
|
-
},
|
|
128
|
-
placeholder: {
|
|
129
|
-
type: String,
|
|
130
|
-
"default": null
|
|
131
|
-
},
|
|
132
|
-
inputId: {
|
|
133
|
-
type: String,
|
|
134
|
-
"default": null
|
|
135
|
-
},
|
|
136
|
-
inputClass: {
|
|
137
|
-
type: [String, Object],
|
|
138
|
-
"default": null
|
|
139
|
-
},
|
|
140
|
-
inputStyle: {
|
|
141
|
-
type: Object,
|
|
142
|
-
"default": null
|
|
143
|
-
},
|
|
144
|
-
inputProps: {
|
|
145
|
-
type: null,
|
|
146
|
-
"default": null
|
|
147
|
-
},
|
|
148
|
-
incrementButtonProps: {
|
|
149
|
-
type: null,
|
|
150
|
-
"default": null
|
|
151
|
-
},
|
|
152
|
-
decrementButtonProps: {
|
|
153
|
-
type: null,
|
|
154
|
-
"default": null
|
|
155
|
-
},
|
|
156
|
-
ariaLabelledby: {
|
|
157
|
-
type: String,
|
|
158
|
-
"default": null
|
|
159
|
-
},
|
|
160
|
-
ariaLabel: {
|
|
161
|
-
type: String,
|
|
162
|
-
"default": null
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
style: InputNumberStyle,
|
|
166
|
-
provide: function provide() {
|
|
167
|
-
return {
|
|
168
|
-
$parentInstance: this
|
|
169
|
-
};
|
|
170
|
-
}
|
|
171
|
-
};
|
|
172
|
-
function _typeof(o) {
|
|
173
|
-
"@babel/helpers - typeof";
|
|
174
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
175
|
-
return typeof o2;
|
|
176
|
-
} : function(o2) {
|
|
177
|
-
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
178
|
-
}, _typeof(o);
|
|
179
|
-
}
|
|
180
|
-
function ownKeys(e, r) {
|
|
181
|
-
var t = Object.keys(e);
|
|
182
|
-
if (Object.getOwnPropertySymbols) {
|
|
183
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
184
|
-
r && (o = o.filter(function(r2) {
|
|
185
|
-
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
186
|
-
})), t.push.apply(t, o);
|
|
187
|
-
}
|
|
188
|
-
return t;
|
|
189
|
-
}
|
|
190
|
-
function _objectSpread(e) {
|
|
191
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
192
|
-
var t = null != arguments[r] ? arguments[r] : {};
|
|
193
|
-
r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
|
|
194
|
-
_defineProperty(e, r2, t[r2]);
|
|
195
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
|
|
196
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
|
|
197
|
-
});
|
|
198
|
-
}
|
|
199
|
-
return e;
|
|
200
|
-
}
|
|
201
|
-
function _defineProperty(obj, key, value) {
|
|
202
|
-
key = _toPropertyKey(key);
|
|
203
|
-
if (key in obj) {
|
|
204
|
-
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
205
|
-
} else {
|
|
206
|
-
obj[key] = value;
|
|
207
|
-
}
|
|
208
|
-
return obj;
|
|
209
|
-
}
|
|
210
|
-
function _toPropertyKey(t) {
|
|
211
|
-
var i = _toPrimitive(t, "string");
|
|
212
|
-
return "symbol" == _typeof(i) ? i : String(i);
|
|
213
|
-
}
|
|
214
|
-
function _toPrimitive(t, r) {
|
|
215
|
-
if ("object" != _typeof(t) || !t) return t;
|
|
216
|
-
var e = t[Symbol.toPrimitive];
|
|
217
|
-
if (void 0 !== e) {
|
|
218
|
-
var i = e.call(t, r);
|
|
219
|
-
if ("object" != _typeof(i)) return i;
|
|
220
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
221
|
-
}
|
|
222
|
-
return ("string" === r ? String : Number)(t);
|
|
223
|
-
}
|
|
224
|
-
function _toConsumableArray(arr) {
|
|
225
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
226
|
-
}
|
|
227
|
-
function _nonIterableSpread() {
|
|
228
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
229
|
-
}
|
|
230
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
231
|
-
if (!o) return;
|
|
232
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
233
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
234
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
235
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
236
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
237
|
-
}
|
|
238
|
-
function _iterableToArray(iter) {
|
|
239
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
240
|
-
}
|
|
241
|
-
function _arrayWithoutHoles(arr) {
|
|
242
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
243
|
-
}
|
|
244
|
-
function _arrayLikeToArray(arr, len) {
|
|
245
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
246
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
247
|
-
return arr2;
|
|
248
|
-
}
|
|
249
|
-
var script = {
|
|
250
|
-
name: "InputNumber",
|
|
251
|
-
"extends": script$1,
|
|
252
|
-
inheritAttrs: false,
|
|
253
|
-
emits: ["update:modelValue", "input", "focus", "blur"],
|
|
254
|
-
numberFormat: null,
|
|
255
|
-
_numeral: null,
|
|
256
|
-
_decimal: null,
|
|
257
|
-
_group: null,
|
|
258
|
-
_minusSign: null,
|
|
259
|
-
_currency: null,
|
|
260
|
-
_suffix: null,
|
|
261
|
-
_prefix: null,
|
|
262
|
-
_index: null,
|
|
263
|
-
groupChar: "",
|
|
264
|
-
isSpecialChar: null,
|
|
265
|
-
prefixChar: null,
|
|
266
|
-
suffixChar: null,
|
|
267
|
-
timer: null,
|
|
268
|
-
data: function data() {
|
|
269
|
-
return {
|
|
270
|
-
d_modelValue: this.modelValue,
|
|
271
|
-
focused: false
|
|
272
|
-
};
|
|
273
|
-
},
|
|
274
|
-
watch: {
|
|
275
|
-
modelValue: function modelValue(newValue) {
|
|
276
|
-
this.d_modelValue = newValue;
|
|
277
|
-
},
|
|
278
|
-
locale: function locale(newValue, oldValue) {
|
|
279
|
-
this.updateConstructParser(newValue, oldValue);
|
|
280
|
-
},
|
|
281
|
-
localeMatcher: function localeMatcher(newValue, oldValue) {
|
|
282
|
-
this.updateConstructParser(newValue, oldValue);
|
|
283
|
-
},
|
|
284
|
-
mode: function mode(newValue, oldValue) {
|
|
285
|
-
this.updateConstructParser(newValue, oldValue);
|
|
286
|
-
},
|
|
287
|
-
currency: function currency(newValue, oldValue) {
|
|
288
|
-
this.updateConstructParser(newValue, oldValue);
|
|
289
|
-
},
|
|
290
|
-
currencyDisplay: function currencyDisplay(newValue, oldValue) {
|
|
291
|
-
this.updateConstructParser(newValue, oldValue);
|
|
292
|
-
},
|
|
293
|
-
useGrouping: function useGrouping(newValue, oldValue) {
|
|
294
|
-
this.updateConstructParser(newValue, oldValue);
|
|
295
|
-
},
|
|
296
|
-
minFractionDigits: function minFractionDigits(newValue, oldValue) {
|
|
297
|
-
this.updateConstructParser(newValue, oldValue);
|
|
298
|
-
},
|
|
299
|
-
maxFractionDigits: function maxFractionDigits(newValue, oldValue) {
|
|
300
|
-
this.updateConstructParser(newValue, oldValue);
|
|
301
|
-
},
|
|
302
|
-
suffix: function suffix(newValue, oldValue) {
|
|
303
|
-
this.updateConstructParser(newValue, oldValue);
|
|
304
|
-
},
|
|
305
|
-
prefix: function prefix(newValue, oldValue) {
|
|
306
|
-
this.updateConstructParser(newValue, oldValue);
|
|
307
|
-
}
|
|
308
|
-
},
|
|
309
|
-
created: function created() {
|
|
310
|
-
this.constructParser();
|
|
311
|
-
},
|
|
312
|
-
methods: {
|
|
313
|
-
getOptions: function getOptions() {
|
|
314
|
-
var _this$minFractionDigi, _this$maxFractionDigi;
|
|
315
|
-
return {
|
|
316
|
-
localeMatcher: this.localeMatcher,
|
|
317
|
-
style: this.mode,
|
|
318
|
-
currency: this.currency,
|
|
319
|
-
currencyDisplay: this.currencyDisplay,
|
|
320
|
-
useGrouping: this.useGrouping,
|
|
321
|
-
minimumFractionDigits: (_this$minFractionDigi = this.minFractionDigits) !== null && _this$minFractionDigi !== void 0 ? _this$minFractionDigi : void 0,
|
|
322
|
-
maximumFractionDigits: (_this$maxFractionDigi = this.maxFractionDigits) !== null && _this$maxFractionDigi !== void 0 ? _this$maxFractionDigi : void 0,
|
|
323
|
-
roundingMode: this.roundingMode
|
|
324
|
-
};
|
|
325
|
-
},
|
|
326
|
-
constructParser: function constructParser() {
|
|
327
|
-
this.numberFormat = new Intl.NumberFormat(this.locale, this.getOptions());
|
|
328
|
-
var numerals = _toConsumableArray(new Intl.NumberFormat(this.locale, {
|
|
329
|
-
useGrouping: false
|
|
330
|
-
}).format(9876543210)).reverse();
|
|
331
|
-
var index = new Map(numerals.map(function(d, i) {
|
|
332
|
-
return [d, i];
|
|
333
|
-
}));
|
|
334
|
-
this._numeral = new RegExp("[".concat(numerals.join(""), "]"), "g");
|
|
335
|
-
this._group = this.getGroupingExpression();
|
|
336
|
-
this._minusSign = this.getMinusSignExpression();
|
|
337
|
-
this._currency = this.getCurrencyExpression();
|
|
338
|
-
this._decimal = this.getDecimalExpression();
|
|
339
|
-
this._suffix = this.getSuffixExpression();
|
|
340
|
-
this._prefix = this.getPrefixExpression();
|
|
341
|
-
this._index = function(d) {
|
|
342
|
-
return index.get(d);
|
|
343
|
-
};
|
|
344
|
-
},
|
|
345
|
-
updateConstructParser: function updateConstructParser(newValue, oldValue) {
|
|
346
|
-
if (newValue !== oldValue) {
|
|
347
|
-
this.constructParser();
|
|
348
|
-
}
|
|
349
|
-
},
|
|
350
|
-
escapeRegExp: function escapeRegExp(text) {
|
|
351
|
-
return text.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
352
|
-
},
|
|
353
|
-
getDecimalExpression: function getDecimalExpression() {
|
|
354
|
-
var formatter = new Intl.NumberFormat(this.locale, _objectSpread(_objectSpread({}, this.getOptions()), {}, {
|
|
355
|
-
useGrouping: false
|
|
356
|
-
}));
|
|
357
|
-
return new RegExp("[".concat(formatter.format(1.1).replace(this._currency, "").trim().replace(this._numeral, ""), "]"), "g");
|
|
358
|
-
},
|
|
359
|
-
getGroupingExpression: function getGroupingExpression() {
|
|
360
|
-
var formatter = new Intl.NumberFormat(this.locale, {
|
|
361
|
-
useGrouping: true
|
|
362
|
-
});
|
|
363
|
-
this.groupChar = formatter.format(1e6).trim().replace(this._numeral, "").charAt(0);
|
|
364
|
-
return new RegExp("[".concat(this.groupChar, "]"), "g");
|
|
365
|
-
},
|
|
366
|
-
getMinusSignExpression: function getMinusSignExpression() {
|
|
367
|
-
var formatter = new Intl.NumberFormat(this.locale, {
|
|
368
|
-
useGrouping: false
|
|
369
|
-
});
|
|
370
|
-
return new RegExp("[".concat(formatter.format(-1).trim().replace(this._numeral, ""), "]"), "g");
|
|
371
|
-
},
|
|
372
|
-
getCurrencyExpression: function getCurrencyExpression() {
|
|
373
|
-
if (this.currency) {
|
|
374
|
-
var formatter = new Intl.NumberFormat(this.locale, {
|
|
375
|
-
style: "currency",
|
|
376
|
-
currency: this.currency,
|
|
377
|
-
currencyDisplay: this.currencyDisplay,
|
|
378
|
-
minimumFractionDigits: 0,
|
|
379
|
-
maximumFractionDigits: 0,
|
|
380
|
-
roundingMode: this.roundingMode
|
|
381
|
-
});
|
|
382
|
-
return new RegExp("[".concat(formatter.format(1).replace(/\s/g, "").replace(this._numeral, "").replace(this._group, ""), "]"), "g");
|
|
383
|
-
}
|
|
384
|
-
return new RegExp("[]", "g");
|
|
385
|
-
},
|
|
386
|
-
getPrefixExpression: function getPrefixExpression() {
|
|
387
|
-
if (this.prefix) {
|
|
388
|
-
this.prefixChar = this.prefix;
|
|
389
|
-
} else {
|
|
390
|
-
var formatter = new Intl.NumberFormat(this.locale, {
|
|
391
|
-
style: this.mode,
|
|
392
|
-
currency: this.currency,
|
|
393
|
-
currencyDisplay: this.currencyDisplay
|
|
394
|
-
});
|
|
395
|
-
this.prefixChar = formatter.format(1).split("1")[0];
|
|
396
|
-
}
|
|
397
|
-
return new RegExp("".concat(this.escapeRegExp(this.prefixChar || "")), "g");
|
|
398
|
-
},
|
|
399
|
-
getSuffixExpression: function getSuffixExpression() {
|
|
400
|
-
if (this.suffix) {
|
|
401
|
-
this.suffixChar = this.suffix;
|
|
402
|
-
} else {
|
|
403
|
-
var formatter = new Intl.NumberFormat(this.locale, {
|
|
404
|
-
style: this.mode,
|
|
405
|
-
currency: this.currency,
|
|
406
|
-
currencyDisplay: this.currencyDisplay,
|
|
407
|
-
minimumFractionDigits: 0,
|
|
408
|
-
maximumFractionDigits: 0,
|
|
409
|
-
roundingMode: this.roundingMode
|
|
410
|
-
});
|
|
411
|
-
this.suffixChar = formatter.format(1).split("1")[1];
|
|
412
|
-
}
|
|
413
|
-
return new RegExp("".concat(this.escapeRegExp(this.suffixChar || "")), "g");
|
|
414
|
-
},
|
|
415
|
-
formatValue: function formatValue(value) {
|
|
416
|
-
if (value != null) {
|
|
417
|
-
if (value === "-") {
|
|
418
|
-
return value;
|
|
419
|
-
}
|
|
420
|
-
if (this.format) {
|
|
421
|
-
var formatter = new Intl.NumberFormat(this.locale, this.getOptions());
|
|
422
|
-
var formattedValue2 = formatter.format(value);
|
|
423
|
-
if (this.prefix) {
|
|
424
|
-
formattedValue2 = this.prefix + formattedValue2;
|
|
425
|
-
}
|
|
426
|
-
if (this.suffix) {
|
|
427
|
-
formattedValue2 = formattedValue2 + this.suffix;
|
|
428
|
-
}
|
|
429
|
-
return formattedValue2;
|
|
430
|
-
}
|
|
431
|
-
return value.toString();
|
|
432
|
-
}
|
|
433
|
-
return "";
|
|
434
|
-
},
|
|
435
|
-
parseValue: function parseValue(text) {
|
|
436
|
-
var filteredText = text.replace(this._suffix, "").replace(this._prefix, "").trim().replace(/\s/g, "").replace(this._currency, "").replace(this._group, "").replace(this._minusSign, "-").replace(this._decimal, ".").replace(this._numeral, this._index);
|
|
437
|
-
if (filteredText) {
|
|
438
|
-
if (filteredText === "-")
|
|
439
|
-
return filteredText;
|
|
440
|
-
var parsedValue = +filteredText;
|
|
441
|
-
return isNaN(parsedValue) ? null : parsedValue;
|
|
442
|
-
}
|
|
443
|
-
return null;
|
|
444
|
-
},
|
|
445
|
-
repeat: function repeat(event, interval, dir) {
|
|
446
|
-
var _this = this;
|
|
447
|
-
if (this.readonly) {
|
|
448
|
-
return;
|
|
449
|
-
}
|
|
450
|
-
var i = interval || 500;
|
|
451
|
-
this.clearTimer();
|
|
452
|
-
this.timer = setTimeout(function() {
|
|
453
|
-
_this.repeat(event, 40, dir);
|
|
454
|
-
}, i);
|
|
455
|
-
this.spin(event, dir);
|
|
456
|
-
},
|
|
457
|
-
spin: function spin(event, dir) {
|
|
458
|
-
if (this.$refs.input) {
|
|
459
|
-
var step = this.step * dir;
|
|
460
|
-
var currentValue = this.parseValue(this.$refs.input.$el.value) || 0;
|
|
461
|
-
var newValue = this.validateValue(currentValue + step);
|
|
462
|
-
this.updateInput(newValue, null, "spin");
|
|
463
|
-
this.updateModel(event, newValue);
|
|
464
|
-
this.handleOnInput(event, currentValue, newValue);
|
|
465
|
-
}
|
|
466
|
-
},
|
|
467
|
-
onUpButtonMouseDown: function onUpButtonMouseDown(event) {
|
|
468
|
-
if (!this.disabled) {
|
|
469
|
-
this.$refs.input.$el.focus();
|
|
470
|
-
this.repeat(event, null, 1);
|
|
471
|
-
event.preventDefault();
|
|
472
|
-
}
|
|
473
|
-
},
|
|
474
|
-
onUpButtonMouseUp: function onUpButtonMouseUp() {
|
|
475
|
-
if (!this.disabled) {
|
|
476
|
-
this.clearTimer();
|
|
477
|
-
}
|
|
478
|
-
},
|
|
479
|
-
onUpButtonMouseLeave: function onUpButtonMouseLeave() {
|
|
480
|
-
if (!this.disabled) {
|
|
481
|
-
this.clearTimer();
|
|
482
|
-
}
|
|
483
|
-
},
|
|
484
|
-
onUpButtonKeyUp: function onUpButtonKeyUp() {
|
|
485
|
-
if (!this.disabled) {
|
|
486
|
-
this.clearTimer();
|
|
487
|
-
}
|
|
488
|
-
},
|
|
489
|
-
onUpButtonKeyDown: function onUpButtonKeyDown(event) {
|
|
490
|
-
if (event.code === "Space" || event.code === "Enter" || event.code === "NumpadEnter") {
|
|
491
|
-
this.repeat(event, null, 1);
|
|
492
|
-
}
|
|
493
|
-
},
|
|
494
|
-
onDownButtonMouseDown: function onDownButtonMouseDown(event) {
|
|
495
|
-
if (!this.disabled) {
|
|
496
|
-
this.$refs.input.$el.focus();
|
|
497
|
-
this.repeat(event, null, -1);
|
|
498
|
-
event.preventDefault();
|
|
499
|
-
}
|
|
500
|
-
},
|
|
501
|
-
onDownButtonMouseUp: function onDownButtonMouseUp() {
|
|
502
|
-
if (!this.disabled) {
|
|
503
|
-
this.clearTimer();
|
|
504
|
-
}
|
|
505
|
-
},
|
|
506
|
-
onDownButtonMouseLeave: function onDownButtonMouseLeave() {
|
|
507
|
-
if (!this.disabled) {
|
|
508
|
-
this.clearTimer();
|
|
509
|
-
}
|
|
510
|
-
},
|
|
511
|
-
onDownButtonKeyUp: function onDownButtonKeyUp() {
|
|
512
|
-
if (!this.disabled) {
|
|
513
|
-
this.clearTimer();
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
-
onDownButtonKeyDown: function onDownButtonKeyDown(event) {
|
|
517
|
-
if (event.code === "Space" || event.code === "Enter" || event.code === "NumpadEnter") {
|
|
518
|
-
this.repeat(event, null, -1);
|
|
519
|
-
}
|
|
520
|
-
},
|
|
521
|
-
onUserInput: function onUserInput() {
|
|
522
|
-
if (this.isSpecialChar) {
|
|
523
|
-
this.$refs.input.$el.value = this.lastValue;
|
|
524
|
-
}
|
|
525
|
-
this.isSpecialChar = false;
|
|
526
|
-
},
|
|
527
|
-
onInputKeyDown: function onInputKeyDown(event) {
|
|
528
|
-
if (this.readonly) {
|
|
529
|
-
return;
|
|
530
|
-
}
|
|
531
|
-
if (event.altKey || event.ctrlKey || event.metaKey) {
|
|
532
|
-
this.isSpecialChar = true;
|
|
533
|
-
this.lastValue = this.$refs.input.$el.value;
|
|
534
|
-
return;
|
|
535
|
-
}
|
|
536
|
-
this.lastValue = event.target.value;
|
|
537
|
-
var selectionStart = event.target.selectionStart;
|
|
538
|
-
var selectionEnd = event.target.selectionEnd;
|
|
539
|
-
var inputValue = event.target.value;
|
|
540
|
-
var newValueStr = null;
|
|
541
|
-
switch (event.code) {
|
|
542
|
-
case "ArrowUp":
|
|
543
|
-
this.spin(event, 1);
|
|
544
|
-
event.preventDefault();
|
|
545
|
-
break;
|
|
546
|
-
case "ArrowDown":
|
|
547
|
-
this.spin(event, -1);
|
|
548
|
-
event.preventDefault();
|
|
549
|
-
break;
|
|
550
|
-
case "ArrowLeft":
|
|
551
|
-
if (!this.isNumeralChar(inputValue.charAt(selectionStart - 1))) {
|
|
552
|
-
event.preventDefault();
|
|
553
|
-
}
|
|
554
|
-
break;
|
|
555
|
-
case "ArrowRight":
|
|
556
|
-
if (!this.isNumeralChar(inputValue.charAt(selectionStart))) {
|
|
557
|
-
event.preventDefault();
|
|
558
|
-
}
|
|
559
|
-
break;
|
|
560
|
-
case "Tab":
|
|
561
|
-
case "Enter":
|
|
562
|
-
case "NumpadEnter":
|
|
563
|
-
newValueStr = this.validateValue(this.parseValue(inputValue));
|
|
564
|
-
this.$refs.input.$el.value = this.formatValue(newValueStr);
|
|
565
|
-
this.$refs.input.$el.setAttribute("aria-valuenow", newValueStr);
|
|
566
|
-
this.updateModel(event, newValueStr);
|
|
567
|
-
break;
|
|
568
|
-
case "Backspace": {
|
|
569
|
-
event.preventDefault();
|
|
570
|
-
if (selectionStart === selectionEnd) {
|
|
571
|
-
var deleteChar = inputValue.charAt(selectionStart - 1);
|
|
572
|
-
var _this$getDecimalCharI = this.getDecimalCharIndexes(inputValue), decimalCharIndex = _this$getDecimalCharI.decimalCharIndex, decimalCharIndexWithoutPrefix = _this$getDecimalCharI.decimalCharIndexWithoutPrefix;
|
|
573
|
-
if (this.isNumeralChar(deleteChar)) {
|
|
574
|
-
var decimalLength = this.getDecimalLength(inputValue);
|
|
575
|
-
if (this._group.test(deleteChar)) {
|
|
576
|
-
this._group.lastIndex = 0;
|
|
577
|
-
newValueStr = inputValue.slice(0, selectionStart - 2) + inputValue.slice(selectionStart - 1);
|
|
578
|
-
} else if (this._decimal.test(deleteChar)) {
|
|
579
|
-
this._decimal.lastIndex = 0;
|
|
580
|
-
if (decimalLength) {
|
|
581
|
-
this.$refs.input.$el.setSelectionRange(selectionStart - 1, selectionStart - 1);
|
|
582
|
-
} else {
|
|
583
|
-
newValueStr = inputValue.slice(0, selectionStart - 1) + inputValue.slice(selectionStart);
|
|
584
|
-
}
|
|
585
|
-
} else if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
|
|
586
|
-
var insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < decimalLength ? "" : "0";
|
|
587
|
-
newValueStr = inputValue.slice(0, selectionStart - 1) + insertedText + inputValue.slice(selectionStart);
|
|
588
|
-
} else if (decimalCharIndexWithoutPrefix === 1) {
|
|
589
|
-
newValueStr = inputValue.slice(0, selectionStart - 1) + "0" + inputValue.slice(selectionStart);
|
|
590
|
-
newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : "";
|
|
591
|
-
} else {
|
|
592
|
-
newValueStr = inputValue.slice(0, selectionStart - 1) + inputValue.slice(selectionStart);
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
this.updateValue(event, newValueStr, null, "delete-single");
|
|
596
|
-
} else {
|
|
597
|
-
newValueStr = this.deleteRange(inputValue, selectionStart, selectionEnd);
|
|
598
|
-
this.updateValue(event, newValueStr, null, "delete-range");
|
|
599
|
-
}
|
|
600
|
-
break;
|
|
601
|
-
}
|
|
602
|
-
case "Delete":
|
|
603
|
-
event.preventDefault();
|
|
604
|
-
if (selectionStart === selectionEnd) {
|
|
605
|
-
var _deleteChar = inputValue.charAt(selectionStart);
|
|
606
|
-
var _this$getDecimalCharI2 = this.getDecimalCharIndexes(inputValue), _decimalCharIndex = _this$getDecimalCharI2.decimalCharIndex, _decimalCharIndexWithoutPrefix = _this$getDecimalCharI2.decimalCharIndexWithoutPrefix;
|
|
607
|
-
if (this.isNumeralChar(_deleteChar)) {
|
|
608
|
-
var _decimalLength = this.getDecimalLength(inputValue);
|
|
609
|
-
if (this._group.test(_deleteChar)) {
|
|
610
|
-
this._group.lastIndex = 0;
|
|
611
|
-
newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 2);
|
|
612
|
-
} else if (this._decimal.test(_deleteChar)) {
|
|
613
|
-
this._decimal.lastIndex = 0;
|
|
614
|
-
if (_decimalLength) {
|
|
615
|
-
this.$refs.input.$el.setSelectionRange(selectionStart + 1, selectionStart + 1);
|
|
616
|
-
} else {
|
|
617
|
-
newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 1);
|
|
618
|
-
}
|
|
619
|
-
} else if (_decimalCharIndex > 0 && selectionStart > _decimalCharIndex) {
|
|
620
|
-
var _insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < _decimalLength ? "" : "0";
|
|
621
|
-
newValueStr = inputValue.slice(0, selectionStart) + _insertedText + inputValue.slice(selectionStart + 1);
|
|
622
|
-
} else if (_decimalCharIndexWithoutPrefix === 1) {
|
|
623
|
-
newValueStr = inputValue.slice(0, selectionStart) + "0" + inputValue.slice(selectionStart + 1);
|
|
624
|
-
newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : "";
|
|
625
|
-
} else {
|
|
626
|
-
newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 1);
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
this.updateValue(event, newValueStr, null, "delete-back-single");
|
|
630
|
-
} else {
|
|
631
|
-
newValueStr = this.deleteRange(inputValue, selectionStart, selectionEnd);
|
|
632
|
-
this.updateValue(event, newValueStr, null, "delete-range");
|
|
633
|
-
}
|
|
634
|
-
break;
|
|
635
|
-
case "Home":
|
|
636
|
-
event.preventDefault();
|
|
637
|
-
if (!ObjectUtils.isEmpty(this.min)) {
|
|
638
|
-
this.updateModel(event, this.min);
|
|
639
|
-
}
|
|
640
|
-
break;
|
|
641
|
-
case "End":
|
|
642
|
-
event.preventDefault();
|
|
643
|
-
if (!ObjectUtils.isEmpty(this.max)) {
|
|
644
|
-
this.updateModel(event, this.max);
|
|
645
|
-
}
|
|
646
|
-
break;
|
|
647
|
-
}
|
|
648
|
-
},
|
|
649
|
-
onInputKeyPress: function onInputKeyPress(event) {
|
|
650
|
-
if (this.readonly) {
|
|
651
|
-
return;
|
|
652
|
-
}
|
|
653
|
-
var _char = event.key;
|
|
654
|
-
var isDecimalSign2 = this.isDecimalSign(_char);
|
|
655
|
-
var isMinusSign2 = this.isMinusSign(_char);
|
|
656
|
-
if (this.locale === "fr-FR" && (event.code === "Comma" || event.code === "NumpadDecimal") && !isDecimalSign2) {
|
|
657
|
-
isDecimalSign2 = true;
|
|
658
|
-
_char = decimalSign;
|
|
659
|
-
}
|
|
660
|
-
if (event.code !== "Enter") {
|
|
661
|
-
event.preventDefault();
|
|
662
|
-
}
|
|
663
|
-
if (Number(_char) >= 0 && Number(_char) <= 9 || isMinusSign2 || isDecimalSign2) {
|
|
664
|
-
this.insert(event, _char, {
|
|
665
|
-
isDecimalSign: isDecimalSign2,
|
|
666
|
-
isMinusSign: isMinusSign2
|
|
667
|
-
});
|
|
668
|
-
}
|
|
669
|
-
},
|
|
670
|
-
onPaste: function onPaste(event) {
|
|
671
|
-
if (this.readonly || this.disabled) {
|
|
672
|
-
return;
|
|
673
|
-
}
|
|
674
|
-
event.preventDefault();
|
|
675
|
-
var data2 = (event.clipboardData || window["clipboardData"]).getData("Text");
|
|
676
|
-
if (data2) {
|
|
677
|
-
var filteredData = this.parseValue(data2);
|
|
678
|
-
if (filteredData != null) {
|
|
679
|
-
this.insert(event, filteredData.toString());
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
},
|
|
683
|
-
allowMinusSign: function allowMinusSign() {
|
|
684
|
-
return this.min === null || this.min < 0;
|
|
685
|
-
},
|
|
686
|
-
isMinusSign: function isMinusSign(_char2) {
|
|
687
|
-
if (this._minusSign.test(_char2) || _char2 === "-") {
|
|
688
|
-
this._minusSign.lastIndex = 0;
|
|
689
|
-
return true;
|
|
690
|
-
}
|
|
691
|
-
return false;
|
|
692
|
-
},
|
|
693
|
-
isDecimalSign: function isDecimalSign(_char3) {
|
|
694
|
-
if (this._decimal.test(_char3)) {
|
|
695
|
-
this._decimal.lastIndex = 0;
|
|
696
|
-
return true;
|
|
697
|
-
}
|
|
698
|
-
return false;
|
|
699
|
-
},
|
|
700
|
-
isDecimalMode: function isDecimalMode() {
|
|
701
|
-
return this.mode === "decimal";
|
|
702
|
-
},
|
|
703
|
-
getDecimalCharIndexes: function getDecimalCharIndexes(val) {
|
|
704
|
-
var decimalCharIndex = val.search(this._decimal);
|
|
705
|
-
this._decimal.lastIndex = 0;
|
|
706
|
-
var filteredVal = val.replace(this._prefix, "").trim().replace(/\s/g, "").replace(this._currency, "");
|
|
707
|
-
var decimalCharIndexWithoutPrefix = filteredVal.search(this._decimal);
|
|
708
|
-
this._decimal.lastIndex = 0;
|
|
709
|
-
return {
|
|
710
|
-
decimalCharIndex,
|
|
711
|
-
decimalCharIndexWithoutPrefix
|
|
712
|
-
};
|
|
713
|
-
},
|
|
714
|
-
getCharIndexes: function getCharIndexes(val) {
|
|
715
|
-
var decimalCharIndex = val.search(this._decimal);
|
|
716
|
-
this._decimal.lastIndex = 0;
|
|
717
|
-
var minusCharIndex = val.search(this._minusSign);
|
|
718
|
-
this._minusSign.lastIndex = 0;
|
|
719
|
-
var suffixCharIndex = val.search(this._suffix);
|
|
720
|
-
this._suffix.lastIndex = 0;
|
|
721
|
-
var currencyCharIndex = val.search(this._currency);
|
|
722
|
-
this._currency.lastIndex = 0;
|
|
723
|
-
return {
|
|
724
|
-
decimalCharIndex,
|
|
725
|
-
minusCharIndex,
|
|
726
|
-
suffixCharIndex,
|
|
727
|
-
currencyCharIndex
|
|
728
|
-
};
|
|
729
|
-
},
|
|
730
|
-
insert: function insert(event, text) {
|
|
731
|
-
var sign = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
732
|
-
isDecimalSign: false,
|
|
733
|
-
isMinusSign: false
|
|
734
|
-
};
|
|
735
|
-
var minusCharIndexOnText = text.search(this._minusSign);
|
|
736
|
-
this._minusSign.lastIndex = 0;
|
|
737
|
-
if (!this.allowMinusSign() && minusCharIndexOnText !== -1) {
|
|
738
|
-
return;
|
|
739
|
-
}
|
|
740
|
-
var selectionStart = this.$refs.input.$el.selectionStart;
|
|
741
|
-
var selectionEnd = this.$refs.input.$el.selectionEnd;
|
|
742
|
-
var inputValue = this.$refs.input.$el.value.trim();
|
|
743
|
-
var _this$getCharIndexes = this.getCharIndexes(inputValue), decimalCharIndex = _this$getCharIndexes.decimalCharIndex, minusCharIndex = _this$getCharIndexes.minusCharIndex, suffixCharIndex = _this$getCharIndexes.suffixCharIndex, currencyCharIndex = _this$getCharIndexes.currencyCharIndex;
|
|
744
|
-
var newValueStr;
|
|
745
|
-
if (sign.isMinusSign) {
|
|
746
|
-
if (selectionStart === 0) {
|
|
747
|
-
newValueStr = inputValue;
|
|
748
|
-
if (minusCharIndex === -1 || selectionEnd !== 0) {
|
|
749
|
-
newValueStr = this.insertText(inputValue, text, 0, selectionEnd);
|
|
750
|
-
}
|
|
751
|
-
this.updateValue(event, newValueStr, text, "insert");
|
|
752
|
-
}
|
|
753
|
-
} else if (sign.isDecimalSign) {
|
|
754
|
-
if (decimalCharIndex > 0 && selectionStart === decimalCharIndex) {
|
|
755
|
-
this.updateValue(event, inputValue, text, "insert");
|
|
756
|
-
} else if (decimalCharIndex > selectionStart && decimalCharIndex < selectionEnd) {
|
|
757
|
-
newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
|
|
758
|
-
this.updateValue(event, newValueStr, text, "insert");
|
|
759
|
-
} else if (decimalCharIndex === -1 && this.maxFractionDigits) {
|
|
760
|
-
newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
|
|
761
|
-
this.updateValue(event, newValueStr, text, "insert");
|
|
762
|
-
}
|
|
763
|
-
} else {
|
|
764
|
-
var maxFractionDigits2 = this.numberFormat.resolvedOptions().maximumFractionDigits;
|
|
765
|
-
var operation = selectionStart !== selectionEnd ? "range-insert" : "insert";
|
|
766
|
-
if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
|
|
767
|
-
if (selectionStart + text.length - (decimalCharIndex + 1) <= maxFractionDigits2) {
|
|
768
|
-
var charIndex = currencyCharIndex >= selectionStart ? currencyCharIndex - 1 : suffixCharIndex >= selectionStart ? suffixCharIndex : inputValue.length;
|
|
769
|
-
newValueStr = inputValue.slice(0, selectionStart) + text + inputValue.slice(selectionStart + text.length, charIndex) + inputValue.slice(charIndex);
|
|
770
|
-
this.updateValue(event, newValueStr, text, operation);
|
|
771
|
-
}
|
|
772
|
-
} else {
|
|
773
|
-
newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
|
|
774
|
-
this.updateValue(event, newValueStr, text, operation);
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
},
|
|
778
|
-
insertText: function insertText(value, text, start, end) {
|
|
779
|
-
var textSplit = text === "." ? text : text.split(".");
|
|
780
|
-
if (textSplit.length === 2) {
|
|
781
|
-
var decimalCharIndex = value.slice(start, end).search(this._decimal);
|
|
782
|
-
this._decimal.lastIndex = 0;
|
|
783
|
-
return decimalCharIndex > 0 ? value.slice(0, start) + this.formatValue(text) + value.slice(end) : this.formatValue(text) || value;
|
|
784
|
-
} else if (end - start === value.length) {
|
|
785
|
-
return this.formatValue(text);
|
|
786
|
-
} else if (start === 0) {
|
|
787
|
-
return text + value.slice(end);
|
|
788
|
-
} else if (end === value.length) {
|
|
789
|
-
return value.slice(0, start) + text;
|
|
790
|
-
} else {
|
|
791
|
-
return value.slice(0, start) + text + value.slice(end);
|
|
792
|
-
}
|
|
793
|
-
},
|
|
794
|
-
deleteRange: function deleteRange(value, start, end) {
|
|
795
|
-
var newValueStr;
|
|
796
|
-
if (end - start === value.length) newValueStr = "";
|
|
797
|
-
else if (start === 0) newValueStr = value.slice(end);
|
|
798
|
-
else if (end === value.length) newValueStr = value.slice(0, start);
|
|
799
|
-
else newValueStr = value.slice(0, start) + value.slice(end);
|
|
800
|
-
return newValueStr;
|
|
801
|
-
},
|
|
802
|
-
initCursor: function initCursor() {
|
|
803
|
-
var selectionStart = this.$refs.input.$el.selectionStart;
|
|
804
|
-
var inputValue = this.$refs.input.$el.value;
|
|
805
|
-
var valueLength = inputValue.length;
|
|
806
|
-
var index = null;
|
|
807
|
-
var prefixLength = (this.prefixChar || "").length;
|
|
808
|
-
inputValue = inputValue.replace(this._prefix, "");
|
|
809
|
-
selectionStart = selectionStart - prefixLength;
|
|
810
|
-
var _char4 = inputValue.charAt(selectionStart);
|
|
811
|
-
if (this.isNumeralChar(_char4)) {
|
|
812
|
-
return selectionStart + prefixLength;
|
|
813
|
-
}
|
|
814
|
-
var i = selectionStart - 1;
|
|
815
|
-
while (i >= 0) {
|
|
816
|
-
_char4 = inputValue.charAt(i);
|
|
817
|
-
if (this.isNumeralChar(_char4)) {
|
|
818
|
-
index = i + prefixLength;
|
|
819
|
-
break;
|
|
820
|
-
} else {
|
|
821
|
-
i--;
|
|
822
|
-
}
|
|
823
|
-
}
|
|
824
|
-
if (index !== null) {
|
|
825
|
-
this.$refs.input.$el.setSelectionRange(index + 1, index + 1);
|
|
826
|
-
} else {
|
|
827
|
-
i = selectionStart;
|
|
828
|
-
while (i < valueLength) {
|
|
829
|
-
_char4 = inputValue.charAt(i);
|
|
830
|
-
if (this.isNumeralChar(_char4)) {
|
|
831
|
-
index = i + prefixLength;
|
|
832
|
-
break;
|
|
833
|
-
} else {
|
|
834
|
-
i++;
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
-
if (index !== null) {
|
|
838
|
-
this.$refs.input.$el.setSelectionRange(index, index);
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
return index || 0;
|
|
842
|
-
},
|
|
843
|
-
onInputClick: function onInputClick() {
|
|
844
|
-
var currentValue = this.$refs.input.$el.value;
|
|
845
|
-
if (!this.readonly && currentValue !== DomHandler.getSelection()) {
|
|
846
|
-
this.initCursor();
|
|
847
|
-
}
|
|
848
|
-
},
|
|
849
|
-
isNumeralChar: function isNumeralChar(_char5) {
|
|
850
|
-
if (_char5.length === 1 && (this._numeral.test(_char5) || this._decimal.test(_char5) || this._group.test(_char5) || this._minusSign.test(_char5))) {
|
|
851
|
-
this.resetRegex();
|
|
852
|
-
return true;
|
|
853
|
-
}
|
|
854
|
-
return false;
|
|
855
|
-
},
|
|
856
|
-
resetRegex: function resetRegex() {
|
|
857
|
-
this._numeral.lastIndex = 0;
|
|
858
|
-
this._decimal.lastIndex = 0;
|
|
859
|
-
this._group.lastIndex = 0;
|
|
860
|
-
this._minusSign.lastIndex = 0;
|
|
861
|
-
},
|
|
862
|
-
updateValue: function updateValue(event, valueStr, insertedValueStr, operation) {
|
|
863
|
-
var currentValue = this.$refs.input.$el.value;
|
|
864
|
-
var newValue = null;
|
|
865
|
-
if (valueStr != null) {
|
|
866
|
-
newValue = this.parseValue(valueStr);
|
|
867
|
-
newValue = !newValue && !this.allowEmpty ? 0 : newValue;
|
|
868
|
-
this.updateInput(newValue, insertedValueStr, operation, valueStr);
|
|
869
|
-
this.handleOnInput(event, currentValue, newValue);
|
|
870
|
-
}
|
|
871
|
-
},
|
|
872
|
-
handleOnInput: function handleOnInput(event, currentValue, newValue) {
|
|
873
|
-
if (this.isValueChanged(currentValue, newValue)) {
|
|
874
|
-
this.$emit("input", {
|
|
875
|
-
originalEvent: event,
|
|
876
|
-
value: newValue,
|
|
877
|
-
formattedValue: currentValue
|
|
878
|
-
});
|
|
879
|
-
}
|
|
880
|
-
},
|
|
881
|
-
isValueChanged: function isValueChanged(currentValue, newValue) {
|
|
882
|
-
if (newValue === null && currentValue !== null) {
|
|
883
|
-
return true;
|
|
884
|
-
}
|
|
885
|
-
if (newValue != null) {
|
|
886
|
-
var parsedCurrentValue = typeof currentValue === "string" ? this.parseValue(currentValue) : currentValue;
|
|
887
|
-
return newValue !== parsedCurrentValue;
|
|
888
|
-
}
|
|
889
|
-
return false;
|
|
890
|
-
},
|
|
891
|
-
validateValue: function validateValue(value) {
|
|
892
|
-
if (value === "-" || value == null) {
|
|
893
|
-
return null;
|
|
894
|
-
}
|
|
895
|
-
if (this.min != null && value < this.min) {
|
|
896
|
-
return this.min;
|
|
897
|
-
}
|
|
898
|
-
if (this.max != null && value > this.max) {
|
|
899
|
-
return this.max;
|
|
900
|
-
}
|
|
901
|
-
return value;
|
|
902
|
-
},
|
|
903
|
-
updateInput: function updateInput(value, insertedValueStr, operation, valueStr) {
|
|
904
|
-
insertedValueStr = insertedValueStr || "";
|
|
905
|
-
var inputValue = this.$refs.input.$el.value;
|
|
906
|
-
var newValue = this.formatValue(value);
|
|
907
|
-
var currentLength = inputValue.length;
|
|
908
|
-
if (newValue !== valueStr) {
|
|
909
|
-
newValue = this.concatValues(newValue, valueStr);
|
|
910
|
-
}
|
|
911
|
-
if (currentLength === 0) {
|
|
912
|
-
this.$refs.input.$el.value = newValue;
|
|
913
|
-
this.$refs.input.$el.setSelectionRange(0, 0);
|
|
914
|
-
var index = this.initCursor();
|
|
915
|
-
var selectionEnd = index + insertedValueStr.length;
|
|
916
|
-
this.$refs.input.$el.setSelectionRange(selectionEnd, selectionEnd);
|
|
917
|
-
} else {
|
|
918
|
-
var selectionStart = this.$refs.input.$el.selectionStart;
|
|
919
|
-
var _selectionEnd = this.$refs.input.$el.selectionEnd;
|
|
920
|
-
this.$refs.input.$el.value = newValue;
|
|
921
|
-
var newLength = newValue.length;
|
|
922
|
-
if (operation === "range-insert") {
|
|
923
|
-
var startValue = this.parseValue((inputValue || "").slice(0, selectionStart));
|
|
924
|
-
var startValueStr = startValue !== null ? startValue.toString() : "";
|
|
925
|
-
var startExpr = startValueStr.split("").join("(".concat(this.groupChar, ")?"));
|
|
926
|
-
var sRegex = new RegExp(startExpr, "g");
|
|
927
|
-
sRegex.test(newValue);
|
|
928
|
-
var tExpr = insertedValueStr.split("").join("(".concat(this.groupChar, ")?"));
|
|
929
|
-
var tRegex = new RegExp(tExpr, "g");
|
|
930
|
-
tRegex.test(newValue.slice(sRegex.lastIndex));
|
|
931
|
-
_selectionEnd = sRegex.lastIndex + tRegex.lastIndex;
|
|
932
|
-
this.$refs.input.$el.setSelectionRange(_selectionEnd, _selectionEnd);
|
|
933
|
-
} else if (newLength === currentLength) {
|
|
934
|
-
if (operation === "insert" || operation === "delete-back-single") {
|
|
935
|
-
this.$refs.input.$el.setSelectionRange(_selectionEnd + 1, _selectionEnd + 1);
|
|
936
|
-
} else if (operation === "delete-single") {
|
|
937
|
-
this.$refs.input.$el.setSelectionRange(_selectionEnd - 1, _selectionEnd - 1);
|
|
938
|
-
} else if (operation === "delete-range" || operation === "spin") {
|
|
939
|
-
this.$refs.input.$el.setSelectionRange(_selectionEnd, _selectionEnd);
|
|
940
|
-
}
|
|
941
|
-
} else if (operation === "delete-back-single") {
|
|
942
|
-
var prevChar = inputValue.charAt(_selectionEnd - 1);
|
|
943
|
-
var nextChar = inputValue.charAt(_selectionEnd);
|
|
944
|
-
var diff = currentLength - newLength;
|
|
945
|
-
var isGroupChar = this._group.test(nextChar);
|
|
946
|
-
if (isGroupChar && diff === 1) {
|
|
947
|
-
_selectionEnd += 1;
|
|
948
|
-
} else if (!isGroupChar && this.isNumeralChar(prevChar)) {
|
|
949
|
-
_selectionEnd += -1 * diff + 1;
|
|
950
|
-
}
|
|
951
|
-
this._group.lastIndex = 0;
|
|
952
|
-
this.$refs.input.$el.setSelectionRange(_selectionEnd, _selectionEnd);
|
|
953
|
-
} else if (inputValue === "-" && operation === "insert") {
|
|
954
|
-
this.$refs.input.$el.setSelectionRange(0, 0);
|
|
955
|
-
var _index = this.initCursor();
|
|
956
|
-
var _selectionEnd2 = _index + insertedValueStr.length + 1;
|
|
957
|
-
this.$refs.input.$el.setSelectionRange(_selectionEnd2, _selectionEnd2);
|
|
958
|
-
} else {
|
|
959
|
-
_selectionEnd = _selectionEnd + (newLength - currentLength);
|
|
960
|
-
this.$refs.input.$el.setSelectionRange(_selectionEnd, _selectionEnd);
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
this.$refs.input.$el.setAttribute("aria-valuenow", value);
|
|
964
|
-
},
|
|
965
|
-
concatValues: function concatValues(val1, val2) {
|
|
966
|
-
if (val1 && val2) {
|
|
967
|
-
var decimalCharIndex = val2.search(this._decimal);
|
|
968
|
-
this._decimal.lastIndex = 0;
|
|
969
|
-
if (this.suffixChar) {
|
|
970
|
-
return decimalCharIndex !== -1 ? val1.replace(this.suffixChar, "").split(this._decimal)[0] + val2.replace(this.suffixChar, "").slice(decimalCharIndex) + this.suffixChar : val1;
|
|
971
|
-
} else {
|
|
972
|
-
return decimalCharIndex !== -1 ? val1.split(this._decimal)[0] + val2.slice(decimalCharIndex) : val1;
|
|
973
|
-
}
|
|
974
|
-
}
|
|
975
|
-
return val1;
|
|
976
|
-
},
|
|
977
|
-
getDecimalLength: function getDecimalLength(value) {
|
|
978
|
-
if (value) {
|
|
979
|
-
var valueSplit = value.split(this._decimal);
|
|
980
|
-
if (valueSplit.length === 2) {
|
|
981
|
-
return valueSplit[1].replace(this._suffix, "").trim().replace(/\s/g, "").replace(this._currency, "").length;
|
|
982
|
-
}
|
|
983
|
-
}
|
|
984
|
-
return 0;
|
|
985
|
-
},
|
|
986
|
-
updateModel: function updateModel(event, value) {
|
|
987
|
-
this.d_modelValue = value;
|
|
988
|
-
this.$emit("update:modelValue", value);
|
|
989
|
-
},
|
|
990
|
-
onInputFocus: function onInputFocus(event) {
|
|
991
|
-
this.focused = true;
|
|
992
|
-
if (!this.disabled && !this.readonly && this.$refs.input.$el.value !== DomHandler.getSelection() && this.highlightOnFocus) {
|
|
993
|
-
event.target.select();
|
|
994
|
-
}
|
|
995
|
-
this.$emit("focus", event);
|
|
996
|
-
},
|
|
997
|
-
onInputBlur: function onInputBlur(event) {
|
|
998
|
-
this.focused = false;
|
|
999
|
-
var input = event.target;
|
|
1000
|
-
var newValue = this.validateValue(this.parseValue(input.value));
|
|
1001
|
-
this.$emit("blur", {
|
|
1002
|
-
originalEvent: event,
|
|
1003
|
-
value: input.value
|
|
1004
|
-
});
|
|
1005
|
-
input.value = this.formatValue(newValue);
|
|
1006
|
-
input.setAttribute("aria-valuenow", newValue);
|
|
1007
|
-
this.updateModel(event, newValue);
|
|
1008
|
-
if (!this.disabled && !this.readonly && this.highlightOnFocus) {
|
|
1009
|
-
DomHandler.clearSelection();
|
|
1010
|
-
}
|
|
1011
|
-
},
|
|
1012
|
-
clearTimer: function clearTimer() {
|
|
1013
|
-
if (this.timer) {
|
|
1014
|
-
clearInterval(this.timer);
|
|
1015
|
-
}
|
|
1016
|
-
},
|
|
1017
|
-
maxBoundry: function maxBoundry() {
|
|
1018
|
-
return this.d_modelValue >= this.max;
|
|
1019
|
-
},
|
|
1020
|
-
minBoundry: function minBoundry() {
|
|
1021
|
-
return this.d_modelValue <= this.min;
|
|
1022
|
-
}
|
|
1023
|
-
},
|
|
1024
|
-
computed: {
|
|
1025
|
-
filled: function filled() {
|
|
1026
|
-
return this.modelValue != null && this.modelValue.toString().length > 0;
|
|
1027
|
-
},
|
|
1028
|
-
upButtonListeners: function upButtonListeners() {
|
|
1029
|
-
var _this2 = this;
|
|
1030
|
-
return {
|
|
1031
|
-
mousedown: function mousedown(event) {
|
|
1032
|
-
return _this2.onUpButtonMouseDown(event);
|
|
1033
|
-
},
|
|
1034
|
-
mouseup: function mouseup(event) {
|
|
1035
|
-
return _this2.onUpButtonMouseUp(event);
|
|
1036
|
-
},
|
|
1037
|
-
mouseleave: function mouseleave(event) {
|
|
1038
|
-
return _this2.onUpButtonMouseLeave(event);
|
|
1039
|
-
},
|
|
1040
|
-
keydown: function keydown(event) {
|
|
1041
|
-
return _this2.onUpButtonKeyDown(event);
|
|
1042
|
-
},
|
|
1043
|
-
keyup: function keyup(event) {
|
|
1044
|
-
return _this2.onUpButtonKeyUp(event);
|
|
1045
|
-
}
|
|
1046
|
-
};
|
|
1047
|
-
},
|
|
1048
|
-
downButtonListeners: function downButtonListeners() {
|
|
1049
|
-
var _this3 = this;
|
|
1050
|
-
return {
|
|
1051
|
-
mousedown: function mousedown(event) {
|
|
1052
|
-
return _this3.onDownButtonMouseDown(event);
|
|
1053
|
-
},
|
|
1054
|
-
mouseup: function mouseup(event) {
|
|
1055
|
-
return _this3.onDownButtonMouseUp(event);
|
|
1056
|
-
},
|
|
1057
|
-
mouseleave: function mouseleave(event) {
|
|
1058
|
-
return _this3.onDownButtonMouseLeave(event);
|
|
1059
|
-
},
|
|
1060
|
-
keydown: function keydown(event) {
|
|
1061
|
-
return _this3.onDownButtonKeyDown(event);
|
|
1062
|
-
},
|
|
1063
|
-
keyup: function keyup(event) {
|
|
1064
|
-
return _this3.onDownButtonKeyUp(event);
|
|
1065
|
-
}
|
|
1066
|
-
};
|
|
1067
|
-
},
|
|
1068
|
-
formattedValue: function formattedValue() {
|
|
1069
|
-
var val = !this.modelValue && !this.allowEmpty ? 0 : this.modelValue;
|
|
1070
|
-
return this.formatValue(val);
|
|
1071
|
-
},
|
|
1072
|
-
getFormatter: function getFormatter() {
|
|
1073
|
-
return this.numberFormat;
|
|
1074
|
-
}
|
|
1075
|
-
},
|
|
1076
|
-
components: {
|
|
1077
|
-
INInputText: script$5,
|
|
1078
|
-
INButton: script$4,
|
|
1079
|
-
AngleUpIcon: script$3,
|
|
1080
|
-
AngleDownIcon: script$2
|
|
1081
|
-
}
|
|
1082
|
-
};
|
|
1083
|
-
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1084
|
-
var _component_INInputText = resolveComponent("INInputText");
|
|
1085
|
-
var _component_INButton = resolveComponent("INButton");
|
|
1086
|
-
return openBlock(), createElementBlock("span", mergeProps({
|
|
1087
|
-
"class": _ctx.cx("root")
|
|
1088
|
-
}, _ctx.ptmi("root")), [createVNode(_component_INInputText, mergeProps({
|
|
1089
|
-
ref: "input",
|
|
1090
|
-
id: _ctx.inputId,
|
|
1091
|
-
role: "spinbutton",
|
|
1092
|
-
"class": [_ctx.cx("input"), _ctx.inputClass],
|
|
1093
|
-
style: _ctx.inputStyle,
|
|
1094
|
-
value: $options.formattedValue,
|
|
1095
|
-
"aria-valuemin": _ctx.min,
|
|
1096
|
-
"aria-valuemax": _ctx.max,
|
|
1097
|
-
"aria-valuenow": _ctx.modelValue,
|
|
1098
|
-
inputmode: _ctx.mode === "decimal" && !_ctx.minFractionDigits ? "numeric" : "decimal",
|
|
1099
|
-
disabled: _ctx.disabled,
|
|
1100
|
-
readonly: _ctx.readonly,
|
|
1101
|
-
placeholder: _ctx.placeholder,
|
|
1102
|
-
"aria-labelledby": _ctx.ariaLabelledby,
|
|
1103
|
-
"aria-label": _ctx.ariaLabel,
|
|
1104
|
-
"aria-invalid": _ctx.invalid || void 0,
|
|
1105
|
-
onInput: $options.onUserInput,
|
|
1106
|
-
onKeydown: $options.onInputKeyDown,
|
|
1107
|
-
onKeypress: $options.onInputKeyPress,
|
|
1108
|
-
onPaste: $options.onPaste,
|
|
1109
|
-
onClick: $options.onInputClick,
|
|
1110
|
-
onFocus: $options.onInputFocus,
|
|
1111
|
-
onBlur: $options.onInputBlur
|
|
1112
|
-
}, _ctx.inputProps, {
|
|
1113
|
-
pt: _ctx.ptm("input"),
|
|
1114
|
-
unstyled: _ctx.unstyled
|
|
1115
|
-
}), null, 16, ["id", "class", "style", "value", "aria-valuemin", "aria-valuemax", "aria-valuenow", "inputmode", "disabled", "readonly", "placeholder", "aria-labelledby", "aria-label", "aria-invalid", "onInput", "onKeydown", "onKeypress", "onPaste", "onClick", "onFocus", "onBlur", "pt", "unstyled"]), _ctx.showButtons && _ctx.buttonLayout === "stacked" ? (openBlock(), createElementBlock("span", mergeProps({
|
|
1116
|
-
key: 0,
|
|
1117
|
-
"class": _ctx.cx("buttonGroup")
|
|
1118
|
-
}, _ctx.ptm("buttonGroup")), [createVNode(_component_INButton, mergeProps({
|
|
1119
|
-
"class": [_ctx.cx("incrementButton"), _ctx.incrementButtonClass]
|
|
1120
|
-
}, toHandlers($options.upButtonListeners), {
|
|
1121
|
-
disabled: _ctx.disabled,
|
|
1122
|
-
tabindex: -1,
|
|
1123
|
-
"aria-hidden": "true"
|
|
1124
|
-
}, _ctx.incrementButtonProps, {
|
|
1125
|
-
pt: _ctx.ptm("incrementButton"),
|
|
1126
|
-
unstyled: _ctx.unstyled
|
|
1127
|
-
}), {
|
|
1128
|
-
icon: withCtx(function() {
|
|
1129
|
-
return [renderSlot(_ctx.$slots, "incrementbuttonicon", {}, function() {
|
|
1130
|
-
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.incrementButtonIcon ? "span" : "AngleUpIcon"), mergeProps({
|
|
1131
|
-
"class": _ctx.incrementButtonIcon
|
|
1132
|
-
}, _ctx.ptm("incrementButton")["icon"], {
|
|
1133
|
-
"data-pc-section": "incrementbuttonicon"
|
|
1134
|
-
}), null, 16, ["class"]))];
|
|
1135
|
-
})];
|
|
1136
|
-
}),
|
|
1137
|
-
_: 3
|
|
1138
|
-
}, 16, ["class", "disabled", "pt", "unstyled"]), createVNode(_component_INButton, mergeProps({
|
|
1139
|
-
"class": [_ctx.cx("decrementButton"), _ctx.decrementButtonClass]
|
|
1140
|
-
}, toHandlers($options.downButtonListeners), {
|
|
1141
|
-
disabled: _ctx.disabled,
|
|
1142
|
-
tabindex: -1,
|
|
1143
|
-
"aria-hidden": "true"
|
|
1144
|
-
}, _ctx.decrementButtonProps, {
|
|
1145
|
-
pt: _ctx.ptm("decrementButton"),
|
|
1146
|
-
unstyled: _ctx.unstyled
|
|
1147
|
-
}), {
|
|
1148
|
-
icon: withCtx(function() {
|
|
1149
|
-
return [renderSlot(_ctx.$slots, "decrementbuttonicon", {}, function() {
|
|
1150
|
-
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.decrementButtonIcon ? "span" : "AngleDownIcon"), mergeProps({
|
|
1151
|
-
"class": _ctx.decrementButtonIcon
|
|
1152
|
-
}, _ctx.ptm("decrementButton")["icon"], {
|
|
1153
|
-
"data-pc-section": "decrementbuttonicon"
|
|
1154
|
-
}), null, 16, ["class"]))];
|
|
1155
|
-
})];
|
|
1156
|
-
}),
|
|
1157
|
-
_: 3
|
|
1158
|
-
}, 16, ["class", "disabled", "pt", "unstyled"])], 16)) : createCommentVNode("", true), _ctx.showButtons && _ctx.buttonLayout !== "stacked" ? (openBlock(), createBlock(_component_INButton, mergeProps({
|
|
1159
|
-
key: 1,
|
|
1160
|
-
"class": [_ctx.cx("incrementButton"), _ctx.incrementButtonClass]
|
|
1161
|
-
}, toHandlers($options.upButtonListeners), {
|
|
1162
|
-
disabled: _ctx.disabled,
|
|
1163
|
-
tabindex: -1,
|
|
1164
|
-
"aria-hidden": "true"
|
|
1165
|
-
}, _ctx.incrementButtonProps, {
|
|
1166
|
-
pt: _ctx.ptm("incrementButton"),
|
|
1167
|
-
unstyled: _ctx.unstyled
|
|
1168
|
-
}), {
|
|
1169
|
-
icon: withCtx(function() {
|
|
1170
|
-
return [renderSlot(_ctx.$slots, "incrementbuttonicon", {}, function() {
|
|
1171
|
-
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.incrementButtonIcon ? "span" : "AngleUpIcon"), mergeProps({
|
|
1172
|
-
"class": _ctx.incrementButtonIcon
|
|
1173
|
-
}, _ctx.ptm("incrementButton")["icon"], {
|
|
1174
|
-
"data-pc-section": "incrementbuttonicon"
|
|
1175
|
-
}), null, 16, ["class"]))];
|
|
1176
|
-
})];
|
|
1177
|
-
}),
|
|
1178
|
-
_: 3
|
|
1179
|
-
}, 16, ["class", "disabled", "pt", "unstyled"])) : createCommentVNode("", true), _ctx.showButtons && _ctx.buttonLayout !== "stacked" ? (openBlock(), createBlock(_component_INButton, mergeProps({
|
|
1180
|
-
key: 2,
|
|
1181
|
-
"class": [_ctx.cx("decrementButton"), _ctx.decrementButtonClass]
|
|
1182
|
-
}, toHandlers($options.downButtonListeners), {
|
|
1183
|
-
disabled: _ctx.disabled,
|
|
1184
|
-
tabindex: -1,
|
|
1185
|
-
"aria-hidden": "true"
|
|
1186
|
-
}, _ctx.decrementButtonProps, {
|
|
1187
|
-
pt: _ctx.ptm("decrementButton"),
|
|
1188
|
-
unstyled: _ctx.unstyled
|
|
1189
|
-
}), {
|
|
1190
|
-
icon: withCtx(function() {
|
|
1191
|
-
return [renderSlot(_ctx.$slots, "decrementbuttonicon", {}, function() {
|
|
1192
|
-
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.decrementButtonIcon ? "span" : "AngleDownIcon"), mergeProps({
|
|
1193
|
-
"class": _ctx.decrementButtonIcon
|
|
1194
|
-
}, _ctx.ptm("decrementButton")["icon"], {
|
|
1195
|
-
"data-pc-section": "decrementbuttonicon"
|
|
1196
|
-
}), null, 16, ["class"]))];
|
|
1197
|
-
})];
|
|
1198
|
-
}),
|
|
1199
|
-
_: 3
|
|
1200
|
-
}, 16, ["class", "disabled", "pt", "unstyled"])) : createCommentVNode("", true)], 16);
|
|
1201
|
-
}
|
|
1202
|
-
script.render = render;
|
|
1203
|
-
export {
|
|
1204
|
-
script as s
|
|
1205
|
-
};
|