@bagelink/vue 0.0.302 → 0.0.304

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 (65) hide show
  1. package/dist/components/Alert.vue.d.ts +1 -0
  2. package/dist/components/Alert.vue.d.ts.map +1 -1
  3. package/dist/components/Btn.vue.d.ts.map +1 -1
  4. package/dist/components/Card.vue.d.ts +6 -2
  5. package/dist/components/Card.vue.d.ts.map +1 -1
  6. package/dist/components/Carousel.vue.d.ts +64 -0
  7. package/dist/components/Carousel.vue.d.ts.map +1 -0
  8. package/dist/components/ListView.vue.d.ts +2 -26
  9. package/dist/components/ListView.vue.d.ts.map +1 -1
  10. package/dist/components/Modal.vue.d.ts +0 -1
  11. package/dist/components/Modal.vue.d.ts.map +1 -1
  12. package/dist/components/ModalForm.vue.d.ts.map +1 -1
  13. package/dist/components/NavBar.vue.d.ts +0 -7
  14. package/dist/components/NavBar.vue.d.ts.map +1 -1
  15. package/dist/components/PageTitle.vue.d.ts.map +1 -1
  16. package/dist/components/Popover.vue.d.ts +10 -0
  17. package/dist/components/Popover.vue.d.ts.map +1 -0
  18. package/dist/components/TableSchema.vue.d.ts.map +1 -1
  19. package/dist/components/form/BglForm.vue.d.ts.map +1 -1
  20. package/dist/components/form/ItemRef.vue.d.ts +0 -1
  21. package/dist/components/form/ItemRef.vue.d.ts.map +1 -1
  22. package/dist/components/form/inputs/DateInput.vue.d.ts +0 -1
  23. package/dist/components/form/inputs/SelectField.vue.d.ts +4 -1
  24. package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
  25. package/dist/components/index.d.ts +1 -1
  26. package/dist/components/index.d.ts.map +1 -1
  27. package/dist/index.cjs +355 -211
  28. package/dist/index.d.ts +0 -1
  29. package/dist/index.mjs +356 -212
  30. package/dist/style.css +1166 -859
  31. package/dist/types/NavLink.d.ts +9 -0
  32. package/dist/types/NavLink.d.ts.map +1 -0
  33. package/dist/types/materialIcon.d.ts +2 -0
  34. package/dist/types/materialIcon.d.ts.map +1 -0
  35. package/package.json +1 -1
  36. package/src/components/Alert.vue +37 -16
  37. package/src/components/Avatar.vue +1 -1
  38. package/src/components/Badge.vue +50 -5
  39. package/src/components/Btn.vue +137 -135
  40. package/src/components/Card.vue +46 -3
  41. package/src/components/Carousel.vue +258 -0
  42. package/src/components/ListItem.vue +1 -1
  43. package/src/components/ListView.vue +47 -38
  44. package/src/components/Modal.vue +38 -2
  45. package/src/components/ModalForm.vue +4 -2
  46. package/src/components/NavBar.vue +42 -67
  47. package/src/components/PageTitle.vue +33 -11
  48. package/src/components/TabbedLayout.vue +1 -1
  49. package/src/components/TableSchema.vue +67 -77
  50. package/src/components/index.ts +1 -1
  51. package/src/components/whatsapp/form/MsgTemplate.vue +1 -1
  52. package/src/styles/bagel.css +11 -2
  53. package/src/styles/buttons.css +1 -0
  54. package/src/styles/inputs.css +91 -92
  55. package/src/styles/layout.css +337 -18
  56. package/src/styles/loginCard.css +48 -0
  57. package/src/styles/text.css +27 -11
  58. package/src/styles/theme.css +226 -515
  59. package/src/styles/transitions.css +18 -0
  60. package/src/types/NavLink.ts +9 -0
  61. package/dist/components/Drop.vue.d.ts +0 -34
  62. package/dist/components/Drop.vue.d.ts.map +0 -1
  63. package/dist/components/FileUploader.vue.d.ts +0 -60
  64. package/dist/components/FileUploader.vue.d.ts.map +0 -1
  65. package/src/components/LangText.vue +0 -32
@@ -45,3 +45,21 @@
45
45
  .list-leave-active {
46
46
  position: absolute;
47
47
  }
