vue-lynx 0.1.0 → 0.2.0
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/main-thread/dist/__test__/raw-worklet-registrations.js +6 -4
- package/main-thread/dist/entry-main.js +3 -2
- package/main-thread/dist/list-apply.js +4 -2
- package/main-thread/dist/ops-apply.js +1 -1
- package/main-thread/dist/run-on-background-mt.js +1 -1
- package/main-thread/dist/worklet-apply.js +9 -6
- package/package.json +17 -6
- package/plugin/dist/index.js +6 -1
- package/runtime/dist/index.d.ts +4 -0
- package/runtime/dist/index.js +76 -5
- package/runtime/dist/shadow-element.d.ts +3 -0
- package/runtime/dist/shadow-element.js +3 -0
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
registerWorkletInternal('main-thread', 'main-thread-draggable-raw:onScroll', function(...args) {
|
|
2
|
+
var _c__mtRef, _impl__refImpl__workletRefMap, _impl__refImpl;
|
|
2
3
|
const event = args[0];
|
|
3
4
|
const detail = event.detail;
|
|
4
|
-
|
|
5
|
+
var _detail_scrollTop;
|
|
6
|
+
const scrollTop = null != (_detail_scrollTop = null == detail ? void 0 : detail.scrollTop) ? _detail_scrollTop : 0;
|
|
5
7
|
const DEFAULT_X = 0;
|
|
6
8
|
const DEFAULT_Y = 500;
|
|
7
9
|
const newX = DEFAULT_X;
|
|
8
10
|
const newY = DEFAULT_Y - scrollTop;
|
|
9
11
|
const c = this['_c'];
|
|
10
|
-
if (!c
|
|
12
|
+
if (!(null == c ? void 0 : null == (_c__mtRef = c._mtRef) ? void 0 : _c__mtRef._wvid)) return;
|
|
11
13
|
const wvid = c._mtRef._wvid;
|
|
12
14
|
const impl = globalThis['lynxWorkletImpl'];
|
|
13
|
-
const refEntry = impl
|
|
14
|
-
if (refEntry
|
|
15
|
+
const refEntry = null == impl ? void 0 : null == (_impl__refImpl = impl._refImpl) ? void 0 : null == (_impl__refImpl__workletRefMap = _impl__refImpl._workletRefMap) ? void 0 : _impl__refImpl__workletRefMap[wvid];
|
|
16
|
+
if ((null == refEntry ? void 0 : refEntry.current) && 'function' == typeof refEntry.current.setStyleProperty) refEntry.current.setStyleProperty('transform', `translate(${newX}px, ${newY}px)`);
|
|
15
17
|
});
|
|
@@ -2,11 +2,12 @@ import * as __WEBPACK_EXTERNAL_MODULE__element_registry_js_05e5c264__ from "./el
|
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE__ops_apply_js_02ee6267__ from "./ops-apply.js";
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE__run_on_background_mt_js_2816b941__ from "./run-on-background-mt.js";
|
|
4
4
|
const g = globalThis;
|
|
5
|
-
|
|
5
|
+
var _ref;
|
|
6
|
+
g['SystemInfo'] = null != (_ref = 'undefined' != typeof lynx && lynx.SystemInfo) ? _ref : {};
|
|
6
7
|
g['runOnBackground'] = __WEBPACK_EXTERNAL_MODULE__run_on_background_mt_js_2816b941__.runOnBackground;
|
|
7
8
|
const PAGE_ROOT_ID = 1;
|
|
8
9
|
g['processData'] = function(data, _processorName) {
|
|
9
|
-
return data
|
|
10
|
+
return null != data ? data : {};
|
|
10
11
|
};
|
|
11
12
|
g['renderPage'] = function(_data) {
|
|
12
13
|
(0, __WEBPACK_EXTERNAL_MODULE__ops_apply_js_02ee6267__.resetMainThreadState)();
|
|
@@ -95,17 +95,19 @@ function setPlatformInfoProp(id, key, value) {
|
|
|
95
95
|
}
|
|
96
96
|
function flushListUpdates() {
|
|
97
97
|
for (const [bgId, items] of listItems){
|
|
98
|
-
|
|
98
|
+
var _listItemsReported_get;
|
|
99
|
+
const reported = null != (_listItemsReported_get = listItemsReported.get(bgId)) ? _listItemsReported_get : 0;
|
|
99
100
|
if (items.length <= reported) continue;
|
|
100
101
|
const listEl = __WEBPACK_EXTERNAL_MODULE__element_registry_js_05e5c264__.elements.get(bgId);
|
|
101
102
|
if (!listEl) continue;
|
|
102
103
|
const insertAction = [];
|
|
103
104
|
for(let j = reported; j < items.length; j++){
|
|
104
105
|
const entry = items[j];
|
|
106
|
+
var _itemKeyMap_get;
|
|
105
107
|
const action = {
|
|
106
108
|
position: j,
|
|
107
109
|
type: 'list-item',
|
|
108
|
-
'item-key': itemKeyMap.get(entry.bgId)
|
|
110
|
+
'item-key': null != (_itemKeyMap_get = itemKeyMap.get(entry.bgId)) ? _itemKeyMap_get : String(j)
|
|
109
111
|
};
|
|
110
112
|
const pInfo = listItemPlatformInfo.get(entry.bgId);
|
|
111
113
|
if (pInfo) Object.assign(action, pInfo);
|
|
@@ -139,7 +139,7 @@ function applyOps(ops) {
|
|
|
139
139
|
const id = ops[i++];
|
|
140
140
|
const idStr = ops[i++];
|
|
141
141
|
const el = __WEBPACK_EXTERNAL_MODULE__element_registry_js_05e5c264__.elements.get(id);
|
|
142
|
-
if (el) __SetID(el, idStr
|
|
142
|
+
if (el) __SetID(el, null != idStr ? idStr : void 0);
|
|
143
143
|
break;
|
|
144
144
|
}
|
|
145
145
|
case __WEBPACK_EXTERNAL_MODULE_vue_lynx_internal_ops_dc871e34__.OP.SET_WORKLET_EVENT:
|
|
@@ -31,7 +31,7 @@ function runOnBackground(handle) {
|
|
|
31
31
|
if (!resolveMap) initReturnListener();
|
|
32
32
|
const resolveId = nextResolveId++;
|
|
33
33
|
resolveMap.set(resolveId, resolve);
|
|
34
|
-
if (handle._isFirstScreen && 'undefined' != typeof lynxWorkletImpl && lynxWorkletImpl
|
|
34
|
+
if (handle._isFirstScreen && 'undefined' != typeof lynxWorkletImpl && (null == lynxWorkletImpl ? void 0 : lynxWorkletImpl._runOnBackgroundDelayImpl)) return void lynxWorkletImpl._runOnBackgroundDelayImpl.delayRunOnBackground(handle, (fnId, execId)=>{
|
|
35
35
|
dispatch(fnId, params, execId, resolveId);
|
|
36
36
|
});
|
|
37
37
|
dispatch(handle._jsFnId, params, handle._execId, resolveId);
|
|
@@ -16,14 +16,17 @@ function applySetMtRef(id, refImpl) {
|
|
|
16
16
|
const el = __WEBPACK_EXTERNAL_MODULE__element_registry_js_05e5c264__.elements.get(id);
|
|
17
17
|
if (el) {
|
|
18
18
|
const impl = getWorkletImpl();
|
|
19
|
-
if (impl
|
|
19
|
+
if (null == impl ? void 0 : impl._refImpl) {
|
|
20
20
|
const ref = refImpl;
|
|
21
21
|
if (null != ref._wvid) {
|
|
22
22
|
const refMap = impl._refImpl._workletRefMap;
|
|
23
|
-
if (refMap && !(ref._wvid in refMap))
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
if (refMap && !(ref._wvid in refMap)) {
|
|
24
|
+
var _ref__initValue;
|
|
25
|
+
refMap[ref._wvid] = {
|
|
26
|
+
current: null != (_ref__initValue = ref._initValue) ? _ref__initValue : null,
|
|
27
|
+
_wvid: ref._wvid
|
|
28
|
+
};
|
|
29
|
+
}
|
|
27
30
|
impl._refImpl.updateWorkletRef(refImpl, el);
|
|
28
31
|
}
|
|
29
32
|
}
|
|
@@ -31,7 +34,7 @@ function applySetMtRef(id, refImpl) {
|
|
|
31
34
|
}
|
|
32
35
|
function applyInitMtRef(wvid, initValue) {
|
|
33
36
|
const impl = getWorkletImpl();
|
|
34
|
-
if (impl
|
|
37
|
+
if (null == impl ? void 0 : impl._refImpl) {
|
|
35
38
|
const refMap = impl._refImpl._workletRefMap;
|
|
36
39
|
if (refMap && !(wvid in refMap)) refMap[wvid] = {
|
|
37
40
|
current: initValue,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-lynx",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Vue 3 framework for building Lynx apps",
|
|
6
6
|
"keywords": [
|
|
@@ -41,6 +41,15 @@
|
|
|
41
41
|
"import": "./internal/dist/ops.js",
|
|
42
42
|
"default": "./internal/dist/ops.js"
|
|
43
43
|
},
|
|
44
|
+
"./types": {
|
|
45
|
+
"types": "./types/dist/index.d.ts",
|
|
46
|
+
"import": "./types/dist/index.js",
|
|
47
|
+
"default": "./types/dist/index.js"
|
|
48
|
+
},
|
|
49
|
+
"./types/volar-plugin": {
|
|
50
|
+
"import": "./types/dist/volar-plugin.cjs",
|
|
51
|
+
"default": "./types/dist/volar-plugin.cjs"
|
|
52
|
+
},
|
|
44
53
|
"./package.json": "./package.json"
|
|
45
54
|
},
|
|
46
55
|
"main": "./runtime/dist/index.js",
|
|
@@ -50,14 +59,11 @@
|
|
|
50
59
|
"main-thread/dist",
|
|
51
60
|
"plugin/dist",
|
|
52
61
|
"internal/dist",
|
|
62
|
+
"types/dist",
|
|
53
63
|
"LICENSE",
|
|
54
64
|
"NOTICE",
|
|
55
65
|
"README.md"
|
|
56
66
|
],
|
|
57
|
-
"scripts": {
|
|
58
|
-
"build": "(cd internal && npx tsc -p tsconfig.build.json) && (cd runtime && npx rslib build) && (cd main-thread && npx rslib build) && (cd plugin && npx rslib build)",
|
|
59
|
-
"dev": "(cd runtime && npx rslib build --watch) & (cd main-thread && npx rslib build --watch) & (cd plugin && npx rslib build --watch)"
|
|
60
|
-
},
|
|
61
67
|
"dependencies": {
|
|
62
68
|
"@lynx-js/css-extract-webpack-plugin": "^0.7.0",
|
|
63
69
|
"@lynx-js/react": "^0.116.5",
|
|
@@ -71,6 +77,7 @@
|
|
|
71
77
|
"@lynx-js/types": "3.7.0",
|
|
72
78
|
"@rsbuild/plugin-vue": "^1.2.6",
|
|
73
79
|
"@rslib/core": "^0.7.0",
|
|
80
|
+
"@types/node": "^25.5.0",
|
|
74
81
|
"rsbuild-plugin-publint": "0.3.4",
|
|
75
82
|
"typescript": "^5.0.0"
|
|
76
83
|
},
|
|
@@ -88,5 +95,9 @@
|
|
|
88
95
|
},
|
|
89
96
|
"engines": {
|
|
90
97
|
"node": ">=18"
|
|
98
|
+
},
|
|
99
|
+
"scripts": {
|
|
100
|
+
"build": "(cd internal && npx tsc -p tsconfig.build.json) && (cd runtime && npx rslib build) && (cd main-thread && npx rslib build) && (cd plugin && npx rslib build)",
|
|
101
|
+
"dev": "(cd internal && npx tsc -p tsconfig.build.json) && (cd runtime && npx rslib build --watch) & (cd main-thread && npx rslib build --watch) & (cd plugin && npx rslib build --watch)"
|
|
91
102
|
}
|
|
92
|
-
}
|
|
103
|
+
}
|
package/plugin/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_node_module_ab9f2194__ from "node:module";
|
|
1
2
|
import * as __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__ from "node:path";
|
|
2
3
|
import * as __WEBPACK_EXTERNAL_MODULE_node_url_e96de089__ from "node:url";
|
|
3
4
|
import * as __WEBPACK_EXTERNAL_MODULE__rsbuild_plugin_vue_d05a5842__ from "@rsbuild/plugin-vue";
|
|
4
|
-
import * as __WEBPACK_EXTERNAL_MODULE_node_module_ab9f2194__ from "node:module";
|
|
5
5
|
import * as __WEBPACK_EXTERNAL_MODULE__lynx_js_runtime_wrapper_webpack_plugin_27793081__ from "@lynx-js/runtime-wrapper-webpack-plugin";
|
|
6
6
|
import * as __WEBPACK_EXTERNAL_MODULE__lynx_js_template_webpack_plugin_e98d2f08__ from "@lynx-js/template-webpack-plugin";
|
|
7
7
|
const LAYERS = {
|
|
@@ -299,6 +299,7 @@ function applyEntry(api, opts = {}) {
|
|
|
299
299
|
chain.output.set('iife', false);
|
|
300
300
|
});
|
|
301
301
|
}
|
|
302
|
+
const src_require = (0, __WEBPACK_EXTERNAL_MODULE_node_module_ab9f2194__.createRequire)(import.meta.url);
|
|
302
303
|
const _pluginDirname = __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__["default"].dirname((0, __WEBPACK_EXTERNAL_MODULE_node_url_e96de089__.fileURLToPath)(import.meta.url));
|
|
303
304
|
const _vueLynxRoot = __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__["default"].resolve(_pluginDirname, '../..');
|
|
304
305
|
function pluginVueLynx(options = {}) {
|
|
@@ -322,6 +323,10 @@ function pluginVueLynx(options = {}) {
|
|
|
322
323
|
'rsbuild:vue'
|
|
323
324
|
],
|
|
324
325
|
setup (api) {
|
|
326
|
+
try {
|
|
327
|
+
src_require.resolve('@tailwindcss/postcss');
|
|
328
|
+
console.warn("\n\x1b[33m[vue-lynx] Warning: detected @tailwindcss/postcss (Tailwind v4 PostCSS plugin).\n This is incompatible with @lynx-js/tailwind-preset and\n rsbuild-plugin-tailwindcss, which require Tailwind v3.\n Remove it and follow the setup guide:\n https://vue.lynxjs.org/guide/tailwindcss.html\x1b[0m\n");
|
|
329
|
+
} catch {}
|
|
325
330
|
api.modifyRsbuildConfig((config, { mergeRsbuildConfig })=>{
|
|
326
331
|
const userConfig = api.getRsbuildConfig('original');
|
|
327
332
|
if (void 0 === userConfig.source?.include) config = mergeRsbuildConfig(config, {
|
package/runtime/dist/index.d.ts
CHANGED
|
@@ -550,6 +550,10 @@ export { mergeProps } from '@vue/runtime-core';
|
|
|
550
550
|
/** @hidden */ export { withAsyncContext } from '@vue/runtime-core';
|
|
551
551
|
/** @hidden */ export { Text } from '@vue/runtime-core';
|
|
552
552
|
/** @hidden */ export { Comment } from '@vue/runtime-core';
|
|
553
|
+
export declare const vModelText: ObjectDirective<ShadowElement>;
|
|
554
|
+
export declare const vModelCheckbox: ObjectDirective;
|
|
555
|
+
export declare const vModelSelect: ObjectDirective;
|
|
556
|
+
export declare const vModelRadio: ObjectDirective;
|
|
553
557
|
export { Transition, TransitionGroup };
|
|
554
558
|
/** @hidden */
|
|
555
559
|
export { nodeOps };
|
package/runtime/dist/index.js
CHANGED
|
@@ -13,6 +13,7 @@ import * as __WEBPACK_EXTERNAL_MODULE__Transition_js_7757bed1__ from "./Transiti
|
|
|
13
13
|
import * as __WEBPACK_EXTERNAL_MODULE__TransitionGroup_js_57fa4188__ from "./TransitionGroup.js";
|
|
14
14
|
const _renderer = (0, __WEBPACK_EXTERNAL_MODULE__vue_runtime_core_f9f3aead__.createRenderer)(__WEBPACK_EXTERNAL_MODULE__node_ops_js_cd9e4a71__.nodeOps);
|
|
15
15
|
const _createApp = _renderer.createApp;
|
|
16
|
+
const _render = _renderer.render;
|
|
16
17
|
function createApp(rootComponent, rootProps) {
|
|
17
18
|
const internalApp = _createApp(rootComponent, rootProps);
|
|
18
19
|
const app = {
|
|
@@ -80,15 +81,84 @@ function onDeactivated(_fn) {
|
|
|
80
81
|
function Teleport() {
|
|
81
82
|
if (__DEV__) console.warn("[vue-lynx] Teleport is not supported \u2014 Lynx renderer has no querySelector.");
|
|
82
83
|
}
|
|
84
|
+
function looseToNumber(val) {
|
|
85
|
+
const n = Number.parseFloat(val);
|
|
86
|
+
return isNaN(n) ? val : n;
|
|
87
|
+
}
|
|
88
|
+
function getModelAssigner(vnode) {
|
|
89
|
+
const fn = vnode.props?.['onUpdate:modelValue'];
|
|
90
|
+
if (Array.isArray(fn)) return (value)=>{
|
|
91
|
+
for (const f of fn)f(value);
|
|
92
|
+
};
|
|
93
|
+
return fn ?? ((_)=>void 0);
|
|
94
|
+
}
|
|
95
|
+
function makeVModelHandler(el, modifiers, vnode) {
|
|
96
|
+
const assign = getModelAssigner(vnode);
|
|
97
|
+
return (data)=>{
|
|
98
|
+
const evt = data;
|
|
99
|
+
let value = evt?.detail?.value ?? '';
|
|
100
|
+
if (evt?.detail?.isComposing) return;
|
|
101
|
+
if (modifiers?.trim) value = value.trim();
|
|
102
|
+
el._vModelValue = value;
|
|
103
|
+
assign(modifiers?.number ? looseToNumber(value) : value);
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
function invokeUserHandler(handler, data) {
|
|
107
|
+
if (Array.isArray(handler)) {
|
|
108
|
+
for (const fn of handler)if ('function' == typeof fn) fn(data);
|
|
109
|
+
} else if ('function' == typeof handler) handler(data);
|
|
110
|
+
}
|
|
111
|
+
function injectVModelEvent(el, vnode) {
|
|
112
|
+
const eventProp = el._vModelEventProp;
|
|
113
|
+
const userHandler = vnode.props?.[eventProp];
|
|
114
|
+
if (!vnode.props) vnode.props = {};
|
|
115
|
+
if (userHandler) vnode.props[eventProp] = (data)=>{
|
|
116
|
+
el._vModelHandler?.(data);
|
|
117
|
+
invokeUserHandler(userHandler, data);
|
|
118
|
+
};
|
|
119
|
+
else vnode.props[eventProp] = (data)=>{
|
|
120
|
+
el._vModelHandler?.(data);
|
|
121
|
+
};
|
|
122
|
+
}
|
|
83
123
|
const vModelText = {
|
|
124
|
+
created (el, { modifiers }, vnode) {
|
|
125
|
+
const isLazy = modifiers?.lazy;
|
|
126
|
+
const eventName = isLazy ? 'confirm' : 'input';
|
|
127
|
+
el._vModelEventProp = `on${eventName.charAt(0).toUpperCase()}${eventName.slice(1)}`;
|
|
128
|
+
el._vModelHandler = makeVModelHandler(el, modifiers, vnode);
|
|
129
|
+
injectVModelEvent(el, vnode);
|
|
130
|
+
},
|
|
131
|
+
mounted (el, { value }) {
|
|
132
|
+
const val = null == value ? '' : String(value);
|
|
133
|
+
el._vModelValue = val;
|
|
134
|
+
(0, __WEBPACK_EXTERNAL_MODULE__ops_js_e08da98b__.pushOp)(__WEBPACK_EXTERNAL_MODULE__ops_js_e08da98b__.OP.SET_PROP, el.id, 'value', val);
|
|
135
|
+
(0, __WEBPACK_EXTERNAL_MODULE__flush_js_a3609ebe__.scheduleFlush)();
|
|
136
|
+
},
|
|
137
|
+
beforeUpdate (el, { value, modifiers }, vnode) {
|
|
138
|
+
el._vModelHandler = makeVModelHandler(el, modifiers, vnode);
|
|
139
|
+
injectVModelEvent(el, vnode);
|
|
140
|
+
const strVal = null == value ? '' : String(value);
|
|
141
|
+
if (strVal !== el._vModelValue) {
|
|
142
|
+
el._vModelValue = strVal;
|
|
143
|
+
(0, __WEBPACK_EXTERNAL_MODULE__ops_js_e08da98b__.pushOp)(__WEBPACK_EXTERNAL_MODULE__ops_js_e08da98b__.OP.SET_PROP, el.id, 'value', strVal);
|
|
144
|
+
(0, __WEBPACK_EXTERNAL_MODULE__flush_js_a3609ebe__.scheduleFlush)();
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
beforeUnmount (el) {
|
|
148
|
+
el._vModelHandler = void 0;
|
|
149
|
+
el._vModelEventProp = void 0;
|
|
150
|
+
el._vModelValue = void 0;
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
const vModelUnsupported = {
|
|
84
154
|
beforeMount () {
|
|
85
|
-
console.warn(
|
|
155
|
+
if (__DEV__) console.warn("[vue-lynx] v-model on checkbox/radio/select is not supported. Lynx only supports <input> and <textarea>.");
|
|
86
156
|
},
|
|
87
157
|
beforeUpdate () {}
|
|
88
158
|
};
|
|
89
|
-
const vModelCheckbox =
|
|
90
|
-
const vModelSelect =
|
|
91
|
-
const vModelRadio =
|
|
159
|
+
const vModelCheckbox = vModelUnsupported;
|
|
160
|
+
const vModelSelect = vModelUnsupported;
|
|
161
|
+
const vModelRadio = vModelUnsupported;
|
|
92
162
|
function withModifiers(fn, _modifiers) {
|
|
93
163
|
return fn;
|
|
94
164
|
}
|
|
@@ -121,6 +191,7 @@ var __webpack_exports__createBlock = __WEBPACK_EXTERNAL_MODULE__vue_runtime_core
|
|
|
121
191
|
var __webpack_exports__createCommentVNode = __WEBPACK_EXTERNAL_MODULE__vue_runtime_core_f9f3aead__.createCommentVNode;
|
|
122
192
|
var __webpack_exports__createElementBlock = __WEBPACK_EXTERNAL_MODULE__vue_runtime_core_f9f3aead__.createElementBlock;
|
|
123
193
|
var __webpack_exports__createElementVNode = __WEBPACK_EXTERNAL_MODULE__vue_runtime_core_f9f3aead__.createElementVNode;
|
|
194
|
+
var __webpack_exports__createPageRoot = __WEBPACK_EXTERNAL_MODULE__shadow_element_js_9ed96a55__.createPageRoot;
|
|
124
195
|
var __webpack_exports__createSlots = __WEBPACK_EXTERNAL_MODULE__vue_runtime_core_f9f3aead__.createSlots;
|
|
125
196
|
var __webpack_exports__createTextVNode = __WEBPACK_EXTERNAL_MODULE__vue_runtime_core_f9f3aead__.createTextVNode;
|
|
126
197
|
var __webpack_exports__createVNode = __WEBPACK_EXTERNAL_MODULE__vue_runtime_core_f9f3aead__.createVNode;
|
|
@@ -209,4 +280,4 @@ var __webpack_exports__withDefaults = __WEBPACK_EXTERNAL_MODULE__vue_runtime_cor
|
|
|
209
280
|
var __webpack_exports__withDirectives = __WEBPACK_EXTERNAL_MODULE__vue_runtime_core_f9f3aead__.withDirectives;
|
|
210
281
|
var __webpack_exports__withMemo = __WEBPACK_EXTERNAL_MODULE__vue_runtime_core_f9f3aead__.withMemo;
|
|
211
282
|
var __webpack_exports__withScopeId = __WEBPACK_EXTERNAL_MODULE__vue_runtime_core_f9f3aead__.withScopeId;
|
|
212
|
-
export { KeepAlive, Static, Teleport, createApp, createStaticVNode, nextTick, onActivated, onDeactivated, onServerPrefetch, resetForTesting, useSSRContext, vModelCheckbox, vModelRadio, vModelSelect, vModelText, vShow, withKeys, withModifiers, __webpack_exports__Comment as Comment, __webpack_exports__Fragment as Fragment, __webpack_exports__MainThreadRef as MainThreadRef, __webpack_exports__ShadowElement as ShadowElement, __webpack_exports__Suspense as Suspense, __webpack_exports__Text as Text, __webpack_exports__Transition as Transition, __webpack_exports__TransitionGroup as TransitionGroup, __webpack_exports__camelize as camelize, __webpack_exports__capitalize as capitalize, __webpack_exports__cloneVNode as cloneVNode, __webpack_exports__computed as computed, __webpack_exports__createBlock as createBlock, __webpack_exports__createCommentVNode as createCommentVNode, __webpack_exports__createElementBlock as createElementBlock, __webpack_exports__createElementVNode as createElementVNode, __webpack_exports__createSlots as createSlots, __webpack_exports__createTextVNode as createTextVNode, __webpack_exports__createVNode as createVNode, __webpack_exports__customRef as customRef, __webpack_exports__defineAsyncComponent as defineAsyncComponent, __webpack_exports__defineComponent as defineComponent, __webpack_exports__defineEmits as defineEmits, __webpack_exports__defineExpose as defineExpose, __webpack_exports__defineModel as defineModel, __webpack_exports__defineOptions as defineOptions, __webpack_exports__defineProps as defineProps, __webpack_exports__defineSlots as defineSlots, __webpack_exports__effectScope as effectScope, __webpack_exports__getCurrentInstance as getCurrentInstance, __webpack_exports__getCurrentScope as getCurrentScope, __webpack_exports__guardReactiveProps as guardReactiveProps, __webpack_exports__h as h, __webpack_exports__hasInjectionContext as hasInjectionContext, __webpack_exports__inject as inject, __webpack_exports__isProxy as isProxy, __webpack_exports__isReactive as isReactive, __webpack_exports__isReadonly as isReadonly, __webpack_exports__isRef as isRef, __webpack_exports__isShallow as isShallow, __webpack_exports__isVNode as isVNode, __webpack_exports__markRaw as markRaw, __webpack_exports__mergeProps as mergeProps, __webpack_exports__nodeOps as nodeOps, __webpack_exports__normalizeClass as normalizeClass, __webpack_exports__normalizeProps as normalizeProps, __webpack_exports__normalizeStyle as normalizeStyle, __webpack_exports__onBeforeMount as onBeforeMount, __webpack_exports__onBeforeUnmount as onBeforeUnmount, __webpack_exports__onBeforeUpdate as onBeforeUpdate, __webpack_exports__onErrorCaptured as onErrorCaptured, __webpack_exports__onMounted as onMounted, __webpack_exports__onRenderTracked as onRenderTracked, __webpack_exports__onRenderTriggered as onRenderTriggered, __webpack_exports__onScopeDispose as onScopeDispose, __webpack_exports__onUnmounted as onUnmounted, __webpack_exports__onUpdated as onUpdated, __webpack_exports__onWatcherCleanup as onWatcherCleanup, __webpack_exports__openBlock as openBlock, __webpack_exports__popScopeId as popScopeId, __webpack_exports__provide as provide, __webpack_exports__pushScopeId as pushScopeId, __webpack_exports__reactive as reactive, __webpack_exports__readonly as readonly, __webpack_exports__ref as ref, __webpack_exports__renderList as renderList, __webpack_exports__renderSlot as renderSlot, __webpack_exports__resolveComponent as resolveComponent, __webpack_exports__resolveDirective as resolveDirective, __webpack_exports__resolveDynamicComponent as resolveDynamicComponent, __webpack_exports__runOnBackground as runOnBackground, __webpack_exports__runOnMainThread as runOnMainThread, __webpack_exports__setBlockTracking as setBlockTracking, __webpack_exports__shallowReactive as shallowReactive, __webpack_exports__shallowReadonly as shallowReadonly, __webpack_exports__shallowRef as shallowRef, __webpack_exports__takeOps as takeOps, __webpack_exports__toDisplayString as toDisplayString, __webpack_exports__toHandlerKey as toHandlerKey, __webpack_exports__toHandlers as toHandlers, __webpack_exports__toRaw as toRaw, __webpack_exports__toRef as toRef, __webpack_exports__toRefs as toRefs, __webpack_exports__toValue as toValue, __webpack_exports__transformToWorklet as transformToWorklet, __webpack_exports__triggerRef as triggerRef, __webpack_exports__unref as unref, __webpack_exports__useAttrs as useAttrs, __webpack_exports__useId as useId, __webpack_exports__useMainThreadRef as useMainThreadRef, __webpack_exports__useModel as useModel, __webpack_exports__useSlots as useSlots, __webpack_exports__useTemplateRef as useTemplateRef, __webpack_exports__version as version, __webpack_exports__watch as watch, __webpack_exports__watchEffect as watchEffect, __webpack_exports__watchPostEffect as watchPostEffect, __webpack_exports__watchSyncEffect as watchSyncEffect, __webpack_exports__withAsyncContext as withAsyncContext, __webpack_exports__withCtx as withCtx, __webpack_exports__withDefaults as withDefaults, __webpack_exports__withDirectives as withDirectives, __webpack_exports__withMemo as withMemo, __webpack_exports__withScopeId as withScopeId };
|
|
283
|
+
export { KeepAlive, Static, Teleport, _render, createApp, createStaticVNode, nextTick, onActivated, onDeactivated, onServerPrefetch, resetForTesting, useSSRContext, vModelCheckbox, vModelRadio, vModelSelect, vModelText, vShow, withKeys, withModifiers, __webpack_exports__Comment as Comment, __webpack_exports__Fragment as Fragment, __webpack_exports__MainThreadRef as MainThreadRef, __webpack_exports__ShadowElement as ShadowElement, __webpack_exports__Suspense as Suspense, __webpack_exports__Text as Text, __webpack_exports__Transition as Transition, __webpack_exports__TransitionGroup as TransitionGroup, __webpack_exports__camelize as camelize, __webpack_exports__capitalize as capitalize, __webpack_exports__cloneVNode as cloneVNode, __webpack_exports__computed as computed, __webpack_exports__createBlock as createBlock, __webpack_exports__createCommentVNode as createCommentVNode, __webpack_exports__createElementBlock as createElementBlock, __webpack_exports__createElementVNode as createElementVNode, __webpack_exports__createPageRoot as createPageRoot, __webpack_exports__createSlots as createSlots, __webpack_exports__createTextVNode as createTextVNode, __webpack_exports__createVNode as createVNode, __webpack_exports__customRef as customRef, __webpack_exports__defineAsyncComponent as defineAsyncComponent, __webpack_exports__defineComponent as defineComponent, __webpack_exports__defineEmits as defineEmits, __webpack_exports__defineExpose as defineExpose, __webpack_exports__defineModel as defineModel, __webpack_exports__defineOptions as defineOptions, __webpack_exports__defineProps as defineProps, __webpack_exports__defineSlots as defineSlots, __webpack_exports__effectScope as effectScope, __webpack_exports__getCurrentInstance as getCurrentInstance, __webpack_exports__getCurrentScope as getCurrentScope, __webpack_exports__guardReactiveProps as guardReactiveProps, __webpack_exports__h as h, __webpack_exports__hasInjectionContext as hasInjectionContext, __webpack_exports__inject as inject, __webpack_exports__isProxy as isProxy, __webpack_exports__isReactive as isReactive, __webpack_exports__isReadonly as isReadonly, __webpack_exports__isRef as isRef, __webpack_exports__isShallow as isShallow, __webpack_exports__isVNode as isVNode, __webpack_exports__markRaw as markRaw, __webpack_exports__mergeProps as mergeProps, __webpack_exports__nodeOps as nodeOps, __webpack_exports__normalizeClass as normalizeClass, __webpack_exports__normalizeProps as normalizeProps, __webpack_exports__normalizeStyle as normalizeStyle, __webpack_exports__onBeforeMount as onBeforeMount, __webpack_exports__onBeforeUnmount as onBeforeUnmount, __webpack_exports__onBeforeUpdate as onBeforeUpdate, __webpack_exports__onErrorCaptured as onErrorCaptured, __webpack_exports__onMounted as onMounted, __webpack_exports__onRenderTracked as onRenderTracked, __webpack_exports__onRenderTriggered as onRenderTriggered, __webpack_exports__onScopeDispose as onScopeDispose, __webpack_exports__onUnmounted as onUnmounted, __webpack_exports__onUpdated as onUpdated, __webpack_exports__onWatcherCleanup as onWatcherCleanup, __webpack_exports__openBlock as openBlock, __webpack_exports__popScopeId as popScopeId, __webpack_exports__provide as provide, __webpack_exports__pushScopeId as pushScopeId, __webpack_exports__reactive as reactive, __webpack_exports__readonly as readonly, __webpack_exports__ref as ref, __webpack_exports__renderList as renderList, __webpack_exports__renderSlot as renderSlot, __webpack_exports__resolveComponent as resolveComponent, __webpack_exports__resolveDirective as resolveDirective, __webpack_exports__resolveDynamicComponent as resolveDynamicComponent, __webpack_exports__runOnBackground as runOnBackground, __webpack_exports__runOnMainThread as runOnMainThread, __webpack_exports__setBlockTracking as setBlockTracking, __webpack_exports__shallowReactive as shallowReactive, __webpack_exports__shallowReadonly as shallowReadonly, __webpack_exports__shallowRef as shallowRef, __webpack_exports__takeOps as takeOps, __webpack_exports__toDisplayString as toDisplayString, __webpack_exports__toHandlerKey as toHandlerKey, __webpack_exports__toHandlers as toHandlers, __webpack_exports__toRaw as toRaw, __webpack_exports__toRef as toRef, __webpack_exports__toRefs as toRefs, __webpack_exports__toValue as toValue, __webpack_exports__transformToWorklet as transformToWorklet, __webpack_exports__triggerRef as triggerRef, __webpack_exports__unref as unref, __webpack_exports__useAttrs as useAttrs, __webpack_exports__useId as useId, __webpack_exports__useMainThreadRef as useMainThreadRef, __webpack_exports__useModel as useModel, __webpack_exports__useSlots as useSlots, __webpack_exports__useTemplateRef as useTemplateRef, __webpack_exports__version as version, __webpack_exports__watch as watch, __webpack_exports__watchEffect as watchEffect, __webpack_exports__watchPostEffect as watchPostEffect, __webpack_exports__watchSyncEffect as watchSyncEffect, __webpack_exports__withAsyncContext as withAsyncContext, __webpack_exports__withCtx as withCtx, __webpack_exports__withDefaults as withDefaults, __webpack_exports__withDirectives as withDirectives, __webpack_exports__withMemo as withMemo, __webpack_exports__withScopeId as withScopeId };
|
|
@@ -20,6 +20,9 @@ export declare class ShadowElement {
|
|
|
20
20
|
_vShowHidden: boolean;
|
|
21
21
|
_baseClass: string;
|
|
22
22
|
_transitionClasses: Set<string>;
|
|
23
|
+
_vModelValue: string | undefined;
|
|
24
|
+
_vModelHandler: ((data: unknown) => void) | undefined;
|
|
25
|
+
_vModelEventProp: string | undefined;
|
|
23
26
|
constructor(type: string, forceId?: number);
|
|
24
27
|
/** CSS attribute selector that uniquely identifies this element on MT. */
|
|
25
28
|
get _selector(): string;
|
|
@@ -11,6 +11,9 @@ class ShadowElement {
|
|
|
11
11
|
_vShowHidden = false;
|
|
12
12
|
_baseClass = '';
|
|
13
13
|
_transitionClasses = new Set();
|
|
14
|
+
_vModelValue = void 0;
|
|
15
|
+
_vModelHandler = void 0;
|
|
16
|
+
_vModelEventProp = void 0;
|
|
14
17
|
constructor(type, forceId){
|
|
15
18
|
if (void 0 === forceId) this.id = ShadowElement.nextId++;
|
|
16
19
|
else this.id = forceId;
|