@bagelink/vue 0.0.62 → 0.0.68

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "0.0.62",
4
+ "version": "0.0.68",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -64,7 +64,7 @@
64
64
  "prosemirror-state": "^1.4.3",
65
65
  "prosemirror-view": "^1.32.4",
66
66
  "@vue-macros/reactivity-transform": "^0.4.0",
67
- "@bagelink/sdk": "0.0.62"
67
+ "@bagelink/sdk": "0.0.68"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "@bagelink/sdk": "*"
@@ -68,7 +68,7 @@
68
68
 
69
69
  <script lang="ts" setup>
70
70
  import { onMounted, watch } from 'vue';
71
- import { useBagel } from 'src/plugins/bagel';
71
+ import { useBagel } from '@/index';
72
72
  import { Btn, MaterialIcon, RTXEditor } from '@/components';
73
73
 
74
74
  const bagel = useBagel();
@@ -9,7 +9,7 @@
9
9
 
10
10
  <script setup lang="ts">
11
11
  import { onMounted } from 'vue';
12
- import { useBagel } from 'src/plugins/bagel';
12
+ import { useBagel } from '@/index';
13
13
  import { TableSchema } from '@/components';
14
14
 
15
15
  const bagel = useBagel();
@@ -49,8 +49,8 @@
49
49
  </template>
50
50
 
51
51
  <script setup lang="ts">
52
- import { useBagel } from 'src/plugins/bagel';
53
52
  import { ref, onMounted, onUnmounted } from 'vue';
53
+ import { useBagel } from '@/index';
54
54
 
55
55
  const bagel = useBagel();
56
56
 
@@ -75,8 +75,8 @@
75
75
  </template>
76
76
 
77
77
  <script lang="ts" setup>
78
- import { useBagel } from 'src/plugins/bagel';
79
78
  import type { FormKitSchemaDefinition } from '@formkit/core';
79
+ import { useBagel } from '@/index';
80
80
  import type { Person } from '@/types';
81
81
  import {
82
82
  initials, useModal,
@@ -76,8 +76,8 @@
76
76
  </template>
77
77
 
78
78
  <script lang="ts" setup>
79
- import { useBagel } from 'src/plugins/bagel';
80
79
  import type { FormKitSchemaDefinition } from '@formkit/core';
80
+ import { useBagel } from '@/index';
81
81
  import type { Person } from '@/types';
82
82
  import {
83
83
  useModal, initials,
@@ -7,9 +7,10 @@
7
7
  <label v-if="label">
8
8
  <LangText :input="label" />
9
9
  </label>
10
+ <!-- :title="formatDuration(modelValue)" -->
10
11
  <input
11
12
  :value="modelValue"
12
- :title="formatDuration(modelValue)"
13
+ :title="modelValue"
13
14
  type="number"
14
15
  @input="handleInput"
15
16
  :placeholder="bagelApp.translate(placeholder, true)"
@@ -22,7 +23,7 @@
22
23
  // @ts-ignore TODO: remove this Nati
23
24
  import { bagelApp } from '../../../index';
24
25
  // @ts-ignore TODO: remove this Nati
25
- import { formatDuration } from '../../../composables';
26
+ // import { formatDuration } from '../../../composables';
26
27
 
27
28
  const emits = defineEmits(['update:modelValue']);
28
29
  // @ts-ignore TODO: remove this Nati
@@ -87,7 +87,7 @@
87
87
  <script setup lang="ts">
88
88
  import { watch } from 'vue';
89
89
  // import type { BagelField } from '@/types/BagelField';
90
- import { useBagel } from 'src/plugins/bagel';
90
+ import { useBagel } from '@/index';
91
91
  import { Btn } from '@/components';
92
92
  import Checkbox from '../form/inputs/Checkbox.vue';
93
93
 
@@ -113,7 +113,7 @@
113
113
  import { watch } from 'vue';
114
114
  // import type { BagelField } from '@/types/BagelField';
115
115
 
116
- import { useBagel } from 'src/plugins/bagel';
116
+ import { useBagel } from '@/index';
117
117
  import { Btn } from '@/components';
118
118
  import Checkbox from '../form/inputs/Checkbox.vue';
119
119
 
@@ -77,7 +77,7 @@
77
77
  <script setup lang="ts">
78
78
  import { watch } from 'vue';
79
79
  // import type { BagelField } from '@/types/BagelField';
80
- import { useBagel } from 'src/plugins/bagel';
80
+ import { useBagel } from '@/index';
81
81
  import { Btn } from '@/components';
82
82
  import Checkbox from '../form/inputs/Checkbox.vue';
83
83
 
@@ -92,7 +92,7 @@ interface UploadFile {
92
92
  }
93
93
 
94
94
  import { onMounted, onUnmounted } from 'vue';
95
- import { useBagel } from 'src/plugins/bagel';
95
+ import { useBagel } from '@/index';
96
96
  import { MaterialIcon, Btn } from '@/components';
97
97
 
98
98
  const bagel = useBagel();
@@ -35,9 +35,9 @@
35
35
  <script setup lang="ts">
36
36
  import { onMounted } from 'vue';
37
37
 
38
- import { useBagel } from 'src/plugins/bagel';
39
38
  import type { FormKitSchemaDefinition } from '@formkit/core';
40
39
  import type { RouteLocationNormalizedLoaded, Router } from 'vue-router';
40
+ import { useBagel } from '@/index';
41
41
  import {
42
42
  BodyComponent,
43
43
  HeaderComponent,
package/tsconfig.json CHANGED
@@ -11,24 +11,30 @@
11
11
  "@vue-macros/reactivity-transform/macros-global"
12
12
  ],
13
13
  "paths": {
14
- "@/components": [
15
- "./src/components/index.ts"
14
+ "@": [
15
+ "./src/index.ts"
16
16
  ],
17
- "@/components/*": [
18
- "./src/components/*"
19
- ],
20
- "@/types": [
21
- "./src/types/index.ts"
22
- ],
23
- "@/types/*": [
24
- "./src/types/*"
25
- ],
26
- "@/utils": [
27
- "./src/utils/index.ts"
28
- ],
29
- "@/utils/*": [
30
- "./src/utils/*"
17
+ "@/*": [
18
+ "./src/*"
31
19
  ],
20
+ // "@/components": [
21
+ // "./src/components/index.ts"
22
+ // ],
23
+ // "@/components/*": [
24
+ // "./src/components/*"
25
+ // ],
26
+ // "@/types": [
27
+ // "./src/types/index.ts"
28
+ // ],
29
+ // "@/types/*": [
30
+ // "./src/types/*"
31
+ // ],
32
+ // "@/utils": [
33
+ // "./src/utils/index.ts"
34
+ // ],
35
+ // "@/utils/*": [
36
+ // "./src/utils/*"
37
+ // ],
32
38
  },
33
39
  },
34
40
  "include": [