Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
uni-app
提交
c8a996f9
U
uni-app
项目概览
DCloud
/
uni-app
6 个月 前同步成功
通知
751
Star
38709
Fork
3642
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
8
列表
看板
标记
里程碑
合并请求
1
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
8
Issue
8
列表
看板
标记
里程碑
合并请求
1
合并请求
1
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
c8a996f9
编写于
3月 15, 2024
作者:
Q
qiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: build
上级
e7afc4d7
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
154 addition
and
0 deletion
+154
-0
packages/uni-h5/dist-x/uni-h5.cjs.js
packages/uni-h5/dist-x/uni-h5.cjs.js
+117
-0
packages/uni-h5/dist-x/uni-h5.es.js
packages/uni-h5/dist-x/uni-h5.es.js
+37
-0
未找到文件。
packages/uni-h5/dist-x/uni-h5.cjs.js
浏览文件 @
c8a996f9
...
...
@@ -899,6 +899,8 @@ class UniElement extends HTMLElement {
}
}
const
uniFormKey
=
PolySymbol
(
process
.
env
.
NODE_ENV
!==
"
production
"
?
"
uniForm
"
:
"
uf
"
);
class
UniFormElement
extends
UniElement
{
}
const
index$D
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
Form
"
,
emits
:
[
"
submit
"
,
"
reset
"
],
...
...
@@ -959,6 +961,8 @@ function useProvideLabel() {
});
return
handlers
;
}
class
UniLabelElement
extends
UniElement
{
}
const
index$C
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
Label
"
,
props
:
labelProps
,
...
...
@@ -1035,6 +1039,8 @@ const buttonProps = {
default
:
false
}
};
class
UniButtonElement
extends
UniElement
{
}
const
index$B
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
Button
"
,
props
:
buttonProps
,
...
...
@@ -1914,6 +1920,8 @@ const props$q = {
default
:
true
}
};
class
UniCanvasElement
extends
UniElement
{
}
const
index$A
=
/* @__PURE__ */
defineBuiltInComponent
({
inheritAttrs
:
false
,
name
:
"
Canvas
"
,
...
...
@@ -2388,6 +2396,8 @@ const props$p = {
default
:
""
}
};
class
UniCheckboxGroupElement
extends
UniElement
{
}
const
index$z
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
CheckboxGroup
"
,
props
:
props$p
,
...
...
@@ -2484,6 +2494,8 @@ const props$o = {
default
:
""
}
};
class
UniCheckboxElement
extends
UniElement
{
}
const
index$y
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
Checkbox
"
,
props
:
props$o
,
...
...
@@ -2822,6 +2834,8 @@ const props$m = /* @__PURE__ */ shared.extend({}, props$n, {
default
:
false
}
});
class
UniEditorElement
extends
UniElement
{
}
const
index$x
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
Editor
"
,
props
:
props$m
,
...
...
@@ -2883,6 +2897,8 @@ const ICONS = {
c
:
GREY_COLOR
}
};
class
UniIconElement
extends
UniElement
{
}
const
index$w
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
Icon
"
,
props
:
{
...
...
@@ -2950,6 +2966,8 @@ const IMAGE_MODES = {
"
bottom left
"
:
[
"
left bottom
"
],
"
bottom right
"
:
[
"
right bottom
"
]
};
class
UniImageElement
extends
UniElement
{
}
const
index$v
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
Image
"
,
props
:
props$l
,
...
...
@@ -3556,6 +3574,12 @@ const props$j = /* @__PURE__ */ shared.extend({}, props$k, {
default
:
""
}
});
class
UniInputElement
extends
UniElement
{
focus
(
options
)
{
var
_a
;
(
_a
=
this
.
querySelector
(
"
input
"
))
==
null
?
void
0
:
_a
.
focus
(
options
);
}
}
const
Input
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
Input
"
,
props
:
props$j
,
...
...
@@ -3783,6 +3807,8 @@ const movableAreaProps = {
default
:
false
}
};
class
UniMovableAreaElement
extends
UniElement
{
}
const
index$u
=
/* @__PURE__ */
defineBuiltInComponent
({
inheritAttrs
:
false
,
name
:
"
MovableArea
"
,
...
...
@@ -4331,6 +4357,8 @@ const movableViewProps = {
function
v
(
a
,
b
)
{
return
+
((
1
e3
*
a
-
1
e3
*
b
)
/
1
e3
).
toFixed
(
1
);
}
class
UniMovableViewElement
extends
UniElement
{
}
const
index$t
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
MovableView
"
,
props
:
movableViewProps
,
...
...
@@ -4982,6 +5010,8 @@ function createNavigatorOnClick(props2) {
}
};
}
class
UniNavigatorElement
extends
UniElement
{
}
const
index$s
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
Navigator
"
,
inheritAttrs
:
false
,
...
...
@@ -5073,6 +5103,8 @@ function useState$2(props2) {
});
return
state
;
}
class
UniPickerViewElement
extends
UniElement
{
}
const
PickerView
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
PickerView
"
,
props
:
pickerViewProps
,
...
...
@@ -5157,6 +5189,8 @@ function useScopedClass(indicatorHeightRef) {
vue
.
watch
(()
=>
indicatorHeightRef
.
value
,
updateStyle
);
return
className
;
}
class
UniPickerViewColumnElement
extends
UniElement
{
}
const
PickerViewColumn
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
PickerViewColumn
"
,
setup
(
props2
,
{
...
...
@@ -5315,6 +5349,8 @@ const progressProps = {
default
:
0
}
};
class
UniProgressElement
extends
UniElement
{
}
const
index$r
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
Progress
"
,
props
:
progressProps
,
...
...
@@ -5399,6 +5435,8 @@ const props$i = {
default
:
""
}
};
class
UniRadioGroupElement
extends
UniElement
{
}
const
index$q
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
RadioGroup
"
,
props
:
props$i
,
...
...
@@ -5521,6 +5559,8 @@ const props$h = {
default
:
"
#ffffff
"
}
};
class
UniRadioElement
extends
UniElement
{
}
const
indexX$2
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
Radio
"
,
props
:
props$h
,
...
...
@@ -5878,6 +5918,8 @@ const props$g = {
}
}
};
class
UniRichTextElement
extends
UniElement
{
}
const
index$p
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
RichText
"
,
compatConfig
:
{
...
...
@@ -5977,6 +6019,8 @@ const props$f = {
default
:
false
}
};
class
UniScrollViewElement
extends
UniElement
{
}
const
index$o
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
ScrollView
"
,
compatConfig
:
{
...
...
@@ -6903,6 +6947,8 @@ function useLayout(props2, state, swiperContexts, slideFrameRef, emit2, trigger)
swiperEnabled
};
}
class
UniSwiperElement
extends
UniElement
{
}
const
index$n
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
Swiper
"
,
props
:
props$d
,
...
...
@@ -7132,6 +7178,8 @@ const props$c = {
default
:
""
}
};
class
UniSwiperItemElement
extends
UniElement
{
}
const
index$m
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
SwiperItem
"
,
props
:
props$c
,
...
...
@@ -7177,6 +7225,8 @@ const props$b = {
default
:
""
}
};
class
UniSwitchElement
extends
UniElement
{
}
const
index$l
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
Switch
"
,
props
:
props$b
,
...
...
@@ -7290,6 +7340,8 @@ function normalizeText(text, { space, decode }) {
function
parseText
(
text
,
options
)
{
return
normalizeText
(
text
,
options
).
split
(
uniShared
.
LINEFEED
);
}
class
UniTextElement
extends
UniElement
{
}
const
index$k
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
Text
"
,
props
:
{
...
...
@@ -7364,6 +7416,12 @@ const props$a = /* @__PURE__ */ shared.extend({}, props$k, {
});
let
fixMargin
=
false
;
const
ConfirmTypes
=
[
"
done
"
,
"
go
"
,
"
next
"
,
"
search
"
,
"
send
"
];
class
UniTextareaElement
extends
UniElement
{
focus
(
options
)
{
var
_a
;
(
_a
=
this
.
querySelector
(
"
textarea
"
))
==
null
?
void
0
:
_a
.
focus
(
options
);
}
}
const
index$j
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
Textarea
"
,
props
:
props$a
,
...
...
@@ -7505,6 +7563,8 @@ const index$j = /* @__PURE__ */ defineBuiltInComponent({
};
}
});
class
UniViewElement
extends
UniElement
{
}
const
index$i
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
View
"
,
props
:
shared
.
extend
({},
hoverProps
),
...
...
@@ -7564,6 +7624,8 @@ function traverseStickySection(stickySectionVNode, callback) {
callback
(
child
);
}
}
class
UniListViewElement
extends
UniElement
{
}
const
index$h
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
ListView
"
,
props
:
{
...
...
@@ -7814,6 +7876,8 @@ function getSize(isVertical, el) {
return
parseFloat
(
style
.
marginLeft
)
+
el
.
getBoundingClientRect
().
width
+
parseFloat
(
style
.
marginRight
);
}
}
class
UniListItemElement
extends
UniElement
{
}
const
index$g
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
ListItem
"
,
props
:
{},
...
...
@@ -7856,6 +7920,8 @@ const index$g = /* @__PURE__ */ defineBuiltInComponent({
};
}
});
class
UniStickySectionElement
extends
UniElement
{
}
const
index$f
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
StickySection
"
,
props
:
{
...
...
@@ -7901,6 +7967,8 @@ const index$f = /* @__PURE__ */ defineBuiltInComponent({
};
}
});
class
UniStickyHeaderElement
extends
UniElement
{
}
const
index$e
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
StickyHeader
"
,
props
:
{
...
...
@@ -9202,6 +9270,8 @@ const props$9 = {
default
:
true
}
};
class
UniVideoElement
extends
UniElement
{
}
const
index$b
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
Video
"
,
props
:
props$9
,
...
...
@@ -9432,6 +9502,8 @@ const props$8 = {
default
:
""
}
};
class
UniWebViewElement
extends
UniElement
{
}
const
indexX
=
/* @__PURE__ */
defineBuiltInComponent
({
inheritAttrs
:
false
,
name
:
"
WebView
"
,
...
...
@@ -10672,6 +10744,8 @@ function useMap(props2, rootRef, emit2) {
trigger
};
}
class
UniMapElement
extends
UniElement
{
}
const
index$a
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
Map
"
,
props
:
props$2
,
...
...
@@ -10708,6 +10782,8 @@ const props$1 = {
default
:
0
}
};
class
UniCoverViewElement
extends
UniElement
{
}
const
index$9
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
CoverView
"
,
compatConfig
:
{
...
...
@@ -10748,6 +10824,8 @@ const index$9 = /* @__PURE__ */ defineBuiltInComponent({
};
}
});
class
UniCoverImageElement
extends
UniElement
{
}
const
index$8
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
CoverImage
"
,
compatConfig
:
{
...
...
@@ -10923,6 +11001,8 @@ const props = {
default
:
""
}
};
class
UniPickerElement
extends
UniElement
{
}
const
index$7
=
/* @__PURE__ */
defineBuiltInComponent
({
name
:
"
Picker
"
,
compatConfig
:
{
...
...
@@ -13151,10 +13231,47 @@ exports.SwiperItem = index$m;
exports
.
Switch
=
index$l
;
exports
.
Text
=
index$k
;
exports
.
Textarea
=
index$j
;
exports
.
UniButtonElement
=
UniButtonElement
;
exports
.
UniCanvasElement
=
UniCanvasElement
;
exports
.
UniCheckboxElement
=
UniCheckboxElement
;
exports
.
UniCheckboxGroupElement
=
UniCheckboxGroupElement
;
exports
.
UniCoverImageElement
=
UniCoverImageElement
;
exports
.
UniCoverViewElement
=
UniCoverViewElement
;
exports
.
UniEditorElement
=
UniEditorElement
;
exports
.
UniElement
=
UniElement
;
exports
.
UniElementImpl
=
UniElement
;
exports
.
UniFormElement
=
UniFormElement
;
exports
.
UniIconElement
=
UniIconElement
;
exports
.
UniImageElement
=
UniImageElement
;
exports
.
UniInputElement
=
UniInputElement
;
exports
.
UniLabelElement
=
UniLabelElement
;
exports
.
UniListItemElement
=
UniListItemElement
;
exports
.
UniListViewElement
=
UniListViewElement
;
exports
.
UniMapElement
=
UniMapElement
;
exports
.
UniMovableAreaElement
=
UniMovableAreaElement
;
exports
.
UniMovableViewElement
=
UniMovableViewElement
;
exports
.
UniNavigatorElement
=
UniNavigatorElement
;
exports
.
UniPickerElement
=
UniPickerElement
;
exports
.
UniPickerViewColumnElement
=
UniPickerViewColumnElement
;
exports
.
UniPickerViewElement
=
UniPickerViewElement
;
exports
.
UniProgressElement
=
UniProgressElement
;
exports
.
UniRadioElement
=
UniRadioElement
;
exports
.
UniRadioGroupElement
=
UniRadioGroupElement
;
exports
.
UniRichTextElement
=
UniRichTextElement
;
exports
.
UniScrollViewElement
=
UniScrollViewElement
;
exports
.
UniServiceJSBridge
=
UniServiceJSBridge$1
;
exports
.
UniSliderElement
=
UniSliderElement
;
exports
.
UniStickyHeaderElement
=
UniStickyHeaderElement
;
exports
.
UniStickySectionElement
=
UniStickySectionElement
;
exports
.
UniSwiperElement
=
UniSwiperElement
;
exports
.
UniSwiperItemElement
=
UniSwiperItemElement
;
exports
.
UniSwitchElement
=
UniSwitchElement
;
exports
.
UniTextElement
=
UniTextElement
;
exports
.
UniTextareaElement
=
UniTextareaElement
;
exports
.
UniVideoElement
=
UniVideoElement
;
exports
.
UniViewElement
=
UniViewElement
;
exports
.
UniViewJSBridge
=
UniViewJSBridge$1
;
exports
.
UniWebViewElement
=
UniWebViewElement
;
exports
.
Video
=
index$b
;
exports
.
View
=
index$i
;
exports
.
WebView
=
indexX
;
...
...
packages/uni-h5/dist-x/uni-h5.es.js
浏览文件 @
c8a996f9
...
...
@@ -26686,10 +26686,47 @@ export {
index$m as Switch,
index$l as Text,
index$k as Textarea,
UniButtonElement,
UniCanvasElement,
UniCheckboxElement,
UniCheckboxGroupElement,
UniCoverImageElement,
UniCoverViewElement,
UniEditorElement,
UniElement,
UniElement as UniElementImpl,
UniFormElement,
UniIconElement,
UniImageElement,
UniInputElement,
UniLabelElement,
UniListItemElement,
UniListViewElement,
UniMapElement,
UniMovableAreaElement,
UniMovableViewElement,
UniNavigatorElement,
UniPickerElement,
UniPickerViewColumnElement,
UniPickerViewElement,
UniProgressElement,
UniRadioElement,
UniRadioGroupElement,
UniRichTextElement,
UniScrollViewElement,
UniServiceJSBridge$1 as UniServiceJSBridge,
UniSliderElement,
UniStickyHeaderElement,
UniStickySectionElement,
UniSwiperElement,
UniSwiperItemElement,
UniSwitchElement,
UniTextElement,
UniTextareaElement,
UniVideoElement,
UniViewElement,
UniViewJSBridge$1 as UniViewJSBridge,
UniWebViewElement,
index$c as Video,
index$j as View,
indexX as WebView,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录