@fewangsit/wangsvue-fats 1.0.1-alpha.14 → 1.0.1-alpha.15
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.
|
@@ -218,7 +218,7 @@ const He = /* @__PURE__ */ Ae(Ke), We = {
|
|
|
218
218
|
d.value = e, a != null && a.includes("blob") ? (d.value = e, g.value = !0) : (Y(e), U());
|
|
219
219
|
}, Ie = () => {
|
|
220
220
|
U();
|
|
221
|
-
}, le = oe(() => navigator.userAgent.includes("
|
|
221
|
+
}, le = oe(() => navigator.userAgent.includes("Chrome"));
|
|
222
222
|
return N(
|
|
223
223
|
() => i.value,
|
|
224
224
|
(e) => {
|
|
@@ -408,8 +408,8 @@ const He = /* @__PURE__ */ Ae(Ke), We = {
|
|
|
408
408
|
"ring-inset",
|
|
409
409
|
"cursor-pointer",
|
|
410
410
|
{
|
|
411
|
-
"ring-1": le.value,
|
|
412
|
-
"ring-[0.5px]":
|
|
411
|
+
"ring-1": !le.value,
|
|
412
|
+
"ring-[0.5px]": le.value
|
|
413
413
|
},
|
|
414
414
|
{ "rounded-full": e.rounded, "rounded-lg": !e.rounded },
|
|
415
415
|
{
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as F, onMounted as v, reactive as G, inject as I, shallowRef as b, computed as D, watch as k, createBlock as V, openBlock as U, mergeProps as w, unref as r, withCtx as y, createVNode as p, normalizeClass as E, createTextVNode as z, toDisplayString as H, normalizeProps as O, guardReactiveProps as Z, nextTick as Y } from "vue";
|
|
2
2
|
import { u as W } from "../vendor/vee-validate/dist/vee-validate.esm.es.js";
|
|
3
3
|
import { u as A } from "../plugins/WangsVue.es.js";
|
|
4
4
|
import { s as J } from "../vendor/primevue/dropdown/dropdown.esm.es.js";
|
|
5
5
|
import { _ as j } from "../icon/index.es.js";
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as
|
|
8
|
-
const f = /* @__PURE__ */ JSON.parse('[{"label":"؋ - Afghan Afghani","name":"Afghan Afghani","currency":"AFN","symbol":"؋","locale":"ps-AF"},{"label":"L - Albanian Lek","name":"Albanian Lek","currency":"ALL","symbol":"L","locale":"sq-AL"},{"label":"د.ج - Algerian Dinar","name":"Algerian Dinar","currency":"DZD","symbol":"د.ج","locale":"ar-DZ"},{"label":"Kz - Angolan Kwanza","name":"Angolan Kwanza","currency":"AOA","symbol":"Kz","locale":"pt-AO"},{"label":"$ - Argentine Peso","name":"Argentine Peso","currency":"ARS","symbol":"$","locale":"es-AR"},{"label":"֏ - Armenian Dram","name":"Armenian Dram","currency":"AMD","symbol":"֏","locale":"hy-AM"},{"label":"ƒ - Aruban Florin","name":"Aruban Florin","currency":"AWG","symbol":"ƒ","locale":"nl-AW"},{"label":"$ - Australian Dollar","name":"Australian Dollar","currency":"AUD","symbol":"$","locale":"en-AU"},{"label":"₼ - Azerbaijani Manat","name":"Azerbaijani Manat","currency":"AZN","symbol":"₼","locale":"az-AZ"},{"label":"$ - Bahamian Dollar","name":"Bahamian Dollar","currency":"BSD","symbol":"$","locale":"en-BS"},{"label":"ب.د - Bahraini Dinar","name":"Bahraini Dinar","currency":"BHD","symbol":"ب.د","locale":"ar-BH"},{"label":"৳ - Bangladeshi Taka","name":"Bangladeshi Taka","currency":"BDT","symbol":"৳","locale":"bn-BD"},{"label":"$ - Barbadian Dollar","name":"Barbadian Dollar","currency":"BBD","symbol":"$","locale":"en-BB"},{"label":"Br - Belarusian Ruble","name":"Belarusian Ruble","currency":"BYN","symbol":"Br","locale":"be-BY"},{"label":"$ - Belize Dollar","name":"Belize Dollar","currency":"BZD","symbol":"$","locale":"en-BZ"},{"label":"$ - Bermudian Dollar","name":"Bermudian Dollar","currency":"BMD","symbol":"$","locale":"en-BM"},{"label":"Nu. - Bhutanese Ngultrum","name":"Bhutanese Ngultrum","currency":"BTN","symbol":"Nu.","locale":"dz-BT"},{"label":"Bs. - Bolivian Boliviano","name":"Bolivian Boliviano","currency":"BOB","symbol":"Bs.","locale":"es-BO"},{"label":"KM - Bosnia-Herzegovina Convertible Mark","name":"Bosnia-Herzegovina Convertible Mark","currency":"BAM","symbol":"KM","locale":"bs-BA"},{"label":"P - Botswana Pula","name":"Botswana Pula","currency":"BWP","symbol":"P","locale":"en-BW"},{"label":"R$ - Brazilian Real","name":"Brazilian Real","currency":"BRL","symbol":"R$","locale":"pt-BR"},{"label":"$ - Brunei Dollar","name":"Brunei Dollar","currency":"BND","symbol":"$","locale":"ms-BN"},{"label":"лв - Bulgarian Lev","name":"Bulgarian Lev","currency":"BGN","symbol":"лв","locale":"bg-BG"},{"label":"FBu - Burundian Franc","name":"Burundian Franc","currency":"BIF","symbol":"FBu","locale":"fr-BI"},{"label":"$ - Cabo Verdean Escudo","name":"Cabo Verdean Escudo","currency":"CVE","symbol":"$","locale":"pt-CV"},{"label":"៛ - Cambodian Riel","name":"Cambodian Riel","currency":"KHR","symbol":"៛","locale":"km-KH"},{"label":"$ - Canadian Dollar","name":"Canadian Dollar","currency":"CAD","symbol":"$","locale":"en-CA"},{"label":"$ - Cayman Islands Dollar","name":"Cayman Islands Dollar","currency":"KYD","symbol":"$","locale":"en-KY"},{"label":"FCFA - Central African CFA Franc","name":"Central African CFA Franc","currency":"XAF","symbol":"FCFA","locale":"fr-CM"},{"label":"$ - Chilean Peso","name":"Chilean Peso","currency":"CLP","symbol":"$","locale":"es-CL"},{"label":"¥ - Chinese Yuan","name":"Chinese Yuan","currency":"CNY","symbol":"¥","locale":"zh-CN"},{"label":"$ - Colombian Peso","name":"Colombian Peso","currency":"COP","symbol":"$","locale":"es-CO"},{"label":"CF - Comorian Franc","name":"Comorian Franc","currency":"KMF","symbol":"CF","locale":"ar-KM"},{"label":"FC - Congolese Franc","name":"Congolese Franc","currency":"CDF","symbol":"FC","locale":"fr-CD"},{"label":"₡ - Costa Rican Colón","name":"Costa Rican Colón","currency":"CRC","symbol":"₡","locale":"es-CR"},{"label":"kn - Croatian Kuna","name":"Croatian Kuna","currency":"HRK","symbol":"kn","locale":"hr-HR"},{"label":"$ - Cuban Peso","name":"Cuban Peso","currency":"CUP","symbol":"$","locale":"es-CU"},{"label":"Kč - Czech Koruna","name":"Czech Koruna","currency":"CZK","symbol":"Kč","locale":"cs-CZ"},{"label":"kr - Danish Krone","name":"Danish Krone","currency":"DKK","symbol":"kr","locale":"da-DK"},{"label":"Fdj - Djiboutian Franc","name":"Djiboutian Franc","currency":"DJF","symbol":"Fdj","locale":"fr-DJ"},{"label":"$ - Dominican Peso","name":"Dominican Peso","currency":"DOP","symbol":"$","locale":"es-DO"},{"label":"$ - East Caribbean Dollar","name":"East Caribbean Dollar","currency":"XCD","symbol":"$","locale":"en-AI"},{"label":"£ - Egyptian Pound","name":"Egyptian Pound","currency":"EGP","symbol":"£","locale":"ar-EG"},{"label":"Nfk - Eritrean Nakfa","name":"Eritrean Nakfa","currency":"ERN","symbol":"Nfk","locale":"ti-ER"},{"label":"Br - Ethiopian Birr","name":"Ethiopian Birr","currency":"ETB","symbol":"Br","locale":"am-ET"},{"label":"€ - Euro","name":"Euro","currency":"EUR","symbol":"€","locale":"de-DE"},{"label":"$ - Fijian Dollar","name":"Fijian Dollar","currency":"FJD","symbol":"$","locale":"en-FJ"},{"label":"£ - Falkland Islands Pound","name":"Falkland Islands Pound","currency":"FKP","symbol":"£","locale":"en-FK"},{"label":"D - Gambian Dalasi","name":"Gambian Dalasi","currency":"GMD","symbol":"D","locale":"en-GM"},{"label":"₾ - Georgian Lari","name":"Georgian Lari","currency":"GEL","symbol":"₾","locale":"ka-GE"},{"label":"₵ - Ghanaian Cedi","name":"Ghanaian Cedi","currency":"GHS","symbol":"₵","locale":"en-GH"},{"label":"£ - Gibraltar Pound","name":"Gibraltar Pound","currency":"GIP","symbol":"£","locale":"en-GI"},{"label":"Q - Guatemalan Quetzal","name":"Guatemalan Quetzal","currency":"GTQ","symbol":"Q","locale":"es-GT"},{"label":"FG - Guinean Franc","name":"Guinean Franc","currency":"GNF","symbol":"FG","locale":"fr-GN"},{"label":"$ - Guyanese Dollar","name":"Guyanese Dollar","currency":"GYD","symbol":"$","locale":"en-GY"},{"label":"G - Haitian Gourde","name":"Haitian Gourde","currency":"HTG","symbol":"G","locale":"ht-HT"},{"label":"L - Honduran Lempira","name":"Honduran Lempira","currency":"HNL","symbol":"L","locale":"es-HN"},{"label":"$ - Hong Kong Dollar","name":"Hong Kong Dollar","currency":"HKD","symbol":"$","locale":"en-HK"},{"label":"Ft - Hungarian Forint","name":"Hungarian Forint","currency":"HUF","symbol":"Ft","locale":"hu-HU"},{"label":"kr - Icelandic Króna","name":"Icelandic Króna","currency":"ISK","symbol":"kr","locale":"is-IS"},{"label":"₹ - Indian Rupee","name":"Indian Rupee","currency":"INR","symbol":"₹","locale":"hi-IN"},{"label":"Rp - Indonesian Rupiah","name":"Indonesian Rupiah","currency":"IDR","symbol":"Rp","locale":"id-ID"},{"label":"﷼ - Iranian Rial","name":"Iranian Rial","currency":"IRR","symbol":"﷼","locale":"fa-IR"},{"label":"ع.د - Iraqi Dinar","name":"Iraqi Dinar","currency":"IQD","symbol":"ع.د","locale":"ar-IQ"},{"label":"₪ - Israeli Shekel","name":"Israeli Shekel","currency":"ILS","symbol":"₪","locale":"he-IL"},{"label":"$ - Jamaican Dollar","name":"Jamaican Dollar","currency":"JMD","symbol":"$","locale":"en-JM"},{"label":"¥ - Japanese Yen","name":"Japanese Yen","currency":"JPY","symbol":"¥","locale":"ja-JP"},{"label":"د.ا - Jordanian Dinar","name":"Jordanian Dinar","currency":"JOD","symbol":"د.ا","locale":"ar-JO"},{"label":"₸ - Kazakhstani Tenge","name":"Kazakhstani Tenge","currency":"KZT","symbol":"₸","locale":"kk-KZ"},{"label":"KSh - Kenyan Shilling","name":"Kenyan Shilling","currency":"KES","symbol":"KSh","locale":"en-KE"},{"label":"$ - Kiribati Dollar","name":"Kiribati Dollar","currency":"KID","symbol":"$","locale":"en-KI"},{"label":"د.ك - Kuwaiti Dinar","name":"Kuwaiti Dinar","currency":"KWD","symbol":"د.ك","locale":"ar-KW"},{"label":"лв - Kyrgyzstani Som","name":"Kyrgyzstani Som","currency":"KGS","symbol":"лв","locale":"ky-KG"},{"label":"₭ - Lao Kip","name":"Lao Kip","currency":"LAK","symbol":"₭","locale":"lo-LA"},{"label":"ل.ل - Lebanese Pound","name":"Lebanese Pound","currency":"LBP","symbol":"ل.ل","locale":"ar-LB"},{"label":"L - Lesotho Loti","name":"Lesotho Loti","currency":"LSL","symbol":"L","locale":"st-LS"},{"label":"$ - Liberian Dollar","name":"Liberian Dollar","currency":"LRD","symbol":"$","locale":"en-LR"},{"label":"ل.د - Libyan Dinar","name":"Libyan Dinar","currency":"LYD","symbol":"ل.د","locale":"ar-LY"},{"label":"MOP$ - Macanese Pataca","name":"Macanese Pataca","currency":"MOP","symbol":"MOP$","locale":"zh-MO"},{"label":"ден - Macedonian Denar","name":"Macedonian Denar","currency":"MKD","symbol":"ден","locale":"mk-MK"},{"label":"Ar - Malagasy Ariary","name":"Malagasy Ariary","currency":"MGA","symbol":"Ar","locale":"mg-MG"},{"label":"MK - Malawian Kwacha","name":"Malawian Kwacha","currency":"MWK","symbol":"MK","locale":"en-MW"},{"label":"RM - Malaysian Ringgit","name":"Malaysian Ringgit","currency":"MYR","symbol":"RM","locale":"ms-MY"},{"label":"ރ - Maldivian Rufiyaa","name":"Maldivian Rufiyaa","currency":"MVR","symbol":"ރ","locale":"dv-MV"},{"label":"UM - Mauritanian Ouguiya","name":"Mauritanian Ouguiya","currency":"MRU","symbol":"UM","locale":"ar-MR"},{"label":"₨ - Mauritian Rupee","name":"Mauritian Rupee","currency":"MUR","symbol":"₨","locale":"mfe-MU"},{"label":"$ - Mexican Peso","name":"Mexican Peso","currency":"MXN","symbol":"$","locale":"es-MX"},{"label":"L - Moldovan Leu","name":"Moldovan Leu","currency":"MDL","symbol":"L","locale":"ro-MD"},{"label":"₮ - Mongolian Tugrik","name":"Mongolian Tugrik","currency":"MNT","symbol":"₮","locale":"mn-MN"},{"label":"د.م. - Moroccan Dirham","name":"Moroccan Dirham","currency":"MAD","symbol":"د.م.","locale":"ar-MA"},{"label":"MT - Mozambican Metical","name":"Mozambican Metical","currency":"MZN","symbol":"MT","locale":"pt-MZ"},{"label":"K - Myanmar Kyat","name":"Myanmar Kyat","currency":"MMK","symbol":"K","locale":"my-MM"},{"label":"$ - Namibian Dollar","name":"Namibian Dollar","currency":"NAD","symbol":"$","locale":"en-NA"},{"label":"₨ - Nepalese Rupee","name":"Nepalese Rupee","currency":"NPR","symbol":"₨","locale":"ne-NP"},{"label":"ƒ - Netherlands Antillean Guilder","name":"Netherlands Antillean Guilder","currency":"ANG","symbol":"ƒ","locale":"nl-CW"},{"label":"$ - New Zealand Dollar","name":"New Zealand Dollar","currency":"NZD","symbol":"$","locale":"en-NZ"},{"label":"C$ - Nicaraguan Córdoba","name":"Nicaraguan Córdoba","currency":"NIO","symbol":"C$","locale":"es-NI"},{"label":"₦ - Nigerian Naira","name":"Nigerian Naira","currency":"NGN","symbol":"₦","locale":"en-NG"},{"label":"kr - Norwegian Krone","name":"Norwegian Krone","currency":"NOK","symbol":"kr","locale":"nb-NO"},{"label":"ر.ع. - Omani Rial","name":"Omani Rial","currency":"OMR","symbol":"ر.ع.","locale":"ar-OM"},{"label":"₨ - Pakistani Rupee","name":"Pakistani Rupee","currency":"PKR","symbol":"₨","locale":"ur-PK"},{"label":"B/. - Panamanian Balboa","name":"Panamanian Balboa","currency":"PAB","symbol":"B/.","locale":"es-PA"},{"label":"K - Papua New Guinean Kina","name":"Papua New Guinean Kina","currency":"PGK","symbol":"K","locale":"en-PG"},{"label":"₲ - Paraguayan Guarani","name":"Paraguayan Guarani","currency":"PYG","symbol":"₲","locale":"es-PY"},{"label":"S/ - Peruvian Sol","name":"Peruvian Sol","currency":"PEN","symbol":"S/","locale":"es-PE"},{"label":"₱ - Philippine Peso","name":"Philippine Peso","currency":"PHP","symbol":"₱","locale":"fil-PH"},{"label":"zł - Polish Zloty","name":"Polish Zloty","currency":"PLN","symbol":"zł","locale":"pl-PL"},{"label":"ر.ق - Qatari Riyal","name":"Qatari Riyal","currency":"QAR","symbol":"ر.ق","locale":"ar-QA"},{"label":"lei - Romanian Leu","name":"Romanian Leu","currency":"RON","symbol":"lei","locale":"ro-RO"},{"label":"₽ - Russian Ruble","name":"Russian Ruble","currency":"RUB","symbol":"₽","locale":"ru-RU"},{"label":"RF - Rwandan Franc","name":"Rwandan Franc","currency":"RWF","symbol":"RF","locale":"rw-RW"},{"label":"£ - Saint Helena Pound","name":"Saint Helena Pound","currency":"SHP","symbol":"£","locale":"en-SH"},{"label":"T - Samoan Tala","name":"Samoan Tala","currency":"WST","symbol":"T","locale":"sm-WS"},{"label":"Db - São Tomé and Príncipe Dobra","name":"São Tomé and Príncipe Dobra","currency":"STN","symbol":"Db","locale":"pt-ST"},{"label":"ر.س - Saudi Riyal","name":"Saudi Riyal","currency":"SAR","symbol":"ر.س","locale":"ar-SA"},{"label":"дин - Serbian Dinar","name":"Serbian Dinar","currency":"RSD","symbol":"дин","locale":"sr-RS"},{"label":"₨ - Seychellois Rupee","name":"Seychellois Rupee","currency":"SCR","symbol":"₨","locale":"fr-SC"},{"label":"Le - Sierra Leonean Leone","name":"Sierra Leonean Leone","currency":"SLE","symbol":"Le","locale":"en-SL"},{"label":"$ - Singapore Dollar","name":"Singapore Dollar","currency":"SGD","symbol":"$","locale":"en-SG"},{"label":"$ - Solomon Islands Dollar","name":"Solomon Islands Dollar","currency":"SBD","symbol":"$","locale":"en-SB"},{"label":"Sh - Somali Shilling","name":"Somali Shilling","currency":"SOS","symbol":"Sh","locale":"so-SO"},{"label":"R - South African Rand","name":"South African Rand","currency":"ZAR","symbol":"R","locale":"en-ZA"},{"label":"₩ - South Korean Won","name":"South Korean Won","currency":"KRW","symbol":"₩","locale":"ko-KR"},{"label":"£ - South Sudanese Pound","name":"South Sudanese Pound","currency":"SSP","symbol":"£","locale":"en-SS"},{"label":"₨ - Sri Lankan Rupee","name":"Sri Lankan Rupee","currency":"LKR","symbol":"₨","locale":"si-LK"},{"label":"£ - Sudanese Pound","name":"Sudanese Pound","currency":"SDG","symbol":"£","locale":"ar-SD"},{"label":"$ - Surinamese Dollar","name":"Surinamese Dollar","currency":"SRD","symbol":"$","locale":"nl-SR"},{"label":"E - Swazi Lilangeni","name":"Swazi Lilangeni","currency":"SZL","symbol":"E","locale":"en-SZ"},{"label":"kr - Swedish Krona","name":"Swedish Krona","currency":"SEK","symbol":"kr","locale":"sv-SE"},{"label":"Fr - Swiss Franc","name":"Swiss Franc","currency":"CHF","symbol":"Fr","locale":"fr-CH"},{"label":"£ - Syrian Pound","name":"Syrian Pound","currency":"SYP","symbol":"£","locale":"ar-SY"},{"label":"ЅМ - Tajikistani Somoni","name":"Tajikistani Somoni","currency":"TJS","symbol":"ЅМ","locale":"tg-TJ"},{"label":"Sh - Tanzanian Shilling","name":"Tanzanian Shilling","currency":"TZS","symbol":"Sh","locale":"sw-TZ"},{"label":"฿ - Thai Baht","name":"Thai Baht","currency":"THB","symbol":"฿","locale":"th-TH"},{"label":"T$ - Tongan Paʻanga","name":"Tongan Paʻanga","currency":"TOP","symbol":"T$","locale":"to-TO"},{"label":"$ - Trinidad and Tobago Dollar","name":"Trinidad and Tobago Dollar","currency":"TTD","symbol":"$","locale":"en-TT"},{"label":"د.ت - Tunisian Dinar","name":"Tunisian Dinar","currency":"TND","symbol":"د.ت","locale":"ar-TN"},{"label":"₺ - Turkish Lira","name":"Turkish Lira","currency":"TRY","symbol":"₺","locale":"tr-TR"},{"label":"T - Turkmenistani Manat","name":"Turkmenistani Manat","currency":"TMT","symbol":"T","locale":"tk-TM"},{"label":"USh - Ugandan Shilling","name":"Ugandan Shilling","currency":"UGX","symbol":"USh","locale":"en-UG"},{"label":"₴ - Ukrainian Hryvnia","name":"Ukrainian Hryvnia","currency":"UAH","symbol":"₴","locale":"uk-UA"},{"label":"د.إ - United Arab Emirates Dirham","name":"United Arab Emirates Dirham","currency":"AED","symbol":"د.إ","locale":"ar-AE"},{"label":"$ - United States Dollar","name":"United States Dollar","currency":"USD","symbol":"$","locale":"en-US"},{"label":"$ - Uruguayan Peso","name":"Uruguayan Peso","currency":"UYU","symbol":"$","locale":"es-UY"},{"label":"лв - Uzbekistani Som","name":"Uzbekistani Som","currency":"UZS","symbol":"лв","locale":"uz-UZ"},{"label":"VT - Vanuatu Vatu","name":"Vanuatu Vatu","currency":"VUV","symbol":"VT","locale":"bi-VU"},{"label":"Bs. - Venezuelan Bolívar","name":"Venezuelan Bolívar","currency":"VES","symbol":"Bs.","locale":"es-VE"},{"label":"₫ - Vietnamese Dong","name":"Vietnamese Dong","currency":"VND","symbol":"₫","locale":"vi-VN"},{"label":"CFA - West African CFA Franc","name":"West African CFA Franc","currency":"XOF","symbol":"CFA","locale":"fr-SN"},{"label":"﷼ - Yemeni Rial","name":"Yemeni Rial","currency":"YER","symbol":"﷼","locale":"ar-YE"},{"label":"ZK - Zambian Kwacha","name":"Zambian Kwacha","currency":"ZMW","symbol":"ZK","locale":"en-ZM"},{"label":"$ - Zimbabwean Dollar","name":"Zimbabwean Dollar","currency":"ZWL","symbol":"$","locale":"en-ZW"}]'), S = (c = "IDR") => {
|
|
6
|
+
import { _ as Q } from "../inputnumber/index.es.js";
|
|
7
|
+
import { _ as x } from "../validatormessage/index.es.js";
|
|
8
|
+
const N = /* @__PURE__ */ JSON.parse('[{"label":"؋ - Afghan Afghani","name":"Afghan Afghani","currency":"AFN","symbol":"؋","locale":"ps-AF"},{"label":"L - Albanian Lek","name":"Albanian Lek","currency":"ALL","symbol":"L","locale":"sq-AL"},{"label":"د.ج - Algerian Dinar","name":"Algerian Dinar","currency":"DZD","symbol":"د.ج","locale":"ar-DZ"},{"label":"Kz - Angolan Kwanza","name":"Angolan Kwanza","currency":"AOA","symbol":"Kz","locale":"pt-AO"},{"label":"$ - Argentine Peso","name":"Argentine Peso","currency":"ARS","symbol":"$","locale":"es-AR"},{"label":"֏ - Armenian Dram","name":"Armenian Dram","currency":"AMD","symbol":"֏","locale":"hy-AM"},{"label":"ƒ - Aruban Florin","name":"Aruban Florin","currency":"AWG","symbol":"ƒ","locale":"nl-AW"},{"label":"$ - Australian Dollar","name":"Australian Dollar","currency":"AUD","symbol":"$","locale":"en-AU"},{"label":"₼ - Azerbaijani Manat","name":"Azerbaijani Manat","currency":"AZN","symbol":"₼","locale":"az-AZ"},{"label":"$ - Bahamian Dollar","name":"Bahamian Dollar","currency":"BSD","symbol":"$","locale":"en-BS"},{"label":"ب.د - Bahraini Dinar","name":"Bahraini Dinar","currency":"BHD","symbol":"ب.د","locale":"ar-BH"},{"label":"৳ - Bangladeshi Taka","name":"Bangladeshi Taka","currency":"BDT","symbol":"৳","locale":"bn-BD"},{"label":"$ - Barbadian Dollar","name":"Barbadian Dollar","currency":"BBD","symbol":"$","locale":"en-BB"},{"label":"Br - Belarusian Ruble","name":"Belarusian Ruble","currency":"BYN","symbol":"Br","locale":"be-BY"},{"label":"$ - Belize Dollar","name":"Belize Dollar","currency":"BZD","symbol":"$","locale":"en-BZ"},{"label":"$ - Bermudian Dollar","name":"Bermudian Dollar","currency":"BMD","symbol":"$","locale":"en-BM"},{"label":"Nu. - Bhutanese Ngultrum","name":"Bhutanese Ngultrum","currency":"BTN","symbol":"Nu.","locale":"dz-BT"},{"label":"Bs. - Bolivian Boliviano","name":"Bolivian Boliviano","currency":"BOB","symbol":"Bs.","locale":"es-BO"},{"label":"KM - Bosnia-Herzegovina Convertible Mark","name":"Bosnia-Herzegovina Convertible Mark","currency":"BAM","symbol":"KM","locale":"bs-BA"},{"label":"P - Botswana Pula","name":"Botswana Pula","currency":"BWP","symbol":"P","locale":"en-BW"},{"label":"R$ - Brazilian Real","name":"Brazilian Real","currency":"BRL","symbol":"R$","locale":"pt-BR"},{"label":"$ - Brunei Dollar","name":"Brunei Dollar","currency":"BND","symbol":"$","locale":"ms-BN"},{"label":"лв - Bulgarian Lev","name":"Bulgarian Lev","currency":"BGN","symbol":"лв","locale":"bg-BG"},{"label":"FBu - Burundian Franc","name":"Burundian Franc","currency":"BIF","symbol":"FBu","locale":"fr-BI"},{"label":"$ - Cabo Verdean Escudo","name":"Cabo Verdean Escudo","currency":"CVE","symbol":"$","locale":"pt-CV"},{"label":"៛ - Cambodian Riel","name":"Cambodian Riel","currency":"KHR","symbol":"៛","locale":"km-KH"},{"label":"$ - Canadian Dollar","name":"Canadian Dollar","currency":"CAD","symbol":"$","locale":"en-CA"},{"label":"$ - Cayman Islands Dollar","name":"Cayman Islands Dollar","currency":"KYD","symbol":"$","locale":"en-KY"},{"label":"FCFA - Central African CFA Franc","name":"Central African CFA Franc","currency":"XAF","symbol":"FCFA","locale":"fr-CM"},{"label":"$ - Chilean Peso","name":"Chilean Peso","currency":"CLP","symbol":"$","locale":"es-CL"},{"label":"¥ - Chinese Yuan","name":"Chinese Yuan","currency":"CNY","symbol":"¥","locale":"zh-CN"},{"label":"$ - Colombian Peso","name":"Colombian Peso","currency":"COP","symbol":"$","locale":"es-CO"},{"label":"CF - Comorian Franc","name":"Comorian Franc","currency":"KMF","symbol":"CF","locale":"ar-KM"},{"label":"FC - Congolese Franc","name":"Congolese Franc","currency":"CDF","symbol":"FC","locale":"fr-CD"},{"label":"₡ - Costa Rican Colón","name":"Costa Rican Colón","currency":"CRC","symbol":"₡","locale":"es-CR"},{"label":"kn - Croatian Kuna","name":"Croatian Kuna","currency":"HRK","symbol":"kn","locale":"hr-HR"},{"label":"$ - Cuban Peso","name":"Cuban Peso","currency":"CUP","symbol":"$","locale":"es-CU"},{"label":"Kč - Czech Koruna","name":"Czech Koruna","currency":"CZK","symbol":"Kč","locale":"cs-CZ"},{"label":"kr - Danish Krone","name":"Danish Krone","currency":"DKK","symbol":"kr","locale":"da-DK"},{"label":"Fdj - Djiboutian Franc","name":"Djiboutian Franc","currency":"DJF","symbol":"Fdj","locale":"fr-DJ"},{"label":"$ - Dominican Peso","name":"Dominican Peso","currency":"DOP","symbol":"$","locale":"es-DO"},{"label":"$ - East Caribbean Dollar","name":"East Caribbean Dollar","currency":"XCD","symbol":"$","locale":"en-AI"},{"label":"£ - Egyptian Pound","name":"Egyptian Pound","currency":"EGP","symbol":"£","locale":"ar-EG"},{"label":"Nfk - Eritrean Nakfa","name":"Eritrean Nakfa","currency":"ERN","symbol":"Nfk","locale":"ti-ER"},{"label":"Br - Ethiopian Birr","name":"Ethiopian Birr","currency":"ETB","symbol":"Br","locale":"am-ET"},{"label":"€ - Euro","name":"Euro","currency":"EUR","symbol":"€","locale":"de-DE"},{"label":"$ - Fijian Dollar","name":"Fijian Dollar","currency":"FJD","symbol":"$","locale":"en-FJ"},{"label":"£ - Falkland Islands Pound","name":"Falkland Islands Pound","currency":"FKP","symbol":"£","locale":"en-FK"},{"label":"D - Gambian Dalasi","name":"Gambian Dalasi","currency":"GMD","symbol":"D","locale":"en-GM"},{"label":"₾ - Georgian Lari","name":"Georgian Lari","currency":"GEL","symbol":"₾","locale":"ka-GE"},{"label":"₵ - Ghanaian Cedi","name":"Ghanaian Cedi","currency":"GHS","symbol":"₵","locale":"en-GH"},{"label":"£ - Gibraltar Pound","name":"Gibraltar Pound","currency":"GIP","symbol":"£","locale":"en-GI"},{"label":"Q - Guatemalan Quetzal","name":"Guatemalan Quetzal","currency":"GTQ","symbol":"Q","locale":"es-GT"},{"label":"FG - Guinean Franc","name":"Guinean Franc","currency":"GNF","symbol":"FG","locale":"fr-GN"},{"label":"$ - Guyanese Dollar","name":"Guyanese Dollar","currency":"GYD","symbol":"$","locale":"en-GY"},{"label":"G - Haitian Gourde","name":"Haitian Gourde","currency":"HTG","symbol":"G","locale":"ht-HT"},{"label":"L - Honduran Lempira","name":"Honduran Lempira","currency":"HNL","symbol":"L","locale":"es-HN"},{"label":"$ - Hong Kong Dollar","name":"Hong Kong Dollar","currency":"HKD","symbol":"$","locale":"en-HK"},{"label":"Ft - Hungarian Forint","name":"Hungarian Forint","currency":"HUF","symbol":"Ft","locale":"hu-HU"},{"label":"kr - Icelandic Króna","name":"Icelandic Króna","currency":"ISK","symbol":"kr","locale":"is-IS"},{"label":"₹ - Indian Rupee","name":"Indian Rupee","currency":"INR","symbol":"₹","locale":"hi-IN"},{"label":"Rp - Indonesian Rupiah","name":"Indonesian Rupiah","currency":"IDR","symbol":"Rp","locale":"id-ID"},{"label":"﷼ - Iranian Rial","name":"Iranian Rial","currency":"IRR","symbol":"﷼","locale":"fa-IR"},{"label":"ع.د - Iraqi Dinar","name":"Iraqi Dinar","currency":"IQD","symbol":"ع.د","locale":"ar-IQ"},{"label":"₪ - Israeli Shekel","name":"Israeli Shekel","currency":"ILS","symbol":"₪","locale":"he-IL"},{"label":"$ - Jamaican Dollar","name":"Jamaican Dollar","currency":"JMD","symbol":"$","locale":"en-JM"},{"label":"¥ - Japanese Yen","name":"Japanese Yen","currency":"JPY","symbol":"¥","locale":"ja-JP"},{"label":"د.ا - Jordanian Dinar","name":"Jordanian Dinar","currency":"JOD","symbol":"د.ا","locale":"ar-JO"},{"label":"₸ - Kazakhstani Tenge","name":"Kazakhstani Tenge","currency":"KZT","symbol":"₸","locale":"kk-KZ"},{"label":"KSh - Kenyan Shilling","name":"Kenyan Shilling","currency":"KES","symbol":"KSh","locale":"en-KE"},{"label":"$ - Kiribati Dollar","name":"Kiribati Dollar","currency":"KID","symbol":"$","locale":"en-KI"},{"label":"د.ك - Kuwaiti Dinar","name":"Kuwaiti Dinar","currency":"KWD","symbol":"د.ك","locale":"ar-KW"},{"label":"лв - Kyrgyzstani Som","name":"Kyrgyzstani Som","currency":"KGS","symbol":"лв","locale":"ky-KG"},{"label":"₭ - Lao Kip","name":"Lao Kip","currency":"LAK","symbol":"₭","locale":"lo-LA"},{"label":"ل.ل - Lebanese Pound","name":"Lebanese Pound","currency":"LBP","symbol":"ل.ل","locale":"ar-LB"},{"label":"L - Lesotho Loti","name":"Lesotho Loti","currency":"LSL","symbol":"L","locale":"st-LS"},{"label":"$ - Liberian Dollar","name":"Liberian Dollar","currency":"LRD","symbol":"$","locale":"en-LR"},{"label":"ل.د - Libyan Dinar","name":"Libyan Dinar","currency":"LYD","symbol":"ل.د","locale":"ar-LY"},{"label":"MOP$ - Macanese Pataca","name":"Macanese Pataca","currency":"MOP","symbol":"MOP$","locale":"zh-MO"},{"label":"ден - Macedonian Denar","name":"Macedonian Denar","currency":"MKD","symbol":"ден","locale":"mk-MK"},{"label":"Ar - Malagasy Ariary","name":"Malagasy Ariary","currency":"MGA","symbol":"Ar","locale":"mg-MG"},{"label":"MK - Malawian Kwacha","name":"Malawian Kwacha","currency":"MWK","symbol":"MK","locale":"en-MW"},{"label":"RM - Malaysian Ringgit","name":"Malaysian Ringgit","currency":"MYR","symbol":"RM","locale":"ms-MY"},{"label":"ރ - Maldivian Rufiyaa","name":"Maldivian Rufiyaa","currency":"MVR","symbol":"ރ","locale":"dv-MV"},{"label":"UM - Mauritanian Ouguiya","name":"Mauritanian Ouguiya","currency":"MRU","symbol":"UM","locale":"ar-MR"},{"label":"₨ - Mauritian Rupee","name":"Mauritian Rupee","currency":"MUR","symbol":"₨","locale":"mfe-MU"},{"label":"$ - Mexican Peso","name":"Mexican Peso","currency":"MXN","symbol":"$","locale":"es-MX"},{"label":"L - Moldovan Leu","name":"Moldovan Leu","currency":"MDL","symbol":"L","locale":"ro-MD"},{"label":"₮ - Mongolian Tugrik","name":"Mongolian Tugrik","currency":"MNT","symbol":"₮","locale":"mn-MN"},{"label":"د.م. - Moroccan Dirham","name":"Moroccan Dirham","currency":"MAD","symbol":"د.م.","locale":"ar-MA"},{"label":"MT - Mozambican Metical","name":"Mozambican Metical","currency":"MZN","symbol":"MT","locale":"pt-MZ"},{"label":"K - Myanmar Kyat","name":"Myanmar Kyat","currency":"MMK","symbol":"K","locale":"my-MM"},{"label":"$ - Namibian Dollar","name":"Namibian Dollar","currency":"NAD","symbol":"$","locale":"en-NA"},{"label":"₨ - Nepalese Rupee","name":"Nepalese Rupee","currency":"NPR","symbol":"₨","locale":"ne-NP"},{"label":"ƒ - Netherlands Antillean Guilder","name":"Netherlands Antillean Guilder","currency":"ANG","symbol":"ƒ","locale":"nl-CW"},{"label":"$ - New Zealand Dollar","name":"New Zealand Dollar","currency":"NZD","symbol":"$","locale":"en-NZ"},{"label":"C$ - Nicaraguan Córdoba","name":"Nicaraguan Córdoba","currency":"NIO","symbol":"C$","locale":"es-NI"},{"label":"₦ - Nigerian Naira","name":"Nigerian Naira","currency":"NGN","symbol":"₦","locale":"en-NG"},{"label":"kr - Norwegian Krone","name":"Norwegian Krone","currency":"NOK","symbol":"kr","locale":"nb-NO"},{"label":"ر.ع. - Omani Rial","name":"Omani Rial","currency":"OMR","symbol":"ر.ع.","locale":"ar-OM"},{"label":"₨ - Pakistani Rupee","name":"Pakistani Rupee","currency":"PKR","symbol":"₨","locale":"ur-PK"},{"label":"B/. - Panamanian Balboa","name":"Panamanian Balboa","currency":"PAB","symbol":"B/.","locale":"es-PA"},{"label":"K - Papua New Guinean Kina","name":"Papua New Guinean Kina","currency":"PGK","symbol":"K","locale":"en-PG"},{"label":"₲ - Paraguayan Guarani","name":"Paraguayan Guarani","currency":"PYG","symbol":"₲","locale":"es-PY"},{"label":"S/ - Peruvian Sol","name":"Peruvian Sol","currency":"PEN","symbol":"S/","locale":"es-PE"},{"label":"₱ - Philippine Peso","name":"Philippine Peso","currency":"PHP","symbol":"₱","locale":"fil-PH"},{"label":"zł - Polish Zloty","name":"Polish Zloty","currency":"PLN","symbol":"zł","locale":"pl-PL"},{"label":"ر.ق - Qatari Riyal","name":"Qatari Riyal","currency":"QAR","symbol":"ر.ق","locale":"ar-QA"},{"label":"lei - Romanian Leu","name":"Romanian Leu","currency":"RON","symbol":"lei","locale":"ro-RO"},{"label":"₽ - Russian Ruble","name":"Russian Ruble","currency":"RUB","symbol":"₽","locale":"ru-RU"},{"label":"RF - Rwandan Franc","name":"Rwandan Franc","currency":"RWF","symbol":"RF","locale":"rw-RW"},{"label":"£ - Saint Helena Pound","name":"Saint Helena Pound","currency":"SHP","symbol":"£","locale":"en-SH"},{"label":"T - Samoan Tala","name":"Samoan Tala","currency":"WST","symbol":"T","locale":"sm-WS"},{"label":"Db - São Tomé and Príncipe Dobra","name":"São Tomé and Príncipe Dobra","currency":"STN","symbol":"Db","locale":"pt-ST"},{"label":"ر.س - Saudi Riyal","name":"Saudi Riyal","currency":"SAR","symbol":"ر.س","locale":"ar-SA"},{"label":"дин - Serbian Dinar","name":"Serbian Dinar","currency":"RSD","symbol":"дин","locale":"sr-RS"},{"label":"₨ - Seychellois Rupee","name":"Seychellois Rupee","currency":"SCR","symbol":"₨","locale":"fr-SC"},{"label":"Le - Sierra Leonean Leone","name":"Sierra Leonean Leone","currency":"SLE","symbol":"Le","locale":"en-SL"},{"label":"$ - Singapore Dollar","name":"Singapore Dollar","currency":"SGD","symbol":"$","locale":"en-SG"},{"label":"$ - Solomon Islands Dollar","name":"Solomon Islands Dollar","currency":"SBD","symbol":"$","locale":"en-SB"},{"label":"Sh - Somali Shilling","name":"Somali Shilling","currency":"SOS","symbol":"Sh","locale":"so-SO"},{"label":"R - South African Rand","name":"South African Rand","currency":"ZAR","symbol":"R","locale":"en-ZA"},{"label":"₩ - South Korean Won","name":"South Korean Won","currency":"KRW","symbol":"₩","locale":"ko-KR"},{"label":"£ - South Sudanese Pound","name":"South Sudanese Pound","currency":"SSP","symbol":"£","locale":"en-SS"},{"label":"₨ - Sri Lankan Rupee","name":"Sri Lankan Rupee","currency":"LKR","symbol":"₨","locale":"si-LK"},{"label":"£ - Sudanese Pound","name":"Sudanese Pound","currency":"SDG","symbol":"£","locale":"ar-SD"},{"label":"$ - Surinamese Dollar","name":"Surinamese Dollar","currency":"SRD","symbol":"$","locale":"nl-SR"},{"label":"E - Swazi Lilangeni","name":"Swazi Lilangeni","currency":"SZL","symbol":"E","locale":"en-SZ"},{"label":"kr - Swedish Krona","name":"Swedish Krona","currency":"SEK","symbol":"kr","locale":"sv-SE"},{"label":"Fr - Swiss Franc","name":"Swiss Franc","currency":"CHF","symbol":"Fr","locale":"fr-CH"},{"label":"£ - Syrian Pound","name":"Syrian Pound","currency":"SYP","symbol":"£","locale":"ar-SY"},{"label":"ЅМ - Tajikistani Somoni","name":"Tajikistani Somoni","currency":"TJS","symbol":"ЅМ","locale":"tg-TJ"},{"label":"Sh - Tanzanian Shilling","name":"Tanzanian Shilling","currency":"TZS","symbol":"Sh","locale":"sw-TZ"},{"label":"฿ - Thai Baht","name":"Thai Baht","currency":"THB","symbol":"฿","locale":"th-TH"},{"label":"T$ - Tongan Paʻanga","name":"Tongan Paʻanga","currency":"TOP","symbol":"T$","locale":"to-TO"},{"label":"$ - Trinidad and Tobago Dollar","name":"Trinidad and Tobago Dollar","currency":"TTD","symbol":"$","locale":"en-TT"},{"label":"د.ت - Tunisian Dinar","name":"Tunisian Dinar","currency":"TND","symbol":"د.ت","locale":"ar-TN"},{"label":"₺ - Turkish Lira","name":"Turkish Lira","currency":"TRY","symbol":"₺","locale":"tr-TR"},{"label":"T - Turkmenistani Manat","name":"Turkmenistani Manat","currency":"TMT","symbol":"T","locale":"tk-TM"},{"label":"USh - Ugandan Shilling","name":"Ugandan Shilling","currency":"UGX","symbol":"USh","locale":"en-UG"},{"label":"₴ - Ukrainian Hryvnia","name":"Ukrainian Hryvnia","currency":"UAH","symbol":"₴","locale":"uk-UA"},{"label":"د.إ - United Arab Emirates Dirham","name":"United Arab Emirates Dirham","currency":"AED","symbol":"د.إ","locale":"ar-AE"},{"label":"$ - United States Dollar","name":"United States Dollar","currency":"USD","symbol":"$","locale":"en-US"},{"label":"$ - Uruguayan Peso","name":"Uruguayan Peso","currency":"UYU","symbol":"$","locale":"es-UY"},{"label":"лв - Uzbekistani Som","name":"Uzbekistani Som","currency":"UZS","symbol":"лв","locale":"uz-UZ"},{"label":"VT - Vanuatu Vatu","name":"Vanuatu Vatu","currency":"VUV","symbol":"VT","locale":"bi-VU"},{"label":"Bs. - Venezuelan Bolívar","name":"Venezuelan Bolívar","currency":"VES","symbol":"Bs.","locale":"es-VE"},{"label":"₫ - Vietnamese Dong","name":"Vietnamese Dong","currency":"VND","symbol":"₫","locale":"vi-VN"},{"label":"CFA - West African CFA Franc","name":"West African CFA Franc","currency":"XOF","symbol":"CFA","locale":"fr-SN"},{"label":"﷼ - Yemeni Rial","name":"Yemeni Rial","currency":"YER","symbol":"﷼","locale":"ar-YE"},{"label":"ZK - Zambian Kwacha","name":"Zambian Kwacha","currency":"ZMW","symbol":"ZK","locale":"en-ZM"},{"label":"$ - Zimbabwean Dollar","name":"Zimbabwean Dollar","currency":"ZWL","symbol":"$","locale":"en-ZW"}]'), S = (c = "IDR") => {
|
|
9
9
|
let i = c;
|
|
10
10
|
const { generalSetting: a = {} } = JSON.parse(
|
|
11
11
|
localStorage.getItem("user") ?? "{}"
|
|
12
12
|
);
|
|
13
|
-
return a.currency && (i = a.currency.currency),
|
|
13
|
+
return a.currency && (i = a.currency.currency), N.find((u) => u.currency === i) ?? {
|
|
14
14
|
label: "$ - United States Dollar",
|
|
15
15
|
name: "United States Dollar",
|
|
16
16
|
currency: "USD",
|
|
@@ -23,7 +23,7 @@ const f = /* @__PURE__ */ JSON.parse('[{"label":"؋ - Afghan Afghani","name":"Af
|
|
|
23
23
|
style: a ? "currency" : void 0,
|
|
24
24
|
currency: t
|
|
25
25
|
}).replace("Rp ", "Rp");
|
|
26
|
-
}, oa = /* @__PURE__ */
|
|
26
|
+
}, oa = /* @__PURE__ */ F({
|
|
27
27
|
__name: "InputCurrency",
|
|
28
28
|
props: {
|
|
29
29
|
modelValue: {},
|
|
@@ -46,7 +46,7 @@ const f = /* @__PURE__ */ JSON.parse('[{"label":"؋ - Afghan Afghani","name":"Af
|
|
|
46
46
|
},
|
|
47
47
|
emits: ["update:modelValue", "input"],
|
|
48
48
|
setup(c, { emit: i }) {
|
|
49
|
-
var
|
|
49
|
+
var K, h;
|
|
50
50
|
const a = c, u = i;
|
|
51
51
|
v(() => {
|
|
52
52
|
a.useValidator && (Object.assign(
|
|
@@ -60,17 +60,17 @@ const f = /* @__PURE__ */ JSON.parse('[{"label":"؋ - Afghan Afghani","name":"Af
|
|
|
60
60
|
})
|
|
61
61
|
), a.modelValue && (m.value = a.modelValue));
|
|
62
62
|
});
|
|
63
|
-
const { locale: t } = A("InputCurrency"), { locale:
|
|
63
|
+
const { locale: t } = A("InputCurrency"), { locale: f } = A("Dropdown"), { dropdown: g = {}, inputcurrency: R = {} } = I("preset", {}), d = b(!1), s = b((K = a.modelValue) == null ? void 0 : K.value), B = navigator.userAgent.includes("Chrome"), o = b(
|
|
64
64
|
S((h = a.modelValue) == null ? void 0 : h.currency)
|
|
65
65
|
), m = G({
|
|
66
66
|
value: a.modelValue
|
|
67
|
-
}), L = b(
|
|
67
|
+
}), L = b(N), $ = D(() => {
|
|
68
68
|
var n;
|
|
69
69
|
return (n = o.value) == null ? void 0 : n.locale;
|
|
70
|
-
}), M = D(() => a.inputnNumberId ? a.inputnNumberId : (a.label ?? a.fieldName ?? "input-number").toLowerCase().trim().replaceAll(" ", "-") + "-inputnumber"), P = D(() => a.invalid || !!m.errorMessage),
|
|
70
|
+
}), M = D(() => a.inputnNumberId ? a.inputnNumberId : (a.label ?? a.fieldName ?? "input-number").toLowerCase().trim().replaceAll(" ", "-") + "-inputnumber"), P = D(() => a.invalid || !!m.errorMessage), C = ({ currency: n }, e) => {
|
|
71
71
|
const l = { currency: n, value: e };
|
|
72
72
|
u("update:modelValue", l), m.value = l;
|
|
73
|
-
},
|
|
73
|
+
}, T = () => {
|
|
74
74
|
Y(() => {
|
|
75
75
|
const n = document.getElementById(
|
|
76
76
|
M.value
|
|
@@ -84,14 +84,14 @@ const f = /* @__PURE__ */ JSON.parse('[{"label":"؋ - Afghan Afghani","name":"Af
|
|
|
84
84
|
var n, e, l;
|
|
85
85
|
o.value = (n = a.modelValue) != null && n.currency ? S((e = a.modelValue) == null ? void 0 : e.currency) : o.value, m.value = a.modelValue, s.value = (l = a.modelValue) == null ? void 0 : l.value;
|
|
86
86
|
}
|
|
87
|
-
), (n, e) => (U(), V(
|
|
87
|
+
), (n, e) => (U(), V(Q, w(a, {
|
|
88
88
|
modelValue: s.value,
|
|
89
89
|
"onUpdate:modelValue": [
|
|
90
90
|
e[4] || (e[4] = (l) => s.value = l),
|
|
91
|
-
e[5] || (e[5] = (l) =>
|
|
91
|
+
e[5] || (e[5] = (l) => C(o.value, l))
|
|
92
92
|
],
|
|
93
93
|
"input-id": M.value,
|
|
94
|
-
"input-number-class": r(R).value({
|
|
94
|
+
"input-number-class": r(R).value({ isChromeBased: r(B), invalidInput: P.value }).class,
|
|
95
95
|
locale: $.value,
|
|
96
96
|
"min-fraction-digits": 0,
|
|
97
97
|
"use-validator": !1,
|
|
@@ -105,11 +105,11 @@ const f = /* @__PURE__ */ JSON.parse('[{"label":"؋ - Afghan Afghani","name":"Af
|
|
|
105
105
|
modelValue: o.value,
|
|
106
106
|
"onUpdate:modelValue": [
|
|
107
107
|
e[0] || (e[0] = (l) => o.value = l),
|
|
108
|
-
e[3] || (e[3] = (l) =>
|
|
108
|
+
e[3] || (e[3] = (l) => C(l, s.value))
|
|
109
109
|
],
|
|
110
|
-
class: E(r(R).currency({
|
|
110
|
+
class: E(r(R).currency({ isChromeBased: r(B), invalidInput: P.value }).class),
|
|
111
111
|
"filter-fields": ["label", "currency"],
|
|
112
|
-
"filter-placeholder": r(
|
|
112
|
+
"filter-placeholder": r(f).filterPlaceholder,
|
|
113
113
|
options: L.value,
|
|
114
114
|
pt: {
|
|
115
115
|
input: {
|
|
@@ -119,7 +119,7 @@ const f = /* @__PURE__ */ JSON.parse('[{"label":"؋ - Afghan Afghani","name":"Af
|
|
|
119
119
|
]
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
|
-
onHide: e[1] || (e[1] = (l) => (d.value = !1,
|
|
122
|
+
onHide: e[1] || (e[1] = (l) => (d.value = !1, T())),
|
|
123
123
|
onShow: e[2] || (e[2] = (l) => d.value = !0),
|
|
124
124
|
"data-key": "currency",
|
|
125
125
|
filter: "",
|
|
@@ -135,7 +135,7 @@ const f = /* @__PURE__ */ JSON.parse('[{"label":"؋ - Afghan Afghani","name":"Af
|
|
|
135
135
|
}, 8, ["modelValue", "class", "filter-placeholder", "options", "pt"])
|
|
136
136
|
]),
|
|
137
137
|
validatormessage: y(() => [
|
|
138
|
-
p(
|
|
138
|
+
p(x, {
|
|
139
139
|
message: m.errorMessage
|
|
140
140
|
}, null, 8, ["message"])
|
|
141
141
|
]),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as G, onBeforeMount as V, shallowRef as u, onMounted as D, reactive as L, inject as x, computed as j, watch as
|
|
1
|
+
import { defineComponent as G, onBeforeMount as V, shallowRef as u, onMounted as D, reactive as L, inject as x, computed as j, watch as C, createBlock as f, openBlock as P, withCtx as M, createElementVNode as d, withDirectives as F, createVNode as v, unref as c, normalizeClass as H, toDisplayString as R, normalizeProps as E, guardReactiveProps as J, vShow as q, nextTick as w } from "vue";
|
|
2
2
|
import O from "axios";
|
|
3
3
|
import { u as W } from "../vendor/vee-validate/dist/vee-validate.esm.es.js";
|
|
4
4
|
import { u as Z } from "../plugins/WangsVue.es.js";
|
|
@@ -7,7 +7,7 @@ import { _ as Y } from "../fieldwrapper/index.es.js";
|
|
|
7
7
|
import { _ as Q } from "../icon/index.es.js";
|
|
8
8
|
import { _ as X } from "../inputtext/index.es.js";
|
|
9
9
|
import { _ as aa } from "../validatormessage/index.es.js";
|
|
10
|
-
const na = "Andorra", oa = "United Arab Emirates", ta = "Afghanistan", sa = "Albania", ea = "Armenia", ia = "Antarctica", ca = "Antarctica", ra = "Antarctica", la = "Antarctica", ua = "Antarctica", da = "Antarctica", ma = "Antarctica", ga = "Argentina", ha = "Argentina", pa = "Argentina", Sa = "Argentina", ya = "Argentina",
|
|
10
|
+
const na = "Andorra", oa = "United Arab Emirates", ta = "Afghanistan", sa = "Albania", ea = "Armenia", ia = "Antarctica", ca = "Antarctica", ra = "Antarctica", la = "Antarctica", ua = "Antarctica", da = "Antarctica", ma = "Antarctica", ga = "Argentina", ha = "Argentina", pa = "Argentina", Sa = "Argentina", ya = "Argentina", Ca = "Argentina", Ma = "Argentina", va = "Argentina", ba = "Argentina", ka = "Argentina", Ba = "Argentina", Aa = "Argentina", _a = "Samoa (American)", fa = "Austria", Pa = "Australia", Ra = "Australia", wa = "Australia", za = "Australia", Ua = "Australia", Ia = "Australia", Ta = "Australia", Ka = "Australia", Na = "Australia", Ga = "Australia", Va = "Australia", Da = "Australia", La = "Azerbaijan", xa = "Barbados", ja = "Bangladesh", Fa = "Belgium", Ha = "Bulgaria", Ea = "Bermuda", Ja = "Bolivia", qa = "Brazil", Oa = "Brazil", Wa = "Brazil", Za = "Brazil", $a = "Brazil", Ya = "Brazil", Qa = "Brazil", Xa = "Brazil", an = "Brazil", nn = "Brazil", on = "Brazil", tn = "Brazil", sn = "Brazil", en = "Brazil", cn = "Brazil", rn = "Brazil", ln = "Bhutan", un = "Belarus", dn = "Belize", mn = "Canada", gn = "Canada", hn = "Canada", pn = "Canada", Sn = "Canada", yn = "Canada", Cn = "Canada", Mn = "Canada", vn = "Canada", bn = "Canada", kn = "Canada", Bn = "Canada", An = "Canada", _n = "Canada", fn = "Canada", Pn = "Canada", Rn = "Canada", wn = "Canada", zn = "Canada", Un = "Canada", In = "Switzerland", Tn = "Côte d'Ivoire", Kn = "Cook Islands", Nn = "Chile", Gn = "Chile", Vn = "Chile", Dn = "Chile", Ln = "China", xn = "China", jn = "Colombia", Fn = "Costa Rica", Hn = "Cuba", En = "Cape Verde", Jn = "Cyprus", qn = "Cyprus", On = "Czech Republic", Wn = "Germany", Zn = "Dominican Republic", $n = "Algeria", Yn = "Ecuador", Qn = "Ecuador", Xn = "Estonia", ao = "Egypt", no = "Western Sahara", oo = "Spain", to = "Spain", so = "Spain", eo = "Finland", io = "Fiji", co = "Falkland Islands", ro = "Micronesia", lo = "Faroe Islands", uo = "France", mo = "Britain (UK)", go = "Georgia", ho = "French Guiana", po = "Gibraltar", So = "Greenland", yo = "Greenland", Co = "Greenland", Mo = "Greenland", vo = "Greece", bo = "South Georgia & the South Sandwich Islands", ko = "Guatemala", Bo = "Guam", Ao = "Guinea-Bissau", _o = "Guyana", fo = "Hong Kong", Po = "Honduras", Ro = "Hungary", wo = "Indonesia", zo = "Indonesia", Uo = "Indonesia", Io = "Indonesia", To = "Ireland", Ko = "Israel", No = "India", Go = "British Indian Ocean Territory", Vo = "Iraq", Do = "Iran", Lo = "Italy", xo = "Jamaica", jo = "Jordan", Fo = "Japan", Ho = "Kenya", Eo = "Kyrgyzstan", Jo = "Kiribati", qo = "Kiribati", Oo = "Kiribati", Wo = "Korea (North)", Zo = "Korea (South)", $o = "Kazakhstan", Yo = "Kazakhstan", Qo = "Kazakhstan", Xo = "Kazakhstan", at = "Kazakhstan", nt = "Kazakhstan", ot = "Kazakhstan", tt = "Lebanon", st = "Sri Lanka", et = "Liberia", it = "Lithuania", ct = "Latvia", rt = "Libya", lt = "Morocco", ut = "Moldova", dt = "Marshall Islands", mt = "Myanmar (Burma)", gt = "Mongolia", ht = "Mongolia", pt = "Macau", St = "Martinique", yt = "Malta", Ct = "Mauritius", Mt = "Maldives", vt = "Mexico", bt = "Mexico", kt = "Mexico", Bt = "Mexico", At = "Mexico", _t = "Mexico", ft = "Mexico", Pt = "Mexico", Rt = "Mexico", wt = "Mexico", zt = "Mexico", Ut = "Mexico", It = "Malaysia", Tt = "Mozambique", Kt = "Namibia", Nt = "New Caledonia", Gt = "Norfolk Island", Vt = "Nigeria", Dt = "Nicaragua", Lt = "Nepal", xt = "Nauru", jt = "Niue", Ft = "New Zealand", Ht = "New Zealand", Et = "Panama", Jt = "Peru", qt = "French Polynesia", Ot = "French Polynesia", Wt = "French Polynesia", Zt = "Papua New Guinea", $t = "Papua New Guinea", Yt = "Philippines", Qt = "Pakistan", Xt = "Poland", as = "St Pierre & Miquelon", ns = "Pitcairn", os = "Puerto Rico", ts = "Palestine", ss = "Palestine", es = "Portugal", is = "Portugal", cs = "Portugal", rs = "Palau", ls = "Paraguay", us = "Qatar", ds = "Romania", ms = "Serbia", gs = "Russia", hs = "Russia", ps = "Russia", Ss = "Russia", ys = "Russia", Cs = "Russia", Ms = "Russia", vs = "Russia", bs = "Russia", ks = "Russia", Bs = "Russia", As = "Russia", _s = "Russia", fs = "Russia", Ps = "Russia", Rs = "Russia", ws = "Russia", zs = "Russia", Us = "Russia", Is = "Russia", Ts = "Russia", Ks = "Russia", Ns = "Russia", Gs = "Russia", Vs = "Russia", Ds = "Russia", Ls = "Saudi Arabia", xs = "Solomon Islands", js = "Sudan", Fs = "Singapore", Hs = "Suriname", Es = "South Sudan", Js = "Sao Tome & Principe", qs = "El Salvador", Os = "Syria", Ws = "Turks & Caicos Is", Zs = "Chad", $s = "Thailand", Ys = "Tajikistan", Qs = "Tokelau", Xs = "East Timor", ae = "Turkmenistan", ne = "Tunisia", oe = "Tonga", te = "Turkey", se = "Taiwan", ee = "Ukraine", ie = "United States", ce = "United States", re = "United States", le = "United States", ue = "United States", de = "United States", me = "United States", ge = "United States", he = "United States", pe = "United States", Se = "United States", ye = "United States", Ce = "United States", Me = "United States", ve = "United States", be = "United States", ke = "United States", Be = "United States", Ae = "United States", _e = "United States", fe = "United States", Pe = "United States", Re = "United States", we = "United States", ze = "United States", Ue = "United States", Ie = "United States", Te = "United States", Ke = "United States", Ne = "Uruguay", Ge = "Uzbekistan", Ve = "Uzbekistan", De = "Venezuela", Le = "Vietnam", xe = "Vanuatu", je = "Samoa (western)", Fe = "South Africa", He = "Antigua & Barbuda", Ee = "Anguilla", Je = "Angola", qe = "Antarctica", Oe = "Antarctica", We = "Antarctica", Ze = "Aruba", $e = "Åland Islands", Ye = "Bosnia & Herzegovina", Qe = "Burkina Faso", Xe = "Bahrain", ai = "Burundi", ni = "St Barthelemy", oi = "Brunei", ti = "Caribbean NL", si = "Bahamas", ei = "Botswana", ii = "Canada", ci = "Canada", ri = "Cocos (Keeling) Islands", li = "Congo (Dem. Rep.)", ui = "Congo (Dem. Rep.)", di = "Central African Rep.", mi = "Congo (Rep.)", gi = "Cameroon", hi = "Curaçao", pi = "Christmas Island", Si = "Germany", yi = "Djibouti", Ci = "Denmark", Mi = "Dominica", vi = "Eritrea", bi = "Ethiopia", ki = "Micronesia", Bi = "Micronesia", Ai = "Gabon", _i = "Grenada", fi = "Guernsey", Pi = "Ghana", Ri = "Gambia", wi = "Guinea", zi = "Guadeloupe", Ui = "Equatorial Guinea", Ii = "Croatia", Ti = "Isle of Man", Ki = "Iceland", Ni = "Jersey", Gi = "Cambodia", Vi = "Comoros", Di = "St Kitts & Nevis", Li = "Kuwait", xi = "Cayman Islands", ji = "Laos", Fi = "St Lucia", Hi = "Liechtenstein", Ei = "Lesotho", Ji = "Luxembourg", qi = "Monaco", Oi = "Montenegro", Wi = "St Martin (French)", Zi = "Madagascar", $i = "Marshall Islands", Yi = "North Macedonia", Qi = "Mali", Xi = "Northern Mariana Islands", ac = "Mauritania", nc = "Montserrat", oc = "Malawi", tc = "Malaysia", sc = "Niger", ec = "Netherlands", ic = "Norway", cc = "Oman", rc = "Réunion", lc = "Rwanda", uc = "Seychelles", dc = "Sweden", mc = "St Helena", gc = "Slovenia", hc = "Svalbard & Jan Mayen", pc = "Slovakia", Sc = "Sierra Leone", yc = "San Marino", Cc = "Senegal", Mc = "Somalia", vc = "St Maarten (Dutch)", bc = "Eswatini (Swaziland)", kc = "French S. Terr.", Bc = "Togo", Ac = "Trinidad & Tobago", _c = "Tuvalu", fc = "Tanzania", Pc = "Uganda", Rc = "US minor outlying islands", wc = "US minor outlying islands", zc = "Vatican City", Uc = "St Vincent", Ic = "Virgin Islands (UK)", Tc = "Virgin Islands (US)", Kc = "Wallis & Futuna", Nc = "Yemen", Gc = "Mayotte", Vc = "Zambia", Dc = "Zimbabwe", Lc = {
|
|
11
11
|
Andorra: na,
|
|
12
12
|
Dubai: oa,
|
|
13
13
|
Kabul: ta,
|
|
@@ -25,8 +25,8 @@ const na = "Andorra", oa = "United Arab Emirates", ta = "Afghanistan", sa = "Alb
|
|
|
25
25
|
Salta: pa,
|
|
26
26
|
Jujuy: Sa,
|
|
27
27
|
Tucuman: ya,
|
|
28
|
-
Catamarca:
|
|
29
|
-
La_Rioja:
|
|
28
|
+
Catamarca: Ca,
|
|
29
|
+
La_Rioja: Ma,
|
|
30
30
|
San_Juan: va,
|
|
31
31
|
Mendoza: ba,
|
|
32
32
|
San_Luis: ka,
|
|
@@ -78,8 +78,8 @@ const na = "Andorra", oa = "United Arab Emirates", ta = "Afghanistan", sa = "Alb
|
|
|
78
78
|
Moncton: pn,
|
|
79
79
|
Goose_Bay: Sn,
|
|
80
80
|
Toronto: yn,
|
|
81
|
-
Iqaluit:
|
|
82
|
-
Winnipeg:
|
|
81
|
+
Iqaluit: Cn,
|
|
82
|
+
Winnipeg: Mn,
|
|
83
83
|
Resolute: vn,
|
|
84
84
|
Rankin_Inlet: bn,
|
|
85
85
|
Regina: kn,
|
|
@@ -131,8 +131,8 @@ const na = "Andorra", oa = "United Arab Emirates", ta = "Afghanistan", sa = "Alb
|
|
|
131
131
|
Gibraltar: po,
|
|
132
132
|
Nuuk: So,
|
|
133
133
|
Danmarkshavn: yo,
|
|
134
|
-
Scoresbysund:
|
|
135
|
-
Thule:
|
|
134
|
+
Scoresbysund: Co,
|
|
135
|
+
Thule: Mo,
|
|
136
136
|
Athens: vo,
|
|
137
137
|
South_Georgia: bo,
|
|
138
138
|
Guatemala: ko,
|
|
@@ -186,8 +186,8 @@ const na = "Andorra", oa = "United Arab Emirates", ta = "Afghanistan", sa = "Alb
|
|
|
186
186
|
Macau: pt,
|
|
187
187
|
Martinique: St,
|
|
188
188
|
Malta: yt,
|
|
189
|
-
Mauritius:
|
|
190
|
-
Maldives:
|
|
189
|
+
Mauritius: Ct,
|
|
190
|
+
Maldives: Mt,
|
|
191
191
|
Mexico_City: vt,
|
|
192
192
|
Cancun: bt,
|
|
193
193
|
Merida: kt,
|
|
@@ -240,8 +240,8 @@ const na = "Andorra", oa = "United Arab Emirates", ta = "Afghanistan", sa = "Alb
|
|
|
240
240
|
Simferopol: ps,
|
|
241
241
|
Kirov: Ss,
|
|
242
242
|
Volgograd: ys,
|
|
243
|
-
Astrakhan:
|
|
244
|
-
Saratov:
|
|
243
|
+
Astrakhan: Cs,
|
|
244
|
+
Saratov: Ms,
|
|
245
245
|
Ulyanovsk: vs,
|
|
246
246
|
Samara: bs,
|
|
247
247
|
Yekaterinburg: ks,
|
|
@@ -295,8 +295,8 @@ const na = "Andorra", oa = "United Arab Emirates", ta = "Afghanistan", sa = "Alb
|
|
|
295
295
|
Vevay: pe,
|
|
296
296
|
Chicago: Se,
|
|
297
297
|
Tell_City: ye,
|
|
298
|
-
Knox:
|
|
299
|
-
Menominee:
|
|
298
|
+
Knox: Ce,
|
|
299
|
+
Menominee: Me,
|
|
300
300
|
Center: ve,
|
|
301
301
|
New_Salem: be,
|
|
302
302
|
Beulah: ke,
|
|
@@ -351,8 +351,8 @@ const na = "Andorra", oa = "United Arab Emirates", ta = "Afghanistan", sa = "Alb
|
|
|
351
351
|
Christmas: pi,
|
|
352
352
|
Busingen: Si,
|
|
353
353
|
Djibouti: yi,
|
|
354
|
-
Copenhagen:
|
|
355
|
-
Dominica:
|
|
354
|
+
Copenhagen: Ci,
|
|
355
|
+
Dominica: Mi,
|
|
356
356
|
Asmara: vi,
|
|
357
357
|
Addis_Ababa: bi,
|
|
358
358
|
Chuuk: ki,
|
|
@@ -405,8 +405,8 @@ const na = "Andorra", oa = "United Arab Emirates", ta = "Afghanistan", sa = "Alb
|
|
|
405
405
|
Bratislava: pc,
|
|
406
406
|
Freetown: Sc,
|
|
407
407
|
San_Marino: yc,
|
|
408
|
-
Dakar:
|
|
409
|
-
Mogadishu:
|
|
408
|
+
Dakar: Cc,
|
|
409
|
+
Mogadishu: Mc,
|
|
410
410
|
Lower_Princes: vc,
|
|
411
411
|
Mbabane: bc,
|
|
412
412
|
Kerguelen: kc,
|
|
@@ -472,7 +472,7 @@ const Fc = {
|
|
|
472
472
|
)
|
|
473
473
|
), o.value != null && h(o.value), o.modelValue != null && h(o.modelValue);
|
|
474
474
|
});
|
|
475
|
-
const { locale: z } = Z("InputPhoneNumber"), S = x("preset", {}).inputphonenumber, y = u(!1), b = j(() => o.invalid || !!t.errorMessage), k = navigator.userAgent.includes("
|
|
475
|
+
const { locale: z } = Z("InputPhoneNumber"), S = x("preset", {}).inputphonenumber, y = u(!1), b = j(() => o.invalid || !!t.errorMessage), k = navigator.userAgent.includes("Chrome"), U = (a) => o.invalid && o.validatorMessage ? o.validatorMessage : a == null && o.mandatory ? o.validatorMessage ?? `${o.label} harus diisi.` : !0, g = u(), l = u(), e = u(), I = u(0), t = L({ value: null }), T = async () => {
|
|
476
476
|
const { data: a } = await O.get(
|
|
477
477
|
"https://assets.tagsamurai.com/json/country-dial-code.json"
|
|
478
478
|
);
|
|
@@ -498,20 +498,20 @@ const Fc = {
|
|
|
498
498
|
}
|
|
499
499
|
return "+62";
|
|
500
500
|
};
|
|
501
|
-
return
|
|
501
|
+
return C(
|
|
502
502
|
() => o.value,
|
|
503
503
|
(a) => {
|
|
504
504
|
h(a);
|
|
505
505
|
},
|
|
506
506
|
{ once: !0 }
|
|
507
|
-
),
|
|
507
|
+
), C(
|
|
508
508
|
() => t.value,
|
|
509
509
|
() => {
|
|
510
510
|
var i;
|
|
511
511
|
const [a, n] = ((i = t.value) == null ? void 0 : i.split(" ")) ?? [];
|
|
512
512
|
a && n && A(a, n);
|
|
513
513
|
}
|
|
514
|
-
),
|
|
514
|
+
), C(
|
|
515
515
|
() => o.modelValue,
|
|
516
516
|
(a) => {
|
|
517
517
|
h(a);
|
|
@@ -521,14 +521,14 @@ const Fc = {
|
|
|
521
521
|
label: o.label,
|
|
522
522
|
mandatory: o.mandatory
|
|
523
523
|
}, {
|
|
524
|
-
default:
|
|
524
|
+
default: M(() => {
|
|
525
525
|
var i, _;
|
|
526
526
|
return [
|
|
527
527
|
d("div", Fc, [
|
|
528
528
|
v(c($), {
|
|
529
529
|
modelValue: l.value,
|
|
530
530
|
"onUpdate:modelValue": n[0] || (n[0] = (s) => l.value = s),
|
|
531
|
-
class: H((i = c(S)) == null ? void 0 : i.dialcode.root({
|
|
531
|
+
class: H((i = c(S)) == null ? void 0 : i.dialcode.root({ isChromeBased: c(k), invalidInput: b.value }).class),
|
|
532
532
|
disabled: o.disabled,
|
|
533
533
|
"filter-fields": ["dial_code", "name"],
|
|
534
534
|
options: g.value,
|
|
@@ -543,10 +543,10 @@ const Fc = {
|
|
|
543
543
|
"option-label": "dial_code",
|
|
544
544
|
"option-value": "dial_code"
|
|
545
545
|
}, {
|
|
546
|
-
dropdownicon:
|
|
546
|
+
dropdownicon: M(() => [
|
|
547
547
|
v(Q, E(J(c(S).dialcode.dropdownicon({ state: { isShowOverlay: y.value } }))), null, 16)
|
|
548
548
|
]),
|
|
549
|
-
option:
|
|
549
|
+
option: M(({ option: s }) => [
|
|
550
550
|
d("div", Hc, [
|
|
551
551
|
d("img", {
|
|
552
552
|
src: s.image,
|
|
@@ -565,7 +565,7 @@ const Fc = {
|
|
|
565
565
|
"onUpdate:modelValue": n[3] || (n[3] = (s) => e.value = s),
|
|
566
566
|
"allowed-characters": /\d/,
|
|
567
567
|
disabled: a.disabled,
|
|
568
|
-
"input-class": (_ = c(S)) == null ? void 0 : _.input({
|
|
568
|
+
"input-class": (_ = c(S)) == null ? void 0 : _.input({ isChromeBased: c(k), invalidInput: b.value }).class,
|
|
569
569
|
"max-length": a.maxDigit,
|
|
570
570
|
placeholder: a.placeholder ?? c(z).defaultPlaceholder,
|
|
571
571
|
"use-field-wrapper": !1,
|