@luizleon/sf.prefeiturasp.vuecomponents 0.0.43 → 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.
Files changed (67) hide show
  1. package/dist/components/button/Button.d.ts +77 -42
  2. package/dist/components/content/Content.d.ts +28 -36
  3. package/dist/components/drawer/Drawer.d.ts +54 -55
  4. package/dist/components/icon/Icon.d.ts +59 -38
  5. package/dist/components/internal/HeaderAvatar.d.ts +6 -0
  6. package/dist/components/internal/ScrollToTop.d.ts +2 -7
  7. package/dist/components/internal/ThemeToggle.d.ts +2 -11
  8. package/dist/components/layout/Layout.d.ts +20 -45
  9. package/dist/components/message/Message.d.ts +42 -37
  10. package/dist/components/navmenulink/NavMenuLink.d.ts +18 -35
  11. package/dist/components/tabnavigation/TabNavigation.d.ts +29 -42
  12. package/dist/components/tooltip/Tooltip.d.ts +21 -0
  13. package/dist/index.d.ts +4 -3
  14. package/dist/keycloak.d.ts +1 -1
  15. package/dist/services/dialogService.d.ts +16 -5
  16. package/dist/{lib.es.js → sf.prefeiturasp.vuecomponents.es.js} +2009 -1909
  17. package/dist/sf.prefeiturasp.vuecomponents.es.js.map +1 -0
  18. package/dist/sf.prefeiturasp.vuecomponents.umd.js +82 -0
  19. package/dist/sf.prefeiturasp.vuecomponents.umd.js.map +1 -0
  20. package/dist/style.css +1 -1
  21. package/package.json +9 -10
  22. package/src/components/button/Button.d.ts +2 -18
  23. package/src/components/button/Button.vue +45 -2
  24. package/src/components/content/Content.d.ts +0 -8
  25. package/src/components/content/Content.vue +9 -1
  26. package/src/components/drawer/Drawer.d.ts +1 -6
  27. package/src/components/drawer/Drawer.vue +11 -3
  28. package/src/components/icon/Icon.d.ts +1 -16
  29. package/src/components/icon/Icon.vue +65 -22
  30. package/src/components/internal/HeaderAvatar.vue +4 -5
  31. package/src/components/layout/Layout.d.ts +1 -2
  32. package/src/components/layout/Layout.vue +6 -1
  33. package/src/components/message/Message.d.ts +1 -10
  34. package/src/components/message/Message.vue +28 -12
  35. package/src/components/navmenulink/NavMenuLink.d.ts +1 -7
  36. package/src/components/navmenulink/NavMenuLink.vue +10 -2
  37. package/src/components/tabnavigation/TabNavigation.d.ts +1 -9
  38. package/src/components/tabnavigation/TabNavigation.vue +9 -1
  39. package/src/components/tooltip/Tooltip.d.ts +23 -0
  40. package/src/components/tooltip/Tooltip.vue +91 -0
  41. package/src/index.ts +8 -6
  42. package/src/services/dialogService.ts +71 -25
  43. package/src/style/src/_mixins.scss +5 -0
  44. package/src/style/src/components/_icon.scss +7 -7
  45. package/src/style/src/components/_message.scss +1 -1
  46. package/src/style/src/components/_tooltip.scss +11 -12
  47. package/src/style/src/sweetalert/scss/_animations.scss +197 -197
  48. package/src/style/src/sweetalert/scss/_body.scss +45 -45
  49. package/src/style/src/sweetalert/scss/_core.scss +862 -862
  50. package/src/style/src/sweetalert/scss/_mixins.scss +16 -16
  51. package/src/style/src/sweetalert/scss/_theming.scss +8 -8
  52. package/src/style/src/sweetalert/scss/_toasts-animations.scss +83 -83
  53. package/src/style/src/sweetalert/scss/_toasts-body.scss +85 -85
  54. package/src/style/src/sweetalert/scss/_toasts.scss +203 -203
  55. package/src/ts-helpers.d.ts +9 -9
  56. package/tsconfig.json +2 -2
  57. package/vite.config.js +5 -5
  58. package/dist/enum/cor.d.ts +0 -9
  59. package/dist/enum/index.d.ts +0 -2
  60. package/dist/enum/tamanho.d.ts +0 -5
  61. package/dist/lib.es.js.map +0 -1
  62. package/dist/lib.umd.js +0 -84
  63. package/dist/lib.umd.js.map +0 -1
  64. package/dist/ts-helpers.d.ts +0 -57
  65. package/src/enum/cor.ts +0 -9
  66. package/src/enum/index.ts +0 -2
  67. package/src/enum/tamanho.ts +0 -5
@@ -1,57 +0,0 @@
1
- import {
2
- ComponentCustomProps,
3
- VNodeProps,
4
- EmitsOptions,
5
- AllowedComponentProps,
6
- ObjectEmitsOptions,
7
- } from "vue";
8
-
9
- declare type PublicProps = VNodeProps &
10
- AllowedComponentProps &
11
- ComponentCustomProps;
12
-
13
- declare type UnionToIntersection<U> = (
14
- U extends any ? (k: U) => void : never
15
- ) extends (k: infer I) => void
16
- ? I
17
- : never;
18
-
19
- declare type EmitFn<
20
- Options = ObjectEmitsOptions,
21
- Event extends keyof Options = keyof Options
22
- > = Options extends Array<infer V>
23
- ? (event: V, ...args: any[]) => void
24
- : {} extends Options
25
- ? (event: string, ...args: any[]) => void
26
- : UnionToIntersection<
27
- {
28
- [key in Event]: Options[key] extends (
29
- ...args: infer Args
30
- ) => any
31
- ? (event: key, ...args: Args) => void
32
- : (event: key, ...args: any[]) => void;
33
- }[Event]
34
- >;
35
-
36
- export class ClassComponent<
37
- Props,
38
- Slots,
39
- Emits extends EmitsOptions = {}
40
- > {
41
- $props: Props & PublicProps;
42
- $slots: Slots;
43
- $emit: EmitFn<Emits>;
44
- }
45
-
46
- export type GlobalComponentConstructor<T> = {
47
- new (): T;
48
- };
49
-
50
- /**
51
- * Custom types
52
- */
53
- export declare type Booleanish = boolean | "true" | "false";
54
-
55
- export declare type Numberish = number | string;
56
-
57
- export declare type Nullable<T = void> = T | null;
package/src/enum/cor.ts DELETED
@@ -1,9 +0,0 @@
1
- export enum Cor {
2
- Primary = "primary",
3
- Secondary = "secondary",
4
- Info = "info",
5
- Success = "success",
6
- Help = "help",
7
- Warn = "warn",
8
- Error = "error",
9
- }
package/src/enum/index.ts DELETED
@@ -1,2 +0,0 @@
1
- export { Cor } from "./cor";
2
- export { Tamanho } from "./tamanho";
@@ -1,5 +0,0 @@
1
- export enum Tamanho {
2
- Pequeno = "sm",
3
- Medio = "md",
4
- Grande = "lg",
5
- }