@autenticar-me/vue 0.1.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.
Files changed (84) hide show
  1. package/dist/components/AuthSwitcher.vue.d.ts +2 -2
  2. package/dist/components/AuthSwitcher.vue.d.ts.map +1 -0
  3. package/dist/components/Buttons/SignInButton.vue.d.ts +2 -2
  4. package/dist/components/Buttons/SignInButton.vue.d.ts.map +1 -0
  5. package/dist/components/Buttons/SignOutButton.vue.d.ts +2 -2
  6. package/dist/components/Buttons/SignOutButton.vue.d.ts.map +1 -0
  7. package/dist/components/Buttons/SignUpButton.vue.d.ts +2 -2
  8. package/dist/components/Buttons/SignUpButton.vue.d.ts.map +1 -0
  9. package/dist/components/Layout/SignedIn.vue.d.ts +12 -7
  10. package/dist/components/Layout/SignedIn.vue.d.ts.map +1 -0
  11. package/dist/components/Layout/SignedOut.vue.d.ts +12 -7
  12. package/dist/components/Layout/SignedOut.vue.d.ts.map +1 -0
  13. package/dist/components/Modals/Modal.vue.d.ts +15 -10
  14. package/dist/components/Modals/Modal.vue.d.ts.map +1 -0
  15. package/dist/components/Modals/SignInModal.vue.d.ts +4 -4
  16. package/dist/components/Modals/SignInModal.vue.d.ts.map +1 -0
  17. package/dist/components/Modals/SignUpModal.vue.d.ts +4 -4
  18. package/dist/components/Modals/SignUpModal.vue.d.ts.map +1 -0
  19. package/dist/components/Notification.vue.d.ts +3 -3
  20. package/dist/components/Notification.vue.d.ts.map +1 -0
  21. package/dist/components/SignIn.vue.d.ts +7 -4
  22. package/dist/components/SignIn.vue.d.ts.map +1 -0
  23. package/dist/components/SignUp.vue.d.ts +7 -4
  24. package/dist/components/SignUp.vue.d.ts.map +1 -0
  25. package/dist/components/UserProfile.vue.d.ts +4 -2
  26. package/dist/components/UserProfile.vue.d.ts.map +1 -0
  27. package/dist/composables/useAtm.d.ts +5 -4
  28. package/dist/composables/useAtm.d.ts.map +1 -0
  29. package/dist/composables/useAtmClient.d.ts +2 -1
  30. package/dist/composables/useAtmClient.d.ts.map +1 -0
  31. package/dist/composables/useAuth.d.ts +3 -2
  32. package/dist/composables/useAuth.d.ts.map +1 -0
  33. package/dist/index.cjs +2270 -0
  34. package/dist/index.cjs.map +1 -0
  35. package/dist/index.d.ts +18 -16
  36. package/dist/index.d.ts.map +1 -0
  37. package/dist/index.js +2269 -31
  38. package/dist/index.js.map +1 -0
  39. package/dist/plugin.d.ts +2 -1
  40. package/dist/plugin.d.ts.map +1 -0
  41. package/dist/types/configurations.type.d.ts +10 -0
  42. package/dist/types/configurations.type.d.ts.map +1 -0
  43. package/dist/types/session.type.d.ts +1 -0
  44. package/dist/types/session.type.d.ts.map +1 -0
  45. package/dist/types/user-attribute.type.d.ts +1 -0
  46. package/dist/types/user-attribute.type.d.ts.map +1 -0
  47. package/dist/types/user.type.d.ts +2 -1
  48. package/dist/types/user.type.d.ts.map +1 -0
  49. package/dist/utils/device.d.ts +2 -1
  50. package/dist/utils/device.d.ts.map +1 -0
  51. package/dist/utils/fetch-configurations.d.ts +3 -2
  52. package/dist/utils/fetch-configurations.d.ts.map +1 -0
  53. package/dist/utils/fetch-user.d.ts +3 -2
  54. package/dist/utils/fetch-user.d.ts.map +1 -0
  55. package/dist/utils/tokens.d.ts +1 -0
  56. package/dist/utils/tokens.d.ts.map +1 -0
  57. package/dist/vue.css +1761 -0
  58. package/package.json +29 -5
  59. package/.claude/settings.local.json +0 -7
  60. package/dist/components/AuthSwitcher.vue.js +0 -76
  61. package/dist/components/Buttons/SignInButton.vue.js +0 -110
  62. package/dist/components/Buttons/SignOutButton.vue.js +0 -68
  63. package/dist/components/Buttons/SignUpButton.vue.js +0 -86
  64. package/dist/components/Layout/SignedIn.vue.js +0 -54
  65. package/dist/components/Layout/SignedOut.vue.js +0 -54
  66. package/dist/components/Modals/Modal.vue.js +0 -133
  67. package/dist/components/Modals/SignInModal.vue.js +0 -149
  68. package/dist/components/Modals/SignUpModal.vue.js +0 -165
  69. package/dist/components/Notification.vue.js +0 -95
  70. package/dist/components/SignIn.vue.js +0 -485
  71. package/dist/components/SignUp.vue.js +0 -339
  72. package/dist/components/UserProfile.vue.js +0 -916
  73. package/dist/composables/useAtm.js +0 -11
  74. package/dist/composables/useAtmClient.js +0 -8
  75. package/dist/composables/useAuth.js +0 -38
  76. package/dist/plugin.js +0 -33
  77. package/dist/types/configurations.type.js +0 -2
  78. package/dist/types/session.type.js +0 -2
  79. package/dist/types/user-attribute.type.js +0 -2
  80. package/dist/types/user.type.js +0 -2
  81. package/dist/utils/device.js +0 -46
  82. package/dist/utils/fetch-configurations.js +0 -45
  83. package/dist/utils/fetch-user.js +0 -36
  84. package/dist/utils/tokens.js +0 -46
