提交 6dd45002 编写于 作者: Q qiang

chore: build

上级 3bbf2bfc
......@@ -517,24 +517,6 @@
return res;
}, {});
}
const initI18nShowModalMsgsOnce = /* @__PURE__ */ once(() => {
const name = "uni.showModal.";
{
useI18n().add(LOCALE_EN, normalizeMessages(name, { cancel: "Cancel", confirm: "OK" }));
}
{
useI18n().add(LOCALE_ES, normalizeMessages(name, { cancel: "Cancelar", confirm: "OK" }));
}
{
useI18n().add(LOCALE_FR, normalizeMessages(name, { cancel: "Annuler", confirm: "OK" }));
}
{
useI18n().add(LOCALE_ZH_HANS, normalizeMessages(name, { cancel: "\u53D6\u6D88", confirm: "\u786E\u5B9A" }));
}
{
useI18n().add(LOCALE_ZH_HANT, normalizeMessages(name, { cancel: "\u53D6\u6D88", confirm: "\u78BA\u5B9A" }));
}
});
const initI18nButtonMsgsOnce = /* @__PURE__ */ once(() => {
const name = "uni.button.";
{
......@@ -5397,7 +5379,6 @@
}
return res;
}
[ON_PAGE_SCROLL, ON_REACH_BOTTOM];
const VD_SYNC = "vdSync";
const ON_WEBVIEW_READY = "onWebviewReady";
const INVOKE_VIEW_API = "invokeViewApi";
......@@ -5700,30 +5681,6 @@
}, Upx2pxProtocol);
createCallbacks("canvasEvent");
createCallbacks("getSelectedTextRangeEvent");
({
beforeInvoke() {
initI18nShowModalMsgsOnce();
},
formatArgs: {
title: "",
content: "",
showCancel: true,
cancelText(_value, params) {
if (!hasOwn$1(params, "cancelText")) {
const { t: t2 } = useI18n();
params.cancelText = t2("uni.showModal.cancel");
}
},
cancelColor: "#000",
confirmText(_value, params) {
if (!hasOwn$1(params, "confirmText")) {
const { t: t2 } = useI18n();
params.confirmText = t2("uni.showModal.confirm");
}
},
confirmColor: PRIMARY_COLOR
}
});
function invokeServiceApi(method, args = {}) {
UniViewJSBridge.publishHandler(INVOKE_SERVICE_API, {
data: {
......
import { hasOwn, isArray, toNumber, isPlainObject, isObject, capitalize, isFunction, extend, NOOP, EMPTY_OBJ, camelize } from '@vue/shared';
import { capitalize, hasOwn, isArray, toNumber, isPlainObject, isObject, isFunction, extend, NOOP, EMPTY_OBJ, camelize } from '@vue/shared';
function setModel(target, key, value, modifiers) {
if (isArray(modifiers)) {
......
import { isFunction, isSymbol, extend, isMap, isObject, toRawType, def, isArray, isString, isPromise, toHandlerKey, remove, EMPTY_OBJ, camelize, capitalize, normalizeClass, normalizeStyle, isOn, NOOP, isGloballyWhitelisted, isIntegerKey, hasOwn, hasChanged, invokeArrayFns as invokeArrayFns$1, makeMap, isSet, NO, toNumber, hyphenate, isReservedProp, EMPTY_ARR, toTypeString } from '@vue/shared';
import { isFunction, isSymbol, extend, isMap, isObject, toRawType, def, isArray, isString, isPromise, toHandlerKey, remove, EMPTY_OBJ, camelize, capitalize, normalizeClass, normalizeStyle, isOn, NOOP, isGloballyWhitelisted, isIntegerKey, hasOwn, hasChanged, NO, invokeArrayFns as invokeArrayFns$1, makeMap, isSet, toNumber, hyphenate, isReservedProp, EMPTY_ARR, toTypeString } from '@vue/shared';
export { camelize } from '@vue/shared';
import { injectHook as injectHook$1 } from 'vue';
......
......@@ -28,10 +28,10 @@ export declare const ACTION_TYPE_SET_TEXT = 10;
* flag
*/
export declare type AddEventAction = [
typeof ACTION_TYPE_ADD_EVENT,
number,
string | number,
number
typeof ACTION_TYPE_ADD_EVENT,
number,
string | number,
number
];
export declare function addFont(family: string, source: string, desc?: FontFaceDescriptors): Promise<void>;
......@@ -68,11 +68,11 @@ export declare const COMPONENT_SELECTOR_PREFIX = "uni-";
* nodeJson
*/
export declare type CreateAction = [
typeof ACTION_TYPE_CREATE,
number,
string | number,
number,
Partial<UniNodeJSON | UniNodeJSONMinify>?
typeof ACTION_TYPE_CREATE,
number,
string | number,
number,
Partial<UniNodeJSON | UniNodeJSONMinify>?
];
export declare function createRpx2Unit(unit: string, unitRatio: number, unitPrecision: number): (val: string) => string;
......@@ -313,9 +313,9 @@ export declare type RemoveAction = [typeof ACTION_TYPE_REMOVE, number];
* name
*/
export declare type RemoveAttributeAction = [
typeof ACTION_TYPE_REMOVE_ATTRIBUTE,
number,
string | number
typeof ACTION_TYPE_REMOVE_ATTRIBUTE,
number,
string | number
];
/**
......@@ -323,9 +323,9 @@ string | number
* event
*/
export declare type RemoveEventAction = [
typeof ACTION_TYPE_REMOVE_EVENT,
number,
string | number
typeof ACTION_TYPE_REMOVE_EVENT,
number,
string | number
];
export declare function removeLeadingSlash(str: string): string;
......@@ -349,10 +349,10 @@ export declare const SELECTED_COLOR = "#0062cc";
* value
*/
export declare type SetAttributeAction = [
typeof ACTION_TYPE_SET_ATTRIBUTE,
number,
string | number,
unknown | number
typeof ACTION_TYPE_SET_ATTRIBUTE,
number,
string | number,
unknown | number
];
/**
......@@ -360,9 +360,9 @@ unknown | number
* text
*/
export declare type SetTextAction = [
typeof ACTION_TYPE_SET_TEXT,
number,
string | number
typeof ACTION_TYPE_SET_TEXT,
number,
string | number
];
export declare function stringifyQuery(obj?: Record<string, any>, encodeStr?: typeof encodeURIComponent): string;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册