@opentiny/vue-docs 3.19.3 → 3.19.4
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/demos/apis/dialog-box.js +1 -1
- package/demos/apis/drawer.js +1 -1
- package/demos/mobile/app/input/webdoc/input.js +1 -1
- package/demos/pc/app/action-menu/icon-composition-api.vue +1 -1
- package/demos/pc/app/action-menu/icon.vue +1 -1
- package/demos/pc/app/amount/size-composition-api.vue +6 -0
- package/demos/pc/app/amount/size.vue +6 -0
- package/demos/pc/app/area/custom-service-composition-api.vue +2 -2
- package/demos/pc/app/area/custom-service.spec.ts +1 -1
- package/demos/pc/app/area/custom-service.vue +2 -2
- package/demos/pc/app/company/basic-usage-composition-api.vue +4 -1
- package/demos/pc/app/company/basic-usage.vue +4 -1
- package/demos/pc/app/company/custom-service-composition-api.vue +19 -11
- package/demos/pc/app/company/custom-service.vue +19 -11
- package/demos/pc/app/company/custom-show-num-composition-api.vue +9 -1
- package/demos/pc/app/company/custom-show-num.vue +9 -1
- package/demos/pc/app/country/basic-usage-composition-api.vue +4 -1
- package/demos/pc/app/country/basic-usage.vue +4 -1
- package/demos/pc/app/country/custom-service-composition-api.vue +9 -1
- package/demos/pc/app/country/custom-service.vue +9 -1
- package/demos/pc/app/country/fields-composition-api.vue +9 -1
- package/demos/pc/app/country/fields.vue +9 -1
- package/demos/pc/app/currency/basic-usage-composition-api.vue +4 -1
- package/demos/pc/app/currency/basic-usage.vue +4 -1
- package/demos/pc/app/currency/custom-service-composition-api.vue +9 -1
- package/demos/pc/app/currency/custom-service.vue +9 -1
- package/demos/pc/app/currency/disable-currency-composition-api.vue +7 -1
- package/demos/pc/app/currency/disable-currency.vue +7 -1
- package/demos/pc/app/currency/fields-composition-api.vue +9 -1
- package/demos/pc/app/currency/fields.vue +9 -1
- package/demos/pc/app/currency/filter-composition-api.vue +12 -1
- package/demos/pc/app/currency/filter.vue +12 -1
- package/demos/pc/app/currency/set-default-composition-api.vue +9 -1
- package/demos/pc/app/currency/set-default-custom-service-composition-api.vue +16 -8
- package/demos/pc/app/currency/set-default-custom-service.vue +16 -8
- package/demos/pc/app/currency/set-default.vue +9 -1
- package/demos/pc/app/currency/size-composition-api.vue +10 -1
- package/demos/pc/app/currency/size.vue +10 -1
- package/demos/pc/app/dept/auto-select-composition-api.vue +9 -1
- package/demos/pc/app/dept/auto-select.vue +9 -1
- package/demos/pc/app/dept/basic-usage-composition-api.vue +9 -1
- package/demos/pc/app/dept/basic-usage.vue +9 -1
- package/demos/pc/app/dept/before-confirm-composition-api.vue +4 -6
- package/demos/pc/app/dept/before-confirm.vue +4 -6
- package/demos/pc/app/dept/custom-service-composition-api.vue +14 -6
- package/demos/pc/app/dept/custom-service.vue +14 -6
- package/demos/pc/app/dept/dept-cancel-composition-api.vue +4 -6
- package/demos/pc/app/dept/dept-cancel.vue +4 -6
- package/demos/pc/app/dept/dept-close-composition-api.vue +9 -1
- package/demos/pc/app/dept/dept-close.vue +9 -1
- package/demos/pc/app/dept/dept-confirm-composition-api.vue +4 -6
- package/demos/pc/app/dept/dept-confirm.vue +4 -6
- package/demos/pc/app/dept/dept-events-composition-api.vue +9 -1
- package/demos/pc/app/dept/dept-events.vue +9 -1
- package/demos/pc/app/dept/dept-selected-composition-api.vue +9 -1
- package/demos/pc/app/dept/dept-selected.vue +9 -1
- package/demos/pc/app/dept/dynamic-disable-composition-api.vue +9 -1
- package/demos/pc/app/dept/dynamic-disable.vue +9 -1
- package/demos/pc/app/dept/size-composition-api.vue +15 -1
- package/demos/pc/app/dept/size.vue +15 -1
- package/demos/pc/app/dept/slot-hrapprover-composition-api.vue +13 -5
- package/demos/pc/app/dept/slot-hrapprover.vue +13 -5
- package/demos/pc/app/dept/title-composition-api.vue +9 -1
- package/demos/pc/app/dept/title.vue +9 -1
- package/demos/pc/app/dialog-box/dialog-width-composition-api.vue +16 -4
- package/demos/pc/app/dialog-box/dialog-width.spec.ts +2 -1
- package/demos/pc/app/dialog-box/dialog-width.vue +19 -5
- package/demos/pc/app/dialog-box/webdoc/dialog-box.js +8 -6
- package/demos/pc/app/drawer/dragable-composition-api.vue +2 -7
- package/demos/pc/app/drawer/dragable.vue +2 -7
- package/demos/pc/app/drawer/placement-composition-api.vue +1 -0
- package/demos/pc/app/drawer/placement.vue +1 -0
- package/demos/pc/app/drop-roles/basic-usage-composition-api.vue +4 -1
- package/demos/pc/app/drop-roles/basic-usage.vue +4 -1
- package/demos/pc/app/drop-roles/change-role-event-composition-api.vue +9 -1
- package/demos/pc/app/drop-roles/change-role-event.vue +9 -1
- package/demos/pc/app/drop-roles/custom-service-composition-api.vue +16 -8
- package/demos/pc/app/drop-roles/custom-service.vue +16 -8
- package/demos/pc/app/drop-roles/size-composition-api.vue +10 -5
- package/demos/pc/app/drop-roles/size.vue +10 -5
- package/demos/pc/app/hrapprover/basic-usage-composition-api.vue +13 -1
- package/demos/pc/app/hrapprover/basic-usage.vue +13 -1
- package/demos/pc/app/hrapprover/category-type-composition-api.vue +14 -6
- package/demos/pc/app/hrapprover/category-type.vue +14 -6
- package/demos/pc/app/hrapprover/custom-service-composition-api.vue +15 -7
- package/demos/pc/app/hrapprover/custom-service.vue +15 -7
- package/demos/pc/app/hrapprover/disabled-composition-api.vue +7 -1
- package/demos/pc/app/hrapprover/disabled.vue +7 -1
- package/demos/pc/app/input/display-only-composition-api.vue +1 -1
- package/demos/pc/app/input/display-only.vue +1 -1
- package/demos/pc/app/input/native-composition-api.vue +6 -2
- package/demos/pc/app/input/native.vue +6 -2
- package/demos/pc/app/input/type-composition-api.vue +0 -30
- package/demos/pc/app/input/type.spec.ts +1 -15
- package/demos/pc/app/input/type.vue +1 -31
- package/demos/pc/app/input/webdoc/input.js +10 -3
- package/demos/pc/app/locales/custom-service-composition-api.vue +3 -3
- package/demos/pc/app/locales/custom-service.spec.ts +1 -1
- package/demos/pc/app/locales/custom-service.vue +3 -3
- package/demos/pc/app/select/size-composition-api.vue +4 -4
- package/demos/pc/app/select/size.spec.ts +3 -3
- package/demos/pc/app/select/size.vue +4 -4
- package/demos/pc/app/tree/basic-usage-composition-api.vue +0 -3
- package/demos/pc/app/tree/basic-usage.vue +0 -3
- package/demos/pc/app/tree/edit-composition-api.vue +1 -8
- package/demos/pc/app/tree/edit.vue +1 -8
- package/demos/pc/app/tree/other-composition-api.vue +1 -1
- package/demos/pc/app/tree/other.vue +1 -1
- package/demos/pc/app/tree/slot-composition-api.vue +3 -3
- package/demos/pc/app/tree/slot.vue +3 -3
- package/demos/pc/app/user/allow-copy-composition-api.vue +9 -1
- package/demos/pc/app/user/allow-copy.vue +9 -1
- package/demos/pc/app/user/basic-usage-composition-api.vue +9 -1
- package/demos/pc/app/user/basic-usage.vue +9 -1
- package/demos/pc/app/user/batch-composition-api.vue +26 -18
- package/demos/pc/app/user/batch.vue +7 -1
- package/demos/pc/app/user/cache-users-composition-api.vue +4 -1
- package/demos/pc/app/user/cache-users.vue +4 -1
- package/demos/pc/app/user/collapse-show-overflow-tooltip-composition-api.vue +16 -8
- package/demos/pc/app/user/collapse-show-overflow-tooltip.vue +16 -8
- package/demos/pc/app/user/collapse-tags -composition-api.vue +17 -9
- package/demos/pc/app/user/collapse-tags .vue +17 -9
- package/demos/pc/app/user/custom-placeholder-composition-api.vue +9 -1
- package/demos/pc/app/user/custom-placeholder.vue +9 -1
- package/demos/pc/app/user/custom-service-composition-api.vue +4 -1
- package/demos/pc/app/user/custom-service.vue +4 -1
- package/demos/pc/app/user/custom-sort-composition-api.vue +9 -1
- package/demos/pc/app/user/custom-sort.vue +4 -1
- package/demos/pc/app/user/delay-load-composition-api.vue +9 -1
- package/demos/pc/app/user/delay-load.vue +9 -1
- package/demos/pc/app/user/display-only-composition-api.vue +9 -1
- package/demos/pc/app/user/display-only.vue +9 -1
- package/demos/pc/app/user/dynamic-disable-composition-api.vue +9 -1
- package/demos/pc/app/user/dynamic-disable.vue +9 -1
- package/demos/pc/app/user/event-change-composition-api.vue +9 -1
- package/demos/pc/app/user/event-change.vue +9 -1
- package/demos/pc/app/user/event-error-composition-api.vue +9 -1
- package/demos/pc/app/user/event-error.vue +9 -1
- package/demos/pc/app/user/hidden-tips-disable-composition-api.vue +7 -1
- package/demos/pc/app/user/hidden-tips-disable.vue +7 -1
- package/demos/pc/app/user/hide-selected-composition-spi.vue +9 -1
- package/demos/pc/app/user/hide-selected.vue +9 -1
- package/demos/pc/app/user/load-after-input-the-length-composition-api.vue +9 -1
- package/demos/pc/app/user/load-after-input-the-length.vue +9 -1
- package/demos/pc/app/user/multiple-users-composition-api.vue +9 -1
- package/demos/pc/app/user/multiple-users-hover-expand-composition-api.vue +9 -1
- package/demos/pc/app/user/multiple-users-hover-expand.vue +9 -1
- package/demos/pc/app/user/multiple-users-tag-composition-api.vue +9 -1
- package/demos/pc/app/user/multiple-users-tag.vue +9 -1
- package/demos/pc/app/user/multiple-users.vue +9 -1
- package/demos/pc/app/user/nodata-text-composition-api.vue +9 -1
- package/demos/pc/app/user/nodata-text.vue +9 -1
- package/demos/pc/app/user/tag-copy-all-composition-api.vue +7 -1
- package/demos/pc/app/user/tag-copy-all.vue +7 -1
- package/demos/pc/app/user/tag-copy-composition-api.vue +7 -1
- package/demos/pc/app/user/tag-copy.vue +7 -1
- package/demos/pc/app/user/text-field-composition-api.vue +9 -1
- package/demos/pc/app/user/text-field.vue +9 -1
- package/demos/pc/app/user/user-options-composition-api.vue +16 -8
- package/demos/pc/app/user/user-options.vue +16 -8
- package/demos/pc/app/user/user-select-size-composition-api.vue +4 -1
- package/demos/pc/app/user/user-select-size.vue +4 -1
- package/demos/pc/app/user/value-field-composition-api.vue +4 -1
- package/demos/pc/app/user/value-field.vue +4 -1
- package/demos/pc/app/user/value-split-composition-api.vue +4 -1
- package/demos/pc/app/user/value-split.vue +4 -1
- package/demos/pc/app/virtual-tree/basic-usage-composition-api.vue +1 -1
- package/demos/pc/app/virtual-tree/basic-usage.vue +1 -1
- package/package.json +8 -8
- package/playground/App.vue +2 -3
- package/public/static/css/design-common.css +265 -0
- package/public/static/images/footer/cli.svg +17 -0
- package/public/static/images/footer/code-open.png +0 -0
- package/public/static/images/footer/footer-title-community.svg +13 -0
- package/public/static/images/footer/footer-title-help.svg +16 -0
- package/public/static/images/footer/footer-title-human.svg +15 -0
- package/public/static/images/footer/footer-title-resource.svg +16 -0
- package/public/static/images/footer/pro.svg +15 -0
- package/public/static/images/footer/theme.svg +16 -0
- package/public/static/js/design-common.js +110 -1
- package/src/views/components/components.vue +1 -1
- package/src/views/components/float-settings.vue +3 -13
- package/src/views/layout/layout.vue +0 -11
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
2
|
+
<div class="demo-user-class">
|
|
3
|
+
<tiny-user v-model="user" no-data-text="查无此人"></tiny-user>
|
|
4
|
+
</div>
|
|
3
5
|
</template>
|
|
4
6
|
|
|
5
7
|
<script>
|
|
@@ -16,3 +18,9 @@ export default {
|
|
|
16
18
|
}
|
|
17
19
|
}
|
|
18
20
|
</script>
|
|
21
|
+
|
|
22
|
+
<style scoped>
|
|
23
|
+
.demo-user-class {
|
|
24
|
+
width: 280px;
|
|
25
|
+
}
|
|
26
|
+
</style>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div>
|
|
2
|
+
<div class="demo-user-class">
|
|
3
3
|
<tiny-user v-model="user" multiple value-field="userAccount" copyable></tiny-user>
|
|
4
4
|
</div>
|
|
5
5
|
</template>
|
|
@@ -10,3 +10,9 @@ import { TinyUser } from '@opentiny/vue'
|
|
|
10
10
|
|
|
11
11
|
const user = ref('test1,test2,test3')
|
|
12
12
|
</script>
|
|
13
|
+
|
|
14
|
+
<style scoped>
|
|
15
|
+
.demo-user-class {
|
|
16
|
+
width: 280px;
|
|
17
|
+
}
|
|
18
|
+
</style>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div>
|
|
2
|
+
<div class="demo-user-class">
|
|
3
3
|
<tiny-user v-model="user" multiple value-field="userAccount" copyable></tiny-user>
|
|
4
4
|
</div>
|
|
5
5
|
</template>
|
|
@@ -18,3 +18,9 @@ export default {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
</script>
|
|
21
|
+
|
|
22
|
+
<style scoped>
|
|
23
|
+
.demo-user-class {
|
|
24
|
+
width: 280px;
|
|
25
|
+
}
|
|
26
|
+
</style>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div>
|
|
2
|
+
<div class="demo-user-class">
|
|
3
3
|
<tiny-user v-model="user" multiple value-field="userAccount" tag-selectable></tiny-user>
|
|
4
4
|
</div>
|
|
5
5
|
</template>
|
|
@@ -10,3 +10,9 @@ import { TinyUser } from '@opentiny/vue'
|
|
|
10
10
|
|
|
11
11
|
const user = ref('test1,test2,test3')
|
|
12
12
|
</script>
|
|
13
|
+
|
|
14
|
+
<style scoped>
|
|
15
|
+
.demo-user-class {
|
|
16
|
+
width: 280px;
|
|
17
|
+
}
|
|
18
|
+
</style>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div>
|
|
2
|
+
<div class="demo-user-class">
|
|
3
3
|
<tiny-user v-model="user" multiple value-field="userAccount" tag-selectable></tiny-user>
|
|
4
4
|
</div>
|
|
5
5
|
</template>
|
|
@@ -18,3 +18,9 @@ export default {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
</script>
|
|
21
|
+
|
|
22
|
+
<style scoped>
|
|
23
|
+
.demo-user-class {
|
|
24
|
+
width: 280px;
|
|
25
|
+
}
|
|
26
|
+
</style>
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
2
|
+
<div class="demo-user-class">
|
|
3
|
+
<tiny-user v-model="user" multiple text-field="userCN"></tiny-user>
|
|
4
|
+
</div>
|
|
3
5
|
</template>
|
|
4
6
|
|
|
5
7
|
<script setup lang="jsx">
|
|
@@ -8,3 +10,9 @@ import { TinyUser } from '@opentiny/vue'
|
|
|
8
10
|
|
|
9
11
|
const user = ref('441047913162396,702973890055088,421000103624183')
|
|
10
12
|
</script>
|
|
13
|
+
|
|
14
|
+
<style scoped>
|
|
15
|
+
.demo-user-class {
|
|
16
|
+
width: 280px;
|
|
17
|
+
}
|
|
18
|
+
</style>
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
2
|
+
<div class="demo-user-class">
|
|
3
|
+
<tiny-user v-model="user" multiple text-field="userCN"></tiny-user>
|
|
4
|
+
</div>
|
|
3
5
|
</template>
|
|
4
6
|
|
|
5
7
|
<script lang="jsx">
|
|
@@ -16,3 +18,9 @@ export default {
|
|
|
16
18
|
}
|
|
17
19
|
}
|
|
18
20
|
</script>
|
|
21
|
+
|
|
22
|
+
<style scoped>
|
|
23
|
+
.demo-user-class {
|
|
24
|
+
width: 280px;
|
|
25
|
+
}
|
|
26
|
+
</style>
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
<
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
<div class="demo-user-class">
|
|
3
|
+
<tiny-user v-model="user">
|
|
4
|
+
<template #options="slotScope">
|
|
5
|
+
<div>
|
|
6
|
+
<span>{{ slotScope.slotScope.employeeNumber }}</span
|
|
7
|
+
>-<span>{{ slotScope.slotScope.email }}</span>
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
</tiny-user>
|
|
11
|
+
</div>
|
|
10
12
|
</template>
|
|
11
13
|
|
|
12
14
|
<script setup lang="jsx">
|
|
@@ -15,3 +17,9 @@ import { TinyUser } from '@opentiny/vue'
|
|
|
15
17
|
|
|
16
18
|
const user = ref('702973890055088')
|
|
17
19
|
</script>
|
|
20
|
+
|
|
21
|
+
<style scoped>
|
|
22
|
+
.demo-user-class {
|
|
23
|
+
width: 280px;
|
|
24
|
+
}
|
|
25
|
+
</style>
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
<
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
<div class="demo-user-class">
|
|
3
|
+
<tiny-user v-model="user">
|
|
4
|
+
<template #options="slotScope">
|
|
5
|
+
<div>
|
|
6
|
+
<span>{{ slotScope.slotScope.employeeNumber }}</span
|
|
7
|
+
>-<span>{{ slotScope.slotScope.email }}</span>
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
</tiny-user>
|
|
11
|
+
</div>
|
|
10
12
|
</template>
|
|
11
13
|
|
|
12
14
|
<script lang="jsx">
|
|
@@ -23,3 +25,9 @@ export default {
|
|
|
23
25
|
}
|
|
24
26
|
}
|
|
25
27
|
</script>
|
|
28
|
+
|
|
29
|
+
<style scoped>
|
|
30
|
+
.demo-user-class {
|
|
31
|
+
width: 280px;
|
|
32
|
+
}
|
|
33
|
+
</style>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div>
|
|
2
|
+
<div class="demo-user-class">
|
|
3
3
|
<p>尺寸:medium</p>
|
|
4
4
|
<tiny-user v-model="user" size="medium"></tiny-user>
|
|
5
5
|
<p>尺寸:small</p>
|
|
@@ -17,6 +17,9 @@ const user = ref('421000103624183')
|
|
|
17
17
|
</script>
|
|
18
18
|
|
|
19
19
|
<style scoped>
|
|
20
|
+
.demo-user-class {
|
|
21
|
+
width: 280px;
|
|
22
|
+
}
|
|
20
23
|
p {
|
|
21
24
|
font-size: 14px;
|
|
22
25
|
line-height: 1.5;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div>
|
|
2
|
+
<div class="demo-user-class">
|
|
3
3
|
<p>尺寸:medium</p>
|
|
4
4
|
<tiny-user v-model="user" size="medium"></tiny-user>
|
|
5
5
|
<p>尺寸:small</p>
|
|
@@ -25,6 +25,9 @@ export default {
|
|
|
25
25
|
</script>
|
|
26
26
|
|
|
27
27
|
<style scoped>
|
|
28
|
+
.demo-user-class {
|
|
29
|
+
width: 280px;
|
|
30
|
+
}
|
|
28
31
|
p {
|
|
29
32
|
font-size: 14px;
|
|
30
33
|
line-height: 1.5;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div>
|
|
2
|
+
<div class="demo-user-class">
|
|
3
3
|
<tiny-user v-model="user" multiple value-field="userAccount"></tiny-user>
|
|
4
4
|
<p>value 值:{{ user }}</p>
|
|
5
5
|
</div>
|
|
@@ -13,6 +13,9 @@ const user = ref('test1,test2,test3')
|
|
|
13
13
|
</script>
|
|
14
14
|
|
|
15
15
|
<style scoped>
|
|
16
|
+
.demo-user-class {
|
|
17
|
+
width: 280px;
|
|
18
|
+
}
|
|
16
19
|
p {
|
|
17
20
|
font-size: 14px;
|
|
18
21
|
line-height: 1.5;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div>
|
|
2
|
+
<div class="demo-user-class">
|
|
3
3
|
<tiny-user v-model="user" multiple value-field="userAccount"></tiny-user>
|
|
4
4
|
<p>value 值:{{ user }}</p>
|
|
5
5
|
</div>
|
|
@@ -21,6 +21,9 @@ export default {
|
|
|
21
21
|
</script>
|
|
22
22
|
|
|
23
23
|
<style scoped>
|
|
24
|
+
.demo-user-class {
|
|
25
|
+
width: 280px;
|
|
26
|
+
}
|
|
24
27
|
p {
|
|
25
28
|
font-size: 14px;
|
|
26
29
|
line-height: 1.5;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div>
|
|
2
|
+
<div class="demo-user-class">
|
|
3
3
|
<tiny-user v-model="user" multiple value-split=";" text-split="," value-field="userAccount"></tiny-user>
|
|
4
4
|
<p>value 值:{{ user }}</p>
|
|
5
5
|
</div>
|
|
@@ -13,6 +13,9 @@ const user = ref('test1,test2,test3')
|
|
|
13
13
|
</script>
|
|
14
14
|
|
|
15
15
|
<style scoped>
|
|
16
|
+
.demo-user-class {
|
|
17
|
+
width: 280px;
|
|
18
|
+
}
|
|
16
19
|
p {
|
|
17
20
|
font-size: 14px;
|
|
18
21
|
line-height: 1.5;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div>
|
|
2
|
+
<div class="demo-user-class">
|
|
3
3
|
<tiny-user v-model="user" multiple value-split=";" text-split="," value-field="userAccount"></tiny-user>
|
|
4
4
|
<p>value 值:{{ user }}</p>
|
|
5
5
|
</div>
|
|
@@ -21,6 +21,9 @@ export default {
|
|
|
21
21
|
</script>
|
|
22
22
|
|
|
23
23
|
<style scoped>
|
|
24
|
+
.demo-user-class {
|
|
25
|
+
width: 280px;
|
|
26
|
+
}
|
|
24
27
|
p {
|
|
25
28
|
font-size: 14px;
|
|
26
29
|
line-height: 1.5;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/vue-docs",
|
|
3
|
-
"version": "3.19.
|
|
3
|
+
"version": "3.19.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@opentiny/vue-repl": "^1.1.2",
|
|
@@ -16,19 +16,19 @@
|
|
|
16
16
|
"vue": "^3.4.31",
|
|
17
17
|
"vue-i18n": "^9.1.10",
|
|
18
18
|
"vue-router": "4.1.5",
|
|
19
|
-
"@opentiny/vue-common": "~3.19.0",
|
|
20
19
|
"@opentiny/vue": "~3.19.0",
|
|
21
|
-
"@opentiny/vue-
|
|
20
|
+
"@opentiny/vue-common": "~3.19.0",
|
|
22
21
|
"@opentiny/vue-design-saas": "~3.19.0",
|
|
22
|
+
"@opentiny/vue-directive": "~3.19.0",
|
|
23
|
+
"@opentiny/vue-hooks": "~3.19.0",
|
|
24
|
+
"@opentiny/vue-design-aurora": "~3.19.0",
|
|
23
25
|
"@opentiny/vue-icon": "~3.19.0",
|
|
24
26
|
"@opentiny/vue-icon-multicolor": "~3.19.0",
|
|
25
|
-
"@opentiny/vue-directive": "~3.19.0",
|
|
26
27
|
"@opentiny/vue-icon-saas": "~3.19.0",
|
|
28
|
+
"@opentiny/vue-theme": "~3.19.4",
|
|
29
|
+
"@opentiny/vue-theme-mobile": "~3.19.0",
|
|
27
30
|
"@opentiny/vue-theme-saas": "~3.19.0",
|
|
28
|
-
"@opentiny/vue-
|
|
29
|
-
"@opentiny/vue-vite-import": "~1.2.0",
|
|
30
|
-
"@opentiny/vue-hooks": "~3.19.0",
|
|
31
|
-
"@opentiny/vue-theme-mobile": "~3.19.0"
|
|
31
|
+
"@opentiny/vue-vite-import": "~1.2.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@playwright/test": "~1.42.0",
|
package/playground/App.vue
CHANGED
|
@@ -72,9 +72,8 @@ const createImportMap = (version) => {
|
|
|
72
72
|
'sortablejs': `${cdnHost}/sortablejs${versionDelimiter}1.15.0/${fileDelimiter}modular/sortable.esm.js`
|
|
73
73
|
}
|
|
74
74
|
if (['aurora', 'saas'].includes(tinyTheme)) {
|
|
75
|
-
imports[
|
|
76
|
-
|
|
77
|
-
] = `${cdnHost}/@opentiny/vue-design-${tinyTheme}${versionDelimiter}${version}/${fileDelimiter}index.js`
|
|
75
|
+
imports[`@opentiny/vue-design-${tinyTheme}`] =
|
|
76
|
+
`${cdnHost}/@opentiny/vue-design-${tinyTheme}${versionDelimiter}${version}/${fileDelimiter}index.js`
|
|
78
77
|
}
|
|
79
78
|
if (isSaas) {
|
|
80
79
|
imports['@opentiny/vue-icon'] = `${getRuntime(version)}tiny-vue-icon-saas.mjs`
|
|
@@ -553,3 +553,268 @@
|
|
|
553
553
|
height: 3.33333333vw;
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
|
+
|
|
557
|
+
.tinyui-design-footer {
|
|
558
|
+
font-size: 16px;
|
|
559
|
+
color: #2c2e30;
|
|
560
|
+
background-color: #fafafa;
|
|
561
|
+
overflow: hidden;
|
|
562
|
+
}
|
|
563
|
+
.tinyui-design-footer .footer-content {
|
|
564
|
+
display: flex;
|
|
565
|
+
margin: 0 auto;
|
|
566
|
+
padding: 10vh 0 6.8vh;
|
|
567
|
+
justify-content: center;
|
|
568
|
+
width: 70%;
|
|
569
|
+
box-sizing: border-box;
|
|
570
|
+
}
|
|
571
|
+
.tinyui-design-footer .footer-content .contact {
|
|
572
|
+
width: fit-content;
|
|
573
|
+
}
|
|
574
|
+
.tinyui-design-footer .footer-content .contact .group-code {
|
|
575
|
+
margin: 30px 0;
|
|
576
|
+
}
|
|
577
|
+
.tinyui-design-footer .footer-content .contact .group-code > img {
|
|
578
|
+
width: 150px;
|
|
579
|
+
border: solid 0.55vw #f2f6f9;
|
|
580
|
+
}
|
|
581
|
+
.tinyui-design-footer .footer-content .links {
|
|
582
|
+
display: grid;
|
|
583
|
+
grid-template-columns: repeat(4, auto);
|
|
584
|
+
justify-content: space-between;
|
|
585
|
+
flex: 1 1 auto;
|
|
586
|
+
}
|
|
587
|
+
.tinyui-design-footer .footer-content .links .link-item .list-item {
|
|
588
|
+
width: 100%;
|
|
589
|
+
display: block;
|
|
590
|
+
text-decoration: none;
|
|
591
|
+
color: #2c2e30;
|
|
592
|
+
overflow: hidden;
|
|
593
|
+
white-space: nowrap;
|
|
594
|
+
text-overflow: ellipsis;
|
|
595
|
+
}
|
|
596
|
+
.tinyui-design-footer .footer-content .links .link-item .list-item:hover {
|
|
597
|
+
color: #2f5bea;
|
|
598
|
+
}
|
|
599
|
+
.tinyui-design-footer .footer-text-list {
|
|
600
|
+
font-size: 14px;
|
|
601
|
+
line-height: 39px;
|
|
602
|
+
white-space: nowrap;
|
|
603
|
+
}
|
|
604
|
+
.tinyui-design-footer .footer-title {
|
|
605
|
+
display: inline-block;
|
|
606
|
+
height: 22px;
|
|
607
|
+
line-height: 22px;
|
|
608
|
+
margin-left: 3px;
|
|
609
|
+
font-size: 16px;
|
|
610
|
+
font-weight: 600;
|
|
611
|
+
vertical-align: middle;
|
|
612
|
+
}
|
|
613
|
+
.tinyui-design-footer .footer-title-container {
|
|
614
|
+
margin-bottom: 17px;
|
|
615
|
+
}
|
|
616
|
+
.tinyui-design-footer .copyright {
|
|
617
|
+
height: 86px;
|
|
618
|
+
line-height: 1.8;
|
|
619
|
+
text-align: center;
|
|
620
|
+
font-size: 14px;
|
|
621
|
+
color: #fff;
|
|
622
|
+
background-color: #3e4345;
|
|
623
|
+
width: 100%;
|
|
624
|
+
display: flex;
|
|
625
|
+
flex-direction: column;
|
|
626
|
+
justify-content: center;
|
|
627
|
+
}
|
|
628
|
+
.tinyui-design-footer .copyright p {
|
|
629
|
+
margin: 0;
|
|
630
|
+
}
|
|
631
|
+
.footer-logo-container {
|
|
632
|
+
position: relative;
|
|
633
|
+
padding-right: 4.7%;
|
|
634
|
+
margin-right: 4.7%;
|
|
635
|
+
box-sizing: border-box;
|
|
636
|
+
}
|
|
637
|
+
.footer-logo-container::after {
|
|
638
|
+
content: '';
|
|
639
|
+
position: absolute;
|
|
640
|
+
display: block;
|
|
641
|
+
height: 135px;
|
|
642
|
+
border-right: 1px solid #979797;
|
|
643
|
+
opacity: 0.28;
|
|
644
|
+
top: 60px;
|
|
645
|
+
right: 0;
|
|
646
|
+
}
|
|
647
|
+
.footer-promotional-container {
|
|
648
|
+
margin: 10px 0;
|
|
649
|
+
padding-left: 1.05vw;
|
|
650
|
+
}
|
|
651
|
+
.footer-logo-link {
|
|
652
|
+
display: inline-block;
|
|
653
|
+
text-decoration: none;
|
|
654
|
+
cursor: pointer;
|
|
655
|
+
height: 38px;
|
|
656
|
+
}
|
|
657
|
+
.footer-logo-link-list {
|
|
658
|
+
height: 26px;
|
|
659
|
+
margin-right: 30px;
|
|
660
|
+
}
|
|
661
|
+
.footer-logo-link-list:last-child {
|
|
662
|
+
margin-right: 0;
|
|
663
|
+
}
|
|
664
|
+
.footer-logo-link-list img {
|
|
665
|
+
height: 100%;
|
|
666
|
+
}
|
|
667
|
+
.footer-promotional-label {
|
|
668
|
+
font-size: 14px;
|
|
669
|
+
height: 40px;
|
|
670
|
+
line-height: 40px;
|
|
671
|
+
white-space: nowrap;
|
|
672
|
+
}
|
|
673
|
+
.footer-logo-title {
|
|
674
|
+
display: inline-block;
|
|
675
|
+
height: 38px;
|
|
676
|
+
font-size: 21px;
|
|
677
|
+
font-weight: 700;
|
|
678
|
+
color: #242424;
|
|
679
|
+
margin-left: 0.53vw;
|
|
680
|
+
}
|
|
681
|
+
.footer-logo {
|
|
682
|
+
vertical-align: middle;
|
|
683
|
+
width: 53px;
|
|
684
|
+
}
|
|
685
|
+
.footer-logo-s {
|
|
686
|
+
vertical-align: middle;
|
|
687
|
+
width: 16px;
|
|
688
|
+
}
|
|
689
|
+
.footer-logolist-container {
|
|
690
|
+
margin-top: 10px;
|
|
691
|
+
}
|
|
692
|
+
.footer-logo-list {
|
|
693
|
+
margin-right: 1.46vw;
|
|
694
|
+
}
|
|
695
|
+
.icon-arrow {
|
|
696
|
+
display: none;
|
|
697
|
+
position: absolute;
|
|
698
|
+
top: 4px;
|
|
699
|
+
right: 0;
|
|
700
|
+
width: 16px;
|
|
701
|
+
height: 16px;
|
|
702
|
+
transform: rotate(0deg);
|
|
703
|
+
transition: all 0.3s ease-out;
|
|
704
|
+
transform-origin: center center;
|
|
705
|
+
background: url(assets/icon-arrow.png) no-repeat;
|
|
706
|
+
background-size: 100% 100%;
|
|
707
|
+
}
|
|
708
|
+
@media screen and (max-width: 1339px) {
|
|
709
|
+
.tinyui-design-footer .footer-content {
|
|
710
|
+
width: 84%;
|
|
711
|
+
}
|
|
712
|
+
.tinyui-design-footer .footer-content .contact .group-code > img {
|
|
713
|
+
width: 85px;
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
@media screen and (max-width: 1279px) {
|
|
717
|
+
.tinyui-design-footer .footer-content {
|
|
718
|
+
width: 96%;
|
|
719
|
+
}
|
|
720
|
+
.tinyui-design-footer .footer-logo-container {
|
|
721
|
+
padding-right: 2%;
|
|
722
|
+
margin-right: 2%;
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
@media screen and (max-width: 1023px) {
|
|
726
|
+
.tinyui-design-footer .footer-logo-container {
|
|
727
|
+
display: flex;
|
|
728
|
+
padding-right: 0;
|
|
729
|
+
margin-right: 0;
|
|
730
|
+
margin-bottom: 20px;
|
|
731
|
+
align-items: center;
|
|
732
|
+
flex-direction: column;
|
|
733
|
+
justify-content: center;
|
|
734
|
+
padding-bottom: 40px;
|
|
735
|
+
border-bottom: 1px solid #e5e6ea;
|
|
736
|
+
}
|
|
737
|
+
.tinyui-design-footer .footer-logo-container::after {
|
|
738
|
+
display: none;
|
|
739
|
+
}
|
|
740
|
+
.tinyui-design-footer .footer-logo-container .footer-logolist-container {
|
|
741
|
+
padding-left: 0;
|
|
742
|
+
}
|
|
743
|
+
.tinyui-design-footer .footer-logo-container .footer-promotional-container {
|
|
744
|
+
padding: 0;
|
|
745
|
+
margin-left: 0;
|
|
746
|
+
width: 100%;
|
|
747
|
+
text-align: center;
|
|
748
|
+
}
|
|
749
|
+
.tinyui-design-footer .footer-content {
|
|
750
|
+
flex-direction: column;
|
|
751
|
+
width: 100%;
|
|
752
|
+
padding: 50px 30px 20px;
|
|
753
|
+
}
|
|
754
|
+
.tinyui-design-footer .footer-content .links {
|
|
755
|
+
display: flex;
|
|
756
|
+
flex-direction: column;
|
|
757
|
+
align-items: center;
|
|
758
|
+
}
|
|
759
|
+
.tinyui-design-footer .footer-content .links .link-item {
|
|
760
|
+
text-align: center;
|
|
761
|
+
width: 100%;
|
|
762
|
+
border-bottom: 1px solid #e5e6ea;
|
|
763
|
+
}
|
|
764
|
+
.tinyui-design-footer .footer-content .links .link-item .list-item {
|
|
765
|
+
width: 100%;
|
|
766
|
+
}
|
|
767
|
+
.tinyui-design-footer .footer-content .links .link-item div {
|
|
768
|
+
width: 100%;
|
|
769
|
+
text-align: left;
|
|
770
|
+
}
|
|
771
|
+
.tinyui-design-footer .footer-content .contact {
|
|
772
|
+
width: 100%;
|
|
773
|
+
text-align: center;
|
|
774
|
+
display: flex;
|
|
775
|
+
flex-direction: column-reverse;
|
|
776
|
+
}
|
|
777
|
+
.tinyui-design-footer .footer-content .contact .group-code {
|
|
778
|
+
margin-left: 0;
|
|
779
|
+
margin: 30px auto 12px;
|
|
780
|
+
}
|
|
781
|
+
.tinyui-design-footer .footer-content .contact .footer-logo-s {
|
|
782
|
+
display: none;
|
|
783
|
+
}
|
|
784
|
+
.tinyui-design-footer .footer-content .contact .footer-title {
|
|
785
|
+
font-size: 16px;
|
|
786
|
+
color: #2c2e30;
|
|
787
|
+
line-height: 22px;
|
|
788
|
+
}
|
|
789
|
+
.tinyui-design-footer .footer-content .footer-text-list {
|
|
790
|
+
padding-left: 23px;
|
|
791
|
+
height: 0;
|
|
792
|
+
overflow: hidden;
|
|
793
|
+
transition: all 0.5s ease-out;
|
|
794
|
+
}
|
|
795
|
+
.tinyui-design-footer .footer-content .footer-text-list.current {
|
|
796
|
+
height: fit-content;
|
|
797
|
+
}
|
|
798
|
+
.tinyui-design-footer .footer-content .footer-title-container {
|
|
799
|
+
margin: 19px 0;
|
|
800
|
+
position: relative;
|
|
801
|
+
text-align: left;
|
|
802
|
+
}
|
|
803
|
+
.tinyui-design-footer .footer-content .footer-title-container .icon-arrow {
|
|
804
|
+
display: block;
|
|
805
|
+
}
|
|
806
|
+
.tinyui-design-footer .footer-content .footer-title-container.current .icon-arrow {
|
|
807
|
+
transform: rotate(180deg);
|
|
808
|
+
}
|
|
809
|
+
.tinyui-design-footer .copyright {
|
|
810
|
+
background: transparent;
|
|
811
|
+
border-top: 1px solid #e5e6ea;
|
|
812
|
+
}
|
|
813
|
+
.tinyui-design-footer .copyright p {
|
|
814
|
+
font-size: 12px;
|
|
815
|
+
text-align: center;
|
|
816
|
+
color: #2c2e30;
|
|
817
|
+
line-height: 21px;
|
|
818
|
+
margin: 0;
|
|
819
|
+
}
|
|
820
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="40px" height="40px" viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>编组 10</title>
|
|
4
|
+
<g id="logo-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<g id="logo-应用-2" transform="translate(-1329.000000, -159.000000)">
|
|
6
|
+
<g id="编组-10" transform="translate(1329.000000, 159.000000)">
|
|
7
|
+
<rect id="矩形备份" fill="#2F5BEA" x="0" y="0" width="40" height="40" rx="7.18993409"></rect>
|
|
8
|
+
<g id="编组备份" transform="translate(8.508089, 6.782504)">
|
|
9
|
+
<polygon id="路径" fill="#FFFFFF" points="11.4919113 0 18.2721326 3.91330138 9.86688013 8.77230087 9.8738316 8.78433712 6.80512257 10.5554917 6.80512257 15.9762015 11.5011123 18.6865564 14.5641738 16.9186486 14.5731456 16.93418 22.9838048 12.0720729 22.9838226 19.8981426 11.4919113 26.5308568 0 19.8981426 0 6.6327142"></polygon>
|
|
10
|
+
<polygon id="路径" fill="#A0B3F1" points="11.5011123 18.6865564 22.9225159 12.0615019 22.9225338 19.8875716 11.4919113 26.5308568"></polygon>
|
|
11
|
+
<polygon id="路径" fill="#BFCCF6" points="6.80512257 15.9762015 11.5011123 18.6865564 11.4919113 26.5308568 0 19.8981426"></polygon>
|
|
12
|
+
<polygon id="路径" fill="#DFE5FA" points="11.4919113 0 18.2721326 3.91330138 11.4966193 7.83016359"></polygon>
|
|
13
|
+
</g>
|
|
14
|
+
</g>
|
|
15
|
+
</g>
|
|
16
|
+
</g>
|
|
17
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>形状</title>
|
|
4
|
+
<g id="页面-2" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<g id="Tiny-Design-首页" transform="translate(-953.000000, -4115.000000)" fill="#2C2E30" fill-rule="nonzero">
|
|
6
|
+
<g id="FOOTER" transform="translate(0.000000, 3992.000000)">
|
|
7
|
+
<g id="2" transform="translate(953.000000, 120.000000)">
|
|
8
|
+
<path d="M15.3469388,7.88382687 C14.9478458,6.93621867 14.3673469,6.06150342 13.6417233,5.33257404 L13.5328798,5.22323462 C12.0453515,3.80182232 10.0498866,3 7.98185941,3 C5.84126984,3 3.84580499,3.8382688 2.32199547,5.33257404 L2.32199547,5.3690205 C0.834467124,6.89977221 0,8.90432802 0,11.0182232 C0,11.8929385 0.145124718,12.6947608 0.39909297,13.4965831 C0.653061223,14.2255125 0.979591842,14.9179954 1.41496598,15.5740319 L1.48752835,15.6469248 L1.48752835,18.7084282 C1.48752835,18.8542141 1.63265307,19 1.77777778,19 L7.98185941,19 C9.07029479,19 10.0861678,18.7813212 11.1020408,18.38041 C12.0453515,17.9794989 12.9160998,17.3963554 13.6417233,16.667426 L13.7505669,16.5580866 C15.2018141,15.0637813 16,13.095672 16,10.9817768 C15.9637188,9.92482916 15.7460317,8.90432802 15.3469388,7.88382687 Z M10.8480726,12.2938497 L7.98185941,15.0637813 C7.94557822,15.1002278 7.87301587,15.1366743 7.80045351,15.1366743 C7.72789114,15.1366743 7.69160997,15.1002278 7.61904762,15.0637813 L4.78911564,12.3302961 L4.75283446,12.2938497 C4.06349206,11.6013667 3.88208617,10.7266515 4.20861677,9.88838268 C4.57142856,8.97722095 5.47845804,8.35763098 6.42176871,8.35763098 C6.85714286,8.35763098 7.292517,8.50341686 7.69160997,8.75854214 L7.76417234,8.79498862 L7.83673469,8.75854214 C8.23582766,8.50341686 8.67120181,8.35763098 9.10657597,8.35763098 C10.0498866,8.35763098 10.9569161,8.97722095 11.3197279,9.88838268 C11.7188209,10.7266515 11.537415,11.6013667 10.8480726,12.2938497 L10.8480726,12.2938497 Z" id="形状"></path>
|
|
9
|
+
</g>
|
|
10
|
+
</g>
|
|
11
|
+
</g>
|
|
12
|
+
</g>
|
|
13
|
+
</svg>
|