@@ -1,149 +0,0 @@
1
- "use strict";
2
- /// <reference types="../../../node_modules/@vue/language-core/types/template-helpers.d.ts" />
3
- /// <reference types="../../../node_modules/@vue/language-core/types/props-fallback.d.ts" />
4
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
- if (k2 === undefined) k2 = k;
6
- var desc = Object.getOwnPropertyDescriptor(m, k);
7
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
- desc = { enumerable: true, get: function() { return m[k]; } };
9
- }
10
- Object.defineProperty(o, k2, desc);
11
- }) : (function(o, m, k, k2) {
12
- if (k2 === undefined) k2 = k;
13
- o[k2] = m[k];
14
- }));
15
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
- Object.defineProperty(o, "default", { enumerable: true, value: v });
17
- }) : function(o, v) {
18
- o["default"] = v;
19
- });
20
- var __importStar = (this && this.__importStar) || (function () {
21
- var ownKeys = function(o) {
22
- ownKeys = Object.getOwnPropertyNames || function (o) {
23
- var ar = [];
24
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
25
- return ar;
26
- };
27
- return ownKeys(o);
28
- };
29
- return function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- })();
37
- var __importDefault = (this && this.__importDefault) || function (mod) {
38
- return (mod && mod.__esModule) ? mod : { "default": mod };
39
- };
40
- Object.defineProperty(exports, "__esModule", { value: true });
41
- const vue_1 = require("vue");
42
- const Modal_vue_1 = __importDefault(require("./Modal.vue"));
43
- const SignIn_vue_1 = __importDefault(require("../SignIn.vue"));
44
- const SignUp_vue_1 = __importDefault(require("../SignUp.vue"));
45
- const emit = defineEmits([
46
- 'close',
47
- ]);
48
- const close = () => {
49
- emit('close');
50
- };
51
- const component = (0, vue_1.ref)('sign-in');
52
- const signUp = () => component.value = 'sign-up';
53
- const signIn = () => component.value = 'sign-in';
54
- const windowWidth = (0, vue_1.ref)(typeof window !== 'undefined' ? window.innerWidth : 1024);
55
- const maxWidth = (0, vue_1.computed)(() => {
56
- if (windowWidth.value <= 360)
57
- return 340;
58
- if (windowWidth.value <= 480)
59
- return windowWidth.value - 20;
60
- if (windowWidth.value <= 768)
61
- return 400;
62
- return 420;
63
- });
64
- const updateWidth = () => {
65
- windowWidth.value = window.innerWidth;
66
- };
67
- (0, vue_1.onMounted)(() => {
68
- window.addEventListener('resize', updateWidth);
69
- });
70
- (0, vue_1.onUnmounted)(() => {
71
- window.removeEventListener('resize', updateWidth);
72
- });
73
- const __VLS_ctx = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, {}), {}), {}), {}), {});
74
- let __VLS_components;
75
- let __VLS_intrinsics;
76
- let __VLS_directives;
77
- const __VLS_0 = Modal_vue_1.default || Modal_vue_1.default;
78
- // @ts-ignore
79
- const __VLS_1 = __VLS_asFunctionalComponent1(__VLS_0, new __VLS_0(Object.assign({ 'onClose': {} }, { maxWidth: (__VLS_ctx.maxWidth) })));
80
- const __VLS_2 = __VLS_1(Object.assign({ 'onClose': {} }, { maxWidth: (__VLS_ctx.maxWidth) }), ...__VLS_functionalComponentArgsRest(__VLS_1));
81
- let __VLS_5;
82
- const __VLS_6 = ({ close: {} },
83
- { onClose: (...[$event]) => {
84
- __VLS_ctx.close();
85
- // @ts-ignore
86
- [maxWidth, close,];
87
- } });
88
- var __VLS_7 = {};
89
- const { default: __VLS_8 } = __VLS_3.slots;
90
- if (__VLS_ctx.component === 'sign-in') {
91
- const __VLS_9 = SignIn_vue_1.default;
92
- // @ts-ignore
93
- const __VLS_10 = __VLS_asFunctionalComponent1(__VLS_9, new __VLS_9(Object.assign({ 'onSignUp': {} }, { 'onCompleted': {} })));
94
- const __VLS_11 = __VLS_10(Object.assign({ 'onSignUp': {} }, { 'onCompleted': {} }), ...__VLS_functionalComponentArgsRest(__VLS_10));
95
- let __VLS_14;
96
- const __VLS_15 = ({ signUp: {} },
97
- { onSignUp: (...[$event]) => {
98
- if (!(__VLS_ctx.component === 'sign-in'))
99
- return;
100
- __VLS_ctx.signUp();
101
- // @ts-ignore
102
- [component, signUp,];
103
- } });
104
- const __VLS_16 = ({ completed: {} },
105
- { onCompleted: (...[$event]) => {
106
- if (!(__VLS_ctx.component === 'sign-in'))
107
- return;
108
- __VLS_ctx.close();
109
- // @ts-ignore
110
- [close,];
111
- } });
112
- var __VLS_12;
113
- var __VLS_13;
114
- }
115
- if (__VLS_ctx.component === 'sign-up') {
116
- const __VLS_17 = SignUp_vue_1.default;
117
- // @ts-ignore
118
- const __VLS_18 = __VLS_asFunctionalComponent1(__VLS_17, new __VLS_17(Object.assign({ 'onSignIn': {} }, { 'onCompleted': {} })));
119
- const __VLS_19 = __VLS_18(Object.assign({ 'onSignIn': {} }, { 'onCompleted': {} }), ...__VLS_functionalComponentArgsRest(__VLS_18));
120
- let __VLS_22;
121
- const __VLS_23 = ({ signIn: {} },
122
- { onSignIn: (...[$event]) => {
123
- if (!(__VLS_ctx.component === 'sign-up'))
124
- return;
125
- __VLS_ctx.signIn();
126
- // @ts-ignore
127
- [component, signIn,];
128
- } });
129
- const __VLS_24 = ({ completed: {} },
130
- { onCompleted: (...[$event]) => {
131
- if (!(__VLS_ctx.component === 'sign-up'))
132
- return;
133
- __VLS_ctx.close();
134
- // @ts-ignore
135
- [close,];
136
- } });
137
- var __VLS_20;
138
- var __VLS_21;
139
- }
140
- // @ts-ignore
141
- [];
142
- var __VLS_3;
143
- var __VLS_4;
144
- // @ts-ignore
145
- [];
146
- const __VLS_export = (await Promise.resolve().then(() => __importStar(require('vue')))).defineComponent({
147
- emits: {},
148
- });
149
- exports.default = {};
@@ -1,165 +0,0 @@
1
- "use strict";
2
- /// <reference types="../../../node_modules/@vue/language-core/types/template-helpers.d.ts" />
3
- /// <reference types="../../../node_modules/@vue/language-core/types/props-fallback.d.ts" />
4
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
- if (k2 === undefined) k2 = k;
6
- var desc = Object.getOwnPropertyDescriptor(m, k);
7
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
- desc = { enumerable: true, get: function() { return m[k]; } };
9
- }
10
- Object.defineProperty(o, k2, desc);
11
- }) : (function(o, m, k, k2) {
12
- if (k2 === undefined) k2 = k;
13
- o[k2] = m[k];
14
- }));
15
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
- Object.defineProperty(o, "default", { enumerable: true, value: v });
17
- }) : function(o, v) {
18
- o["default"] = v;
19
- });
20
- var __importStar = (this && this.__importStar) || (function () {
21
- var ownKeys = function(o) {
22
- ownKeys = Object.getOwnPropertyNames || function (o) {
23
- var ar = [];
24
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
25
- return ar;
26
- };
27
- return ownKeys(o);
28
- };
29
- return function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- })();
37
- var __importDefault = (this && this.__importDefault) || function (mod) {
38
- return (mod && mod.__esModule) ? mod : { "default": mod };
39
- };
40
- Object.defineProperty(exports, "__esModule", { value: true });
41
- const vue_1 = require("vue");
42
- const Modal_vue_1 = __importDefault(require("./Modal.vue"));
43
- const SignIn_vue_1 = __importDefault(require("../SignIn.vue"));
44
- const SignUp_vue_1 = __importDefault(require("../SignUp.vue"));
45
- const useAtm_1 = require("../../composables/useAtm");
46
- const { configurations } = (0, useAtm_1.useAtm)();
47
- const emit = defineEmits([
48
- 'close',
49
- ]);
50
- const close = () => {
51
- emit('close');
52
- };
53
- const component = (0, vue_1.ref)('sign-up');
54
- const isRegistrationAllowed = (0, vue_1.computed)(() => { var _a, _b; return ((_b = (_a = configurations.value) === null || _a === void 0 ? void 0 : _a.register) === null || _b === void 0 ? void 0 : _b.enable) !== false; });
55
- const signUp = () => component.value = 'sign-up';
56
- const signIn = () => component.value = 'sign-in';
57
- const windowWidth = (0, vue_1.ref)(typeof window !== 'undefined' ? window.innerWidth : 1024);
58
- const maxWidth = (0, vue_1.computed)(() => {
59
- if (windowWidth.value <= 360)
60
- return 340;
61
- if (windowWidth.value <= 480)
62
- return windowWidth.value - 20;
63
- if (windowWidth.value <= 768)
64
- return 400;
65
- return 420;
66
- });
67
- const updateWidth = () => {
68
- windowWidth.value = window.innerWidth;
69
- };
70
- (0, vue_1.onMounted)(() => {
71
- window.addEventListener('resize', updateWidth);
72
- });
73
- (0, vue_1.onUnmounted)(() => {
74
- window.removeEventListener('resize', updateWidth);
75
- });
76
- const __VLS_ctx = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, {}), {}), {}), {}), {});
77
- let __VLS_components;
78
- let __VLS_intrinsics;
79
- let __VLS_directives;
80
- const __VLS_0 = Modal_vue_1.default || Modal_vue_1.default;
81
- // @ts-ignore
82
- const __VLS_1 = __VLS_asFunctionalComponent1(__VLS_0, new __VLS_0(Object.assign({ 'onClose': {} }, { maxWidth: (__VLS_ctx.maxWidth) })));
83
- const __VLS_2 = __VLS_1(Object.assign({ 'onClose': {} }, { maxWidth: (__VLS_ctx.maxWidth) }), ...__VLS_functionalComponentArgsRest(__VLS_1));
84
- let __VLS_5;
85
- const __VLS_6 = ({ close: {} },
86
- { onClose: (...[$event]) => {
87
- __VLS_ctx.close();
88
- // @ts-ignore
89
- [maxWidth, close,];
90
- } });
91
- var __VLS_7 = {};
92
- const { default: __VLS_8 } = __VLS_3.slots;
93
- if (__VLS_ctx.component === 'sign-in') {
94
- const __VLS_9 = SignIn_vue_1.default;
95
- // @ts-ignore
96
- const __VLS_10 = __VLS_asFunctionalComponent1(__VLS_9, new __VLS_9(Object.assign({ 'onSignUp': {} }, { 'onCompleted': {} })));
97
- const __VLS_11 = __VLS_10(Object.assign({ 'onSignUp': {} }, { 'onCompleted': {} }), ...__VLS_functionalComponentArgsRest(__VLS_10));
98
- let __VLS_14;
99
- const __VLS_15 = ({ signUp: {} },
100
- { onSignUp: (...[$event]) => {
101
- if (!(__VLS_ctx.component === 'sign-in'))
102
- return;
103
- __VLS_ctx.signUp();
104
- // @ts-ignore
105
- [component, signUp,];
106
- } });
107
- const __VLS_16 = ({ completed: {} },
108
- { onCompleted: (...[$event]) => {
109
- if (!(__VLS_ctx.component === 'sign-in'))
110
- return;
111
- __VLS_ctx.close();
112
- // @ts-ignore
113
- [close,];
114
- } });
115
- var __VLS_12;
116
- var __VLS_13;
117
- }
118
- if (__VLS_ctx.component === 'sign-up' && __VLS_ctx.isRegistrationAllowed) {
119
- const __VLS_17 = SignUp_vue_1.default;
120
- // @ts-ignore
121
- const __VLS_18 = __VLS_asFunctionalComponent1(__VLS_17, new __VLS_17(Object.assign({ 'onSignIn': {} }, { 'onCompleted': {} })));
122
- const __VLS_19 = __VLS_18(Object.assign({ 'onSignIn': {} }, { 'onCompleted': {} }), ...__VLS_functionalComponentArgsRest(__VLS_18));
123
- let __VLS_22;
124
- const __VLS_23 = ({ signIn: {} },
125
- { onSignIn: (...[$event]) => {
126
- if (!(__VLS_ctx.component === 'sign-up' && __VLS_ctx.isRegistrationAllowed))
127
- return;
128
- __VLS_ctx.signIn();
129
- // @ts-ignore
130
- [component, isRegistrationAllowed, signIn,];
131
- } });
132
- const __VLS_24 = ({ completed: {} },
133
- { onCompleted: (...[$event]) => {
134
- if (!(__VLS_ctx.component === 'sign-up' && __VLS_ctx.isRegistrationAllowed))
135
- return;
136
- __VLS_ctx.close();
137
- // @ts-ignore
138
- [close,];
139
- } });
140
- var __VLS_20;
141
- var __VLS_21;
142
- }
143
- else if (__VLS_ctx.component === 'sign-up') {
144
- __VLS_asFunctionalElement1(__VLS_intrinsics.div, __VLS_intrinsics.div)(Object.assign({ style: {} }));
145
- __VLS_asFunctionalElement1(__VLS_intrinsics.p, __VLS_intrinsics.p)(Object.assign({ style: {} }));
146
- __VLS_asFunctionalElement1(__VLS_intrinsics.button, __VLS_intrinsics.button)(Object.assign({ onClick: (...[$event]) => {
147
- if (!!(__VLS_ctx.component === 'sign-up' && __VLS_ctx.isRegistrationAllowed))
148
- return;
149
- if (!(__VLS_ctx.component === 'sign-up'))
150
- return;
151
- __VLS_ctx.signIn();
152
- // @ts-ignore
153
- [component, signIn,];
154
- } }, { style: {} }));
155
- }
156
- // @ts-ignore
157
- [];
158
- var __VLS_3;
159
- var __VLS_4;
160
- // @ts-ignore
161
- [];
162
- const __VLS_export = (await Promise.resolve().then(() => __importStar(require('vue')))).defineComponent({
163
- emits: {},
164
- });
165
- exports.default = {};
@@ -1,95 +0,0 @@
1
- "use strict";
2
- /// <reference types="../../node_modules/@vue/language-core/types/template-helpers.d.ts" />
3
- /// <reference types="../../node_modules/@vue/language-core/types/props-fallback.d.ts" />
4
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
- if (k2 === undefined) k2 = k;
6
- var desc = Object.getOwnPropertyDescriptor(m, k);
7
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
- desc = { enumerable: true, get: function() { return m[k]; } };
9
- }
10
- Object.defineProperty(o, k2, desc);
11
- }) : (function(o, m, k, k2) {
12
- if (k2 === undefined) k2 = k;
13
- o[k2] = m[k];
14
- }));
15
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
- Object.defineProperty(o, "default", { enumerable: true, value: v });
17
- }) : function(o, v) {
18
- o["default"] = v;
19
- });
20
- var __importStar = (this && this.__importStar) || (function () {
21
- var ownKeys = function(o) {
22
- ownKeys = Object.getOwnPropertyNames || function (o) {
23
- var ar = [];
24
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
25
- return ar;
26
- };
27
- return ownKeys(o);
28
- };
29
- return function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- })();
37
- Object.defineProperty(exports, "__esModule", { value: true });
38
- const __VLS_props = withDefaults(defineProps(), {
39
- type: 'error'
40
- });
41
- const __VLS_defaults = {
42
- type: 'error'
43
- };
44
- const __VLS_ctx = Object.assign(Object.assign(Object.assign({}, {}), {}), {});
45
- let __VLS_components;
46
- let __VLS_intrinsics;
47
- let __VLS_directives;
48
- /** @type {__VLS_StyleScopedClasses['atm-notification-container']} */ ;
49
- /** @type {__VLS_StyleScopedClasses['atm-notification']} */ ;
50
- /** @type {__VLS_StyleScopedClasses['atm-notification-container']} */ ;
51
- /** @type {__VLS_StyleScopedClasses['atm-notification']} */ ;
52
- /** @type {__VLS_StyleScopedClasses['atm-notification-container']} */ ;
53
- /** @type {__VLS_StyleScopedClasses['atm-notification']} */ ;
54
- let __VLS_0;
55
- /** @ts-ignore @type {typeof __VLS_components.Teleport | typeof __VLS_components.Teleport} */
56
- Teleport;
57
- // @ts-ignore
58
- const __VLS_1 = __VLS_asFunctionalComponent1(__VLS_0, new __VLS_0({
59
- to: "body",
60
- }));
61
- const __VLS_2 = __VLS_1({
62
- to: "body",
63
- }, ...__VLS_functionalComponentArgsRest(__VLS_1));
64
- const { default: __VLS_5 } = __VLS_3.slots;
65
- let __VLS_6;
66
- /** @ts-ignore @type {typeof __VLS_components.Transition | typeof __VLS_components.Transition} */
67
- Transition;
68
- // @ts-ignore
69
- const __VLS_7 = __VLS_asFunctionalComponent1(__VLS_6, new __VLS_6({
70
- name: "atm-notification",
71
- }));
72
- const __VLS_8 = __VLS_7({
73
- name: "atm-notification",
74
- }, ...__VLS_functionalComponentArgsRest(__VLS_7));
75
- const { default: __VLS_11 } = __VLS_9.slots;
76
- if (__VLS_ctx.show) {
77
- __VLS_asFunctionalElement1(__VLS_intrinsics.div, __VLS_intrinsics.div)(Object.assign({ class: "atm-notification-container" }));
78
- /** @type {__VLS_StyleScopedClasses['atm-notification-container']} */ ;
79
- __VLS_asFunctionalElement1(__VLS_intrinsics.div, __VLS_intrinsics.div)(Object.assign({ class: "atm-notification" }, { class: (`atm-notification--${__VLS_ctx.type}`) }));
80
- /** @type {__VLS_StyleScopedClasses['atm-notification']} */ ;
81
- (__VLS_ctx.message);
82
- }
83
- // @ts-ignore
84
- [show, type, message,];
85
- var __VLS_9;
86
- // @ts-ignore
87
- [];
88
- var __VLS_3;
89
- // @ts-ignore
90
- [];
91
- const __VLS_export = (await Promise.resolve().then(() => __importStar(require('vue')))).defineComponent({
92
- __typeProps: {},
93
- props: {},
94
- });
95
- exports.default = {};