@fewangsit/wangsvue 1.5.219-alpha.0 → 1.5.219-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/animation/index.es.js +54 -37
- package/assets/lottiejs/loading-page.es.js +14 -9
- package/assets/lottiejs/loading-plane.es.js +2 -2
- package/assets/lottiejs/loading-table.es.js +14 -9
- package/assets/lottiejs/no-data.es.js +14 -9
- package/backgroundimagecropper/index.es.js +61 -37
- package/badge/index.es.js +77 -67
- package/badgegroup/index.es.js +62 -50
- package/basecalendar/index.es.js +1258 -735
- package/basetree/index.es.js +213 -113
- package/breadcrumb/index.es.js +46 -38
- package/button/index.es.js +60 -54
- package/buttonbulkaction/index.es.js +168 -117
- package/buttoncopy/index.es.js +25 -22
- package/buttondownload/index.es.js +125 -76
- package/buttonfilter/index.es.js +21 -15
- package/buttonradio/index.es.js +91 -67
- package/buttonsearch/index.es.js +62 -46
- package/buttonselecttree/index.es.js +233 -172
- package/buttontoggle/index.es.js +8 -6
- package/calendar/index.es.js +113 -58
- package/card/index.es.js +44 -42
- package/checkbox/index.es.js +105 -74
- package/codesnippet/index.es.js +91 -71
- package/codesnippetadapter/index.es.js +25 -21
- package/columnlist/index.es.js +249 -171
- package/components.d.ts +0 -21
- package/config/defaultProps.es.js +9 -9
- package/config/index.es.js +11 -10
- package/config/locale.es.js +2 -2
- package/customcolumn/index.es.js +95 -78
- package/datatable/index.es.js +1071 -732
- package/dialog/index.es.js +54 -54
- package/dialogconfirm/index.es.js +90 -75
- package/dialogform/index.es.js +170 -133
- package/dialogselecttree/index.es.js +242 -194
- package/directives/focus.es.js +13 -8
- package/dropdown/index.es.js +250 -196
- package/editor/index.es.js +694 -498
- package/editorbutton/index.es.js +21 -19
- package/event-bus/index.es.js +3 -3
- package/event-bus/mitt.es.js +37 -20
- package/fieldwrapper/index.es.js +30 -25
- package/fileupload/index.es.js +230 -140
- package/filtercontainer/index.es.js +299 -222
- package/form/index.es.js +176 -126
- package/gallerypreview/index.es.js +138 -101
- package/icon/index.es.js +38 -36
- package/image/index.es.js +161 -108
- package/imagecompressor/index.es.js +616 -449
- package/imageinputinfo/index.es.js +26 -22
- package/inlinemessage/index.es.js +77 -65
- package/inputbadge/index.es.js +230 -156
- package/inputcurrency/index.es.js +146 -109
- package/inputemail/index.es.js +18 -16
- package/inputgroup/index.es.js +19 -16
- package/inputnumber/index.es.js +252 -182
- package/inputpassword/index.es.js +120 -94
- package/inputphonenumber/index.es.js +1017 -550
- package/inputrangenumber/index.es.js +129 -98
- package/inputtext/index.es.js +264 -189
- package/inputurl/index.es.js +31 -29
- package/invisiblefield/index.es.js +24 -16
- package/litedropdown/index.es.js +87 -81
- package/loading/index.es.js +21 -19
- package/loading-page-BXZ4fLOS.js +8 -0
- package/loading-page-BuLpsb_1.js +8 -0
- package/loading-page-CNqVBg__.js +4 -0
- package/loading-page-DbhhZih2.js +4 -0
- package/loading-page-DjfWXoOy.js +8 -0
- package/loading-page-S-KRY5zm.js +4 -0
- package/loading-plane-C1mi7Whv.js +4 -0
- package/loading-plane-CWq1hz_l.js +8 -0
- package/loading-table-B7LAXzAp.js +4 -0
- package/loading-table-BLmgKUsR.js +4 -0
- package/loading-table-CG7-cuhv.js +8 -0
- package/loading-table-CUPS49ta.js +4 -0
- package/loading-table-CuWWrTbv.js +8 -0
- package/loading-table-DbBzVwaZ.js +8 -0
- package/mentionlist/index.es.js +77 -44
- package/mentionsection/index.es.js +53 -43
- package/menu/index.es.js +65 -51
- package/menuitem/index.es.js +39 -37
- package/multirow/index.es.js +29 -28
- package/multiselect/index.es.js +184 -152
- package/no-data-B781skt3.js +4 -0
- package/no-data-CAksOnDl.js +4 -0
- package/no-data-DCsjBXQR.js +4 -0
- package/no-data-Dz0QOe7Q.js +8 -0
- package/no-data-_Huxiv9q.js +8 -0
- package/no-data-ybRQontJ.js +8 -0
- package/overlaypanel/index.es.js +49 -36
- package/package.json +1 -1
- package/paginator/index.es.js +36 -33
- package/plugins/WangsVue.es.js +63 -45
- package/plugins/formValidation.es.js +15 -11
- package/progressbar/index.es.js +39 -32
- package/quickfilter/index.es.js +94 -81
- package/stats.html +1 -1
- package/style.css +2 -2
- package/tabmenu/index.es.js +18 -16
- package/textarea/index.es.js +94 -72
- package/timeline/index.es.js +124 -102
- package/timelinecontentbytype/index.es.js +114 -92
- package/toast/index.es.js +67 -54
- package/toggleswitch/index.es.js +83 -66
- package/tree/index.es.js +306 -198
- package/treenode/index.es.js +464 -339
- package/treesearchinput/index.es.js +32 -26
- package/usergroup/index.es.js +83 -67
- package/username/index.es.js +99 -85
- package/utils/addAttachment.util.es.js +47 -21
- package/utils/baseToast.util.es.js +41 -33
- package/utils/convertJsonImage.util.es.js +24 -24
- package/utils/date.util.es.js +131 -106
- package/utils/exportToExcel.util.es.js +81 -47
- package/utils/filterOptions.util.es.js +8 -2
- package/utils/genPlaceholder.util.es.js +30 -16
- package/utils/getProjectPermission.util.es.js +15 -12
- package/utils/getSalesRole.util.es.js +4 -4
- package/utils/getUser.util.es.js +2 -2
- package/utils/getUserType.util.es.js +13 -8
- package/utils/isIntersect.es.js +4 -2
- package/utils/mergePropsWithDefaults.util.es.js +7 -6
- package/utils/object.util.es.js +88 -54
- package/utils/queryParamsStringfy.util.es.js +19 -11
- package/utils/role.util.es.js +5 -4
- package/utils/statusSeverity.util.es.js +20 -5
- package/utils/textFormatter.util.es.js +28 -50
- package/utils/toast.util.es.js +8 -5
- package/utils/xlsx.util.es.js +12 -6
- package/validatormessage/index.es.js +9 -9
- package/vendor/@popperjs/core/lib/createPopper.es.js +110 -83
- package/vendor/@popperjs/core/lib/dom-utils/contains.es.js +14 -13
- package/vendor/@popperjs/core/lib/dom-utils/getBoundingClientRect.es.js +33 -18
- package/vendor/@popperjs/core/lib/dom-utils/getClippingRect.es.js +55 -31
- package/vendor/@popperjs/core/lib/dom-utils/getCompositeRect.es.js +43 -22
- package/vendor/@popperjs/core/lib/dom-utils/getComputedStyle.es.js +4 -4
- package/vendor/@popperjs/core/lib/dom-utils/getDocumentElement.es.js +5 -5
- package/vendor/@popperjs/core/lib/dom-utils/getDocumentRect.es.js +23 -13
- package/vendor/@popperjs/core/lib/dom-utils/getHTMLElementScroll.es.js +4 -4
- package/vendor/@popperjs/core/lib/dom-utils/getLayoutRect.es.js +17 -9
- package/vendor/@popperjs/core/lib/dom-utils/getNodeName.es.js +3 -3
- package/vendor/@popperjs/core/lib/dom-utils/getNodeScroll.es.js +11 -7
- package/vendor/@popperjs/core/lib/dom-utils/getOffsetParent.es.js +42 -26
- package/vendor/@popperjs/core/lib/dom-utils/getParentNode.es.js +13 -10
- package/vendor/@popperjs/core/lib/dom-utils/getScrollParent.es.js +13 -7
- package/vendor/@popperjs/core/lib/dom-utils/getViewportRect.es.js +25 -15
- package/vendor/@popperjs/core/lib/dom-utils/getWindow.es.js +8 -7
- package/vendor/@popperjs/core/lib/dom-utils/getWindowScroll.es.js +8 -6
- package/vendor/@popperjs/core/lib/dom-utils/getWindowScrollBarX.es.js +6 -6
- package/vendor/@popperjs/core/lib/dom-utils/instanceOf.es.js +16 -15
- package/vendor/@popperjs/core/lib/dom-utils/isLayoutViewport.es.js +4 -4
- package/vendor/@popperjs/core/lib/dom-utils/isScrollParent.es.js +5 -5
- package/vendor/@popperjs/core/lib/dom-utils/isTableElement.es.js +4 -4
- package/vendor/@popperjs/core/lib/dom-utils/listScrollParents.es.js +17 -11
- package/vendor/@popperjs/core/lib/enums.es.js +43 -20
- package/vendor/@popperjs/core/lib/modifiers/applyStyles.es.js +49 -25
- package/vendor/@popperjs/core/lib/modifiers/arrow.es.js +61 -26
- package/vendor/@popperjs/core/lib/modifiers/computeStyles.es.js +101 -69
- package/vendor/@popperjs/core/lib/modifiers/eventListeners.es.js +30 -16
- package/vendor/@popperjs/core/lib/modifiers/flip.es.js +99 -60
- package/vendor/@popperjs/core/lib/modifiers/hide.es.js +44 -31
- package/vendor/@popperjs/core/lib/modifiers/offset.es.js +32 -20
- package/vendor/@popperjs/core/lib/modifiers/popperOffsets.es.js +11 -11
- package/vendor/@popperjs/core/lib/modifiers/preventOverflow.es.js +91 -40
- package/vendor/@popperjs/core/lib/popper.es.js +14 -13
- package/vendor/@popperjs/core/lib/utils/computeAutoPlacement.es.js +29 -21
- package/vendor/@popperjs/core/lib/utils/computeOffsets.es.js +41 -36
- package/vendor/@popperjs/core/lib/utils/debounce.es.js +11 -7
- package/vendor/@popperjs/core/lib/utils/detectOverflow.es.js +42 -28
- package/vendor/@popperjs/core/lib/utils/expandToHashMap.es.js +5 -4
- package/vendor/@popperjs/core/lib/utils/getAltAxis.es.js +3 -3
- package/vendor/@popperjs/core/lib/utils/getBasePlacement.es.js +3 -3
- package/vendor/@popperjs/core/lib/utils/getFreshSideObject.es.js +2 -2
- package/vendor/@popperjs/core/lib/utils/getMainAxisFromPlacement.es.js +3 -3
- package/vendor/@popperjs/core/lib/utils/getOppositePlacement.es.js +5 -5
- package/vendor/@popperjs/core/lib/utils/getOppositeVariationPlacement.es.js +5 -5
- package/vendor/@popperjs/core/lib/utils/getVariation.es.js +3 -3
- package/vendor/@popperjs/core/lib/utils/math.es.js +6 -4
- package/vendor/@popperjs/core/lib/utils/mergeByName.es.js +11 -10
- package/vendor/@popperjs/core/lib/utils/mergePaddingObject.es.js +4 -4
- package/vendor/@popperjs/core/lib/utils/orderModifiers.es.js +30 -22
- package/vendor/@popperjs/core/lib/utils/rectToClientRect.es.js +7 -7
- package/vendor/@popperjs/core/lib/utils/userAgent.es.js +9 -6
- package/vendor/@popperjs/core/lib/utils/within.es.js +8 -8
- package/vendor/@tiptap/core/dist/index.es.js +3494 -2000
- package/vendor/@tiptap/extension-bold/dist/index.es.js +29 -19
- package/vendor/@tiptap/extension-bubble-menu/dist/index.es.js +145 -71
- package/vendor/@tiptap/extension-bullet-list/dist/index.es.js +32 -19
- package/vendor/@tiptap/extension-code/dist/index.es.js +22 -14
- package/vendor/@tiptap/extension-document/dist/index.es.js +4 -4
- package/vendor/@tiptap/extension-floating-menu/dist/index.es.js +106 -51
- package/vendor/@tiptap/extension-heading/dist/index.es.js +38 -22
- package/vendor/@tiptap/extension-history/dist/index.es.js +11 -7
- package/vendor/@tiptap/extension-image/dist/index.es.js +20 -17
- package/vendor/@tiptap/extension-italic/dist/index.es.js +28 -18
- package/vendor/@tiptap/extension-link/dist/index.es.js +236 -147
- package/vendor/@tiptap/extension-list-item/dist/index.es.js +6 -6
- package/vendor/@tiptap/extension-mention/dist/index.es.js +98 -63
- package/vendor/@tiptap/extension-ordered-list/dist/index.es.js +38 -25
- package/vendor/@tiptap/extension-paragraph/dist/index.es.js +8 -6
- package/vendor/@tiptap/extension-placeholder/dist/index.es.js +34 -27
- package/vendor/@tiptap/extension-text/dist/index.es.js +3 -3
- package/vendor/@tiptap/extension-underline/dist/index.es.js +16 -10
- package/vendor/@tiptap/suggestion/dist/index.es.js +174 -90
- package/vendor/@tiptap/vue-3/dist/index.es.js +287 -188
- package/vendor/@wangs-ui/core/components/p-BU8h34na.es.js +17 -14
- package/vendor/@wangs-ui/core/components/p-C5lMEBcj.es.js +69 -55
- package/vendor/@wangs-ui/core/components/p-CKYwZoTo.es.js +26 -22
- package/vendor/@wangs-ui/core/components/p-CsoK-EWG.es.js +147 -102
- package/vendor/@wangs-ui/core/components/p-DPHEi31J.es.js +102 -77
- package/vendor/@wangs-ui/core/components/p-DTTCzifR.es.js +1298 -551
- package/vendor/@wangs-ui/core/components/p-Duri5p90.es.js +60 -49
- package/vendor/@wangs-ui/core/components/wangs-button.es.js +19 -15
- package/vendor/@wangs-ui/core/components/wangs-icon.es.js +3 -3
- package/vendor/@wangs-ui/core/components/wangs-input-otp.es.js +3 -3
- package/vendor/@wangs-ui/core/components/wangs-tab-menu.es.js +3 -3
- package/vendor/@wangs-ui/core/dist/esm/index-DCkh3cGv.es.js +116 -102
- package/vendor/@wangs-ui/vue/dist/index.es.js +77 -77
- package/vendor/base64toblob/base64toblob.es.js +31 -15
- package/vendor/highlight.js/es/core.es.js +5 -5
- package/vendor/highlight.js/es/languages/javascript.es.js +237 -193
- package/vendor/highlight.js/es/languages/json.es.js +18 -15
- package/vendor/highlight.js/es/languages/typescript.es.js +288 -228
- package/vendor/highlight.js/es/languages/vbscript-html.es.js +2 -2
- package/vendor/highlight.js/lib/core.es.js +1144 -666
- package/vendor/linkifyjs/dist/linkify.es.es.js +858 -405
- package/vendor/lodash/_Symbol.es.js +11 -8
- package/vendor/lodash/_baseGetTag.es.js +19 -12
- package/vendor/lodash/_baseTrim.es.js +13 -10
- package/vendor/lodash/_freeGlobal.es.js +10 -8
- package/vendor/lodash/_getRawTag.es.js +28 -15
- package/vendor/lodash/_objectToString.es.js +12 -9
- package/vendor/lodash/_root.es.js +12 -8
- package/vendor/lodash/_trimmedEndIndex.es.js +14 -11
- package/vendor/lodash/debounce.es.js +92 -54
- package/vendor/lodash/isObject.es.js +11 -9
- package/vendor/lodash/isObjectLike.es.js +10 -8
- package/vendor/lodash/isSymbol.es.js +14 -11
- package/vendor/lodash/now.es.js +12 -9
- package/vendor/lodash/throttle.es.js +25 -17
- package/vendor/lodash/toNumber.es.js +33 -23
- package/vendor/lodash-es/_DataView.es.js +4 -4
- package/vendor/lodash-es/_Hash.es.js +17 -16
- package/vendor/lodash-es/_ListCache.es.js +17 -16
- package/vendor/lodash-es/_Map.es.js +4 -4
- package/vendor/lodash-es/_MapCache.es.js +17 -16
- package/vendor/lodash-es/_Promise.es.js +4 -4
- package/vendor/lodash-es/_Set.es.js +4 -4
- package/vendor/lodash-es/_SetCache.es.js +12 -10
- package/vendor/lodash-es/_Stack.es.js +15 -15
- package/vendor/lodash-es/_Symbol.es.js +3 -3
- package/vendor/lodash-es/_Uint8Array.es.js +3 -3
- package/vendor/lodash-es/_WeakMap.es.js +4 -4
- package/vendor/lodash-es/_arrayEach.es.js +9 -5
- package/vendor/lodash-es/_arrayFilter.es.js +9 -6
- package/vendor/lodash-es/_arrayLikeKeys.es.js +21 -17
- package/vendor/lodash-es/_arrayPush.es.js +7 -5
- package/vendor/lodash-es/_arraySome.es.js +9 -6
- package/vendor/lodash-es/_assignValue.es.js +10 -7
- package/vendor/lodash-es/_assocIndexOf.es.js +9 -6
- package/vendor/lodash-es/_baseAssignValue.es.js +13 -9
- package/vendor/lodash-es/_baseClone.es.js +67 -49
- package/vendor/lodash-es/_baseCreate.es.js +15 -11
- package/vendor/lodash-es/_baseGetAllKeys.es.js +6 -6
- package/vendor/lodash-es/_baseGetTag.es.js +11 -7
- package/vendor/lodash-es/_baseIsArguments.es.js +6 -6
- package/vendor/lodash-es/_baseIsEqual.es.js +11 -5
- package/vendor/lodash-es/_baseIsEqualDeep.es.js +39 -26
- package/vendor/lodash-es/_baseIsMap.es.js +6 -6
- package/vendor/lodash-es/_baseIsNative.es.js +18 -12
- package/vendor/lodash-es/_baseIsSet.es.js +6 -6
- package/vendor/lodash-es/_baseIsTypedArray.es.js +11 -9
- package/vendor/lodash-es/_baseKeys.es.js +16 -11
- package/vendor/lodash-es/_baseTimes.es.js +7 -5
- package/vendor/lodash-es/_baseTrim.es.js +5 -5
- package/vendor/lodash-es/_baseUnary.es.js +4 -4
- package/vendor/lodash-es/_cacheHas.es.js +3 -3
- package/vendor/lodash-es/_cloneArrayBuffer.es.js +6 -5
- package/vendor/lodash-es/_cloneBuffer.es.js +11 -6
- package/vendor/lodash-es/_cloneDataView.es.js +5 -5
- package/vendor/lodash-es/_cloneRegExp.es.js +6 -5
- package/vendor/lodash-es/_cloneSymbol.es.js +5 -5
- package/vendor/lodash-es/_cloneTypedArray.es.js +5 -5
- package/vendor/lodash-es/_coreJsData.es.js +3 -3
- package/vendor/lodash-es/_defineProperty.es.js +7 -6
- package/vendor/lodash-es/_equalArrays.es.js +38 -28
- package/vendor/lodash-es/_equalByTag.es.js +55 -41
- package/vendor/lodash-es/_equalObjects.es.js +42 -28
- package/vendor/lodash-es/_freeGlobal.es.js +2 -2
- package/vendor/lodash-es/_getAllKeys.es.js +6 -6
- package/vendor/lodash-es/_getMapData.es.js +5 -5
- package/vendor/lodash-es/_getNative.es.js +6 -6
- package/vendor/lodash-es/_getPrototype.es.js +3 -3
- package/vendor/lodash-es/_getRawTag.es.js +20 -10
- package/vendor/lodash-es/_getSymbols.es.js +15 -8
- package/vendor/lodash-es/_getTag.es.js +31 -25
- package/vendor/lodash-es/_getValue.es.js +3 -3
- package/vendor/lodash-es/_hashClear.es.js +5 -4
- package/vendor/lodash-es/_hashDelete.es.js +5 -4
- package/vendor/lodash-es/_hashGet.es.js +11 -9
- package/vendor/lodash-es/_hashHas.es.js +7 -6
- package/vendor/lodash-es/_hashSet.es.js +8 -6
- package/vendor/lodash-es/_initCloneArray.es.js +10 -5
- package/vendor/lodash-es/_initCloneByTag.es.js +39 -38
- package/vendor/lodash-es/_initCloneObject.es.js +6 -6
- package/vendor/lodash-es/_isIndex.es.js +7 -5
- package/vendor/lodash-es/_isKeyable.es.js +4 -4
- package/vendor/lodash-es/_isMasked.es.js +7 -7
- package/vendor/lodash-es/_isPrototype.es.js +5 -5
- package/vendor/lodash-es/_listCacheClear.es.js +4 -3
- package/vendor/lodash-es/_listCacheDelete.es.js +17 -9
- package/vendor/lodash-es/_listCacheGet.es.js +5 -5
- package/vendor/lodash-es/_listCacheHas.es.js +4 -4
- package/vendor/lodash-es/_listCacheSet.es.js +11 -5
- package/vendor/lodash-es/_mapCacheClear.es.js +10 -9
- package/vendor/lodash-es/_mapCacheDelete.es.js +6 -5
- package/vendor/lodash-es/_mapCacheGet.es.js +4 -4
- package/vendor/lodash-es/_mapCacheHas.es.js +4 -4
- package/vendor/lodash-es/_mapCacheSet.es.js +7 -5
- package/vendor/lodash-es/_mapToArray.es.js +7 -6
- package/vendor/lodash-es/_nativeCreate.es.js +3 -3
- package/vendor/lodash-es/_nativeKeys.es.js +3 -3
- package/vendor/lodash-es/_nodeUtil.es.js +13 -6
- package/vendor/lodash-es/_objectToString.es.js +5 -4
- package/vendor/lodash-es/_overArg.es.js +4 -4
- package/vendor/lodash-es/_root.es.js +4 -3
- package/vendor/lodash-es/_setCacheAdd.es.js +5 -4
- package/vendor/lodash-es/_setCacheHas.es.js +3 -3
- package/vendor/lodash-es/_setToArray.es.js +7 -6
- package/vendor/lodash-es/_stackClear.es.js +5 -4
- package/vendor/lodash-es/_stackDelete.es.js +5 -4
- package/vendor/lodash-es/_stackGet.es.js +3 -3
- package/vendor/lodash-es/_stackHas.es.js +3 -3
- package/vendor/lodash-es/_stackSet.es.js +18 -13
- package/vendor/lodash-es/_toSource.es.js +9 -8
- package/vendor/lodash-es/_trimmedEndIndex.es.js +7 -6
- package/vendor/lodash-es/cloneDeep.es.js +5 -5
- package/vendor/lodash-es/debounce.es.js +84 -49
- package/vendor/lodash-es/eq.es.js +3 -3
- package/vendor/lodash-es/isArguments.es.js +9 -6
- package/vendor/lodash-es/isArray.es.js +2 -2
- package/vendor/lodash-es/isArrayLike.es.js +5 -5
- package/vendor/lodash-es/isBuffer.es.js +9 -4
- package/vendor/lodash-es/isEqual.es.js +4 -4
- package/vendor/lodash-es/isFunction.es.js +10 -9
- package/vendor/lodash-es/isLength.es.js +4 -4
- package/vendor/lodash-es/isMap.es.js +6 -5
- package/vendor/lodash-es/isObject.es.js +4 -4
- package/vendor/lodash-es/isObjectLike.es.js +3 -3
- package/vendor/lodash-es/isSet.es.js +6 -5
- package/vendor/lodash-es/isSymbol.es.js +6 -6
- package/vendor/lodash-es/isTypedArray.es.js +6 -5
- package/vendor/lodash-es/keys.es.js +6 -6
- package/vendor/lodash-es/now.es.js +4 -4
- package/vendor/lodash-es/stubArray.es.js +2 -2
- package/vendor/lodash-es/stubFalse.es.js +3 -3
- package/vendor/lodash-es/toNumber.es.js +25 -18
- package/vendor/lodash-es/toString.es.js +2 -2
- package/vendor/lodash-es/uniqueId.es.js +6 -6
- package/vendor/orderedmap/dist/index.es.js +65 -49
- package/vendor/primevue/api/api.esm.es.js +214 -121
- package/vendor/primevue/avatar/avatar.esm.es.js +44 -41
- package/vendor/primevue/avatar/style/avatarstyle.esm.es.js +12 -11
- package/vendor/primevue/avatargroup/avatargroup.esm.es.js +17 -16
- package/vendor/primevue/avatargroup/style/avatargroupstyle.esm.es.js +6 -5
- package/vendor/primevue/badge/badge.esm.es.js +21 -20
- package/vendor/primevue/badge/style/badgestyle.esm.es.js +19 -18
- package/vendor/primevue/base/style/basestyle.esm.es.js +88 -99
- package/vendor/primevue/basecomponent/basecomponent.esm.es.js +327 -261
- package/vendor/primevue/basedirective/basedirective.esm.es.js +257 -186
- package/vendor/primevue/baseicon/baseicon.esm.es.js +55 -49
- package/vendor/primevue/baseicon/style/baseiconstyle.esm.es.js +5 -35
- package/vendor/primevue/button/button.esm.es.js +76 -72
- package/vendor/primevue/button/style/buttonstyle.esm.es.js +46 -39
- package/vendor/primevue/card/card.esm.es.js +30 -29
- package/vendor/primevue/card/style/cardstyle.esm.es.js +6 -5
- package/vendor/primevue/checkbox/checkbox.esm.es.js +109 -101
- package/vendor/primevue/checkbox/style/checkboxstyle.esm.es.js +12 -11
- package/vendor/primevue/config/config.esm.es.js +76 -58
- package/vendor/primevue/dialog/dialog.esm.es.js +421 -281
- package/vendor/primevue/dialog/style/dialogstyle.esm.es.js +26 -22
- package/vendor/primevue/dropdown/dropdown.esm.es.js +956 -742
- package/vendor/primevue/dropdown/style/dropdownstyle.esm.es.js +33 -31
- package/vendor/primevue/fileupload/fileupload.esm.es.js +559 -450
- package/vendor/primevue/fileupload/style/fileuploadstyle.esm.es.js +14 -13
- package/vendor/primevue/focustrap/focustrap.esm.es.js +128 -90
- package/vendor/primevue/focustrap/style/focustrapstyle.esm.es.js +2 -2
- package/vendor/primevue/icons/angledoubleleft/index.esm.es.js +13 -11
- package/vendor/primevue/icons/angledoubleright/index.esm.es.js +13 -11
- package/vendor/primevue/icons/angledown/index.esm.es.js +13 -11
- package/vendor/primevue/icons/angleleft/index.esm.es.js +13 -11
- package/vendor/primevue/icons/angleright/index.esm.es.js +13 -11
- package/vendor/primevue/icons/angleup/index.esm.es.js +13 -11
- package/vendor/primevue/icons/blank/index.esm.es.js +13 -11
- package/vendor/primevue/icons/check/index.esm.es.js +13 -11
- package/vendor/primevue/icons/chevrondown/index.esm.es.js +13 -11
- package/vendor/primevue/icons/exclamationtriangle/index.esm.es.js +17 -13
- package/vendor/primevue/icons/eye/index.esm.es.js +13 -11
- package/vendor/primevue/icons/eyeslash/index.esm.es.js +13 -11
- package/vendor/primevue/icons/infocircle/index.esm.es.js +13 -11
- package/vendor/primevue/icons/plus/index.esm.es.js +13 -11
- package/vendor/primevue/icons/refresh/index.esm.es.js +13 -11
- package/vendor/primevue/icons/search/index.esm.es.js +13 -11
- package/vendor/primevue/icons/searchminus/index.esm.es.js +13 -11
- package/vendor/primevue/icons/searchplus/index.esm.es.js +13 -11
- package/vendor/primevue/icons/spinner/index.esm.es.js +13 -11
- package/vendor/primevue/icons/times/index.esm.es.js +13 -11
- package/vendor/primevue/icons/timescircle/index.esm.es.js +13 -11
- package/vendor/primevue/icons/undo/index.esm.es.js +13 -11
- package/vendor/primevue/icons/upload/index.esm.es.js +13 -11
- package/vendor/primevue/icons/windowmaximize/index.esm.es.js +13 -11
- package/vendor/primevue/icons/windowminimize/index.esm.es.js +13 -11
- package/vendor/primevue/image/image.esm.es.js +280 -235
- package/vendor/primevue/image/style/imagestyle.esm.es.js +18 -17
- package/vendor/primevue/inputgroup/inputgroup.esm.es.js +17 -16
- package/vendor/primevue/inputgroup/style/inputgroupstyle.esm.es.js +6 -5
- package/vendor/primevue/inputgroupaddon/inputgroupaddon.esm.es.js +17 -16
- package/vendor/primevue/inputgroupaddon/style/inputgroupaddonstyle.esm.es.js +6 -5
- package/vendor/primevue/inputnumber/inputnumber.esm.es.js +834 -566
- package/vendor/primevue/inputnumber/style/inputnumberstyle.esm.es.js +23 -22
- package/vendor/primevue/inputtext/inputtext.esm.es.js +32 -30
- package/vendor/primevue/inputtext/style/inputtextstyle.esm.es.js +13 -12
- package/vendor/primevue/menu/menu.esm.es.js +402 -304
- package/vendor/primevue/menu/style/menustyle.esm.es.js +14 -13
- package/vendor/primevue/message/message.esm.es.js +126 -112
- package/vendor/primevue/message/style/messagestyle.esm.es.js +9 -8
- package/vendor/primevue/multiselect/multiselect.esm.es.js +1083 -835
- package/vendor/primevue/multiselect/style/multiselectstyle.esm.es.js +38 -36
- package/vendor/primevue/overlayeventbus/overlayeventbus.esm.es.js +3 -3
- package/vendor/primevue/overlaypanel/overlaypanel.esm.es.js +275 -169
- package/vendor/primevue/overlaypanel/style/overlaypanelstyle.esm.es.js +9 -8
- package/vendor/primevue/paginator/paginator.esm.es.js +513 -469
- package/vendor/primevue/paginator/style/paginatorstyle.esm.es.js +50 -43
- package/vendor/primevue/password/password.esm.es.js +306 -233
- package/vendor/primevue/password/style/passwordstyle.esm.es.js +26 -24
- package/vendor/primevue/portal/portal.esm.es.js +17 -17
- package/vendor/primevue/progressbar/progressbar.esm.es.js +37 -35
- package/vendor/primevue/progressbar/style/progressbarstyle.esm.es.js +10 -9
- package/vendor/primevue/ripple/ripple.esm.es.js +90 -62
- package/vendor/primevue/ripple/style/ripplestyle.esm.es.js +6 -5
- package/vendor/primevue/selectbutton/selectbutton.esm.es.js +213 -167
- package/vendor/primevue/selectbutton/style/selectbuttonstyle.esm.es.js +14 -13
- package/vendor/primevue/skeleton/skeleton.esm.es.js +28 -26
- package/vendor/primevue/skeleton/style/skeletonstyle.esm.es.js +13 -11
- package/vendor/primevue/textarea/style/textareastyle.esm.es.js +12 -11
- package/vendor/primevue/textarea/textarea.esm.es.js +49 -33
- package/vendor/primevue/timeline/style/timelinestyle.esm.es.js +9 -8
- package/vendor/primevue/timeline/timeline.esm.es.js +53 -52
- package/vendor/primevue/toast/style/toaststyle.esm.es.js +54 -46
- package/vendor/primevue/toast/toast.esm.es.js +309 -260
- package/vendor/primevue/toasteventbus/toasteventbus.esm.es.js +3 -3
- package/vendor/primevue/toastservice/toastservice.esm.es.js +16 -15
- package/vendor/primevue/tooltip/style/tooltipstyle.esm.es.js +6 -5
- package/vendor/primevue/tooltip/tooltip.esm.es.js +383 -186
- package/vendor/primevue/usestyle/usestyle.esm.es.js +94 -64
- package/vendor/primevue/usetoast/usetoast.esm.es.js +9 -8
- package/vendor/primevue/utils/utils.esm.es.js +1078 -772
- package/vendor/primevue/virtualscroller/style/virtualscrollerstyle.esm.es.js +5 -67
- package/vendor/primevue/virtualscroller/virtualscroller.esm.es.js +655 -428
- package/vendor/prosemirror-commands/dist/index.es.js +454 -316
- package/vendor/prosemirror-history/dist/index.es.js +286 -178
- package/vendor/prosemirror-keymap/dist/index.es.js +68 -48
- package/vendor/prosemirror-model/dist/index.es.js +1905 -1436
- package/vendor/prosemirror-schema-list/dist/index.es.js +115 -73
- package/vendor/prosemirror-state/dist/index.es.js +467 -353
- package/vendor/prosemirror-transform/dist/index.es.js +1146 -829
- package/vendor/prosemirror-view/dist/index.es.js +4127 -2719
- package/vendor/rope-sequence/dist/index.es.js +165 -82
- package/vendor/simplebar-core/dist/index.es.js +670 -242
- package/vendor/simplebar-vue/dist/simplebar-vue.esm.es.js +73 -60
- package/vendor/single-spa/lib/es2015/esm/single-spa.min.es.js +511 -510
- package/vendor/tippy.js/dist/tippy.esm.es.js +971 -525
- package/vendor/vee-validate/dist/vee-validate.esm.es.js +1830 -1097
- package/vendor/vue-advanced-cropper/dist/index.esm-bundler.es.js +740 -738
- package/vendor/w3c-keyname/index.es.js +25 -13
- package/wangsvue.es.js +167 -208
- package/wangsvue.esm.browser.js +49417 -48026
- package/wangsvue.system.js +67600 -234
- package/api/index.es.js +0 -149
- package/apiitem/index.es.js +0 -611
- package/assignmember/index.es.js +0 -434
- package/attachment/index.es.js +0 -118
- package/attachmentchangelog/index.es.js +0 -79
- package/attachmentitem/index.es.js +0 -231
- package/attachmentthumbnail/index.es.js +0 -83
- package/changelog/index.d.ts +0 -164
- package/changelog/index.es.js +0 -85
- package/changelogfilter/index.es.js +0 -113
- package/changelogpage/index.d.ts +0 -184
- package/changelogpage/index.es.js +0 -176
- package/checklist/index.es.js +0 -571
- package/checklistchangelog/index.es.js +0 -85
- package/comment/index.d.ts +0 -187
- package/comment/index.es.js +0 -267
- package/commentblock/index.es.js +0 -337
- package/confirmdeploy/index.es.js +0 -64
- package/dependencycol/index.es.js +0 -32
- package/description/index.es.js +0 -135
- package/descriptiontab/index.es.js +0 -30
- package/detailmember/index.d.ts +0 -77
- package/detailmember/index.es.js +0 -32
- package/detailmemberadmin/index.es.js +0 -210
- package/detailmemberleader/index.es.js +0 -164
- package/detailmemberlog/index.es.js +0 -117
- package/detailsprint/index.d.ts +0 -86
- package/detailsprint/index.es.js +0 -414
- package/dialogaddattachment/index.es.js +0 -273
- package/dialogaddchecklist/index.es.js +0 -120
- package/dialogaddeditapi/index.es.js +0 -87
- package/dialogaddpbi/index.es.js +0 -197
- package/dialogadjustmenttask/index.es.js +0 -484
- package/dialogadjustmenttaskheader/index.es.js +0 -193
- package/dialogapichangelog/index.es.js +0 -83
- package/dialogassignmember/index.es.js +0 -171
- package/dialogconfirmapproval/index.es.js +0 -54
- package/dialogconfirmchecklist/index.es.js +0 -189
- package/dialogconfirmdeletetask/index.es.js +0 -70
- package/dialogconfirmdeletetaskpermanently/index.es.js +0 -50
- package/dialogconfirmedit/index.es.js +0 -50
- package/dialogconfirmfinishtask/index.es.js +0 -50
- package/dialogconfirmrestoretask/index.es.js +0 -46
- package/dialogconfirmsprint/index.es.js +0 -42
- package/dialogcopyapi/index.es.js +0 -130
- package/dialogcustomdependency/index.es.js +0 -55
- package/dialogdetailchecklisttemplate/index.es.js +0 -214
- package/dialogdetailcomponent/index.es.js +0 -121
- package/dialogdetailpbi/index.es.js +0 -192
- package/dialogfinishreview/index.es.js +0 -126
- package/dialogimprovementtask/index.es.js +0 -191
- package/dialogmemberadmin/index.es.js +0 -93
- package/dialogpreparepbi/index.es.js +0 -93
- package/dialogpriorityvalue/index.es.js +0 -85
- package/dialogreportbug/index.es.js +0 -207
- package/dialogreviewleader/index.es.js +0 -280
- package/dialogsavechecklisttemplate/index.es.js +0 -127
- package/dialogselectproject/index.es.js +0 -69
- package/dialogsetduration/index.es.js +0 -109
- package/dialogsettasklink/index.es.js +0 -153
- package/dialogtestapi/index.es.js +0 -389
- package/eventlogtab/index.es.js +0 -50
- package/infotasktab/index.es.js +0 -186
- package/inputadditional/index.es.js +0 -62
- package/inputinitialname/index.d.ts +0 -118
- package/inputinitialname/index.es.js +0 -95
- package/inputrepositoryname/index.d.ts +0 -86
- package/inputrepositoryname/index.es.js +0 -41
- package/isrequiredtext/index.es.js +0 -16
- package/legend/index.es.js +0 -727
- package/legendlist/index.es.js +0 -33
- package/loading-page-BrQattYE.js +0 -1
- package/loading-page-CgfbWppy.js +0 -1
- package/loading-page-CoC9UhfC.js +0 -4
- package/loading-page-CoXtqoc9.js +0 -4
- package/loading-page-DbLuqCHa.js +0 -1
- package/loading-page-f8D03l3G.js +0 -4
- package/loading-plane-CgfbWppy.js +0 -1
- package/loading-plane-CoXtqoc9.js +0 -4
- package/loading-table-Bdr9ZhtP.js +0 -1
- package/loading-table-ByUoWqUo.js +0 -4
- package/loading-table-BygEMzFM.js +0 -4
- package/loading-table-BzrSQlA0.js +0 -1
- package/loading-table-D9bw9OcI.js +0 -4
- package/loading-table-chOgXi94.js +0 -1
- package/no-data-CTKux8RI.js +0 -4
- package/no-data-Cgze_Rvp.js +0 -1
- package/no-data-DLHO1L_u.js +0 -4
- package/no-data-Dep79CBh.js +0 -1
- package/no-data-g0dJCy2p.js +0 -4
- package/no-data-y1X5WtcQ.js +0 -1
- package/notificationitem/index.d.ts +0 -107
- package/notificationitem/index.es.js +0 -333
- package/reviewitem/index.es.js +0 -65
- package/reviewtab/index.es.js +0 -44
- package/services/calendar.service.es.js +0 -32
- package/sonarqubesummary/index.es.js +0 -234
- package/sprintsummary/index.es.js +0 -73
- package/summaryaccordion/index.d.ts +0 -121
- package/summaryaccordion/index.es.js +0 -365
- package/taskdependency/index.es.js +0 -686
- package/taskdetail/index.d.ts +0 -82
- package/taskdetail/index.es.js +0 -491
- package/taskdetailpbi/index.d.ts +0 -35
- package/taskdetailpbi/index.es.js +0 -172
- package/taskdetailunassignedpbi/index.es.js +0 -261
- package/tasklink/index.es.js +0 -257
- package/tasklinkchangelog/index.es.js +0 -93
- package/tasklist/index.es.js +0 -92
- package/taskmore/index.es.js +0 -52
- package/taskstatusbadge/index.es.js +0 -18
- package/tasktable/index.d.ts +0 -87
- package/tasktable/index.es.js +0 -832
- package/ticket/index.es.js +0 -151
- package/tooltipspan/index.es.js +0 -30
- package/utils/updateSprintStatus.util.es.js +0 -17
- package/valueformdatainput/index.es.js +0 -70
- package/workcalendar/index.es.js +0 -351
|
@@ -1,448 +1,867 @@
|
|
|
1
|
-
import { defineComponent
|
|
2
|
-
import
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { s as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { _ as
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
1
|
+
import { defineComponent, onBeforeMount, shallowRef, onMounted, reactive, inject, computed, watch, createBlock, openBlock, withCtx, createElementVNode, withDirectives, createVNode, unref, normalizeClass, toDisplayString, normalizeProps, guardReactiveProps, vShow, nextTick } from "vue";
|
|
2
|
+
import axios from "axios";
|
|
3
|
+
import { u as useField } from "../vendor/vee-validate/dist/vee-validate.esm.es.js";
|
|
4
|
+
import { u as useWangsVueConfig } from "../plugins/WangsVue.es.js";
|
|
5
|
+
import { s as script } from "../vendor/primevue/dropdown/dropdown.esm.es.js";
|
|
6
|
+
import { _ as _sfc_main$1 } from "../fieldwrapper/index.es.js";
|
|
7
|
+
import { _ as _sfc_main$2 } from "../icon/index.es.js";
|
|
8
|
+
import { _ as _sfc_main$3 } from "../inputtext/index.es.js";
|
|
9
|
+
import { _ as _sfc_main$4 } from "../validatormessage/index.es.js";
|
|
10
|
+
const Andorra = "Andorra";
|
|
11
|
+
const Dubai = "United Arab Emirates";
|
|
12
|
+
const Kabul = "Afghanistan";
|
|
13
|
+
const Tirane = "Albania";
|
|
14
|
+
const Yerevan = "Armenia";
|
|
15
|
+
const Casey = "Antarctica";
|
|
16
|
+
const Davis = "Antarctica";
|
|
17
|
+
const Mawson = "Antarctica";
|
|
18
|
+
const Palmer = "Antarctica";
|
|
19
|
+
const Rothera = "Antarctica";
|
|
20
|
+
const Troll = "Antarctica";
|
|
21
|
+
const Vostok = "Antarctica";
|
|
22
|
+
const Buenos_Aires = "Argentina";
|
|
23
|
+
const Cordoba = "Argentina";
|
|
24
|
+
const Salta = "Argentina";
|
|
25
|
+
const Jujuy = "Argentina";
|
|
26
|
+
const Tucuman = "Argentina";
|
|
27
|
+
const Catamarca = "Argentina";
|
|
28
|
+
const La_Rioja = "Argentina";
|
|
29
|
+
const San_Juan = "Argentina";
|
|
30
|
+
const Mendoza = "Argentina";
|
|
31
|
+
const San_Luis = "Argentina";
|
|
32
|
+
const Rio_Gallegos = "Argentina";
|
|
33
|
+
const Ushuaia = "Argentina";
|
|
34
|
+
const Pago_Pago = "Samoa (American)";
|
|
35
|
+
const Vienna = "Austria";
|
|
36
|
+
const Lord_Howe = "Australia";
|
|
37
|
+
const Macquarie = "Australia";
|
|
38
|
+
const Hobart = "Australia";
|
|
39
|
+
const Melbourne = "Australia";
|
|
40
|
+
const Sydney = "Australia";
|
|
41
|
+
const Broken_Hill = "Australia";
|
|
42
|
+
const Brisbane = "Australia";
|
|
43
|
+
const Lindeman = "Australia";
|
|
44
|
+
const Adelaide = "Australia";
|
|
45
|
+
const Darwin = "Australia";
|
|
46
|
+
const Perth = "Australia";
|
|
47
|
+
const Eucla = "Australia";
|
|
48
|
+
const Baku = "Azerbaijan";
|
|
49
|
+
const Barbados = "Barbados";
|
|
50
|
+
const Dhaka = "Bangladesh";
|
|
51
|
+
const Brussels = "Belgium";
|
|
52
|
+
const Sofia = "Bulgaria";
|
|
53
|
+
const Bermuda = "Bermuda";
|
|
54
|
+
const La_Paz = "Bolivia";
|
|
55
|
+
const Noronha = "Brazil";
|
|
56
|
+
const Belem = "Brazil";
|
|
57
|
+
const Fortaleza = "Brazil";
|
|
58
|
+
const Recife = "Brazil";
|
|
59
|
+
const Araguaina = "Brazil";
|
|
60
|
+
const Maceio = "Brazil";
|
|
61
|
+
const Bahia = "Brazil";
|
|
62
|
+
const Sao_Paulo = "Brazil";
|
|
63
|
+
const Campo_Grande = "Brazil";
|
|
64
|
+
const Cuiaba = "Brazil";
|
|
65
|
+
const Santarem = "Brazil";
|
|
66
|
+
const Porto_Velho = "Brazil";
|
|
67
|
+
const Boa_Vista = "Brazil";
|
|
68
|
+
const Manaus = "Brazil";
|
|
69
|
+
const Eirunepe = "Brazil";
|
|
70
|
+
const Rio_Branco = "Brazil";
|
|
71
|
+
const Thimphu = "Bhutan";
|
|
72
|
+
const Minsk = "Belarus";
|
|
73
|
+
const Belize = "Belize";
|
|
74
|
+
const St_Johns = "Canada";
|
|
75
|
+
const Halifax = "Canada";
|
|
76
|
+
const Glace_Bay = "Canada";
|
|
77
|
+
const Moncton = "Canada";
|
|
78
|
+
const Goose_Bay = "Canada";
|
|
79
|
+
const Toronto = "Canada";
|
|
80
|
+
const Iqaluit = "Canada";
|
|
81
|
+
const Winnipeg = "Canada";
|
|
82
|
+
const Resolute = "Canada";
|
|
83
|
+
const Rankin_Inlet = "Canada";
|
|
84
|
+
const Regina = "Canada";
|
|
85
|
+
const Swift_Current = "Canada";
|
|
86
|
+
const Edmonton = "Canada";
|
|
87
|
+
const Cambridge_Bay = "Canada";
|
|
88
|
+
const Inuvik = "Canada";
|
|
89
|
+
const Dawson_Creek = "Canada";
|
|
90
|
+
const Fort_Nelson = "Canada";
|
|
91
|
+
const Whitehorse = "Canada";
|
|
92
|
+
const Dawson = "Canada";
|
|
93
|
+
const Vancouver = "Canada";
|
|
94
|
+
const Zurich = "Switzerland";
|
|
95
|
+
const Abidjan = "Côte d'Ivoire";
|
|
96
|
+
const Rarotonga = "Cook Islands";
|
|
97
|
+
const Santiago = "Chile";
|
|
98
|
+
const Coyhaique = "Chile";
|
|
99
|
+
const Punta_Arenas = "Chile";
|
|
100
|
+
const Easter = "Chile";
|
|
101
|
+
const Shanghai = "China";
|
|
102
|
+
const Urumqi = "China";
|
|
103
|
+
const Bogota = "Colombia";
|
|
104
|
+
const Costa_Rica = "Costa Rica";
|
|
105
|
+
const Havana = "Cuba";
|
|
106
|
+
const Cape_Verde = "Cape Verde";
|
|
107
|
+
const Nicosia = "Cyprus";
|
|
108
|
+
const Famagusta = "Cyprus";
|
|
109
|
+
const Prague = "Czech Republic";
|
|
110
|
+
const Berlin = "Germany";
|
|
111
|
+
const Santo_Domingo = "Dominican Republic";
|
|
112
|
+
const Algiers = "Algeria";
|
|
113
|
+
const Guayaquil = "Ecuador";
|
|
114
|
+
const Galapagos = "Ecuador";
|
|
115
|
+
const Tallinn = "Estonia";
|
|
116
|
+
const Cairo = "Egypt";
|
|
117
|
+
const El_Aaiun = "Western Sahara";
|
|
118
|
+
const Madrid = "Spain";
|
|
119
|
+
const Ceuta = "Spain";
|
|
120
|
+
const Canary = "Spain";
|
|
121
|
+
const Helsinki = "Finland";
|
|
122
|
+
const Fiji = "Fiji";
|
|
123
|
+
const Stanley = "Falkland Islands";
|
|
124
|
+
const Kosrae = "Micronesia";
|
|
125
|
+
const Faroe = "Faroe Islands";
|
|
126
|
+
const Paris = "France";
|
|
127
|
+
const London = "Britain (UK)";
|
|
128
|
+
const Tbilisi = "Georgia";
|
|
129
|
+
const Cayenne = "French Guiana";
|
|
130
|
+
const Gibraltar = "Gibraltar";
|
|
131
|
+
const Nuuk = "Greenland";
|
|
132
|
+
const Danmarkshavn = "Greenland";
|
|
133
|
+
const Scoresbysund = "Greenland";
|
|
134
|
+
const Thule = "Greenland";
|
|
135
|
+
const Athens = "Greece";
|
|
136
|
+
const South_Georgia = "South Georgia & the South Sandwich Islands";
|
|
137
|
+
const Guatemala = "Guatemala";
|
|
138
|
+
const Guam = "Guam";
|
|
139
|
+
const Bissau = "Guinea-Bissau";
|
|
140
|
+
const Guyana = "Guyana";
|
|
141
|
+
const Hong_Kong = "Hong Kong";
|
|
142
|
+
const Tegucigalpa = "Honduras";
|
|
143
|
+
const Budapest = "Hungary";
|
|
144
|
+
const Jakarta = "Indonesia";
|
|
145
|
+
const Pontianak = "Indonesia";
|
|
146
|
+
const Makassar = "Indonesia";
|
|
147
|
+
const Jayapura = "Indonesia";
|
|
148
|
+
const Dublin = "Ireland";
|
|
149
|
+
const Jerusalem = "Israel";
|
|
150
|
+
const Kolkata = "India";
|
|
151
|
+
const Chagos = "British Indian Ocean Territory";
|
|
152
|
+
const Baghdad = "Iraq";
|
|
153
|
+
const Tehran = "Iran";
|
|
154
|
+
const Rome = "Italy";
|
|
155
|
+
const Jamaica = "Jamaica";
|
|
156
|
+
const Amman = "Jordan";
|
|
157
|
+
const Tokyo = "Japan";
|
|
158
|
+
const Nairobi = "Kenya";
|
|
159
|
+
const Bishkek = "Kyrgyzstan";
|
|
160
|
+
const Tarawa = "Kiribati";
|
|
161
|
+
const Kanton = "Kiribati";
|
|
162
|
+
const Kiritimati = "Kiribati";
|
|
163
|
+
const Pyongyang = "Korea (North)";
|
|
164
|
+
const Seoul = "Korea (South)";
|
|
165
|
+
const Almaty = "Kazakhstan";
|
|
166
|
+
const Qyzylorda = "Kazakhstan";
|
|
167
|
+
const Qostanay = "Kazakhstan";
|
|
168
|
+
const Aqtobe = "Kazakhstan";
|
|
169
|
+
const Aqtau = "Kazakhstan";
|
|
170
|
+
const Atyrau = "Kazakhstan";
|
|
171
|
+
const Oral = "Kazakhstan";
|
|
172
|
+
const Beirut = "Lebanon";
|
|
173
|
+
const Colombo = "Sri Lanka";
|
|
174
|
+
const Monrovia = "Liberia";
|
|
175
|
+
const Vilnius = "Lithuania";
|
|
176
|
+
const Riga = "Latvia";
|
|
177
|
+
const Tripoli = "Libya";
|
|
178
|
+
const Casablanca = "Morocco";
|
|
179
|
+
const Chisinau = "Moldova";
|
|
180
|
+
const Kwajalein = "Marshall Islands";
|
|
181
|
+
const Yangon = "Myanmar (Burma)";
|
|
182
|
+
const Ulaanbaatar = "Mongolia";
|
|
183
|
+
const Hovd = "Mongolia";
|
|
184
|
+
const Macau = "Macau";
|
|
185
|
+
const Martinique = "Martinique";
|
|
186
|
+
const Malta = "Malta";
|
|
187
|
+
const Mauritius = "Mauritius";
|
|
188
|
+
const Maldives = "Maldives";
|
|
189
|
+
const Mexico_City = "Mexico";
|
|
190
|
+
const Cancun = "Mexico";
|
|
191
|
+
const Merida = "Mexico";
|
|
192
|
+
const Monterrey = "Mexico";
|
|
193
|
+
const Matamoros = "Mexico";
|
|
194
|
+
const Chihuahua = "Mexico";
|
|
195
|
+
const Ciudad_Juarez = "Mexico";
|
|
196
|
+
const Ojinaga = "Mexico";
|
|
197
|
+
const Mazatlan = "Mexico";
|
|
198
|
+
const Bahia_Banderas = "Mexico";
|
|
199
|
+
const Hermosillo = "Mexico";
|
|
200
|
+
const Tijuana = "Mexico";
|
|
201
|
+
const Kuching = "Malaysia";
|
|
202
|
+
const Maputo = "Mozambique";
|
|
203
|
+
const Windhoek = "Namibia";
|
|
204
|
+
const Noumea = "New Caledonia";
|
|
205
|
+
const Norfolk = "Norfolk Island";
|
|
206
|
+
const Lagos = "Nigeria";
|
|
207
|
+
const Managua = "Nicaragua";
|
|
208
|
+
const Kathmandu = "Nepal";
|
|
209
|
+
const Nauru = "Nauru";
|
|
210
|
+
const Niue = "Niue";
|
|
211
|
+
const Auckland = "New Zealand";
|
|
212
|
+
const Chatham = "New Zealand";
|
|
213
|
+
const Panama = "Panama";
|
|
214
|
+
const Lima = "Peru";
|
|
215
|
+
const Tahiti = "French Polynesia";
|
|
216
|
+
const Marquesas = "French Polynesia";
|
|
217
|
+
const Gambier = "French Polynesia";
|
|
218
|
+
const Port_Moresby = "Papua New Guinea";
|
|
219
|
+
const Bougainville = "Papua New Guinea";
|
|
220
|
+
const Manila = "Philippines";
|
|
221
|
+
const Karachi = "Pakistan";
|
|
222
|
+
const Warsaw = "Poland";
|
|
223
|
+
const Miquelon = "St Pierre & Miquelon";
|
|
224
|
+
const Pitcairn = "Pitcairn";
|
|
225
|
+
const Puerto_Rico = "Puerto Rico";
|
|
226
|
+
const Gaza = "Palestine";
|
|
227
|
+
const Hebron = "Palestine";
|
|
228
|
+
const Lisbon = "Portugal";
|
|
229
|
+
const Madeira = "Portugal";
|
|
230
|
+
const Azores = "Portugal";
|
|
231
|
+
const Palau = "Palau";
|
|
232
|
+
const Asuncion = "Paraguay";
|
|
233
|
+
const Qatar = "Qatar";
|
|
234
|
+
const Bucharest = "Romania";
|
|
235
|
+
const Belgrade = "Serbia";
|
|
236
|
+
const Kaliningrad = "Russia";
|
|
237
|
+
const Moscow = "Russia";
|
|
238
|
+
const Simferopol = "Russia";
|
|
239
|
+
const Kirov = "Russia";
|
|
240
|
+
const Volgograd = "Russia";
|
|
241
|
+
const Astrakhan = "Russia";
|
|
242
|
+
const Saratov = "Russia";
|
|
243
|
+
const Ulyanovsk = "Russia";
|
|
244
|
+
const Samara = "Russia";
|
|
245
|
+
const Yekaterinburg = "Russia";
|
|
246
|
+
const Omsk = "Russia";
|
|
247
|
+
const Novosibirsk = "Russia";
|
|
248
|
+
const Barnaul = "Russia";
|
|
249
|
+
const Tomsk = "Russia";
|
|
250
|
+
const Novokuznetsk = "Russia";
|
|
251
|
+
const Krasnoyarsk = "Russia";
|
|
252
|
+
const Irkutsk = "Russia";
|
|
253
|
+
const Chita = "Russia";
|
|
254
|
+
const Yakutsk = "Russia";
|
|
255
|
+
const Khandyga = "Russia";
|
|
256
|
+
const Vladivostok = "Russia";
|
|
257
|
+
const Magadan = "Russia";
|
|
258
|
+
const Sakhalin = "Russia";
|
|
259
|
+
const Srednekolymsk = "Russia";
|
|
260
|
+
const Kamchatka = "Russia";
|
|
261
|
+
const Anadyr = "Russia";
|
|
262
|
+
const Riyadh = "Saudi Arabia";
|
|
263
|
+
const Guadalcanal = "Solomon Islands";
|
|
264
|
+
const Khartoum = "Sudan";
|
|
265
|
+
const Singapore = "Singapore";
|
|
266
|
+
const Paramaribo = "Suriname";
|
|
267
|
+
const Juba = "South Sudan";
|
|
268
|
+
const Sao_Tome = "Sao Tome & Principe";
|
|
269
|
+
const El_Salvador = "El Salvador";
|
|
270
|
+
const Damascus = "Syria";
|
|
271
|
+
const Grand_Turk = "Turks & Caicos Is";
|
|
272
|
+
const Ndjamena = "Chad";
|
|
273
|
+
const Bangkok = "Thailand";
|
|
274
|
+
const Dushanbe = "Tajikistan";
|
|
275
|
+
const Fakaofo = "Tokelau";
|
|
276
|
+
const Dili = "East Timor";
|
|
277
|
+
const Ashgabat = "Turkmenistan";
|
|
278
|
+
const Tunis = "Tunisia";
|
|
279
|
+
const Tongatapu = "Tonga";
|
|
280
|
+
const Istanbul = "Turkey";
|
|
281
|
+
const Taipei = "Taiwan";
|
|
282
|
+
const Kyiv = "Ukraine";
|
|
283
|
+
const New_York = "United States";
|
|
284
|
+
const Detroit = "United States";
|
|
285
|
+
const Louisville = "United States";
|
|
286
|
+
const Monticello = "United States";
|
|
287
|
+
const Indianapolis = "United States";
|
|
288
|
+
const Vincennes = "United States";
|
|
289
|
+
const Winamac = "United States";
|
|
290
|
+
const Marengo = "United States";
|
|
291
|
+
const Petersburg = "United States";
|
|
292
|
+
const Vevay = "United States";
|
|
293
|
+
const Chicago = "United States";
|
|
294
|
+
const Tell_City = "United States";
|
|
295
|
+
const Knox = "United States";
|
|
296
|
+
const Menominee = "United States";
|
|
297
|
+
const Center = "United States";
|
|
298
|
+
const New_Salem = "United States";
|
|
299
|
+
const Beulah = "United States";
|
|
300
|
+
const Denver = "United States";
|
|
301
|
+
const Boise = "United States";
|
|
302
|
+
const Phoenix = "United States";
|
|
303
|
+
const Los_Angeles = "United States";
|
|
304
|
+
const Anchorage = "United States";
|
|
305
|
+
const Juneau = "United States";
|
|
306
|
+
const Sitka = "United States";
|
|
307
|
+
const Metlakatla = "United States";
|
|
308
|
+
const Yakutat = "United States";
|
|
309
|
+
const Nome = "United States";
|
|
310
|
+
const Adak = "United States";
|
|
311
|
+
const Honolulu = "United States";
|
|
312
|
+
const Montevideo = "Uruguay";
|
|
313
|
+
const Samarkand = "Uzbekistan";
|
|
314
|
+
const Tashkent = "Uzbekistan";
|
|
315
|
+
const Caracas = "Venezuela";
|
|
316
|
+
const Ho_Chi_Minh = "Vietnam";
|
|
317
|
+
const Efate = "Vanuatu";
|
|
318
|
+
const Apia = "Samoa (western)";
|
|
319
|
+
const Johannesburg = "South Africa";
|
|
320
|
+
const Antigua = "Antigua & Barbuda";
|
|
321
|
+
const Anguilla = "Anguilla";
|
|
322
|
+
const Luanda = "Angola";
|
|
323
|
+
const McMurdo = "Antarctica";
|
|
324
|
+
const DumontDUrville = "Antarctica";
|
|
325
|
+
const Syowa = "Antarctica";
|
|
326
|
+
const Aruba = "Aruba";
|
|
327
|
+
const Mariehamn = "Åland Islands";
|
|
328
|
+
const Sarajevo = "Bosnia & Herzegovina";
|
|
329
|
+
const Ouagadougou = "Burkina Faso";
|
|
330
|
+
const Bahrain = "Bahrain";
|
|
331
|
+
const Bujumbura = "Burundi";
|
|
332
|
+
const St_Barthelemy = "St Barthelemy";
|
|
333
|
+
const Brunei = "Brunei";
|
|
334
|
+
const Kralendijk = "Caribbean NL";
|
|
335
|
+
const Nassau = "Bahamas";
|
|
336
|
+
const Gaborone = "Botswana";
|
|
337
|
+
const Atikokan = "Canada";
|
|
338
|
+
const Creston = "Canada";
|
|
339
|
+
const Cocos = "Cocos (Keeling) Islands";
|
|
340
|
+
const Kinshasa = "Congo (Dem. Rep.)";
|
|
341
|
+
const Lubumbashi = "Congo (Dem. Rep.)";
|
|
342
|
+
const Bangui = "Central African Rep.";
|
|
343
|
+
const Brazzaville = "Congo (Rep.)";
|
|
344
|
+
const Douala = "Cameroon";
|
|
345
|
+
const Curacao = "Curaçao";
|
|
346
|
+
const Christmas = "Christmas Island";
|
|
347
|
+
const Busingen = "Germany";
|
|
348
|
+
const Djibouti = "Djibouti";
|
|
349
|
+
const Copenhagen = "Denmark";
|
|
350
|
+
const Dominica = "Dominica";
|
|
351
|
+
const Asmara = "Eritrea";
|
|
352
|
+
const Addis_Ababa = "Ethiopia";
|
|
353
|
+
const Chuuk = "Micronesia";
|
|
354
|
+
const Pohnpei = "Micronesia";
|
|
355
|
+
const Libreville = "Gabon";
|
|
356
|
+
const Grenada = "Grenada";
|
|
357
|
+
const Guernsey = "Guernsey";
|
|
358
|
+
const Accra = "Ghana";
|
|
359
|
+
const Banjul = "Gambia";
|
|
360
|
+
const Conakry = "Guinea";
|
|
361
|
+
const Guadeloupe = "Guadeloupe";
|
|
362
|
+
const Malabo = "Equatorial Guinea";
|
|
363
|
+
const Zagreb = "Croatia";
|
|
364
|
+
const Isle_of_Man = "Isle of Man";
|
|
365
|
+
const Reykjavik = "Iceland";
|
|
366
|
+
const Jersey = "Jersey";
|
|
367
|
+
const Phnom_Penh = "Cambodia";
|
|
368
|
+
const Comoro = "Comoros";
|
|
369
|
+
const St_Kitts = "St Kitts & Nevis";
|
|
370
|
+
const Kuwait = "Kuwait";
|
|
371
|
+
const Cayman = "Cayman Islands";
|
|
372
|
+
const Vientiane = "Laos";
|
|
373
|
+
const St_Lucia = "St Lucia";
|
|
374
|
+
const Vaduz = "Liechtenstein";
|
|
375
|
+
const Maseru = "Lesotho";
|
|
376
|
+
const Luxembourg = "Luxembourg";
|
|
377
|
+
const Monaco = "Monaco";
|
|
378
|
+
const Podgorica = "Montenegro";
|
|
379
|
+
const Marigot = "St Martin (French)";
|
|
380
|
+
const Antananarivo = "Madagascar";
|
|
381
|
+
const Majuro = "Marshall Islands";
|
|
382
|
+
const Skopje = "North Macedonia";
|
|
383
|
+
const Bamako = "Mali";
|
|
384
|
+
const Saipan = "Northern Mariana Islands";
|
|
385
|
+
const Nouakchott = "Mauritania";
|
|
386
|
+
const Montserrat = "Montserrat";
|
|
387
|
+
const Blantyre = "Malawi";
|
|
388
|
+
const Kuala_Lumpur = "Malaysia";
|
|
389
|
+
const Niamey = "Niger";
|
|
390
|
+
const Amsterdam = "Netherlands";
|
|
391
|
+
const Oslo = "Norway";
|
|
392
|
+
const Muscat = "Oman";
|
|
393
|
+
const Reunion = "Réunion";
|
|
394
|
+
const Kigali = "Rwanda";
|
|
395
|
+
const Mahe = "Seychelles";
|
|
396
|
+
const Stockholm = "Sweden";
|
|
397
|
+
const St_Helena = "St Helena";
|
|
398
|
+
const Ljubljana = "Slovenia";
|
|
399
|
+
const Longyearbyen = "Svalbard & Jan Mayen";
|
|
400
|
+
const Bratislava = "Slovakia";
|
|
401
|
+
const Freetown = "Sierra Leone";
|
|
402
|
+
const San_Marino = "San Marino";
|
|
403
|
+
const Dakar = "Senegal";
|
|
404
|
+
const Mogadishu = "Somalia";
|
|
405
|
+
const Lower_Princes = "St Maarten (Dutch)";
|
|
406
|
+
const Mbabane = "Eswatini (Swaziland)";
|
|
407
|
+
const Kerguelen = "French S. Terr.";
|
|
408
|
+
const Lome = "Togo";
|
|
409
|
+
const Port_of_Spain = "Trinidad & Tobago";
|
|
410
|
+
const Funafuti = "Tuvalu";
|
|
411
|
+
const Dar_es_Salaam = "Tanzania";
|
|
412
|
+
const Kampala = "Uganda";
|
|
413
|
+
const Midway = "US minor outlying islands";
|
|
414
|
+
const Wake = "US minor outlying islands";
|
|
415
|
+
const Vatican = "Vatican City";
|
|
416
|
+
const St_Vincent = "St Vincent";
|
|
417
|
+
const Tortola = "Virgin Islands (UK)";
|
|
418
|
+
const St_Thomas = "Virgin Islands (US)";
|
|
419
|
+
const Wallis = "Wallis & Futuna";
|
|
420
|
+
const Aden = "Yemen";
|
|
421
|
+
const Mayotte = "Mayotte";
|
|
422
|
+
const Lusaka = "Zambia";
|
|
423
|
+
const Harare = "Zimbabwe";
|
|
424
|
+
const timeZoneCityToCountryStatic = {
|
|
425
|
+
Andorra,
|
|
426
|
+
Dubai,
|
|
427
|
+
Kabul,
|
|
428
|
+
Tirane,
|
|
429
|
+
Yerevan,
|
|
430
|
+
Casey,
|
|
431
|
+
Davis,
|
|
432
|
+
Mawson,
|
|
433
|
+
Palmer,
|
|
434
|
+
Rothera,
|
|
435
|
+
Troll,
|
|
436
|
+
Vostok,
|
|
437
|
+
Buenos_Aires,
|
|
438
|
+
Cordoba,
|
|
439
|
+
Salta,
|
|
440
|
+
Jujuy,
|
|
441
|
+
Tucuman,
|
|
442
|
+
Catamarca,
|
|
443
|
+
La_Rioja,
|
|
444
|
+
San_Juan,
|
|
445
|
+
Mendoza,
|
|
446
|
+
San_Luis,
|
|
447
|
+
Rio_Gallegos,
|
|
448
|
+
Ushuaia,
|
|
449
|
+
Pago_Pago,
|
|
450
|
+
Vienna,
|
|
451
|
+
Lord_Howe,
|
|
452
|
+
Macquarie,
|
|
453
|
+
Hobart,
|
|
454
|
+
Melbourne,
|
|
455
|
+
Sydney,
|
|
456
|
+
Broken_Hill,
|
|
457
|
+
Brisbane,
|
|
458
|
+
Lindeman,
|
|
459
|
+
Adelaide,
|
|
460
|
+
Darwin,
|
|
461
|
+
Perth,
|
|
462
|
+
Eucla,
|
|
463
|
+
Baku,
|
|
464
|
+
Barbados,
|
|
465
|
+
Dhaka,
|
|
466
|
+
Brussels,
|
|
467
|
+
Sofia,
|
|
468
|
+
Bermuda,
|
|
469
|
+
La_Paz,
|
|
470
|
+
Noronha,
|
|
471
|
+
Belem,
|
|
472
|
+
Fortaleza,
|
|
473
|
+
Recife,
|
|
474
|
+
Araguaina,
|
|
475
|
+
Maceio,
|
|
476
|
+
Bahia,
|
|
477
|
+
Sao_Paulo,
|
|
478
|
+
Campo_Grande,
|
|
479
|
+
Cuiaba,
|
|
480
|
+
Santarem,
|
|
481
|
+
Porto_Velho,
|
|
482
|
+
Boa_Vista,
|
|
483
|
+
Manaus,
|
|
484
|
+
Eirunepe,
|
|
485
|
+
Rio_Branco,
|
|
486
|
+
Thimphu,
|
|
487
|
+
Minsk,
|
|
488
|
+
Belize,
|
|
489
|
+
St_Johns,
|
|
490
|
+
Halifax,
|
|
491
|
+
Glace_Bay,
|
|
492
|
+
Moncton,
|
|
493
|
+
Goose_Bay,
|
|
494
|
+
Toronto,
|
|
495
|
+
Iqaluit,
|
|
496
|
+
Winnipeg,
|
|
497
|
+
Resolute,
|
|
498
|
+
Rankin_Inlet,
|
|
499
|
+
Regina,
|
|
500
|
+
Swift_Current,
|
|
501
|
+
Edmonton,
|
|
502
|
+
Cambridge_Bay,
|
|
503
|
+
Inuvik,
|
|
504
|
+
Dawson_Creek,
|
|
505
|
+
Fort_Nelson,
|
|
506
|
+
Whitehorse,
|
|
507
|
+
Dawson,
|
|
508
|
+
Vancouver,
|
|
509
|
+
Zurich,
|
|
510
|
+
Abidjan,
|
|
511
|
+
Rarotonga,
|
|
512
|
+
Santiago,
|
|
513
|
+
Coyhaique,
|
|
514
|
+
Punta_Arenas,
|
|
515
|
+
Easter,
|
|
516
|
+
Shanghai,
|
|
517
|
+
Urumqi,
|
|
518
|
+
Bogota,
|
|
519
|
+
Costa_Rica,
|
|
520
|
+
Havana,
|
|
521
|
+
Cape_Verde,
|
|
522
|
+
Nicosia,
|
|
523
|
+
Famagusta,
|
|
524
|
+
Prague,
|
|
525
|
+
Berlin,
|
|
526
|
+
Santo_Domingo,
|
|
527
|
+
Algiers,
|
|
528
|
+
Guayaquil,
|
|
529
|
+
Galapagos,
|
|
530
|
+
Tallinn,
|
|
531
|
+
Cairo,
|
|
532
|
+
El_Aaiun,
|
|
533
|
+
Madrid,
|
|
534
|
+
Ceuta,
|
|
535
|
+
Canary,
|
|
536
|
+
Helsinki,
|
|
537
|
+
Fiji,
|
|
538
|
+
Stanley,
|
|
539
|
+
Kosrae,
|
|
540
|
+
Faroe,
|
|
541
|
+
Paris,
|
|
542
|
+
London,
|
|
543
|
+
Tbilisi,
|
|
544
|
+
Cayenne,
|
|
545
|
+
Gibraltar,
|
|
546
|
+
Nuuk,
|
|
547
|
+
Danmarkshavn,
|
|
548
|
+
Scoresbysund,
|
|
549
|
+
Thule,
|
|
550
|
+
Athens,
|
|
551
|
+
South_Georgia,
|
|
552
|
+
Guatemala,
|
|
553
|
+
Guam,
|
|
554
|
+
Bissau,
|
|
555
|
+
Guyana,
|
|
556
|
+
Hong_Kong,
|
|
557
|
+
Tegucigalpa,
|
|
144
558
|
"Port-au-Prince": "Haiti",
|
|
145
|
-
Budapest
|
|
146
|
-
Jakarta
|
|
147
|
-
Pontianak
|
|
148
|
-
Makassar
|
|
149
|
-
Jayapura
|
|
150
|
-
Dublin
|
|
151
|
-
Jerusalem
|
|
152
|
-
Kolkata
|
|
153
|
-
Chagos
|
|
154
|
-
Baghdad
|
|
155
|
-
Tehran
|
|
156
|
-
Rome
|
|
157
|
-
Jamaica
|
|
158
|
-
Amman
|
|
159
|
-
Tokyo
|
|
160
|
-
Nairobi
|
|
161
|
-
Bishkek
|
|
162
|
-
Tarawa
|
|
163
|
-
Kanton
|
|
164
|
-
Kiritimati
|
|
165
|
-
Pyongyang
|
|
166
|
-
Seoul
|
|
167
|
-
Almaty
|
|
168
|
-
Qyzylorda
|
|
169
|
-
Qostanay
|
|
170
|
-
Aqtobe
|
|
171
|
-
Aqtau
|
|
172
|
-
Atyrau
|
|
173
|
-
Oral
|
|
174
|
-
Beirut
|
|
175
|
-
Colombo
|
|
176
|
-
Monrovia
|
|
177
|
-
Vilnius
|
|
178
|
-
Riga
|
|
179
|
-
Tripoli
|
|
180
|
-
Casablanca
|
|
181
|
-
Chisinau
|
|
182
|
-
Kwajalein
|
|
183
|
-
Yangon
|
|
184
|
-
Ulaanbaatar
|
|
185
|
-
Hovd
|
|
186
|
-
Macau
|
|
187
|
-
Martinique
|
|
188
|
-
Malta
|
|
189
|
-
Mauritius
|
|
190
|
-
Maldives
|
|
191
|
-
Mexico_City
|
|
192
|
-
Cancun
|
|
193
|
-
Merida
|
|
194
|
-
Monterrey
|
|
195
|
-
Matamoros
|
|
196
|
-
Chihuahua
|
|
197
|
-
Ciudad_Juarez
|
|
198
|
-
Ojinaga
|
|
199
|
-
Mazatlan
|
|
200
|
-
Bahia_Banderas
|
|
201
|
-
Hermosillo
|
|
202
|
-
Tijuana
|
|
203
|
-
Kuching
|
|
204
|
-
Maputo
|
|
205
|
-
Windhoek
|
|
206
|
-
Noumea
|
|
207
|
-
Norfolk
|
|
208
|
-
Lagos
|
|
209
|
-
Managua
|
|
210
|
-
Kathmandu
|
|
211
|
-
Nauru
|
|
212
|
-
Niue
|
|
213
|
-
Auckland
|
|
214
|
-
Chatham
|
|
215
|
-
Panama
|
|
216
|
-
Lima
|
|
217
|
-
Tahiti
|
|
218
|
-
Marquesas
|
|
219
|
-
Gambier
|
|
220
|
-
Port_Moresby
|
|
221
|
-
Bougainville
|
|
222
|
-
Manila
|
|
223
|
-
Karachi
|
|
224
|
-
Warsaw
|
|
225
|
-
Miquelon
|
|
226
|
-
Pitcairn
|
|
227
|
-
Puerto_Rico
|
|
228
|
-
Gaza
|
|
229
|
-
Hebron
|
|
230
|
-
Lisbon
|
|
231
|
-
Madeira
|
|
232
|
-
Azores
|
|
233
|
-
Palau
|
|
234
|
-
Asuncion
|
|
235
|
-
Qatar
|
|
236
|
-
Bucharest
|
|
237
|
-
Belgrade
|
|
238
|
-
Kaliningrad
|
|
239
|
-
Moscow
|
|
240
|
-
Simferopol
|
|
241
|
-
Kirov
|
|
242
|
-
Volgograd
|
|
243
|
-
Astrakhan
|
|
244
|
-
Saratov
|
|
245
|
-
Ulyanovsk
|
|
246
|
-
Samara
|
|
247
|
-
Yekaterinburg
|
|
248
|
-
Omsk
|
|
249
|
-
Novosibirsk
|
|
250
|
-
Barnaul
|
|
251
|
-
Tomsk
|
|
252
|
-
Novokuznetsk
|
|
253
|
-
Krasnoyarsk
|
|
254
|
-
Irkutsk
|
|
255
|
-
Chita
|
|
256
|
-
Yakutsk
|
|
257
|
-
Khandyga
|
|
258
|
-
Vladivostok
|
|
559
|
+
Budapest,
|
|
560
|
+
Jakarta,
|
|
561
|
+
Pontianak,
|
|
562
|
+
Makassar,
|
|
563
|
+
Jayapura,
|
|
564
|
+
Dublin,
|
|
565
|
+
Jerusalem,
|
|
566
|
+
Kolkata,
|
|
567
|
+
Chagos,
|
|
568
|
+
Baghdad,
|
|
569
|
+
Tehran,
|
|
570
|
+
Rome,
|
|
571
|
+
Jamaica,
|
|
572
|
+
Amman,
|
|
573
|
+
Tokyo,
|
|
574
|
+
Nairobi,
|
|
575
|
+
Bishkek,
|
|
576
|
+
Tarawa,
|
|
577
|
+
Kanton,
|
|
578
|
+
Kiritimati,
|
|
579
|
+
Pyongyang,
|
|
580
|
+
Seoul,
|
|
581
|
+
Almaty,
|
|
582
|
+
Qyzylorda,
|
|
583
|
+
Qostanay,
|
|
584
|
+
Aqtobe,
|
|
585
|
+
Aqtau,
|
|
586
|
+
Atyrau,
|
|
587
|
+
Oral,
|
|
588
|
+
Beirut,
|
|
589
|
+
Colombo,
|
|
590
|
+
Monrovia,
|
|
591
|
+
Vilnius,
|
|
592
|
+
Riga,
|
|
593
|
+
Tripoli,
|
|
594
|
+
Casablanca,
|
|
595
|
+
Chisinau,
|
|
596
|
+
Kwajalein,
|
|
597
|
+
Yangon,
|
|
598
|
+
Ulaanbaatar,
|
|
599
|
+
Hovd,
|
|
600
|
+
Macau,
|
|
601
|
+
Martinique,
|
|
602
|
+
Malta,
|
|
603
|
+
Mauritius,
|
|
604
|
+
Maldives,
|
|
605
|
+
Mexico_City,
|
|
606
|
+
Cancun,
|
|
607
|
+
Merida,
|
|
608
|
+
Monterrey,
|
|
609
|
+
Matamoros,
|
|
610
|
+
Chihuahua,
|
|
611
|
+
Ciudad_Juarez,
|
|
612
|
+
Ojinaga,
|
|
613
|
+
Mazatlan,
|
|
614
|
+
Bahia_Banderas,
|
|
615
|
+
Hermosillo,
|
|
616
|
+
Tijuana,
|
|
617
|
+
Kuching,
|
|
618
|
+
Maputo,
|
|
619
|
+
Windhoek,
|
|
620
|
+
Noumea,
|
|
621
|
+
Norfolk,
|
|
622
|
+
Lagos,
|
|
623
|
+
Managua,
|
|
624
|
+
Kathmandu,
|
|
625
|
+
Nauru,
|
|
626
|
+
Niue,
|
|
627
|
+
Auckland,
|
|
628
|
+
Chatham,
|
|
629
|
+
Panama,
|
|
630
|
+
Lima,
|
|
631
|
+
Tahiti,
|
|
632
|
+
Marquesas,
|
|
633
|
+
Gambier,
|
|
634
|
+
Port_Moresby,
|
|
635
|
+
Bougainville,
|
|
636
|
+
Manila,
|
|
637
|
+
Karachi,
|
|
638
|
+
Warsaw,
|
|
639
|
+
Miquelon,
|
|
640
|
+
Pitcairn,
|
|
641
|
+
Puerto_Rico,
|
|
642
|
+
Gaza,
|
|
643
|
+
Hebron,
|
|
644
|
+
Lisbon,
|
|
645
|
+
Madeira,
|
|
646
|
+
Azores,
|
|
647
|
+
Palau,
|
|
648
|
+
Asuncion,
|
|
649
|
+
Qatar,
|
|
650
|
+
Bucharest,
|
|
651
|
+
Belgrade,
|
|
652
|
+
Kaliningrad,
|
|
653
|
+
Moscow,
|
|
654
|
+
Simferopol,
|
|
655
|
+
Kirov,
|
|
656
|
+
Volgograd,
|
|
657
|
+
Astrakhan,
|
|
658
|
+
Saratov,
|
|
659
|
+
Ulyanovsk,
|
|
660
|
+
Samara,
|
|
661
|
+
Yekaterinburg,
|
|
662
|
+
Omsk,
|
|
663
|
+
Novosibirsk,
|
|
664
|
+
Barnaul,
|
|
665
|
+
Tomsk,
|
|
666
|
+
Novokuznetsk,
|
|
667
|
+
Krasnoyarsk,
|
|
668
|
+
Irkutsk,
|
|
669
|
+
Chita,
|
|
670
|
+
Yakutsk,
|
|
671
|
+
Khandyga,
|
|
672
|
+
Vladivostok,
|
|
259
673
|
"Ust-Nera": "Russia",
|
|
260
|
-
Magadan
|
|
261
|
-
Sakhalin
|
|
262
|
-
Srednekolymsk
|
|
263
|
-
Kamchatka
|
|
264
|
-
Anadyr
|
|
265
|
-
Riyadh
|
|
266
|
-
Guadalcanal
|
|
267
|
-
Khartoum
|
|
268
|
-
Singapore
|
|
269
|
-
Paramaribo
|
|
270
|
-
Juba
|
|
271
|
-
Sao_Tome
|
|
272
|
-
El_Salvador
|
|
273
|
-
Damascus
|
|
274
|
-
Grand_Turk
|
|
275
|
-
Ndjamena
|
|
276
|
-
Bangkok
|
|
277
|
-
Dushanbe
|
|
278
|
-
Fakaofo
|
|
279
|
-
Dili
|
|
280
|
-
Ashgabat
|
|
281
|
-
Tunis
|
|
282
|
-
Tongatapu
|
|
283
|
-
Istanbul
|
|
284
|
-
Taipei
|
|
285
|
-
Kyiv
|
|
286
|
-
New_York
|
|
287
|
-
Detroit
|
|
288
|
-
Louisville
|
|
289
|
-
Monticello
|
|
290
|
-
Indianapolis
|
|
291
|
-
Vincennes
|
|
292
|
-
Winamac
|
|
293
|
-
Marengo
|
|
294
|
-
Petersburg
|
|
295
|
-
Vevay
|
|
296
|
-
Chicago
|
|
297
|
-
Tell_City
|
|
298
|
-
Knox
|
|
299
|
-
Menominee
|
|
300
|
-
Center
|
|
301
|
-
New_Salem
|
|
302
|
-
Beulah
|
|
303
|
-
Denver
|
|
304
|
-
Boise
|
|
305
|
-
Phoenix
|
|
306
|
-
Los_Angeles
|
|
307
|
-
Anchorage
|
|
308
|
-
Juneau
|
|
309
|
-
Sitka
|
|
310
|
-
Metlakatla
|
|
311
|
-
Yakutat
|
|
312
|
-
Nome
|
|
313
|
-
Adak
|
|
314
|
-
Honolulu
|
|
315
|
-
Montevideo
|
|
316
|
-
Samarkand
|
|
317
|
-
Tashkent
|
|
318
|
-
Caracas
|
|
319
|
-
Ho_Chi_Minh
|
|
320
|
-
Efate
|
|
321
|
-
Apia
|
|
322
|
-
Johannesburg
|
|
323
|
-
Antigua
|
|
324
|
-
Anguilla
|
|
325
|
-
Luanda
|
|
326
|
-
McMurdo
|
|
327
|
-
DumontDUrville
|
|
328
|
-
Syowa
|
|
329
|
-
Aruba
|
|
330
|
-
Mariehamn
|
|
331
|
-
Sarajevo
|
|
332
|
-
Ouagadougou
|
|
333
|
-
Bahrain
|
|
334
|
-
Bujumbura
|
|
674
|
+
Magadan,
|
|
675
|
+
Sakhalin,
|
|
676
|
+
Srednekolymsk,
|
|
677
|
+
Kamchatka,
|
|
678
|
+
Anadyr,
|
|
679
|
+
Riyadh,
|
|
680
|
+
Guadalcanal,
|
|
681
|
+
Khartoum,
|
|
682
|
+
Singapore,
|
|
683
|
+
Paramaribo,
|
|
684
|
+
Juba,
|
|
685
|
+
Sao_Tome,
|
|
686
|
+
El_Salvador,
|
|
687
|
+
Damascus,
|
|
688
|
+
Grand_Turk,
|
|
689
|
+
Ndjamena,
|
|
690
|
+
Bangkok,
|
|
691
|
+
Dushanbe,
|
|
692
|
+
Fakaofo,
|
|
693
|
+
Dili,
|
|
694
|
+
Ashgabat,
|
|
695
|
+
Tunis,
|
|
696
|
+
Tongatapu,
|
|
697
|
+
Istanbul,
|
|
698
|
+
Taipei,
|
|
699
|
+
Kyiv,
|
|
700
|
+
New_York,
|
|
701
|
+
Detroit,
|
|
702
|
+
Louisville,
|
|
703
|
+
Monticello,
|
|
704
|
+
Indianapolis,
|
|
705
|
+
Vincennes,
|
|
706
|
+
Winamac,
|
|
707
|
+
Marengo,
|
|
708
|
+
Petersburg,
|
|
709
|
+
Vevay,
|
|
710
|
+
Chicago,
|
|
711
|
+
Tell_City,
|
|
712
|
+
Knox,
|
|
713
|
+
Menominee,
|
|
714
|
+
Center,
|
|
715
|
+
New_Salem,
|
|
716
|
+
Beulah,
|
|
717
|
+
Denver,
|
|
718
|
+
Boise,
|
|
719
|
+
Phoenix,
|
|
720
|
+
Los_Angeles,
|
|
721
|
+
Anchorage,
|
|
722
|
+
Juneau,
|
|
723
|
+
Sitka,
|
|
724
|
+
Metlakatla,
|
|
725
|
+
Yakutat,
|
|
726
|
+
Nome,
|
|
727
|
+
Adak,
|
|
728
|
+
Honolulu,
|
|
729
|
+
Montevideo,
|
|
730
|
+
Samarkand,
|
|
731
|
+
Tashkent,
|
|
732
|
+
Caracas,
|
|
733
|
+
Ho_Chi_Minh,
|
|
734
|
+
Efate,
|
|
735
|
+
Apia,
|
|
736
|
+
Johannesburg,
|
|
737
|
+
Antigua,
|
|
738
|
+
Anguilla,
|
|
739
|
+
Luanda,
|
|
740
|
+
McMurdo,
|
|
741
|
+
DumontDUrville,
|
|
742
|
+
Syowa,
|
|
743
|
+
Aruba,
|
|
744
|
+
Mariehamn,
|
|
745
|
+
Sarajevo,
|
|
746
|
+
Ouagadougou,
|
|
747
|
+
Bahrain,
|
|
748
|
+
Bujumbura,
|
|
335
749
|
"Porto-Novo": "Benin",
|
|
336
|
-
St_Barthelemy
|
|
337
|
-
Brunei
|
|
338
|
-
Kralendijk
|
|
339
|
-
Nassau
|
|
340
|
-
Gaborone
|
|
750
|
+
St_Barthelemy,
|
|
751
|
+
Brunei,
|
|
752
|
+
Kralendijk,
|
|
753
|
+
Nassau,
|
|
754
|
+
Gaborone,
|
|
341
755
|
"Blanc-Sablon": "Canada",
|
|
342
|
-
Atikokan
|
|
343
|
-
Creston
|
|
344
|
-
Cocos
|
|
345
|
-
Kinshasa
|
|
346
|
-
Lubumbashi
|
|
347
|
-
Bangui
|
|
348
|
-
Brazzaville
|
|
349
|
-
Douala
|
|
350
|
-
Curacao
|
|
351
|
-
Christmas
|
|
352
|
-
Busingen
|
|
353
|
-
Djibouti
|
|
354
|
-
Copenhagen
|
|
355
|
-
Dominica
|
|
356
|
-
Asmara
|
|
357
|
-
Addis_Ababa
|
|
358
|
-
Chuuk
|
|
359
|
-
Pohnpei
|
|
360
|
-
Libreville
|
|
361
|
-
Grenada
|
|
362
|
-
Guernsey
|
|
363
|
-
Accra
|
|
364
|
-
Banjul
|
|
365
|
-
Conakry
|
|
366
|
-
Guadeloupe
|
|
367
|
-
Malabo
|
|
368
|
-
Zagreb
|
|
369
|
-
Isle_of_Man
|
|
370
|
-
Reykjavik
|
|
371
|
-
Jersey
|
|
372
|
-
Phnom_Penh
|
|
373
|
-
Comoro
|
|
374
|
-
St_Kitts
|
|
375
|
-
Kuwait
|
|
376
|
-
Cayman
|
|
377
|
-
Vientiane
|
|
378
|
-
St_Lucia
|
|
379
|
-
Vaduz
|
|
380
|
-
Maseru
|
|
381
|
-
Luxembourg
|
|
382
|
-
Monaco
|
|
383
|
-
Podgorica
|
|
384
|
-
Marigot
|
|
385
|
-
Antananarivo
|
|
386
|
-
Majuro
|
|
387
|
-
Skopje
|
|
388
|
-
Bamako
|
|
389
|
-
Saipan
|
|
390
|
-
Nouakchott
|
|
391
|
-
Montserrat
|
|
392
|
-
Blantyre
|
|
393
|
-
Kuala_Lumpur
|
|
394
|
-
Niamey
|
|
395
|
-
Amsterdam
|
|
396
|
-
Oslo
|
|
397
|
-
Muscat
|
|
398
|
-
Reunion
|
|
399
|
-
Kigali
|
|
400
|
-
Mahe
|
|
401
|
-
Stockholm
|
|
402
|
-
St_Helena
|
|
403
|
-
Ljubljana
|
|
404
|
-
Longyearbyen
|
|
405
|
-
Bratislava
|
|
406
|
-
Freetown
|
|
407
|
-
San_Marino
|
|
408
|
-
Dakar
|
|
409
|
-
Mogadishu
|
|
410
|
-
Lower_Princes
|
|
411
|
-
Mbabane
|
|
412
|
-
Kerguelen
|
|
413
|
-
Lome
|
|
414
|
-
Port_of_Spain
|
|
415
|
-
Funafuti
|
|
416
|
-
Dar_es_Salaam
|
|
417
|
-
Kampala
|
|
418
|
-
Midway
|
|
419
|
-
Wake
|
|
420
|
-
Vatican
|
|
421
|
-
St_Vincent
|
|
422
|
-
Tortola
|
|
423
|
-
St_Thomas
|
|
424
|
-
Wallis
|
|
425
|
-
Aden
|
|
426
|
-
Mayotte
|
|
427
|
-
Lusaka
|
|
428
|
-
Harare
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
756
|
+
Atikokan,
|
|
757
|
+
Creston,
|
|
758
|
+
Cocos,
|
|
759
|
+
Kinshasa,
|
|
760
|
+
Lubumbashi,
|
|
761
|
+
Bangui,
|
|
762
|
+
Brazzaville,
|
|
763
|
+
Douala,
|
|
764
|
+
Curacao,
|
|
765
|
+
Christmas,
|
|
766
|
+
Busingen,
|
|
767
|
+
Djibouti,
|
|
768
|
+
Copenhagen,
|
|
769
|
+
Dominica,
|
|
770
|
+
Asmara,
|
|
771
|
+
Addis_Ababa,
|
|
772
|
+
Chuuk,
|
|
773
|
+
Pohnpei,
|
|
774
|
+
Libreville,
|
|
775
|
+
Grenada,
|
|
776
|
+
Guernsey,
|
|
777
|
+
Accra,
|
|
778
|
+
Banjul,
|
|
779
|
+
Conakry,
|
|
780
|
+
Guadeloupe,
|
|
781
|
+
Malabo,
|
|
782
|
+
Zagreb,
|
|
783
|
+
Isle_of_Man,
|
|
784
|
+
Reykjavik,
|
|
785
|
+
Jersey,
|
|
786
|
+
Phnom_Penh,
|
|
787
|
+
Comoro,
|
|
788
|
+
St_Kitts,
|
|
789
|
+
Kuwait,
|
|
790
|
+
Cayman,
|
|
791
|
+
Vientiane,
|
|
792
|
+
St_Lucia,
|
|
793
|
+
Vaduz,
|
|
794
|
+
Maseru,
|
|
795
|
+
Luxembourg,
|
|
796
|
+
Monaco,
|
|
797
|
+
Podgorica,
|
|
798
|
+
Marigot,
|
|
799
|
+
Antananarivo,
|
|
800
|
+
Majuro,
|
|
801
|
+
Skopje,
|
|
802
|
+
Bamako,
|
|
803
|
+
Saipan,
|
|
804
|
+
Nouakchott,
|
|
805
|
+
Montserrat,
|
|
806
|
+
Blantyre,
|
|
807
|
+
Kuala_Lumpur,
|
|
808
|
+
Niamey,
|
|
809
|
+
Amsterdam,
|
|
810
|
+
Oslo,
|
|
811
|
+
Muscat,
|
|
812
|
+
Reunion,
|
|
813
|
+
Kigali,
|
|
814
|
+
Mahe,
|
|
815
|
+
Stockholm,
|
|
816
|
+
St_Helena,
|
|
817
|
+
Ljubljana,
|
|
818
|
+
Longyearbyen,
|
|
819
|
+
Bratislava,
|
|
820
|
+
Freetown,
|
|
821
|
+
San_Marino,
|
|
822
|
+
Dakar,
|
|
823
|
+
Mogadishu,
|
|
824
|
+
Lower_Princes,
|
|
825
|
+
Mbabane,
|
|
826
|
+
Kerguelen,
|
|
827
|
+
Lome,
|
|
828
|
+
Port_of_Spain,
|
|
829
|
+
Funafuti,
|
|
830
|
+
Dar_es_Salaam,
|
|
831
|
+
Kampala,
|
|
832
|
+
Midway,
|
|
833
|
+
Wake,
|
|
834
|
+
Vatican,
|
|
835
|
+
St_Vincent,
|
|
836
|
+
Tortola,
|
|
837
|
+
St_Thomas,
|
|
838
|
+
Wallis,
|
|
839
|
+
Aden,
|
|
840
|
+
Mayotte,
|
|
841
|
+
Lusaka,
|
|
842
|
+
Harare
|
|
843
|
+
};
|
|
844
|
+
const timeZoneCityToCountry = timeZoneCityToCountryStatic;
|
|
845
|
+
function getUserLocation() {
|
|
846
|
+
let userTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
847
|
+
if (userTimeZone === "Asia/Bangkok") userTimeZone = "Asia/Jakarta";
|
|
848
|
+
const [userRegion, ...cityParts] = userTimeZone.split("/");
|
|
849
|
+
const userCity = cityParts.join("/");
|
|
434
850
|
return {
|
|
435
|
-
timezone:
|
|
436
|
-
region:
|
|
437
|
-
city:
|
|
438
|
-
country:
|
|
851
|
+
timezone: userTimeZone,
|
|
852
|
+
region: userRegion,
|
|
853
|
+
city: userCity,
|
|
854
|
+
country: timeZoneCityToCountry[userCity] || "Unknown"
|
|
439
855
|
// Handle missing cities
|
|
440
856
|
};
|
|
441
857
|
}
|
|
442
|
-
const
|
|
858
|
+
const _hoisted_1 = {
|
|
443
859
|
class: "grid grid-cols-[max-content,auto] w-full",
|
|
444
860
|
"data-wv-section": "phone-number-input-wrapper"
|
|
445
|
-
}
|
|
861
|
+
};
|
|
862
|
+
const _hoisted_2 = { class: "flex gap-2" };
|
|
863
|
+
const _hoisted_3 = ["src"];
|
|
864
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
446
865
|
__name: "InputPhoneNumber",
|
|
447
866
|
props: {
|
|
448
867
|
modelValue: {},
|
|
@@ -459,135 +878,183 @@ const Fc = {
|
|
|
459
878
|
fieldInfo: {}
|
|
460
879
|
},
|
|
461
880
|
emits: ["update:modelValue"],
|
|
462
|
-
setup(
|
|
463
|
-
const
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
t,
|
|
469
|
-
W(
|
|
470
|
-
o.fieldName ?? "numberInput",
|
|
471
|
-
async (a) => await w(() => U(a))
|
|
472
|
-
)
|
|
473
|
-
), o.value != null && h(o.value), o.modelValue != null && h(o.modelValue);
|
|
881
|
+
setup(__props, { emit: __emit }) {
|
|
882
|
+
const props = __props;
|
|
883
|
+
const emit = __emit;
|
|
884
|
+
onBeforeMount(async () => {
|
|
885
|
+
dialCodes.value = await getDialCodes();
|
|
886
|
+
if (!props.value) selectedDialCode.value = getUserDialCode();
|
|
474
887
|
});
|
|
475
|
-
|
|
476
|
-
|
|
888
|
+
onMounted(async () => {
|
|
889
|
+
field.value = props.modelValue;
|
|
890
|
+
if (props.useValidator) {
|
|
891
|
+
Object.assign(
|
|
892
|
+
field,
|
|
893
|
+
useField(
|
|
894
|
+
props.fieldName ?? "numberInput",
|
|
895
|
+
async (value) => {
|
|
896
|
+
return await nextTick(() => setValidatorMessage(value));
|
|
897
|
+
}
|
|
898
|
+
)
|
|
899
|
+
);
|
|
900
|
+
}
|
|
901
|
+
if (props.value != null) setValue(props.value);
|
|
902
|
+
if (props.modelValue != null) setValue(props.modelValue);
|
|
903
|
+
});
|
|
904
|
+
const { locale } = useWangsVueConfig("InputPhoneNumber");
|
|
905
|
+
const Preset = inject("preset", {}).inputphonenumber;
|
|
906
|
+
const isShowOverlay = shallowRef(false);
|
|
907
|
+
const invalidInput = computed(() => props.invalid || !!field.errorMessage);
|
|
908
|
+
const isChromeBased = navigator.userAgent.includes("Chrome");
|
|
909
|
+
const setValidatorMessage = (value) => {
|
|
910
|
+
if (props.invalid && props.validatorMessage) {
|
|
911
|
+
return props.validatorMessage;
|
|
912
|
+
} else if (value == null && props.mandatory) {
|
|
913
|
+
return props.validatorMessage ?? `${props.label} harus diisi.`;
|
|
914
|
+
}
|
|
915
|
+
return true;
|
|
916
|
+
};
|
|
917
|
+
const dialCodes = shallowRef();
|
|
918
|
+
const selectedDialCode = shallowRef();
|
|
919
|
+
const phoneNumber = shallowRef();
|
|
920
|
+
const phoneKey = shallowRef(0);
|
|
921
|
+
const field = reactive({ value: null });
|
|
922
|
+
const getDialCodes = async () => {
|
|
923
|
+
const { data } = await axios.get(
|
|
477
924
|
"https://assets.tagsamurai.com/json/country-dial-code.json"
|
|
478
925
|
);
|
|
479
|
-
return
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
926
|
+
return data.filter((d) => d.dial_code) ?? [];
|
|
927
|
+
};
|
|
928
|
+
const updateValue = () => {
|
|
929
|
+
field.value = phoneNumber.value ? `${selectedDialCode.value} ${phoneNumber.value}` : void 0;
|
|
930
|
+
emit("update:modelValue", field.value);
|
|
931
|
+
};
|
|
932
|
+
const focusInput = () => {
|
|
933
|
+
nextTick(() => {
|
|
934
|
+
const input = document.getElementById(
|
|
485
935
|
"phone-number-input"
|
|
486
936
|
);
|
|
487
|
-
|
|
937
|
+
if (input) input.focus();
|
|
488
938
|
});
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
939
|
+
};
|
|
940
|
+
const setInputModel = (dial, phone) => {
|
|
941
|
+
selectedDialCode.value = dial;
|
|
942
|
+
phoneNumber.value = phone;
|
|
943
|
+
};
|
|
944
|
+
const setValue = (model) => {
|
|
945
|
+
const values = model == null ? void 0 : model.split(" ");
|
|
946
|
+
if (values == null ? void 0 : values.length) {
|
|
947
|
+
setInputModel(values[0], values[1]);
|
|
948
|
+
field.value = phoneNumber.value ? `${selectedDialCode.value} ${phoneNumber.value}` : void 0;
|
|
949
|
+
} else {
|
|
950
|
+
field.value = void 0;
|
|
951
|
+
}
|
|
952
|
+
};
|
|
953
|
+
const getUserDialCode = () => {
|
|
954
|
+
if (dialCodes.value) {
|
|
955
|
+
const { country } = getUserLocation();
|
|
956
|
+
const foundDial = dialCodes.value.find((dial) => dial.name === country);
|
|
957
|
+
if (foundDial) return foundDial.dial_code;
|
|
958
|
+
return "+62";
|
|
498
959
|
}
|
|
499
960
|
return "+62";
|
|
500
961
|
};
|
|
501
|
-
|
|
502
|
-
() =>
|
|
503
|
-
(
|
|
504
|
-
|
|
962
|
+
watch(
|
|
963
|
+
() => props.value,
|
|
964
|
+
(value) => {
|
|
965
|
+
setValue(value);
|
|
505
966
|
},
|
|
506
|
-
{ once:
|
|
507
|
-
)
|
|
508
|
-
|
|
967
|
+
{ once: true }
|
|
968
|
+
);
|
|
969
|
+
watch(
|
|
970
|
+
() => field.value,
|
|
509
971
|
() => {
|
|
510
|
-
var
|
|
511
|
-
const [
|
|
512
|
-
|
|
972
|
+
var _a;
|
|
973
|
+
const [dial, phone] = ((_a = field.value) == null ? void 0 : _a.split(" ")) ?? [];
|
|
974
|
+
if (dial && phone) setInputModel(dial, phone);
|
|
513
975
|
}
|
|
514
|
-
)
|
|
515
|
-
|
|
516
|
-
(
|
|
517
|
-
|
|
976
|
+
);
|
|
977
|
+
watch(
|
|
978
|
+
() => props.modelValue,
|
|
979
|
+
(model) => {
|
|
980
|
+
setValue(model);
|
|
518
981
|
}
|
|
519
|
-
)
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
modelValue
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
982
|
+
);
|
|
983
|
+
return (_ctx, _cache) => {
|
|
984
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
|
985
|
+
info: props.fieldInfo,
|
|
986
|
+
label: props.label,
|
|
987
|
+
mandatory: props.mandatory
|
|
988
|
+
}, {
|
|
989
|
+
default: withCtx(() => {
|
|
990
|
+
var _a, _b;
|
|
991
|
+
return [
|
|
992
|
+
createElementVNode("div", _hoisted_1, [
|
|
993
|
+
createVNode(unref(script), {
|
|
994
|
+
modelValue: selectedDialCode.value,
|
|
995
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedDialCode.value = $event),
|
|
996
|
+
class: normalizeClass((_a = unref(Preset)) == null ? void 0 : _a.dialcode.root({ isChromeBased: unref(isChromeBased), invalidInput: invalidInput.value }).class),
|
|
997
|
+
disabled: props.disabled,
|
|
998
|
+
"filter-fields": ["dial_code", "name"],
|
|
999
|
+
options: dialCodes.value,
|
|
1000
|
+
onChange: updateValue,
|
|
1001
|
+
onHide: _cache[1] || (_cache[1] = () => {
|
|
1002
|
+
focusInput();
|
|
1003
|
+
isShowOverlay.value = false;
|
|
1004
|
+
}),
|
|
1005
|
+
onShow: _cache[2] || (_cache[2] = ($event) => isShowOverlay.value = true),
|
|
1006
|
+
"data-wv-section": "dialcode",
|
|
1007
|
+
filter: "",
|
|
1008
|
+
"filter-placeholder": "Search",
|
|
1009
|
+
"option-label": "dial_code",
|
|
1010
|
+
"option-value": "dial_code"
|
|
1011
|
+
}, {
|
|
1012
|
+
dropdownicon: withCtx(() => [
|
|
1013
|
+
createVNode(_sfc_main$2, normalizeProps(guardReactiveProps(unref(Preset).dialcode.dropdownicon({ state: { isShowOverlay: isShowOverlay.value } }))), null, 16)
|
|
1014
|
+
]),
|
|
1015
|
+
option: withCtx(({ option }) => [
|
|
1016
|
+
createElementVNode("div", _hoisted_2, [
|
|
1017
|
+
createElementVNode("img", {
|
|
1018
|
+
src: option.image,
|
|
1019
|
+
alt: "country-img",
|
|
1020
|
+
style: { "height": "16px" }
|
|
1021
|
+
}, null, 8, _hoisted_3),
|
|
1022
|
+
createElementVNode("span", null, toDisplayString(option.name), 1),
|
|
1023
|
+
createElementVNode("span", null, toDisplayString(option.dial_code), 1)
|
|
1024
|
+
])
|
|
1025
|
+
]),
|
|
1026
|
+
_: 1
|
|
1027
|
+
}, 8, ["modelValue", "class", "disabled", "options"]),
|
|
1028
|
+
(openBlock(), createBlock(_sfc_main$3, {
|
|
1029
|
+
key: phoneKey.value,
|
|
1030
|
+
modelValue: phoneNumber.value,
|
|
1031
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => phoneNumber.value = $event),
|
|
1032
|
+
"allowed-characters": /\d/,
|
|
1033
|
+
disabled: _ctx.disabled,
|
|
1034
|
+
"input-class": (_b = unref(Preset)) == null ? void 0 : _b.input({ isChromeBased: unref(isChromeBased), invalidInput: invalidInput.value }).class,
|
|
1035
|
+
"max-length": _ctx.maxDigit,
|
|
1036
|
+
placeholder: _ctx.placeholder ?? unref(locale).defaultPlaceholder,
|
|
1037
|
+
"use-field-wrapper": false,
|
|
1038
|
+
"use-input-group": false,
|
|
1039
|
+
"use-validator": false,
|
|
1040
|
+
onBlur: updateValue,
|
|
1041
|
+
"data-wv-section": "phoneinput",
|
|
1042
|
+
"input-id": "phone-number-input",
|
|
1043
|
+
"prevent-input-on-max-length": ""
|
|
1044
|
+
}, null, 8, ["modelValue", "disabled", "input-class", "max-length", "placeholder"]))
|
|
1045
|
+
]),
|
|
1046
|
+
withDirectives(createVNode(_sfc_main$4, {
|
|
1047
|
+
message: field.errorMessage
|
|
1048
|
+
}, null, 8, ["message"]), [
|
|
1049
|
+
[vShow, field.errorMessage]
|
|
1050
|
+
])
|
|
1051
|
+
];
|
|
1052
|
+
}),
|
|
1053
|
+
_: 1
|
|
1054
|
+
}, 8, ["info", "label", "mandatory"]);
|
|
1055
|
+
};
|
|
589
1056
|
}
|
|
590
1057
|
});
|
|
591
1058
|
export {
|
|
592
|
-
|
|
1059
|
+
_sfc_main as _
|
|
593
1060
|
};
|