@up-packages/ui 0.1.1-qa.0 → 0.2.1

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.
Files changed (117) hide show
  1. package/README.md +13 -28
  2. package/dist/components/{UpAccordion/UpAccordion.vue.d.ts → UpxAccordion/UpxAccordion.vue.d.ts} +5 -5
  3. package/dist/components/UpxAccordion/index.d.ts +2 -0
  4. package/dist/components/{UpBadge/UpBadge.vue.d.ts → UpxBadge/UpxBadge.vue.d.ts} +9 -9
  5. package/dist/components/UpxBadge/index.d.ts +2 -0
  6. package/dist/components/{UpButton/UpButton.vue.d.ts → UpxButton/UpxButton.vue.d.ts} +3 -3
  7. package/dist/components/UpxButton/index.d.ts +2 -0
  8. package/dist/components/{UpCalendar/UpCalendar.vue.d.ts → UpxCalendar/UpxCalendar.vue.d.ts} +10 -10
  9. package/dist/components/UpxCalendar/index.d.ts +2 -0
  10. package/dist/components/{UpCard/UpCard.vue.d.ts → UpxCard/UpxCard.vue.d.ts} +2 -2
  11. package/dist/components/{UpCard/UpCardIndicator.vue.d.ts → UpxCard/UpxCardIndicator.vue.d.ts} +2 -2
  12. package/dist/components/UpxCard/UpxCardInfo.vue.d.ts +16 -0
  13. package/dist/components/{UpCard/UpCardInteractive.vue.d.ts → UpxCard/UpxCardInteractive.vue.d.ts} +3 -3
  14. package/dist/components/UpxCard/UpxCardItem.vue.d.ts +15 -0
  15. package/dist/components/{UpCard/UpCardNode.vue.d.ts → UpxCard/UpxCardNode.vue.d.ts} +4 -4
  16. package/dist/components/UpxCard/UpxCardProduct.vue.d.ts +16 -0
  17. package/dist/components/UpxCard/index.d.ts +9 -0
  18. package/dist/components/UpxCard/types.d.ts +33 -0
  19. package/dist/components/{UpCell/UpCell.vue.d.ts → UpxCell/UpxCell.vue.d.ts} +3 -3
  20. package/dist/components/UpxCell/index.d.ts +6 -0
  21. package/dist/components/{UpCell → UpxCell}/types.d.ts +6 -6
  22. package/dist/components/{UpCheckbox/UpCheckbox.vue.d.ts → UpxCheckbox/UpxCheckbox.vue.d.ts} +2 -2
  23. package/dist/components/UpxCheckbox/index.d.ts +6 -0
  24. package/dist/components/{UpCheckbox → UpxCheckbox}/types.d.ts +1 -1
  25. package/dist/components/{UpDataTable/UpDataTable.vue.d.ts → UpxDataTable/UpxDataTable.vue.d.ts} +41 -5
  26. package/dist/components/UpxDataTable/index.d.ts +2 -0
  27. package/dist/components/{UpDatePicker/UpDatePicker.vue.d.ts → UpxDatePicker/UpxDatePicker.vue.d.ts} +4 -4
  28. package/dist/components/UpxDatePicker/index.d.ts +2 -0
  29. package/dist/components/UpxDivider/UpxDivider.vue.d.ts +5 -0
  30. package/dist/components/UpxDivider/index.d.ts +2 -0
  31. package/dist/components/{UpDivider → UpxDivider}/types.d.ts +1 -1
  32. package/dist/components/UpxEnvironmentBadge/index.d.ts +1 -0
  33. package/dist/components/{UpFloatMenu/UpFloatMenu.vue.d.ts → UpxFloatMenu/UpxFloatMenu.vue.d.ts} +2 -2
  34. package/dist/components/UpxFloatMenu/index.d.ts +2 -0
  35. package/dist/components/{UpFloatMenu → UpxFloatMenu}/types.d.ts +3 -3
  36. package/dist/components/UpxNotification/UpxNotification.vue.d.ts +11 -0
  37. package/dist/components/UpxNotification/index.d.ts +2 -0
  38. package/dist/components/{UpPagination/UpPagination.vue.d.ts → UpxPagination/UpxPagination.vue.d.ts} +3 -3
  39. package/dist/components/UpxPagination/index.d.ts +2 -0
  40. package/dist/components/{UpPagination → UpxPagination}/types.d.ts +1 -1
  41. package/dist/components/UpxProduct/UpxProduct.vue.d.ts +3 -0
  42. package/dist/components/UpxProduct/index.d.ts +2 -0
  43. package/dist/components/UpxProduct/types.d.ts +7 -0
  44. package/dist/components/{UpRadio/UpRadio.vue.d.ts → UpxRadio/UpxRadio.vue.d.ts} +5 -5
  45. package/dist/components/UpxRadio/index.d.ts +2 -0
  46. package/dist/components/{UpSelect/UpSelect.vue.d.ts → UpxSelect/UpxSelect.vue.d.ts} +3 -3
  47. package/dist/components/UpxSelect/index.d.ts +2 -0
  48. package/dist/components/{UpSelect → UpxSelect}/types.d.ts +1 -1
  49. package/dist/components/{UpSideBar/UpSideBar.vue.d.ts → UpxSideBar/UpxSideBar.vue.d.ts} +5 -5
  50. package/dist/components/UpxSideBar/index.d.ts +2 -0
  51. package/dist/components/{UpSideBar → UpxSideBar}/types.d.ts +3 -3
  52. package/dist/components/{UpStepper/UpStepper.vue.d.ts → UpxStepper/UpxStepper.vue.d.ts} +2 -2
  53. package/dist/components/UpxStepper/index.d.ts +2 -0
  54. package/dist/components/{UpStepper → UpxStepper}/types.d.ts +1 -1
  55. package/dist/components/{UpSwitch/UpSwitch.vue.d.ts → UpxSwitch/UpxSwitch.vue.d.ts} +2 -2
  56. package/dist/components/UpxSwitch/index.d.ts +2 -0
  57. package/dist/components/{UpTab/UpTab.vue.d.ts → UpxTab/UpxTab.vue.d.ts} +2 -2
  58. package/dist/components/UpxTab/index.d.ts +2 -0
  59. package/dist/components/{UpTab → UpxTab}/types.d.ts +1 -1
  60. package/dist/components/{UpTextField/UpTextField.vue.d.ts → UpxTextField/UpxTextField.vue.d.ts} +3 -3
  61. package/dist/components/UpxTextField/index.d.ts +2 -0
  62. package/dist/components/{UpTitleBar/UpTitleBar.vue.d.ts → UpxTitleBar/UpxTitleBar.vue.d.ts} +3 -3
  63. package/dist/components/UpxTitleBar/index.d.ts +2 -0
  64. package/dist/components/{UpTitleBar → UpxTitleBar}/types.d.ts +1 -1
  65. package/dist/components/{UpToast/UpToast.vue.d.ts → UpxToast/UpxToast.vue.d.ts} +3 -3
  66. package/dist/components/UpxToast/index.d.ts +2 -0
  67. package/dist/components/{UpTooltip/UpTooltip.vue.d.ts → UpxTooltip/UpxTooltip.vue.d.ts} +2 -2
  68. package/dist/components/UpxTooltip/index.d.ts +2 -0
  69. package/dist/components/{UpTooltip → UpxTooltip}/types.d.ts +1 -1
  70. package/dist/components/{UpWindow/UpWindow.vue.d.ts → UpxWindow/UpxWindow.vue.d.ts} +2 -2
  71. package/dist/components/UpxWindow/index.d.ts +2 -0
  72. package/dist/components/{UpWindow → UpxWindow}/types.d.ts +1 -1
  73. package/dist/components/index.d.ts +50 -50
  74. package/dist/composables/useToast.d.ts +1 -1
  75. package/dist/install.d.ts +27 -27
  76. package/dist/{uplexis-ui.css → up-ui.css} +1 -1
  77. package/dist/uplexis-ui.js +2929 -2911
  78. package/dist/uplexis-ui.js.map +1 -1
  79. package/dist/uplexis-ui.umd.cjs +3 -3
  80. package/dist/uplexis-ui.umd.cjs.map +1 -1
  81. package/package.json +12 -2
  82. package/dist/components/UpAccordion/index.d.ts +0 -2
  83. package/dist/components/UpBadge/index.d.ts +0 -2
  84. package/dist/components/UpButton/index.d.ts +0 -2
  85. package/dist/components/UpCalendar/index.d.ts +0 -2
  86. package/dist/components/UpCard/UpCardInfo.vue.d.ts +0 -16
  87. package/dist/components/UpCard/UpCardItem.vue.d.ts +0 -15
  88. package/dist/components/UpCard/UpCardProduct.vue.d.ts +0 -16
  89. package/dist/components/UpCard/index.d.ts +0 -9
  90. package/dist/components/UpCard/types.d.ts +0 -33
  91. package/dist/components/UpCell/index.d.ts +0 -6
  92. package/dist/components/UpCheckbox/index.d.ts +0 -6
  93. package/dist/components/UpDataTable/index.d.ts +0 -2
  94. package/dist/components/UpDatePicker/index.d.ts +0 -2
  95. package/dist/components/UpDivider/UpDivider.vue.d.ts +0 -5
  96. package/dist/components/UpDivider/index.d.ts +0 -2
  97. package/dist/components/UpEnvironmentBadge/index.d.ts +0 -1
  98. package/dist/components/UpFloatMenu/index.d.ts +0 -2
  99. package/dist/components/UpNotification/UpNotification.vue.d.ts +0 -11
  100. package/dist/components/UpNotification/index.d.ts +0 -2
  101. package/dist/components/UpPagination/index.d.ts +0 -2
  102. package/dist/components/UpProduct/UpProduct.vue.d.ts +0 -3
  103. package/dist/components/UpProduct/index.d.ts +0 -2
  104. package/dist/components/UpProduct/types.d.ts +0 -7
  105. package/dist/components/UpRadio/index.d.ts +0 -2
  106. package/dist/components/UpSelect/index.d.ts +0 -2
  107. package/dist/components/UpSideBar/index.d.ts +0 -2
  108. package/dist/components/UpStepper/index.d.ts +0 -2
  109. package/dist/components/UpSwitch/index.d.ts +0 -2
  110. package/dist/components/UpTab/index.d.ts +0 -2
  111. package/dist/components/UpTextField/index.d.ts +0 -2
  112. package/dist/components/UpTitleBar/index.d.ts +0 -2
  113. package/dist/components/UpToast/index.d.ts +0 -2
  114. package/dist/components/UpTooltip/index.d.ts +0 -2
  115. package/dist/components/UpWindow/index.d.ts +0 -2
  116. /package/dist/components/{UpCard/UpCardList.vue.d.ts → UpxCard/UpxCardList.vue.d.ts} +0 -0
  117. /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