48
+
49
+ .slide-fade-enter-active {
50
+ transition: all 0.15s ease-out;
51
+ }
52
+
53
+ .slide-fade-leave-active {
54
+ transition: all 0.15s ease-in;
55
+ }
56
+
57
+ .slide-fade-enter-from {
58
+ transform: translateX(20px);
59
+ opacity: 0;
60
+ }
61
+
62
+ .slide-fade-leave-to {
63
+ transform: translateX(-20px);
64
+ opacity: 0;
65
+ }
@@ -0,0 +1,9 @@
1
+ import { MaterialIcons } from './materialIcons';
2
+
3
+ export type NavLink = {
4
+ label: string;
5
+ to?: string;
6
+ materialIcon: MaterialIcons;
7
+ localized?: string;
8
+ onClick?: () => void;
9
+ }
@@ -1,34 +0,0 @@
1
- type Option = {
2
- label: string;
3
- value: string;
4
- } | string | number;
5
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
6
- modelValue: string | number;
7
- options: Option[];
8
- placeholder?: string | undefined;
9
- label?: string | undefined;
10
- id: string;
11
- required: boolean;
12
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- "update:modelValue": (...args: any[]) => void;
14
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
15
- modelValue: string | number;
16
- options: Option[];
17
- placeholder?: string | undefined;
18
- label?: string | undefined;
19
- id: string;
20
- required: boolean;
21
- }>>> & {
22
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
23
- }, {}, {}>;
24
- export default _default;
25
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
- type __VLS_TypePropsToRuntimeProps<T> = {
27
- [K in keyof T]-?: {} extends Pick<T, K> ? {
28
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
- } : {
30
- type: import('vue').PropType<T[K]>;
31
- required: true;
32
- };
33
- };
34
- //# sourceMappingURL=Drop.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Drop.vue.d.ts","sourceRoot":"","sources":["../../src/components/Drop.vue"],"names":[],"mappings":"AAcA;AAMA,KAAK,MAAM,GAAG;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,MAAM,GAAG,MAAM,CAAC;;gBA8KN,MAAM,GAAG,MAAM;aAClB,MAAM,EAAE;;;QAGb,MAAM;cACA,OAAO;;;;gBALL,MAAM,GAAG,MAAM;aAClB,MAAM,EAAE;;;QAGb,MAAM;cACA,OAAO;;;;AAXnB,wBAcG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -1,60 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- id?: string | undefined;
3
- private?: 0 | 1 | undefined;
4
- singleFile?: boolean | undefined;
5
- beforeUpload?: (() => Promise<any>) | undefined;
6
- dragDropLabel?: string | undefined;
7
- browseLabel?: string | undefined;
8
- }>, {
9
- private: number;
10
- entity: string;
11
- id: string;
12
- beforeUpload: () => Promise<void>;
13
- dragDropLabel: string;
14
- browseLabel: string;
15
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
- done: (...args: any[]) => void;
17
- complete: (...args: any[]) => void;
18
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
19
- id?: string | undefined;
20
- private?: 0 | 1 | undefined;
21
- singleFile?: boolean | undefined;
22
- beforeUpload?: (() => Promise<any>) | undefined;
23
- dragDropLabel?: string | undefined;
24
- browseLabel?: string | undefined;
25
- }>, {
26
- private: number;
27
- entity: string;
28
- id: string;
29
- beforeUpload: () => Promise<void>;
30
- dragDropLabel: string;
31
- browseLabel: string;
32
- }>>> & {
33
- onDone?: ((...args: any[]) => any) | undefined;
34
- onComplete?: ((...args: any[]) => any) | undefined;
35
- }, {
36
- id: string;
37
- private: 1 | 0;
38
- beforeUpload: () => Promise<any>;
39
- dragDropLabel: string;
40
- browseLabel: string;
41
- }, {}>;
42
- export default _default;
43
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
44
- type __VLS_TypePropsToRuntimeProps<T> = {
45
- [K in keyof T]-?: {} extends Pick<T, K> ? {
46
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
47
- } : {
48
- type: import('vue').PropType<T[K]>;
49
- required: true;
50
- };
51
- };
52
- type __VLS_WithDefaults<P, D> = {
53
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
54
- default: D[K];
55
- }> : P[K];
56
- };
57
- type __VLS_Prettify<T> = {
58
- [K in keyof T]: T[K];
59
- } & {};
60
- //# sourceMappingURL=FileUploader.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileUploader.vue.d.ts","sourceRoot":"","sources":["../../src/components/FileUploader.vue"],"names":[],"mappings":"AAiDA;;;;;0BA6YuB,QAAQ,GAAG,CAAC;;;;;;;;;;;;;;;;;0BAAZ,QAAQ,GAAG,CAAC;;;;;;;;;;;;;;QAJ5B,MAAM;aAED,CAAC,GAAG,CAAC;kBAEA,MAAM,QAAQ,GAAG,CAAC;mBACjB,MAAM;iBACR,MAAM;;AARtB,wBAeG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,32 +0,0 @@
1
- <template>
2
- <span ref="el" />
3
- {{ input }}
4
- <!-- v-html="i18nT(input)" -->
5
- </template>
6
- <script setup lang="ts">
7
- defineProps<{
8
- input: any;
9
- }>();
10
- </script>
11
- <style>
12
- .translate {
13
- cursor: pointer;
14
- position: relative;
15
- }
16
-
17
- /*
18
- .translate:hover {
19
- color: var(--bgl-primary);
20
- }
21
- */
22
-
23
- .translate-globe {
24
- position: absolute;
25
- top: -5px;
26
- right: -5px;
27
- width: 10px;
28
- height: 10px;
29
- background-size: contain;
30
- /* background-image: url('@/assets/globe.svg'); */
31
- }
32
- </style>