@neatui/vue 5.1.2 → 5.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neatui/vue",
3
- "version": "5.1.2",
3
+ "version": "5.1.3",
4
4
  "description": "basic component ui",
5
5
  "main": "./src/index.ts",
6
6
  "license": "MIT",
@@ -36,7 +36,7 @@
36
36
  "@fekit/scrollto": "^3.0.3",
37
37
  "@fekit/toast": "^2.7.2",
38
38
  "@fekit/utils": "^6.0.0",
39
- "@neatui/css": "^5.1.2",
39
+ "@neatui/css": "^5.1.3",
40
40
  "@rollup/plugin-commonjs": "^26.0.1",
41
41
  "@rollup/plugin-node-resolve": "^15.2.3",
42
42
  "@vue/compiler-sfc": "^3.4.30",
@@ -10,7 +10,7 @@
10
10
  ref="tip"
11
11
  :class="`${tipClass}${mobile ? ' fekit-follow-mobile' : ''}`"
12
12
  :style="`position: fixed; pointer-events: none; ${tipStyle}`"
13
- :ui-tips="theme"
13
+ :ui-tips="uiTips"
14
14
  :ui-tips-view="state.show ? 1 : 0"
15
15
  @mouseover="hovershow"
16
16
  @mouseout="hoverhide"
@@ -43,7 +43,7 @@
43
43
 
44
44
  // 类型