- <UpButton color="primary" @click="handleClick"> Clique aqui </UpButton>
103
+ <UpxButton color="primary" @click="handleClick"> Clique aqui </UpxButton>
104
104
 
105
- <UpTextField v-model="name" label="Nome" placeholder="Digite seu nome" />
105
+ <UpxTextField v-model="name" label="Nome" placeholder="Digite seu nome" />
106
106
 
107
- <UpDataTable :headers="headers" :items="items" />
107
+ <UpxDataTable :headers="headers" :items="items" />
108
108
  </div>
109
109
  </template>
110
110
 
@@ -118,21 +118,6 @@ const handleClick = () => {
118
118
  </script>
119
119
  ```
120
120
 
121
- ### Importação Individual (Tree-shaking)
122
-
123
- Para otimizar o bundle, importe apenas os componentes que você precisa:
124
-
125
- ```vue
126
- <template>
127
- <UpButton color="primary">Meu Botão</UpButton>
128
- </template>
129
-
130
- <script setup lang="ts">
131
- import { UpButton } from "@uplexis/ui";
132
- import "@uplexis/ui/styles.css";
133
- </script>
134
- ```
135
-
136
121
  ### Usando com Vuetify Customizado
137
122
 
138
123
  Se você já tem uma instância do Vuetify configurada:
@@ -165,7 +150,7 @@ A biblioteca vem com dois temas pré-configurados:
165
150
  ```vue
166
151
  <template>
167
152
  <v-app>
168
- <UpButton @click="toggleTheme"> Alternar Tema </UpButton>
153
+ <UpxButton @click="toggleTheme"> Alternar Tema </UpxButton>
169
154
  </v-app>
170
155
  </template>
171
156
 
@@ -197,12 +182,12 @@ info: #2196F3
197
182
 
198
183
  ## 📚 Componentes
199
184
 
200
- ### UpButton
185
+ ### UpxButton
201
186
 
202
187
  Botão customizado baseado no VBtn do Vuetify.
203
188
 
204
189
  ```vue
205
- <UpButton
190
+ <UpxButton
206
191
  color="primary"
207
192
  variant="elevated"
208
193
  size="default"
@@ -210,7 +195,7 @@ Botão customizado baseado no VBtn do Vuetify.
210
195
  @click="handleClick"
211
196
  >
212
197
  Adicionar
213
- </UpButton>
198
+ </UpxButton>
214
199
  ```
215
200
 
216
201
  **Props:**
@@ -225,12 +210,12 @@ Botão customizado baseado no VBtn do Vuetify.
225
210
  - `prependIcon`: Ícone antes do texto
226
211
  - `appendIcon`: Ícone depois do texto
227
212
 
228
- ### UpTextField
213
+ ### UpxTextField
229
214
 
230
215
  Campo de texto customizado baseado no VTextField do Vuetify.
231
216
 
232
217
  ```vue
233
- <UpTextField
218
+ <UpxTextField
234
219
  v-model="email"
235
220
  label="Email"
236
221
  type="email"
@@ -257,12 +242,12 @@ Campo de texto customizado baseado no VTextField do Vuetify.
257
242
  - `counter`: Contador de caracteres
258
243
  - `maxlength`: Tamanho máximo
259
244
 
260
- ### UpDataTable
245
+ ### UpxDataTable
261
246
 
262
247
  Tabela de dados customizada baseada no VDataTable do Vuetify.
263
248
 
264
249
  ```vue
265
- <UpDataTable
250
+ <UpxDataTable
266
251
  :headers="headers"
267
252
  :items="items"
268
253
  :loading="loading"
@@ -271,9 +256,9 @@ Tabela de dados customizada baseada no VDataTable do Vuetify.
271
256
  v-model="selected"
272
257
  >
273
258
  <template #item.actions="{ item }">
274
- <UpButton size="small" icon="mdi-pencil" @click="edit(item)" />
259
+ <UpxButton size="small" icon="mdi-pencil" @click="edit(item)" />
275
260
  </template>
276
- </UpDataTable>
261
+ </UpxDataTable>
277
262
  ```
278
263
 
279
264
  **Props:**
@@ -1,18 +1,18 @@
1
- export interface UpAccordionItem {
1
+ export interface UpxAccordionItem {
2
2
  title: string;
3
3
  value: string;
4
4
  }
5
- export interface UpAccordionProps {
6
- items: UpAccordionItem[];
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<UpAccordionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
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<UpAccordionProps> & 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;
@@ -0,0 +1,2 @@
1
+ export { default as UpxAccordion } from "./UpxAccordion.vue";
2
+ export type { UpxAccordionProps, UpxAccordionItem } from "./UpxAccordion.vue";
@@ -1,10 +1,10 @@
1
- export type UpBadgeType = "PF" | "PF-admin" | "SP" | "PEP" | "PJ" | "PJ-filial" | "ADM-PEP-SP" | "custom";
2
- export type UpBadgeVariant = "primary" | "secondary" | "tertiary" | "info" | "error" | "warning" | "text" | "success";
3
- export type UpBadgeSize = "sm" | "lg";
4
- export interface UpBadgeProps {
5
- type: UpBadgeType;
6
- variant?: UpBadgeVariant;
7
- size?: UpBadgeSize;
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<UpBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
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<UpBadgeProps> & 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>;
@@ -0,0 +1,2 @@
1
+ export { default as UpxBadge } from "./UpxBadge.vue";
2
+ export type { UpxBadgeProps, UpxBadgeType, UpxBadgeVariant, UpxBadgeSize, } from "./UpxBadge.vue";
@@ -1,4 +1,4 @@
1
- export interface UpButtonProps {
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<UpButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
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<UpButtonProps> & Readonly<{
15
+ }, string, import("vue").PublicProps, Readonly<UpxButtonProps> & Readonly<{
16
16
  onClick?: ((event: MouseEvent) => any) | undefined;
17
17
  }>, {
18
18
  size: "small" | "medium" | "large";
@@ -0,0 +1,2 @@
1
+ export { default as UpxButton } from "./UpxButton.vue";
2
+ export type { UpxButtonProps } from "./UpxButton.vue";
@@ -1,35 +1,35 @@
1
- export interface UpCalendarEvent {
1
+ export interface UpxCalendarEvent {
2
2
  title: string;
3
3
  date: Date;
4
4
  color?: string;
5
5
  }
6
- export interface UpCalendarDay {
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?: UpCalendarEvent[];
13
+ events?: UpxCalendarEvent[];
14
14
  }
15
- export interface UpCalendarProps {
15
+ export interface UpxCalendarProps {
16
16
  modelValue?: Date | string | null;
17
- events?: UpCalendarEvent[];
17
+ events?: UpxCalendarEvent[];
18
18
  color?: string;
19
19
  firstDayOfWeek?: number;
20
20
  }
21
- declare const _default: import("vue").DefineComponent<UpCalendarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
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: UpCalendarEvent) => any;
25
- }, string, import("vue").PublicProps, Readonly<UpCalendarProps> & 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: UpCalendarEvent) => any) | undefined;
28
+ "onClick:event"?: ((event: UpxCalendarEvent) => any) | undefined;
29
29
  }>, {
30
30
  color: string;
31
31
  modelValue: Date | string | null;
32
- events: UpCalendarEvent[];
32
+ events: UpxCalendarEvent[];
33
33
  firstDayOfWeek: number;
34
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
35
  export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as UpxCalendar } from "./UpxCalendar.vue";
2
+ export type { UpxCalendarProps, UpxCalendarEvent, UpxCalendarDay, } from "./UpxCalendar.vue";
@@ -1,6 +1,6 @@
1
- import type { UpCardProps } from "./types";
1
+ import type { UpxCardProps } from "./types";
2
2
  export interface Props {
3
- props: UpCardProps;
3
+ props: UpxCardProps;
4
4
  }
5
5
  declare var __VLS_11: string | number, __VLS_12: any;
6
6
  type __VLS_Slots = {} & {
@@ -1,4 +1,4 @@
1
- export interface UpCardIndicatorProps {
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<UpCardIndicatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpCardIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
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
+ };
@@ -1,4 +1,4 @@
1
- export interface UpCardInteractiveProps {
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<UpCardInteractiveProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
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<UpCardInteractiveProps> & 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 { UpCardEntityType } from "./types";
2
- export interface UpCardNodeProps {
3
- variant: UpCardEntityType;
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<UpCardNodeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpCardNodeProps> & Readonly<{}>, {
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 { UpCellProps } from "./types";
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<UpCellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpCellProps> & Readonly<{}>, {
9
- type: import("./types").UpCellType;
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;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * UpxCell - Componente de célula versátil
3
+ * Compatível com @aplicativo/uplexis-ui v1.7.7
4
+ */
5
+ export { default as UpxCell } from "./UpxCell.vue";
6
+ export type { UpxCellProps, UpxCellType, UpxCellFormatter } from "./types";
@@ -1,10 +1,10 @@
1
1
  /**
2
- * Tipos do componente UpCell
2
+ * Tipos do componente UpxCell
3
3
  * Compatível com @aplicativo/uplexis-ui v1.7.7
4
4
  */
5
- export type UpCellType = "normal" | "title";
6
- export type UpCellFormatter = "cpf" | "cnpj" | "currency" | "date";
7
- export interface UpCellProps {
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?: UpCellType;
21
+ type?: UpxCellType;
22
22
  /** Formatador: 'cpf', 'cnpj', 'currency', 'date' */
23
- valueFormatter?: UpCellFormatter;
23
+ valueFormatter?: UpxCellFormatter;
24
24
  }
@@ -1,5 +1,5 @@
1
- import type { UpCheckboxProps } from "./types";
2
- type __VLS_Props = UpCheckboxProps;
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
  };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * UpxCheckbox - Componente de checkbox customizado
3
+ * Compatível com @aplicativo/uplexis-ui v1.7.7
4
+ */
5
+ export { default as UpxCheckbox } from "./UpxCheckbox.vue";
6
+ export type { UpxCheckboxProps } from "./types";
@@ -1,4 +1,4 @@
1
- export interface UpCheckboxProps {
1
+ export interface UpxCheckboxProps {
2
2
  /**
3
3
  * ID único do checkbox
4
4
  */
@@ -1,4 +1,4 @@
1
- export interface UpDataTableHeader {
1
+ export interface UpxDataTableHeader {
2
2
  key: string;
3
3
  title: string;
4
4
  align?: 'start' | 'center' | 'end';
@@ -7,8 +7,32 @@ export interface UpDataTableHeader {
7
7
  minWidth?: string | number;
8
8
  maxWidth?: string | number;
9
9
  }
10
- export interface UpDataTableProps {
11
- headers: UpDataTableHeader[];
10
+ export interface UpxDataTableClasses {
11
+ table?: string;
12
+ header?: string;
13
+ headerRow?: string;
14
+ headerCell?: string;
15
+ body?: string;
16
+ row?: string;
17
+ cell?: string;
18
+ footer?: string;
19
+ }
20
+ export interface UpxDataTableStyles {
21
+ headerFontSize?: string;
22
+ headerFontWeight?: string | number;
23
+ headerBackground?: string;
24
+ headerColor?: string;
25
+ bodyFontSize?: string;
26
+ bodyFontWeight?: string | number;
27
+ rowBackground?: string;
28
+ rowHoverBackground?: string;
29
+ rowAlternateBackground?: string;
30
+ cellPadding?: string;
31
+ borderColor?: string;
32
+ }
33
+ export type UpxDataTableVariant = 'default' | 'striped' | 'bordered' | 'compact' | 'minimal';
34
+ export interface UpxDataTableProps {
35
+ headers: UpxDataTableHeader[];
12
36
  items: any[];
13
37
  loading?: boolean;
14
38
  search?: string;
@@ -23,6 +47,16 @@ export interface UpDataTableProps {
23
47
  height?: string | number;
24
48
  showSelect?: boolean;
25
49
  modelValue?: any[];
50
+ headerFontSize?: string;
51
+ headerFontWeight?: string | number;
52
+ headerClass?: string;
53
+ bodyFontSize?: string;
54
+ bodyFontWeight?: string | number;
55
+ bodyClass?: string;
56
+ hidePagination?: boolean;
57
+ variant?: UpxDataTableVariant;
58
+ customClasses?: UpxDataTableClasses;
59
+ customStyles?: UpxDataTableStyles;
26
60
  }
27
61
  declare var __VLS_10: {}, __VLS_13: `item.${string}`, __VLS_14: {
28
62
  item: any;
@@ -43,13 +77,14 @@ type __VLS_Slots = {} & {
43
77
  } & {
44
78
  bottom?: (props: typeof __VLS_22) => any;
45
79
  };
46
- declare const __VLS_component: import("vue").DefineComponent<UpDataTableProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
80
+ declare const __VLS_component: import("vue").DefineComponent<UpxDataTableProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
47
81
  "update:modelValue": (value: any[]) => any;
48
82
  "update:options": (value: any) => any;
49
- }, string, import("vue").PublicProps, Readonly<UpDataTableProps> & Readonly<{
83
+ }, string, import("vue").PublicProps, Readonly<UpxDataTableProps> & Readonly<{
50
84
  "onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
51
85
  "onUpdate:options"?: ((value: any) => any) | undefined;
52
86
  }>, {
87
+ variant: UpxDataTableVariant;
53
88
  density: "default" | "comfortable" | "compact";
54
89
  loading: boolean;
55
90
  itemsPerPage: number;
@@ -60,6 +95,7 @@ declare const __VLS_component: import("vue").DefineComponent<UpDataTableProps, {
60
95
  hover: boolean;
61
96
  fixedHeader: boolean;
62
97
  showSelect: boolean;
98
+ hidePagination: boolean;
63
99
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
64
100
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
65
101
  export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as UpxDataTable } from "./UpxDataTable.vue";
2
+ export type { UpxDataTableProps, UpxDataTableHeader } from "./UpxDataTable.vue";
@@ -1,4 +1,4 @@
1
- export interface UpDatePickerDay {
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 UpDatePickerProps {
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<UpDatePickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
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<UpDatePickerProps> & 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,2 @@
1
+ export { default as UpxDatePicker } from "./UpxDatePicker.vue";
2
+ export type { UpxDatePickerProps, UpxDatePickerDay } from "./UpxDatePicker.vue";
@@ -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,2 @@
1
+ export { default as UpxDivider } from "./UpxDivider.vue";
2
+ export * from "./types";
@@ -1,4 +1,4 @@
1
- export interface UpDividerProps {
1
+ export interface UpxDividerProps {
2
2
  /**
3
3
  * Direção do divisor
4
4
  * @default 'horizontal'
@@ -0,0 +1 @@
1
+ export { default as UpxEnvironmentBadge } from "./UpxEnvironmentBadge.vue";
@@ -1,9 +1,9 @@
1
- import type { UpFloatMenuProps } from "./types";
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<UpFloatMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpFloatMenuProps> & Readonly<{}>, {
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>;