@community-release/nx-ui 0.0.44 → 0.0.45

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/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "ui",
3
3
  "configKey": "ui",
4
- "version": "0.0.44"
4
+ "version": "0.0.45"
5
5
  }
@@ -7,6 +7,7 @@
7
7
  :class="classes"
8
8
  :style="styles"
9
9
  @click="handleClick"
10
+ ref="refCom"
10
11
  >
11
12
  <div class="button-bg" :style="buttonBgStyle"></div>
12
13
 
@@ -22,19 +23,15 @@
22
23
  </component>
23
24
  </template>
24
25
 
25
- <script>
26
- import UiImpulseIndicator from '../impulse-indicator.vue';
27
- import UiLoading from '../loading.vue';
28
- import comProps from '#build/ui.button.mjs';
29
-
30
- export default {
31
- components: {
32
- UiImpulseIndicator,
33
- UiLoading,
34
- },
35
-
36
- // Data
37
- props: {
26
+ <script setup>
27
+ // Imports
28
+ import { ref, computed } from 'vue';
29
+ import UiImpulseIndicator from '../impulse-indicator.vue';
30
+ import UiLoading from '../loading.vue';
31
+ import comProps from '#build/ui.button.mjs';
32
+
33
+ // Data
34
+ const props = defineProps({
38
35
  color: {
39
36
  type: String,
40
37
  default: comProps.color,
@@ -71,73 +68,74 @@ export default {
71
68
  type: [Boolean, Number],
72
69
  default: false,
73
70
  },
74
- },
75
- data: function() {
76
- return {
77
- impulse: false,
78
- };
79
- },
80
- computed: {
81
- computedType() {
82
- return this.type !== '' ? this.type : (this.href !== '' ? 'a' : 'button');
83
- },
84
- classes() {
85
- let ar = [];
71
+ });
86
72
 
87
- if (this.size) ar.push(`tag-size-${this.size}`);
88
- if (this.shape) ar.push(`tag-shape-${this.shape}`);
89
- if (this.variant) ar.push(`tag-variant-${this.variant}`);
90
- if (this.block) ar.push('tag-block');
91
- if (this.loading) ar.push('tag-loading');
92
- if (this.disabled) ar.push('tag-disabled');
73
+ const refCom = ref(null);
93
74
 
94
- return ar;
95
- },
96
- stylesHoverColor() {
97
- return `var(--ui-color-text-on-${this.color})`;
98
- },
99
- styles() {
100
- let background = `var(--ui-color-${this.color})`;
101
- let color = `var(--ui-color-text-on-${this.color})`;
75
+ const impulse = ref(false);
76
+
77
+ const computedType = computed(() => {
78
+ return props.type !== '' ? props.type : (props.href !== '' ? 'a' : 'button');
79
+ });
102
80
 
103
- if (this.variant === 'flat' || this.variant === 'outline')
104
- background = 'transparent';
81
+ const classes = computed(() => {
82
+ let ar = [];
105
83
 
106
- if (this.variant === 'flat' || this.variant === 'outline')
107
- color = `var(--ui-color-${this.color}-text)`;
84
+ if (props.size) ar.push(`tag-size-${props.size}`);
85
+ if (props.shape) ar.push(`tag-shape-${props.shape}`);
86
+ if (props.variant) ar.push(`tag-variant-${props.variant}`);
87
+ if (props.block) ar.push('tag-block');
88
+ if (props.loading) ar.push('tag-loading');
89
+ if (props.disabled) ar.push('tag-disabled');
108
90
 
109
- return {
110
- background,
111
- color,
112
- };
113
- },
114
- buttonBgStyle() {
115
- return {
116
- 'background': (this.variant === 'flat' || this.variant === 'outline') ? `var(--ui-color-${this.color})` : 'rgba(66,88,120, 0.075)'
117
- }
91
+ return ar;
92
+ });
93
+ const stylesHoverColor = computed(() => {
94
+ return `var(--ui-color-text-on-${props.color})`;
95
+ });
96
+
97
+ const styles = computed(() => {
98
+ let background = `var(--ui-color-${props.color})`;
99
+ let color = `var(--ui-color-text-on-${props.color})`;
100
+
101
+ if (props.variant === 'flat' || props.variant === 'outline')
102
+ background = 'transparent';
103
+
104
+ if (props.variant === 'flat' || props.variant === 'outline')
105
+ color = `var(--ui-color-${props.color}-text)`;
106
+
107
+ return {
108
+ background,
109
+ color,
110
+ };
111
+ });
112
+ const buttonBgStyle = computed(() => {
113
+ return {
114
+ 'background': (props.variant === 'flat' || props.variant === 'outline') ? `var(--ui-color-${props.color.value})` : 'rgba(66,88,120, 0.075)'
118
115
  }
119
- },
116
+ });
120
117
 
121
118
  // Methods
122
- methods: {
123
- handleClick(e) {
124
- if (this.disabled || this.loading) return;
125
-
126
- let rect = this.$el.getBoundingClientRect();
127
-
128
- this.impulse = {
129
- left : e.clientX - rect.left,
130
- top : e.clientY - rect.top,
131
- width : this.$el.offsetWidth,
132
- height : this.$el.offsetHeight
133
- };
134
- }
119
+ function handleClick(e) {
120
+ if (props.disabled || props.loading) return;
121
+
122
+ let rect = refCom.value.getBoundingClientRect();
123
+
124
+ impulse.value = {
125
+ left : e.clientX - rect.left,
126
+ top : e.clientY - rect.top,
127
+ width : refCom.value.offsetWidth,
128
+ height : refCom.value.offsetHeight
129
+ };
135
130
  }
136
- }
137
131
  </script>
138
132
 
139
133
  <style lang="less">
140
134
  .component-ui-button {
135
+ --button-hover-color: #fff;
136
+ --button-text-color: #fff;
137
+ --button-background: #fff;
138
+
141
139
  --button-hover-color: v-bind(stylesHoverColor);
142
140
  --button-text-color: v-bind(styles.color);
143
141
  --button-background: v-bind(styles.background);
@@ -360,6 +358,9 @@ export default {
360
358
  }
361
359
 
362
360
  &:focus {
361
+ outline: none;
362
+ }
363
+ &:focus-visible {
363
364
  outline: @com-outline;
364
365
  outline-offset: @com-outline-offset;
365
366
  }
@@ -11,8 +11,6 @@
11
11
  :disabled="disabled"
12
12
  :aria-describedby="describedby"
13
13
  @change="updateValue($event.target.checked)"
14
- @blur="focus = false"
15
- @focus="focus = true"
16
14
  autocomplete="off"
17
15
  />
18
16
 
@@ -27,10 +25,7 @@
27
25
 
28
26
  <script setup>
29
27
  // Imports
30
- import { ref, computed, useSlots } from 'vue';
31
-
32
- // Misc
33
- const slots = useSlots();
28
+ import { ref, computed } from 'vue';
34
29
 
35
30
  //
36
31
  const props = defineProps({
@@ -62,14 +57,12 @@
62
57
 
63
58
  const emit = defineEmits(['change', 'onchange', 'update:modelValue']);
64
59
 
65
- const focus = ref(false);
66
-
67
60
  const classes = computed(() => {
68
61
  const ar = [];
69
62
 
70
63
  if (props.error) ar.push('tag-error');
71
64
  if (props.disabled) ar.push('tag-disabled');
72
- if (focus.value) ar.push('tag-focus');
65
+ if (props.error) ar.push('tag-error');
73
66
 
74
67
  return ar;
75
68
  });
@@ -104,7 +97,7 @@
104
97
  @com-color-text: var(--ui-color-text);
105
98
  @com-color-header-text: var(--ui-color-header-text);
106
99
  @com-color-gray-text: var(--ui-color-gray-text);
107
- @com-color-error-text: var(--ui-color-error);
100
+ @com-color-error: var(--ui-color-error);
108
101
 
109
102
  @com-text-medium: var(--ui-text-medium);
110
103
  @com-text-small: var(--ui-text-small);
@@ -198,17 +191,24 @@
198
191
 
199
192
  // Error
200
193
  &.tag-error {
201
- > label { color: @com-color-error-text; }
194
+ > label i { border-color: @com-color-error; }
195
+ > label > input:checked + i {
196
+ border-color: @com-color-error;
197
+ background: @com-color-error;
198
+ }
202
199
  }
203
200
  }
204
201
 
205
202
  @media (hover: hover) {
206
- .component-ui-checkbox.tag-focus {
203
+ .component-ui-checkbox {
207
204
  // Ally
208
205
  @com-outline: var(--ui-outline);
209
206
  @com-outline-offset: var(--ui-outline-offset);
210
207
 
211
- i {
208
+ input:focus {
209
+ outline: none;
210
+ }
211
+ input:focus-visible + i {
212
212
  outline: @com-outline;
213
213
  outline-offset: @com-outline-offset;
214
214
  }
@@ -60,6 +60,10 @@
60
60
  type: Boolean,
61
61
  default: false,
62
62
  },
63
+ error: {
64
+ type: Boolean,
65
+ default: false,
66
+ },
63
67
  type: {
64
68
  type: String,
65
69
  default: 'text'
@@ -88,6 +92,7 @@
88
92
  if (props.disabled) ar.push('tag-disabled');
89
93
  if (props.size) ar.push(`tag-size-${props.size}`);
90
94
  if (props.shape) ar.push(`tag-shape-${props.shape}`);
95
+ if (props.error) ar.push(`tag-error`);
91
96
 
92
97
  return ar;
93
98
  });
@@ -138,7 +143,8 @@
138
143
  @com-color-bg: var(--ui-color-bg);
139
144
  @com-color-header-text: var(--ui-color-header-text);
140
145
  @com-color-gray-text: var(--ui-color-gray-text);
141
- @com-color-primary: var(--color-primary);
146
+ @com-color-primary: var(--ui-color-primary);
147
+ @com-color-error: var(--ui-color-error);
142
148
 
143
149
  // Space
144
150
  @com-space-small: var(--ui-space-small);
@@ -248,5 +254,14 @@
248
254
  cursor: not-allowed;
249
255
  }
250
256
  }
257
+
258
+ // Error
259
+ &.tag-error {
260
+ border-color: @com-color-error;
261
+
262
+ &.tag-focus {
263
+ border-color: transparent;
264
+ }
265
+ }
251
266
  }
252
267
  </style>
@@ -1,10 +1,12 @@
1
1
  <template>
2
- <component :is="fieldset ? 'fieldset' : 'div'" class="component-ui-label" :class="[`tag-size-${size}`, `tag-weight-${weight}`, required ? 'tag-required' : '']">
3
- <component :is="fieldset ? 'legend' : 'label'" class="component-ui-label--text" :for="labelFor">
4
- {{ text }} <span v-if="required" aria-hidden="true">*</span>
5
- </component>
6
- <slot></slot>
7
- </component>
2
+ <div>
3
+ <div class="component-ui-label" :class="[`tag-size-${size}`, `tag-weight-${weight}`, required ? 'tag-required' : '']">
4
+ <component :is="isLegend ? 'legend' : 'label'" class="component-ui-label--text" :for="labelFor">
5
+ {{ text }} <span v-if="required" aria-hidden="true">*</span>
6
+ </component>
7
+ <slot />
8
+ </div>
9
+ </div>
8
10
  </template>
9
11
 
10
12
  <script setup>
@@ -23,6 +25,10 @@
23
25
  labelFor: {
24
26
  default: ''
25
27
  },
28
+ isLegend: {
29
+ type: Boolean,
30
+ default: false
31
+ },
26
32
  size: {
27
33
  type: String,
28
34
  default: comProps.size,
@@ -14,8 +14,9 @@ import { watch, computed, defineAsyncComponent } from 'vue';
14
14
  import { useMapStore } from './store';
15
15
  import comProps from '#build/ui.map.mjs';
16
16
 
17
- // Data
18
- const store = useMapStore();
17
+ // // Data
18
+ const nuxtApp = useNuxtApp();
19
+ const store = useMapStore(nuxtApp.$pinia);
19
20
  const emit = defineEmits(['initialized']);
20
21
 
21
22
  const mapEngines = {
@@ -12,8 +12,6 @@
12
12
  :disabled="disabled"
13
13
  :aria-required="required ? 'true' : 'false'"
14
14
  :aria-describedby="describedby"
15
- @blur="focus = false"
16
- @focus="focus = true"
17
15
  autocomplete="off"
18
16
  @change="handleUpdate($event.target.value)"
19
17
  />
@@ -60,12 +58,14 @@
60
58
  disabled: {
61
59
  type: Boolean,
62
60
  default: false
61
+ },
62
+ error: {
63
+ type: Boolean,
64
+ default: false
63
65
  }
64
66
  })
65
67
 
66
68
  const emit = defineEmits(['update:modelValue']);
67
-
68
- const focus = ref(false);
69
69
 
70
70
  const classes = computed(() => {
71
71
  const ar = [];
@@ -74,7 +74,7 @@
74
74
  if (props.haveError) ar.push('tag-error');
75
75
  if (props.text) ar.push('tag-text');
76
76
  if (props.disabled) ar.push('tag-disabled');
77
- if (focus.value) ar.push('tag-focus');
77
+ if (props.error) ar.push('tag-error');
78
78
 
79
79
  return ar;
80
80
  });
@@ -217,17 +217,24 @@
217
217
 
218
218
  // Error
219
219
  &.tag-error {
220
- > label { color: @com-color-error; }
220
+ > label i { border-color: @com-color-error; }
221
+ > label > input:checked + i {
222
+ border-color: @com-color-error;
223
+ background: @com-color-error;
224
+ }
221
225
  }
222
226
  }
223
227
 
224
228
  @media (hover: hover) {
225
- .component-ui-radio.tag-focus {
229
+ .component-ui-radio {
226
230
  // Ally
227
231
  @com-outline: var(--ui-outline);
228
232
  @com-outline-offset: var(--ui-outline-offset);
229
233
 
230
- i {
234
+ input:focus {
235
+ outline: none;
236
+ }
237
+ input:focus-visible + i {
231
238
  outline: @com-outline;
232
239
  outline-offset: @com-outline-offset;
233
240
  }
@@ -28,7 +28,6 @@
28
28
  <script setup>
29
29
  // Imports
30
30
  import { ref, computed, watch, onMounted, nextTick } from 'vue';
31
- import uniq from './helpers/uniq';
32
31
 
33
32
  // Setup
34
33
  const props = defineProps({
@@ -77,7 +76,6 @@ const isOpen = ref(false);
77
76
  const increaseZIndex = ref(false);
78
77
  const focus = ref(false);
79
78
  const select = ref(null);
80
- const uniqId = uniq();
81
79
 
82
80
  const valueName = computed(() => {
83
81
  let result = '...';
@@ -176,6 +174,7 @@ onMounted(() => {
176
174
  @com-color-surface: var(--ui-color-surface);
177
175
  @com-color-red: var(--ui-color-red);
178
176
  @com-color-border: var(--ui-color-border-bolder);
177
+ @com-color-error: var(--ui-color-error);
179
178
 
180
179
  @com-border-radius-default: var(--ui-border-radius-default);
181
180
  @com-bs-1: var(--ui-bs-1);
@@ -294,6 +293,18 @@ onMounted(() => {
294
293
  border-color: transparent;
295
294
  outline: @com-outline;
296
295
  }
296
+
297
+
298
+ }
299
+
300
+ &.tag-error {
301
+ .value {
302
+ border-color: @com-color-error;
303
+ }
304
+
305
+ &.tag-focus .value {
306
+ border-color: transparent;
307
+ }
297
308
  }
298
309
  }
299
310
 
@@ -302,5 +313,15 @@ onMounted(() => {
302
313
  background: @com-color-surface;
303
314
  border-color: transparent;
304
315
  }
316
+
317
+ &.tag-error {
318
+ .value {
319
+ border-color: @com-color-error;
320
+ }
321
+
322
+ &.tag-focus .value {
323
+ border-color: transparent;
324
+ }
325
+ }
305
326
  }
306
327
  </style>
@@ -58,6 +58,10 @@
58
58
  type: String,
59
59
  default: 'on',
60
60
  },
61
+ error: {
62
+ type: Boolean,
63
+ default: false,
64
+ },
61
65
  });
62
66
 
63
67
  const refInput = ref(null);
@@ -72,6 +76,7 @@
72
76
  if (haveFocus.value) ar.push('tag-focus');
73
77
  if (props.disabled) ar.push('tag-disabled');
74
78
  if (props.shape) ar.push(`tag-shape-${props.shape}`);
79
+ if (props.error) ar.push(`tag-error`);
75
80
 
76
81
  return ar;
77
82
  });
@@ -110,6 +115,7 @@
110
115
  @com-color-border-bolder: var(--ui-color-border-bolder);
111
116
  @com-color-header-text: var(--ui-color-header-text);
112
117
  @com-color-gray-text: var(--ui-color-gray-text);
118
+ @com-color-error: var(--ui-color-error);
113
119
 
114
120
  // Padding
115
121
  @com-space-default: var(--ui-space-default);
@@ -177,5 +183,18 @@
177
183
  outline: @com-outline;
178
184
  }
179
185
  }
186
+
187
+ // Error
188
+ &.tag-error {
189
+ textarea {
190
+ border-color: @com-color-error;
191
+ }
192
+
193
+ &.tag-focus {
194
+ textarea {
195
+ border-color: transparent;
196
+ }
197
+ }
198
+ }
180
199
  }
181
200
  </style>
@@ -2,7 +2,7 @@ import { defineNuxtPlugin } from '#app';
2
2
  import { useUINoticeStore } from '../components/notice/store.mjs';
3
3
 
4
4
  export default defineNuxtPlugin(function (nuxt) {
5
- const noticeStore = useUINoticeStore();
5
+ const noticeStore = useUINoticeStore(nuxt.$pinia);
6
6
 
7
7
  return {
8
8
  provide: {
package/package.json CHANGED
@@ -1,66 +1,66 @@
1
1
  {
2
- "name": "@community-release/nx-ui",
3
- "version": "0.0.44",
4
- "description": "nx-ui - Nuxt UI library",
5
- "repository": {
6
- "type": "git",
7
- "url": "git+https://github.com/community-release/nx-ui.git"
8
- },
9
- "license": "MIT",
10
- "type": "module",
11
- "exports": {
12
- ".": {
13
- "import": "./dist/module.mjs",
14
- "require": "./dist/module.cjs"
15
- }
16
- },
17
- "main": "./dist/module.cjs",
18
- "files": [
19
- "dist"
20
- ],
21
- "dependencies": {
22
- "@nuxt/kit": "^3.15.4",
23
- "@nuxtjs/color-mode": "^3.5.2",
24
- "@nuxtjs/i18n": "^9.2.0",
25
- "@pinia/nuxt": "^0.10.1",
26
- "pinia": "^3.0.1",
27
- "ol": "^9.1.0",
28
- "vue": "^3.5.13"
29
- },
30
- "devDependencies": {
31
- "@nuxt/devtools": "latest",
32
- "@nuxt/module-builder": "^0.5.5",
33
- "@nuxt/schema": "^3.11.2",
34
- "@nuxt/test-utils": "^3.12.0",
35
- "@vitejs/plugin-vue": "^5.2.1",
36
- "@vue/test-utils": "^2.4.6",
37
- "@vuedoc/md": "^4.0.0-beta8",
38
- "@vuedoc/parser": "^4.0.0-beta14",
39
- "changelogen": "^0.5.5",
40
- "cross-env": "^7.0.3",
41
- "happy-dom": "^14.12.0",
42
- "less": "^3.9.0",
43
- "less-loader": "^5.0.0",
44
- "nuxt": "^3.15.4",
45
- "vite-raw-plugin": "^1.0.2",
46
- "vitest": "^1.6.0",
47
- "vue-docgen-cli": "^4.79.0",
48
- "vue-tsc": "^2.0.24"
49
- },
50
- "resolutions": {
51
- "string-width": "4.2.3"
52
- },
53
- "scripts": {
54
- "prepack": "nuxt-module-build build",
55
- "dev": "nuxi dev docs --host --port 7012",
56
- "build": "nuxi build docs",
57
- "prepare": "nuxt-module-build build && nuxt-module-build prepare && nuxi prepare docs",
58
- "release": "npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
59
- "test": "vitest run",
60
- "test:watch": "vitest watch",
61
- "test:com": "vitest components run",
62
- "test:genmocks": "node ./src/utils/generateTestMocks.mjs",
63
- "docs:components": "vue-docgen",
64
- "docs:generate": "npm run generate:production -prefix ./docs"
65
- }
66
- }
2
+ "name": "@community-release/nx-ui",
3
+ "version": "0.0.45",
4
+ "description": "nx-ui - Nuxt UI library",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/community-release/nx-ui.git"
8
+ },
9
+ "license": "MIT",
10
+ "type": "module",
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/module.mjs",
14
+ "require": "./dist/module.cjs"
15
+ }
16
+ },
17
+ "main": "./dist/module.cjs",
18
+ "files": [
19
+ "dist"
20
+ ],
21
+ "dependencies": {
22
+ "@nuxt/kit": "^3.15.4",
23
+ "@nuxtjs/color-mode": "^3.5.2",
24
+ "@nuxtjs/i18n": "^9.2.0",
25
+ "@pinia/nuxt": "^0.10.1",
26
+ "pinia": "^3.0.1",
27
+ "ol": "^9.1.0",
28
+ "vue": "^3.5.13"
29
+ },
30
+ "devDependencies": {
31
+ "@nuxt/devtools": "latest",
32
+ "@nuxt/module-builder": "^0.5.5",
33
+ "@nuxt/schema": "^3.11.2",
34
+ "@nuxt/test-utils": "^3.12.0",
35
+ "@vitejs/plugin-vue": "^5.2.1",
36
+ "@vue/test-utils": "^2.4.6",
37
+ "@vuedoc/md": "^4.0.0-beta8",
38
+ "@vuedoc/parser": "^4.0.0-beta14",
39
+ "changelogen": "^0.5.5",
40
+ "cross-env": "^7.0.3",
41
+ "happy-dom": "^14.12.0",
42
+ "less": "^3.9.0",
43
+ "less-loader": "^5.0.0",
44
+ "nuxt": "^3.15.4",
45
+ "vite-raw-plugin": "^1.0.2",
46
+ "vitest": "^1.6.0",
47
+ "vue-docgen-cli": "^4.79.0",
48
+ "vue-tsc": "^2.0.24"
49
+ },
50
+ "resolutions": {
51
+ "string-width": "4.2.3"
52
+ },
53
+ "scripts": {
54
+ "prepack": "nuxt-module-build build",
55
+ "dev": "nuxi dev docs --host --port 7012",
56
+ "build": "nuxi build docs",
57
+ "prepare": "nuxt-module-build build && nuxt-module-build prepare && nuxi prepare docs",
58
+ "release": "npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
59
+ "test": "vitest run",
60
+ "test:watch": "vitest watch",
61
+ "test:com": "vitest components run",
62
+ "test:genmocks": "node ./src/utils/generateTestMocks.mjs",
63
+ "docs:components": "vue-docgen",
64
+ "docs:generate": "npm run generate:production -prefix ./docs"
65
+ }
66
+ }
@@ -1,153 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- color: {
3
- type: StringConstructor;
4
- default: any;
5
- };
6
- size: {
7
- type: StringConstructor;
8
- default: any;
9
- };
10
- variant: {
11
- type: StringConstructor;
12
- default: any;
13
- };
14
- shape: {
15
- type: StringConstructor;
16
- default: any;
17
- };
18
- href: {
19
- type: StringConstructor;
20
- default: string;
21
- };
22
- type: {
23
- type: StringConstructor;
24
- default: string;
25
- };
26
- block: {
27
- type: BooleanConstructor;
28
- default: boolean;
29
- };
30
- loading: {
31
- type: BooleanConstructor;
32
- default: boolean;
33
- };
34
- disabled: {
35
- type: (BooleanConstructor | NumberConstructor)[];
36
- default: boolean;
37
- };
38
- }>, {}, {
39
- impulse: boolean;
40
- }, {
41
- computedType(): any;
42
- classes(): string[];
43
- stylesHoverColor(): string;
44
- styles(): {
45
- background: string;
46
- color: string;
47
- };
48
- buttonBgStyle(): {
49
- background: string;
50
- };
51
- }, {
52
- handleClick(e: any): void;
53
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
54
- color: {
55
- type: StringConstructor;
56
- default: any;
57
- };
58
- size: {
59
- type: StringConstructor;
60
- default: any;
61
- };
62
- variant: {
63
- type: StringConstructor;
64
- default: any;
65
- };
66
- shape: {
67
- type: StringConstructor;
68
- default: any;
69
- };
70
- href: {
71
- type: StringConstructor;
72
- default: string;
73
- };
74
- type: {
75
- type: StringConstructor;
76
- default: string;
77
- };
78
- block: {
79
- type: BooleanConstructor;
80
- default: boolean;
81
- };
82
- loading: {
83
- type: BooleanConstructor;
84
- default: boolean;
85
- };
86
- disabled: {
87
- type: (BooleanConstructor | NumberConstructor)[];
88
- default: boolean;
89
- };
90
- }>> & Readonly<{}>, {
91
- type: string;
92
- color: string;
93
- size: string;
94
- variant: string;
95
- shape: string;
96
- href: string;
97
- block: boolean;
98
- loading: boolean;
99
- disabled: number | boolean;
100
- }, {}, {
101
- UiImpulseIndicator: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
102
- impulse: {
103
- type: (ObjectConstructor | BooleanConstructor)[];
104
- default: boolean;
105
- };
106
- }>, {}, {
107
- impulseArray: never[];
108
- }, {}, {
109
- addImpulse(options: any): void;
110
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
111
- impulse: {
112
- type: (ObjectConstructor | BooleanConstructor)[];
113
- default: boolean;
114
- };
115
- }>> & Readonly<{}>, {
116
- impulse: boolean | Record<string, any>;
117
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
118
- UiLoading: {
119
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
120
- active: boolean;
121
- $props: {
122
- readonly active?: boolean | undefined;
123
- };
124
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {
125
- progress: (typeof __VLS_nativeElements)["circle"];
126
- }, HTMLElement, import("vue").ComponentProvideOptions, {
127
- P: {};
128
- B: {};
129
- D: {};
130
- C: {};
131
- M: {};
132
- Defaults: {};
133
- }, Readonly<{}> & Readonly<{}>, {
134
- active: boolean;
135
- $props: {
136
- readonly active?: boolean | undefined;
137
- };
138
- }, {}, {}, {}, {}>;
139
- __isFragment?: never;
140
- __isTeleport?: never;
141
- __isSuspense?: never;
142
- } & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
143
- active: boolean;
144
- $props: {
145
- readonly active?: boolean | undefined;
146
- };
147
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
148
- $slots: {
149
- default?: ((props: {}) => any) | undefined;
150
- };
151
- });
152
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
153
- export default _default;