45
45
  interface Props {
46
- theme?: string;
46
+ uiTips?: string;
47
47
  modelValue?: string | number;
48
48
  pos?: string;
49
49
  event?: string;
@@ -63,7 +63,7 @@
63
63
 
64
64
  // 入参
65
65
  const props: any = withDefaults(defineProps<Props>(), {
66
- theme: '@a',
66
+ uiTips: '@a',
67
67
  modelValue: 0,
68
68
  pos: 'bl',
69
69
  event: 'click',
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div :ui-form="`${theme} type:select sz:${sz}`" :ui-form-open="state.show ? 'show' : ''" class="mc-cascader">
3
- <IFollowView :theme="popupTheme"
3
+ <IFollowView :ui-tips="uiTips"
4
4
  ref="ifollow"
5
5
  :tipBoxStyle="`${state.flatOpts.length && state.flatOpts[0]?.length > 0 ? 'min-width: 10em;' : 'min-width: 100%'}`"
6
6
  pos="bl"
@@ -41,7 +41,7 @@
41
41
  class="ux-hover nx-sm r-ss nowrap"
42
42
  @click="select(item, optIndex)"
43
43
  >
44
- <IFollowView :theme="popupTheme" v-if="item.optTips" event="hover">
44
+ <IFollowView :ui-tips="uiTips" v-if="item.optTips" event="hover">
45
45
  <div ui-flex="row xm">
46
46
  <span :class="`${state.transSelected.value[optIndex] === item.value ? 'co-main' : ''}`"> {{ item.label || item }}</span>
47
47
  <i v-if="item.children?.length" :class="`icon icon-next ${state.transSelected.value[optIndex] === item.value ? 'co-main' : 'co-note'}`"></i>
@@ -95,7 +95,7 @@
95
95
 
96
96
  const props = defineProps({
97
97
  theme: { type: String, default: '@a' },
98
- popupTheme: { type: String, default: '@a' },
98
+ uiTips: { type: String, default: '@a' },
99
99
  sz: { type: String, default: 'm' },
100
100
  co: { type: String, default: '' },
101
101
  block: { type: Boolean, default: true },
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div :ui-form="`${theme} type:select sz:${sz}`" ui-tips="@a co:well" :ui-tips-view="state.show">
3
- <IFollowView :theme="popupTheme" ref="ifollow">
3
+ <IFollowView :ui-tips="uiTips" ref="ifollow">
4
4
  <Input
5
5
  v-bind="{ placeholder, rules, theme, sz, co, block, ready, type, tips, maxlength, minlength, disabled, readonly, clearable, verify, prefix, suffix, interacted }"
6
6
  :clearable="false"
@@ -46,7 +46,7 @@
46
46
  placeholder?: string;
47
47
  rules?: Array<object>;
48
48
  theme?: string;
49
- popupTheme?: string;
49
+ uiTips?: string;
50
50
  sz?: '' | 'xs' | 's' | 'm' | 'l' | 'xl';
51
51
  co?: string;
52
52
  block?: boolean;
@@ -77,7 +77,7 @@
77
77
  placeholder: '',
78
78
  rules: () => [],
79
79
  theme: '@a',
80
- popupTheme: '@a',
80
+ uiTips: '@a',
81
81
  sz: '',
82
82
  co: '',
83
83
  block: true,
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div :ui-form="`${theme} type:select sz:${sz}`" ui-tips="@a co:well" :ui-tips-view="state.show">
3
- <IFollowView :theme="popupTheme" ref="ifollow">
3
+ <IFollowView :ui-tips="uiTips" ref="ifollow">
4
4
  <InputRange
5
5
  v-bind="{ placeholder, rules, theme, sz, co, block, ready, type, tips, maxlength, minlength, disabled, readonly, clearable, verify, prefix, suffix, interacted }"
6
6
  :clearable="false"
@@ -39,7 +39,7 @@
39
39
  placeholder?: string;
40
40
  rules?: Array<object>;
41
41
  theme?: string;
42
- popupTheme?: string;
42
+ uiTips?: string;
43
43
  sz?: '' | 'xs' | 's' | 'm' | 'l' | 'xl';
44
44
  co?: string;
45
45
  block?: boolean;
@@ -70,7 +70,7 @@
70
70
  placeholder: '',
71
71
  rules: () => [],
72
72
  theme: '@a',
73
- popupTheme: '@a',
73
+ uiTips: '@a',
74
74
  sz: '',
75
75
  co: '',
76
76
  block: true,
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div :ui-form="`${theme} type:select ${sz ? 'sz:' + sz : ''}`">
3
- <IFollowView :theme="popupTheme" ref="ifollow" tipBoxClass="ny-sm nx-no" tipBoxStyle="min-width: 100%">
3
+ <IFollowView :ui-tips="uiTips" ref="ifollow" tipBoxClass="ny-sm nx-no" tipBoxStyle="min-width: 100%">
4
4
  <slot>
5
5
  <Input
6
6
  v-bind="{ placeholder, rules, theme, sz, co, block, ready: true, type: 'text', tips, disabled, readonly, clearable: false, verify, prefix, suffix, interacted }"
@@ -107,7 +107,7 @@
107
107
  placeholder?: string;
108
108
  rules?: Array<object>;
109
109
  theme?: string;
110
- popupTheme?: string;
110
+ uiTips?: string;
111
111
  sz?: '' | 'xs' | 's' | 'm' | 'l' | 'xl';
112
112
  co?: string;
113
113
  block?: boolean;
@@ -136,7 +136,7 @@
136
136
  placeholder: '',
137
137
  rules: () => [],
138
138
  theme: '@a',
139
- popupTheme: '@a',
139
+ uiTips: '@a',
140
140
  sz: '',
141
141
  co: '',
142
142
  block: true,
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div :ui-form="`${theme} type:select sz:${sz}`" :ui-form-open="state.show ? 'show' : 'hide'">
3
- <IFollowView :theme="popupTheme" ref="ifollow" v-model="state.show" tipBoxClass="ny-sm nx-no" tipBoxStyle="min-width: 100%" @onshow="onshow" @onhide="onhide">
3
+ <IFollowView :ui-tips="uiTips" ref="ifollow" v-model="state.show" tipBoxClass="ny-sm nx-no" tipBoxStyle="min-width: 100%" @onshow="onshow" @onhide="onhide">
4
4
  <Input
5
5
  v-bind="{ placeholder, rules, theme, sz, co, block, ready, type: 'text', tips, disabled, readonly: true, clearable: false, verify, prefix, suffix, interacted }"
6
6
  :modelValue="state.label"
@@ -102,7 +102,7 @@
102
102
  placeholder?: string;
103
103
  rules?: Array<object>;
104
104
  theme?: string;
105
- popupTheme?: string;
105
+ uiTips?: string;
106
106
  sz?: '' | 'xs' | 's' | 'm' | 'l' | 'xl';
107
107
  co?: string;
108
108
  block?: boolean;
@@ -132,7 +132,7 @@
132
132
  placeholder: '',
133
133
  rules: () => [],
134
134
  theme: '@a',
135
- popupTheme: '@a',
135
+ uiTips: '@a',
136
136
  sz: '',
137
137
  co: '',
138
138
  block: true,
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div :ui-form="`${theme} type:select ${sz ? 'sz:' + sz : ''}`" :ui-form-open="state.show ? 'show' : ''" ref="dom">
3
- <IFollowView :theme="popupTheme" ref="ifollow" tipBoxClass="ny-sm nx-no" tipBoxStyle="min-width: 100%">
3
+ <IFollowView :ui-tips="uiTips" ref="ifollow" tipBoxClass="ny-sm nx-no" tipBoxStyle="min-width: 100%">
4
4
  <slot>
5
5
  <Input v-bind="$props" :clearable="false" readonly v-model="state.selectd">
6
6
  <template #suffix><i ui-form-select=""></i></template>
@@ -60,7 +60,7 @@
60
60
 
61
61
  const props: any = defineProps({
62
62
  theme: { type: String, default: '@a' },
63
- popupTheme: { type: String, default: '@a' },
63
+ uiTips: { type: String, default: '@a' },
64
64
  sz: { type: String, default: '' },
65
65
  co: { type: String, default: '' },
66
66
  block: { type: Boolean, default: true },
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div :ui-form="`${theme} type:select sz:${sz}`" :ui-form-open="state.show ? 'show' : ''" ref="dom">
3
- <IFollowView :theme="popupTheme" ref="ifollow" tipBoxClass="ny-sm nx-no" tipBoxStyle="min-width: 100%">
3
+ <IFollowView :ui-tips="uiTips" ref="ifollow" tipBoxClass="ny-sm nx-no" tipBoxStyle="min-width: 100%">
4
4
  <Input v-bind="$props" :clearable="false" readonly v-model="state.selectd.label" :interacted="interacted">
5
5
  <template #suffix><i ui-form-select=""></i></template>
6
6
  </Input>
@@ -55,7 +55,7 @@
55
55
  default: false,
56
56
  },
57
57
  theme: { type: String, default: '@a' },
58
- popupTheme: { type: String, default: '@a' },
58
+ uiTips: { type: String, default: '@a' },
59
59
  sz: { type: String as PropType<'' | 'xs' | 's' | 'm' | 'l' | 'xl'>, default: 'm' },
60
60
  co: { type: String, default: '' },
61
61
  block: { type: Boolean, default: true },
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div :ui-form="`${theme} type:select sz:${sz}`" :ui-form-open="state.show ? 'show' : ''">
3
- <IFollowView :theme="popupTheme" ref="ifollow" tipBoxClass="ny-sm nx-no" tipBoxStyle="min-width: 100%" @onshow="onshow" @onhide="onhide">
3
+ <IFollowView :ui-tips="uiTips" ref="ifollow" tipBoxClass="ny-sm nx-no" tipBoxStyle="min-width: 100%" @onshow="onshow" @onhide="onhide">
4
4
  <Input v-bind="$props" :clearable="false" readonly v-model="state.selectd" @click="toggle" :interacted="interacted">
5
5
  <template #suffix><i ui-form-select=""></i></template>
6
6
  </Input>
@@ -59,7 +59,7 @@
59
59
  default: false,
60
60
  },
61
61
  theme: { type: String, default: '@a' },
62
- popupTheme: { type: String, default: '@a' },
62
+ uiTips: { type: String, default: '@a' },
63
63
  sz: { type: String as PropType<'' | 'xs' | 's' | 'm' | 'l' | 'xl'>, default: 'm' },
64
64
  co: { type: String, default: '' },
65
65
  block: { type: Boolean, default: true },
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div :ui-form="`${theme} type:select sz:${sz}`" :ui-form-open="state.show ? 'show' : ''">
3
- <IFollowView :theme="popupTheme" ref="ifollow" tipBoxClass="ny-sm nx-no" tipBoxStyle="min-width: 100%" @onshow="onshow" @onhide="onhide">
3
+ <IFollowView :ui-tips="uiTips" ref="ifollow" tipBoxClass="ny-sm nx-no" tipBoxStyle="min-width: 100%" @onshow="onshow" @onhide="onhide">
4
4
  <Input
5
5
  v-bind="{ placeholder, rules, theme, sz, co, block, ready, type, tips, disabled, readonly: true, clearable: false, verify, prefix, suffix, interacted }"
6
6
  v-model="state.selectd.label"
@@ -100,7 +100,7 @@
100
100
  placeholder?: string;
101
101
  rules?: Array<object>;
102
102
  theme?: string;
103
- popupTheme?: string;
103
+ uiTips?: string;
104
104
  sz?: '' | 'xs' | 's' | 'm' | 'l' | 'xl';
105
105
  co?: string;
106
106
  block?: boolean;
@@ -132,7 +132,7 @@
132
132
  placeholder: '',
133
133
  rules: () => [],
134
134
  theme: '@a',
135
- popupTheme: '@a',
135
+ uiTips: '@a',
136
136
  sz: '',
137
137
  co: '',
138
138
  block: true,
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div :ui-form="`${theme} type:select sz:${sz}`" :ui-form-open="state.show ? 'show' : ''">
3
- <IFollowView :theme="popupTheme" ref="ifollow" tipBoxClass="ny-sm nx-no" tipBoxStyle="min-width: 100%" @onshow="onshow" @onhide="onhide">
3
+ <IFollowView :ui-tips="uiTips" ref="ifollow" tipBoxClass="ny-sm nx-no" tipBoxStyle="min-width: 100%" @onshow="onshow" @onhide="onhide">
4
4
  <Input
5
5
  v-bind="{ placeholder, rules, theme, sz, co, block, ready, type, tips, disabled, readonly: true, clearable: false, verify, prefix, suffix, interacted }"
6
6
  v-model="state.displayLabel"
@@ -127,7 +127,7 @@
127
127
  placeholder?: string;
128
128
  rules?: Array<object>;
129
129
  theme?: string;
130
- popupTheme?: string;
130
+ uiTips?: string;
131
131
  sz?: '' | 'xs' | 's' | 'm' | 'l' | 'xl';
132
132
  co?: string;
133
133
  block?: boolean;
@@ -162,7 +162,7 @@
162
162
  placeholder: '',
163
163
  rules: () => [],
164
164
  theme: '@a',
165
- popupTheme: '@a',
165
+ uiTips: '@a',
166
166
  sz: 'm',
167
167
  co: '',
168
168
  block: true,
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div :ui-form="`${theme} type:select sz:${sz}`" :ui-form-open="state.show ? 'show' : 'hide'">
3
- <IFollowView :theme="popupTheme" ref="ifollow" v-model="state.show" tipBoxClass="ny-sm nx-no" tipBoxStyle="min-width: 100%" @onshow="onshow" @onhide="onhide">
3
+ <IFollowView :ui-tips="uiTips" ref="ifollow" v-model="state.show" tipBoxClass="ny-sm nx-no" tipBoxStyle="min-width: 100%" @onshow="onshow" @onhide="onhide">
4
4
  <Input
5
5
  v-bind="{ placeholder, rules, theme, sz, co, block, ready, type, tips, disabled, readonly: true, clearable: false, verify, prefix, suffix, interacted }"
6
6
  v-model="state.label"
@@ -96,7 +96,7 @@
96
96
  placeholder?: string;
97
97
  rules?: Array<object>;
98
98
  theme?: string;
99
- popupTheme?: string;
99
+ uiTips?: string;
100
100
  sz?: '' | 'xs' | 's' | 'm' | 'l' | 'xl';
101
101
  co?: string;
102
102
  block?: boolean;
@@ -131,7 +131,7 @@
131
131
  placeholder: '',
132
132
  rules: () => [],
133
133
  theme: '@a',
134
- popupTheme: '@a',
134
+ uiTips: '@a',
135
135
  sz: '',
136
136
  co: '',
137
137
  block: true,