@up-packages/ui 0.1.1-qa.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/README.md +15 -15
- package/dist/components/{UpAccordion/UpAccordion.vue.d.ts → UpxAccordion/UpxAccordion.vue.d.ts} +5 -5
- package/dist/components/UpxAccordion/index.d.ts +2 -0
- package/dist/components/{UpBadge/UpBadge.vue.d.ts → UpxBadge/UpxBadge.vue.d.ts} +9 -9
- package/dist/components/UpxBadge/index.d.ts +2 -0
- package/dist/components/{UpButton/UpButton.vue.d.ts → UpxButton/UpxButton.vue.d.ts} +3 -3
- package/dist/components/UpxButton/index.d.ts +2 -0
- package/dist/components/{UpCalendar/UpCalendar.vue.d.ts → UpxCalendar/UpxCalendar.vue.d.ts} +10 -10
- package/dist/components/UpxCalendar/index.d.ts +2 -0
- package/dist/components/{UpCard/UpCard.vue.d.ts → UpxCard/UpxCard.vue.d.ts} +2 -2
- package/dist/components/{UpCard/UpCardIndicator.vue.d.ts → UpxCard/UpxCardIndicator.vue.d.ts} +2 -2
- package/dist/components/UpxCard/UpxCardInfo.vue.d.ts +16 -0
- package/dist/components/{UpCard/UpCardInteractive.vue.d.ts → UpxCard/UpxCardInteractive.vue.d.ts} +3 -3
- package/dist/components/UpxCard/UpxCardItem.vue.d.ts +15 -0
- package/dist/components/{UpCard/UpCardNode.vue.d.ts → UpxCard/UpxCardNode.vue.d.ts} +4 -4
- package/dist/components/UpxCard/UpxCardProduct.vue.d.ts +16 -0
- package/dist/components/UpxCard/index.d.ts +9 -0
- package/dist/components/UpxCard/types.d.ts +33 -0
- package/dist/components/{UpCell/UpCell.vue.d.ts → UpxCell/UpxCell.vue.d.ts} +3 -3
- package/dist/components/UpxCell/index.d.ts +6 -0
- package/dist/components/{UpCell → UpxCell}/types.d.ts +6 -6
- package/dist/components/{UpCheckbox/UpCheckbox.vue.d.ts → UpxCheckbox/UpxCheckbox.vue.d.ts} +2 -2
- package/dist/components/UpxCheckbox/index.d.ts +6 -0
- package/dist/components/{UpCheckbox → UpxCheckbox}/types.d.ts +1 -1
- package/dist/components/{UpDataTable/UpDataTable.vue.d.ts → UpxDataTable/UpxDataTable.vue.d.ts} +5 -5
- package/dist/components/UpxDataTable/index.d.ts +2 -0
- package/dist/components/{UpDatePicker/UpDatePicker.vue.d.ts → UpxDatePicker/UpxDatePicker.vue.d.ts} +4 -4
- package/dist/components/UpxDatePicker/index.d.ts +2 -0
- package/dist/components/UpxDivider/UpxDivider.vue.d.ts +5 -0
- package/dist/components/UpxDivider/index.d.ts +2 -0
- package/dist/components/{UpDivider → UpxDivider}/types.d.ts +1 -1
- package/dist/components/UpxEnvironmentBadge/index.d.ts +1 -0
- package/dist/components/{UpFloatMenu/UpFloatMenu.vue.d.ts → UpxFloatMenu/UpxFloatMenu.vue.d.ts} +2 -2
- package/dist/components/UpxFloatMenu/index.d.ts +2 -0
- package/dist/components/{UpFloatMenu → UpxFloatMenu}/types.d.ts +3 -3
- package/dist/components/UpxNotification/UpxNotification.vue.d.ts +11 -0
- package/dist/components/UpxNotification/index.d.ts +2 -0
- package/dist/components/{UpPagination/UpPagination.vue.d.ts → UpxPagination/UpxPagination.vue.d.ts} +3 -3
- package/dist/components/UpxPagination/index.d.ts +2 -0
- package/dist/components/{UpPagination → UpxPagination}/types.d.ts +1 -1
- package/dist/components/UpxProduct/UpxProduct.vue.d.ts +3 -0
- package/dist/components/UpxProduct/index.d.ts +2 -0
- package/dist/components/UpxProduct/types.d.ts +7 -0
- package/dist/components/{UpRadio/UpRadio.vue.d.ts → UpxRadio/UpxRadio.vue.d.ts} +5 -5
- package/dist/components/UpxRadio/index.d.ts +2 -0
- package/dist/components/{UpSelect/UpSelect.vue.d.ts → UpxSelect/UpxSelect.vue.d.ts} +3 -3
- package/dist/components/UpxSelect/index.d.ts +2 -0
- package/dist/components/{UpSelect → UpxSelect}/types.d.ts +1 -1
- package/dist/components/{UpSideBar/UpSideBar.vue.d.ts → UpxSideBar/UpxSideBar.vue.d.ts} +5 -5
- package/dist/components/UpxSideBar/index.d.ts +2 -0
- package/dist/components/{UpSideBar → UpxSideBar}/types.d.ts +3 -3
- package/dist/components/{UpStepper/UpStepper.vue.d.ts → UpxStepper/UpxStepper.vue.d.ts} +2 -2
- package/dist/components/UpxStepper/index.d.ts +2 -0
- package/dist/components/{UpStepper → UpxStepper}/types.d.ts +1 -1
- package/dist/components/{UpSwitch/UpSwitch.vue.d.ts → UpxSwitch/UpxSwitch.vue.d.ts} +2 -2
- package/dist/components/UpxSwitch/index.d.ts +2 -0
- package/dist/components/{UpTab/UpTab.vue.d.ts → UpxTab/UpxTab.vue.d.ts} +2 -2
- package/dist/components/UpxTab/index.d.ts +2 -0
- package/dist/components/{UpTab → UpxTab}/types.d.ts +1 -1
- package/dist/components/{UpTextField/UpTextField.vue.d.ts → UpxTextField/UpxTextField.vue.d.ts} +3 -3
- package/dist/components/UpxTextField/index.d.ts +2 -0
- package/dist/components/{UpTitleBar/UpTitleBar.vue.d.ts → UpxTitleBar/UpxTitleBar.vue.d.ts} +3 -3
- package/dist/components/UpxTitleBar/index.d.ts +2 -0
- package/dist/components/{UpTitleBar → UpxTitleBar}/types.d.ts +1 -1
- package/dist/components/{UpToast/UpToast.vue.d.ts → UpxToast/UpxToast.vue.d.ts} +3 -3
- package/dist/components/UpxToast/index.d.ts +2 -0
- package/dist/components/{UpTooltip/UpTooltip.vue.d.ts → UpxTooltip/UpxTooltip.vue.d.ts} +2 -2
- package/dist/components/UpxTooltip/index.d.ts +2 -0
- package/dist/components/{UpTooltip → UpxTooltip}/types.d.ts +1 -1
- package/dist/components/{UpWindow/UpWindow.vue.d.ts → UpxWindow/UpxWindow.vue.d.ts} +2 -2
- package/dist/components/UpxWindow/index.d.ts +2 -0
- package/dist/components/{UpWindow → UpxWindow}/types.d.ts +1 -1
- package/dist/components/index.d.ts +50 -50
- package/dist/install.d.ts +27 -27
- package/dist/uplexis-ui.css +1 -1
- package/dist/uplexis-ui.js +566 -565
- package/dist/uplexis-ui.js.map +1 -1
- package/dist/uplexis-ui.umd.cjs +3 -3
- package/dist/uplexis-ui.umd.cjs.map +1 -1
- package/package.json +9 -1
- package/dist/components/UpAccordion/index.d.ts +0 -2
- package/dist/components/UpBadge/index.d.ts +0 -2
- package/dist/components/UpButton/index.d.ts +0 -2
- package/dist/components/UpCalendar/index.d.ts +0 -2
- package/dist/components/UpCard/UpCardInfo.vue.d.ts +0 -16
- package/dist/components/UpCard/UpCardItem.vue.d.ts +0 -15
- package/dist/components/UpCard/UpCardProduct.vue.d.ts +0 -16
- package/dist/components/UpCard/index.d.ts +0 -9
- package/dist/components/UpCard/types.d.ts +0 -33
- package/dist/components/UpCell/index.d.ts +0 -6
- package/dist/components/UpCheckbox/index.d.ts +0 -6
- package/dist/components/UpDataTable/index.d.ts +0 -2
- package/dist/components/UpDatePicker/index.d.ts +0 -2
- package/dist/components/UpDivider/UpDivider.vue.d.ts +0 -5
- package/dist/components/UpDivider/index.d.ts +0 -2
- package/dist/components/UpEnvironmentBadge/index.d.ts +0 -1
- package/dist/components/UpFloatMenu/index.d.ts +0 -2
- package/dist/components/UpNotification/UpNotification.vue.d.ts +0 -11
- package/dist/components/UpNotification/index.d.ts +0 -2
- package/dist/components/UpPagination/index.d.ts +0 -2
- package/dist/components/UpProduct/UpProduct.vue.d.ts +0 -3
- package/dist/components/UpProduct/index.d.ts +0 -2
- package/dist/components/UpProduct/types.d.ts +0 -7
- package/dist/components/UpRadio/index.d.ts +0 -2
- package/dist/components/UpSelect/index.d.ts +0 -2
- package/dist/components/UpSideBar/index.d.ts +0 -2
- package/dist/components/UpStepper/index.d.ts +0 -2
- package/dist/components/UpSwitch/index.d.ts +0 -2
- package/dist/components/UpTab/index.d.ts +0 -2
- package/dist/components/UpTextField/index.d.ts +0 -2
- package/dist/components/UpTitleBar/index.d.ts +0 -2
- package/dist/components/UpToast/index.d.ts +0 -2
- package/dist/components/UpTooltip/index.d.ts +0 -2
- package/dist/components/UpWindow/index.d.ts +0 -2
- /package/dist/components/{UpCard/UpCardList.vue.d.ts → UpxCard/UpxCardList.vue.d.ts} +0 -0
- /package/dist/components/{UpEnvironmentBadge/UpEnvironmentBadge.vue.d.ts → UpxEnvironmentBadge/UpxEnvironmentBadge.vue.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -100,11 +100,11 @@ Agora você pode usar os componentes em qualquer lugar:
|
|
|
100
100
|
```vue
|
|
101
101
|
<template>
|
|
102
102
|
<div>
|
|
103
|
-
<
|
|
103
|
+
<UpxButton color="primary" @click="handleClick"> Clique aqui </UpxButton>
|
|
104
104
|
|
|
105
|
-
<
|
|
105
|
+
<UpxTextField v-model="name" label="Nome" placeholder="Digite seu nome" />
|
|
106
106
|
|
|
107
|
-
<
|
|
107
|
+
<UpxDataTable :headers="headers" :items="items" />
|
|
108
108
|
</div>
|
|
109
109
|
</template>
|
|
110
110
|
|
|
@@ -124,11 +124,11 @@ Para otimizar o bundle, importe apenas os componentes que você precisa:
|
|
|
124
124
|
|
|
125
125
|
```vue
|
|
126
126
|
<template>
|
|
127
|
-
<
|
|
127
|
+
<UpxButton color="primary">Meu Botão</UpxButton>
|
|
128
128
|
</template>
|
|
129
129
|
|
|
130
130
|
<script setup lang="ts">
|
|
131
|
-
import {
|
|
131
|
+
import { UpxButton } from "@uplexis/ui";
|
|
132
132
|
import "@uplexis/ui/styles.css";
|
|
133
133
|
</script>
|
|
134
134
|
```
|
|
@@ -165,7 +165,7 @@ A biblioteca vem com dois temas pré-configurados:
|
|
|
165
165
|
```vue
|
|
166
166
|
<template>
|
|
167
167
|
<v-app>
|
|
168
|
-
<
|
|
168
|
+
<UpxButton @click="toggleTheme"> Alternar Tema </UpxButton>
|
|
169
169
|
</v-app>
|
|
170
170
|
</template>
|
|
171
171
|
|
|
@@ -197,12 +197,12 @@ info: #2196F3
|
|
|
197
197
|
|
|
198
198
|
## 📚 Componentes
|
|
199
199
|
|
|
200
|
-
###
|
|
200
|
+
### UpxButton
|
|
201
201
|
|
|
202
202
|
Botão customizado baseado no VBtn do Vuetify.
|
|
203
203
|
|
|
204
204
|
```vue
|
|
205
|
-
<
|
|
205
|
+
<UpxButton
|
|
206
206
|
color="primary"
|
|
207
207
|
variant="elevated"
|
|
208
208
|
size="default"
|
|
@@ -210,7 +210,7 @@ Botão customizado baseado no VBtn do Vuetify.
|
|
|
210
210
|
@click="handleClick"
|
|
211
211
|
>
|
|
212
212
|
Adicionar
|
|
213
|
-
</
|
|
213
|
+
</UpxButton>
|
|
214
214
|
```
|
|
215
215
|
|
|
216
216
|
**Props:**
|
|
@@ -225,12 +225,12 @@ Botão customizado baseado no VBtn do Vuetify.
|
|
|
225
225
|
- `prependIcon`: Ícone antes do texto
|
|
226
226
|
- `appendIcon`: Ícone depois do texto
|
|
227
227
|
|
|
228
|
-
###
|
|
228
|
+
### UpxTextField
|
|
229
229
|
|
|
230
230
|
Campo de texto customizado baseado no VTextField do Vuetify.
|
|
231
231
|
|
|
232
232
|
```vue
|
|
233
|
-
<
|
|
233
|
+
<UpxTextField
|
|
234
234
|
v-model="email"
|
|
235
235
|
label="Email"
|
|
236
236
|
type="email"
|
|
@@ -257,12 +257,12 @@ Campo de texto customizado baseado no VTextField do Vuetify.
|
|
|
257
257
|
- `counter`: Contador de caracteres
|
|
258
258
|
- `maxlength`: Tamanho máximo
|
|
259
259
|
|
|
260
|
-
###
|
|
260
|
+
### UpxDataTable
|
|
261
261
|
|
|
262
262
|
Tabela de dados customizada baseada no VDataTable do Vuetify.
|
|
263
263
|
|
|
264
264
|
```vue
|
|
265
|
-
<
|
|
265
|
+
<UpxDataTable
|
|
266
266
|
:headers="headers"
|
|
267
267
|
:items="items"
|
|
268
268
|
:loading="loading"
|
|
@@ -271,9 +271,9 @@ Tabela de dados customizada baseada no VDataTable do Vuetify.
|
|
|
271
271
|
v-model="selected"
|
|
272
272
|
>
|
|
273
273
|
<template #item.actions="{ item }">
|
|
274
|
-
<
|
|
274
|
+
<UpxButton size="small" icon="mdi-pencil" @click="edit(item)" />
|
|
275
275
|
</template>
|
|
276
|
-
</
|
|
276
|
+
</UpxDataTable>
|
|
277
277
|
```
|
|
278
278
|
|
|
279
279
|
**Props:**
|
package/dist/components/{UpAccordion/UpAccordion.vue.d.ts → UpxAccordion/UpxAccordion.vue.d.ts}
RENAMED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface UpxAccordionItem {
|
|
2
2
|
title: string;
|
|
3
3
|
value: string;
|
|
4
4
|
}
|
|
5
|
-
export interface
|
|
6
|
-
items:
|
|
5
|
+
export interface UpxAccordionProps {
|
|
6
|
+
items: UpxAccordionItem[];
|
|
7
7
|
modelValue?: string | null;
|
|
8
8
|
}
|
|
9
9
|
declare var __VLS_10: string, __VLS_11: {};
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
[K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<UpxAccordionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
14
|
"update:modelValue": (value: string | null) => any;
|
|
15
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<UpxAccordionProps> & Readonly<{
|
|
16
16
|
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
modelValue: string | null;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export type
|
|
2
|
-
export type
|
|
3
|
-
export type
|
|
4
|
-
export interface
|
|
5
|
-
type:
|
|
6
|
-
variant?:
|
|
7
|
-
size?:
|
|
1
|
+
export type UpxBadgeType = "PF" | "PF-admin" | "SP" | "PEP" | "PJ" | "PJ-filial" | "ADM-PEP-SP" | "custom";
|
|
2
|
+
export type UpxBadgeVariant = "primary" | "secondary" | "tertiary" | "info" | "error" | "warning" | "text" | "success";
|
|
3
|
+
export type UpxBadgeSize = "sm" | "lg";
|
|
4
|
+
export interface UpxBadgeProps {
|
|
5
|
+
type: UpxBadgeType;
|
|
6
|
+
variant?: UpxBadgeVariant;
|
|
7
|
+
size?: UpxBadgeSize;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
block?: boolean;
|
|
10
10
|
prependIcon?: string;
|
|
@@ -27,9 +27,9 @@ type __VLS_Slots = {} & {
|
|
|
27
27
|
} & {
|
|
28
28
|
appendIcon?: (props: typeof __VLS_21) => any;
|
|
29
29
|
};
|
|
30
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
30
|
+
declare const __VLS_component: import("vue").DefineComponent<UpxBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
31
|
[x: string]: (value: string) => any;
|
|
32
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
32
|
+
}, string, import("vue").PublicProps, Readonly<UpxBadgeProps> & Readonly<{
|
|
33
33
|
[x: `on${Capitalize<string>}`]: ((value: string) => any) | undefined;
|
|
34
34
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface UpxButtonProps {
|
|
2
2
|
type?: "primary" | "secondary" | "tertiary";
|
|
3
3
|
size?: "small" | "medium" | "large";
|
|
4
4
|
prependIcon?: string;
|
|
@@ -10,9 +10,9 @@ declare var __VLS_9: {};
|
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
default?: (props: typeof __VLS_9) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<UpxButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
14
|
click: (event: MouseEvent) => any;
|
|
15
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<UpxButtonProps> & Readonly<{
|
|
16
16
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
size: "small" | "medium" | "large";
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface UpxCalendarEvent {
|
|
2
2
|
title: string;
|
|
3
3
|
date: Date;
|
|
4
4
|
color?: string;
|
|
5
5
|
}
|
|
6
|
-
export interface
|
|
6
|
+
export interface UpxCalendarDay {
|
|
7
7
|
day: number;
|
|
8
8
|
date: Date;
|
|
9
9
|
isCurrentMonth: boolean;
|
|
10
10
|
isToday: boolean;
|
|
11
11
|
isSelected: boolean;
|
|
12
12
|
isWeekend: boolean;
|
|
13
|
-
events?:
|
|
13
|
+
events?: UpxCalendarEvent[];
|
|
14
14
|
}
|
|
15
|
-
export interface
|
|
15
|
+
export interface UpxCalendarProps {
|
|
16
16
|
modelValue?: Date | string | null;
|
|
17
|
-
events?:
|
|
17
|
+
events?: UpxCalendarEvent[];
|
|
18
18
|
color?: string;
|
|
19
19
|
firstDayOfWeek?: number;
|
|
20
20
|
}
|
|
21
|
-
declare const _default: import("vue").DefineComponent<
|
|
21
|
+
declare const _default: import("vue").DefineComponent<UpxCalendarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
22
|
"update:modelValue": (value: Date | null) => any;
|
|
23
23
|
"click:date": (date: Date) => any;
|
|
24
|
-
"click:event": (event:
|
|
25
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
24
|
+
"click:event": (event: UpxCalendarEvent) => any;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<UpxCalendarProps> & Readonly<{
|
|
26
26
|
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
27
27
|
"onClick:date"?: ((date: Date) => any) | undefined;
|
|
28
|
-
"onClick:event"?: ((event:
|
|
28
|
+
"onClick:event"?: ((event: UpxCalendarEvent) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
30
|
color: string;
|
|
31
31
|
modelValue: Date | string | null;
|
|
32
|
-
events:
|
|
32
|
+
events: UpxCalendarEvent[];
|
|
33
33
|
firstDayOfWeek: number;
|
|
34
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
export default _default;
|
package/dist/components/{UpCard/UpCardIndicator.vue.d.ts → UpxCard/UpxCardIndicator.vue.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface UpxCardIndicatorProps {
|
|
2
2
|
level?: "low" | "medium" | "high" | "error";
|
|
3
3
|
}
|
|
4
4
|
declare var __VLS_1: {}, __VLS_3: {};
|
|
@@ -7,7 +7,7 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
} & {
|
|
8
8
|
default?: (props: typeof __VLS_3) => any;
|
|
9
9
|
};
|
|
10
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<UpxCardIndicatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpxCardIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
12
|
export default _default;
|
|
13
13
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { UpxCardInfoVariant } from "./types";
|
|
2
|
+
export interface UpxCardInfoProps {
|
|
3
|
+
variant: UpxCardInfoVariant;
|
|
4
|
+
}
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<UpxCardInfoProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpxCardInfoProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
package/dist/components/{UpCard/UpCardInteractive.vue.d.ts → UpxCard/UpxCardInteractive.vue.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface UpxCardInteractiveProps {
|
|
2
2
|
variant: "positive" | "negative" | "neutral";
|
|
3
3
|
}
|
|
4
4
|
declare var __VLS_1: {}, __VLS_7: {}, __VLS_9: {};
|
|
@@ -9,9 +9,9 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
} & {
|
|
10
10
|
description?: (props: typeof __VLS_9) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<UpxCardInteractiveProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
13
|
update: () => any;
|
|
14
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<UpxCardInteractiveProps> & Readonly<{
|
|
15
15
|
onUpdate?: (() => any) | undefined;
|
|
16
16
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface UpxCardItemProps {
|
|
2
|
+
variant?: "button";
|
|
3
|
+
}
|
|
4
|
+
declare var __VLS_1: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<UpxCardItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpxCardItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface
|
|
3
|
-
variant:
|
|
1
|
+
import type { UpxCardEntityType } from "./types";
|
|
2
|
+
export interface UpxCardNodeProps {
|
|
3
|
+
variant: UpxCardEntityType;
|
|
4
4
|
bordered?: boolean;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
}
|
|
@@ -8,7 +8,7 @@ declare var __VLS_5: {};
|
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_5) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<UpxCardNodeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpxCardNodeProps> & Readonly<{}>, {
|
|
12
12
|
disabled: boolean;
|
|
13
13
|
bordered: boolean;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface UpxCardProductProps {
|
|
2
|
+
variant: "product" | "custom";
|
|
3
|
+
size: "lg" | "sm";
|
|
4
|
+
}
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<UpxCardProductProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpxCardProductProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as UpxCard } from "./UpxCard.vue";
|
|
2
|
+
export { default as UpxCardNode } from "./UpxCardNode.vue";
|
|
3
|
+
export { default as UpxCardInfo } from "./UpxCardInfo.vue";
|
|
4
|
+
export { default as UpxCardList } from "./UpxCardList.vue";
|
|
5
|
+
export { default as UpxCardItem } from "./UpxCardItem.vue";
|
|
6
|
+
export { default as UpxCardProduct } from "./UpxCardProduct.vue";
|
|
7
|
+
export { default as UpxCardInteractive } from "./UpxCardInteractive.vue";
|
|
8
|
+
export { default as UpxCardIndicator } from "./UpxCardIndicator.vue";
|
|
9
|
+
export * from "./types";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export type UpxCardEntityType = "PF" | "PF-admin" | "SP" | "PEP" | "PJ" | "PJ-filial" | "ADM-PEP-SP" | "custom";
|
|
2
|
+
export type UpxCardInfoVariant = "CNPJ" | "Protestos" | "Remuneracao" | "Transparencia" | "RendaPresumida" | "ChequesSemFundo" | "ParticipacaoEmEmpresas" | "Falencia" | "Orgao" | "PEP";
|
|
3
|
+
export interface UpxCardNodeProps {
|
|
4
|
+
type: "node";
|
|
5
|
+
variant: UpxCardEntityType;
|
|
6
|
+
bordered?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface UpxCardInfoProps {
|
|
10
|
+
type: "info";
|
|
11
|
+
variant: UpxCardInfoVariant;
|
|
12
|
+
}
|
|
13
|
+
export interface UpxCardListProps {
|
|
14
|
+
type: "list";
|
|
15
|
+
}
|
|
16
|
+
export interface UpxCardItemProps {
|
|
17
|
+
type: "item";
|
|
18
|
+
variant?: "button";
|
|
19
|
+
}
|
|
20
|
+
export interface UpxCardProductProps {
|
|
21
|
+
type: "product";
|
|
22
|
+
variant: "product" | "custom";
|
|
23
|
+
size: "lg" | "sm";
|
|
24
|
+
}
|
|
25
|
+
export interface UpxCardInteractiveProps {
|
|
26
|
+
type: "interactive";
|
|
27
|
+
variant: "positive" | "negative" | "neutral";
|
|
28
|
+
}
|
|
29
|
+
export interface UpxCardIndicatorProps {
|
|
30
|
+
type: "indicator";
|
|
31
|
+
level?: "low" | "medium" | "high" | "error";
|
|
32
|
+
}
|
|
33
|
+
export type UpxCardProps = UpxCardNodeProps | UpxCardInfoProps | UpxCardListProps | UpxCardItemProps | UpxCardProductProps | UpxCardInteractiveProps | UpxCardIndicatorProps;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { UpxCellProps } from "./types";
|
|
2
2
|
declare var __VLS_1: {}, __VLS_11: {};
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
value?: (props: typeof __VLS_1) => any;
|
|
5
5
|
} & {
|
|
6
6
|
'value-icon'?: (props: typeof __VLS_11) => any;
|
|
7
7
|
};
|
|
8
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
9
|
-
type: import("./types").
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<UpxCellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpxCellProps> & Readonly<{}>, {
|
|
9
|
+
type: import("./types").UpxCellType;
|
|
10
10
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
12
|
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Tipos do componente
|
|
2
|
+
* Tipos do componente UpxCell
|
|
3
3
|
* Compatível com @aplicativo/uplexis-ui v1.7.7
|
|
4
4
|
*/
|
|
5
|
-
export type
|
|
6
|
-
export type
|
|
7
|
-
export interface
|
|
5
|
+
export type UpxCellType = "normal" | "title";
|
|
6
|
+
export type UpxCellFormatter = "cpf" | "cnpj" | "currency" | "date";
|
|
7
|
+
export interface UpxCellProps {
|
|
8
8
|
/** Label/título da célula */
|
|
9
9
|
label?: string;
|
|
10
10
|
/** Valor da célula */
|
|
@@ -18,7 +18,7 @@ export interface UpCellProps {
|
|
|
18
18
|
/** URL para transformar valor em link */
|
|
19
19
|
href?: string;
|
|
20
20
|
/** Tipo da célula */
|
|
21
|
-
type?:
|
|
21
|
+
type?: UpxCellType;
|
|
22
22
|
/** Formatador: 'cpf', 'cnpj', 'currency', 'date' */
|
|
23
|
-
valueFormatter?:
|
|
23
|
+
valueFormatter?: UpxCellFormatter;
|
|
24
24
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
type __VLS_Props =
|
|
1
|
+
import type { UpxCheckboxProps } from "./types";
|
|
2
|
+
type __VLS_Props = UpxCheckboxProps;
|
|
3
3
|
type __VLS_PublicProps = __VLS_Props & {
|
|
4
4
|
"checked": boolean | Array<string | number>;
|
|
5
5
|
};
|
package/dist/components/{UpDataTable/UpDataTable.vue.d.ts → UpxDataTable/UpxDataTable.vue.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface UpxDataTableHeader {
|
|
2
2
|
key: string;
|
|
3
3
|
title: string;
|
|
4
4
|
align?: 'start' | 'center' | 'end';
|
|
@@ -7,8 +7,8 @@ export interface UpDataTableHeader {
|
|
|
7
7
|
minWidth?: string | number;
|
|
8
8
|
maxWidth?: string | number;
|
|
9
9
|
}
|
|
10
|
-
export interface
|
|
11
|
-
headers:
|
|
10
|
+
export interface UpxDataTableProps {
|
|
11
|
+
headers: UpxDataTableHeader[];
|
|
12
12
|
items: any[];
|
|
13
13
|
loading?: boolean;
|
|
14
14
|
search?: string;
|
|
@@ -43,10 +43,10 @@ type __VLS_Slots = {} & {
|
|
|
43
43
|
} & {
|
|
44
44
|
bottom?: (props: typeof __VLS_22) => any;
|
|
45
45
|
};
|
|
46
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
46
|
+
declare const __VLS_component: import("vue").DefineComponent<UpxDataTableProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
47
|
"update:modelValue": (value: any[]) => any;
|
|
48
48
|
"update:options": (value: any) => any;
|
|
49
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
49
|
+
}, string, import("vue").PublicProps, Readonly<UpxDataTableProps> & Readonly<{
|
|
50
50
|
"onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
|
51
51
|
"onUpdate:options"?: ((value: any) => any) | undefined;
|
|
52
52
|
}>, {
|
package/dist/components/{UpDatePicker/UpDatePicker.vue.d.ts → UpxDatePicker/UpxDatePicker.vue.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface UpxDatePickerDay {
|
|
2
2
|
day: number;
|
|
3
3
|
date: Date;
|
|
4
4
|
isCurrentMonth: boolean;
|
|
@@ -10,7 +10,7 @@ export interface UpDatePickerDay {
|
|
|
10
10
|
isWeekend: boolean;
|
|
11
11
|
isDisabled: boolean;
|
|
12
12
|
}
|
|
13
|
-
export interface
|
|
13
|
+
export interface UpxDatePickerProps {
|
|
14
14
|
modelValue?: Date | string | null | [Date | string | null, Date | string | null];
|
|
15
15
|
mode?: "single" | "range";
|
|
16
16
|
label?: string;
|
|
@@ -35,9 +35,9 @@ export interface UpDatePickerProps {
|
|
|
35
35
|
disabledDates?: Date[] | string[] | ((date: Date) => boolean);
|
|
36
36
|
autoApply?: boolean;
|
|
37
37
|
}
|
|
38
|
-
declare const _default: import("vue").DefineComponent<
|
|
38
|
+
declare const _default: import("vue").DefineComponent<UpxDatePickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
39
|
"update:modelValue": (value: Date | [Date, Date] | null) => any;
|
|
40
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
40
|
+
}, string, import("vue").PublicProps, Readonly<UpxDatePickerProps> & Readonly<{
|
|
41
41
|
"onUpdate:modelValue"?: ((value: Date | [Date, Date] | null) => any) | undefined;
|
|
42
42
|
}>, {
|
|
43
43
|
error: boolean;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UpxDividerProps } from "./types";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<UpxDividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpxDividerProps> & Readonly<{}>, {
|
|
3
|
+
direction: "horizontal" | "vertical";
|
|
4
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as UpxEnvironmentBadge } from "./UpxEnvironmentBadge.vue";
|
package/dist/components/{UpFloatMenu/UpFloatMenu.vue.d.ts → UpxFloatMenu/UpxFloatMenu.vue.d.ts}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { UpxFloatMenuProps } from "./types";
|
|
2
2
|
declare var __VLS_6: {};
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
trigger?: (props: typeof __VLS_6) => any;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<UpxFloatMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpxFloatMenuProps> & Readonly<{}>, {
|
|
7
7
|
align: "start" | "center" | "end";
|
|
8
8
|
side: "top" | "right" | "bottom" | "left";
|
|
9
9
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface UpxFloatMenuItem {
|
|
2
2
|
/**
|
|
3
3
|
* Texto exibido no item
|
|
4
4
|
*/
|
|
@@ -23,11 +23,11 @@ export interface UpFloatMenuItem {
|
|
|
23
23
|
*/
|
|
24
24
|
type?: "item" | "divider";
|
|
25
25
|
}
|
|
26
|
-
export interface
|
|
26
|
+
export interface UpxFloatMenuProps {
|
|
27
27
|
/**
|
|
28
28
|
* Array de itens do menu
|
|
29
29
|
*/
|
|
30
|
-
items:
|
|
30
|
+
items: UpxFloatMenuItem[];
|
|
31
31
|
/**
|
|
32
32
|
* Alinhamento do menu em relação ao trigger
|
|
33
33
|
* @default 'start'
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface UpxNotificationProps {
|
|
2
|
+
type?: "success" | "error" | "warning";
|
|
3
|
+
title: string;
|
|
4
|
+
content: string;
|
|
5
|
+
productName?: string;
|
|
6
|
+
isRead: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import("vue").DefineComponent<UpxNotificationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpxNotificationProps> & Readonly<{}>, {
|
|
9
|
+
isRead: boolean;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|