@vc-shell/framework 1.0.87 → 1.0.89
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/CHANGELOG.md +14 -0
- package/core/api/catalog.ts +8527 -0
- package/core/api/platform.ts +83 -17
- package/core/composables/useNotifications/index.ts +1 -1
- package/core/composables/useSettings/index.ts +1 -1
- package/core/composables/useUser/index.ts +3 -3
- package/core/plugins/signalR/index.ts +1 -1
- package/core/types/index.ts +1 -1
- package/dist/core/api/catalog.d.ts +2522 -0
- package/dist/core/api/catalog.d.ts.map +1 -0
- package/dist/core/api/platform.d.ts +82 -16
- package/dist/core/api/platform.d.ts.map +1 -1
- package/dist/core/composables/useNotifications/index.d.ts +1 -1
- package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
- package/dist/core/composables/useUser/index.d.ts +1 -1
- package/dist/core/composables/useUser/index.d.ts.map +1 -1
- package/dist/core/types/index.d.ts +1 -1
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/framework.mjs +18434 -18227
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts +1 -1
- package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts.map +1 -1
- package/dist/shared/components/app-switcher/composables/useAppSwitcher/index.d.ts +1 -1
- package/dist/shared/components/app-switcher/composables/useAppSwitcher/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/types/index.d.ts +1 -1
- package/dist/shared/components/blade-navigation/types/index.d.ts.map +1 -1
- package/dist/shared/components/change-password/change-password.vue.d.ts.map +1 -1
- package/dist/shared/components/language-selector/index.d.ts +5 -5
- package/dist/shared/components/language-selector/language-selector.vue.d.ts +1 -1
- package/dist/shared/components/notifications/components/notification-container/index.d.ts +1 -1
- package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts.map +1 -1
- package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts.map +1 -1
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
- package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts.map +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/index.d.ts +20 -0
- package/dist/ui/components/atoms/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-button/index.d.ts +10 -10
- package/dist/ui/components/atoms/vc-checkbox/index.d.ts +11 -11
- package/dist/ui/components/atoms/vc-icon/index.d.ts +6 -6
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-info-row/index.d.ts +8 -8
- package/dist/ui/components/atoms/vc-label/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-status/index.d.ts +15 -15
- package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts +1 -1
- package/dist/ui/components/index.d.ts +3 -41
- package/dist/ui/components/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/index.d.ts +14 -0
- package/dist/ui/components/molecules/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-code-editor/index.d.ts +11 -26
- package/dist/ui/components/molecules/vc-code-editor/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-code-editor/vc-code-editor.vue.d.ts +0 -4
- package/dist/ui/components/molecules/vc-code-editor/vc-code-editor.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/index.d.ts +11 -26
- package/dist/ui/components/molecules/vc-editor/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +0 -4
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input/index.d.ts +29 -29
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-input-currency/index.d.ts +24 -24
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-textarea/index.d.ts +20 -20
- package/dist/ui/components/organisms/index.d.ts +10 -0
- package/dist/ui/components/organisms/index.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/index.d.ts +12 -12
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/index.d.ts +13 -13
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-notification-dropdown/_internal/notification/notification.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-notification-dropdown/_internal/notification/notification.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-notification-dropdown/vc-notification-dropdown.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-notification-dropdown/vc-notification-dropdown.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-error/vc-popup-error.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-warning/vc-popup-warning.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/index.d.ts +9 -9
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
- package/package.json +3 -3
- package/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +1 -1
- package/shared/components/app-switcher/composables/useAppSwitcher/index.ts +1 -1
- package/shared/components/blade-navigation/types/index.ts +1 -1
- package/shared/components/change-password/change-password.vue +16 -14
- package/shared/modules/assets/components/assets-details/assets-details.vue +14 -14
- package/shared/modules/assets/locales/en.json +1 -0
- package/shared/modules/assets-manager/components/assets-manager/assets-manager.vue +7 -7
- package/shared/pages/InvitePage/components/invite/Invite.vue +12 -10
- package/shared/pages/LoginPage/components/login/Login.vue +19 -17
- package/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue +11 -9
- package/ui/components/atoms/index.ts +19 -0
- package/ui/components/index.ts +3 -41
- package/ui/components/molecules/index.ts +13 -0
- package/ui/components/molecules/vc-code-editor/vc-code-editor.vue +0 -2
- package/ui/components/molecules/vc-editor/vc-editor.vue +0 -2
- package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +6 -2
- package/ui/components/molecules/vc-select/vc-select.vue +6 -3
- package/ui/components/organisms/index.ts +9 -0
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +4 -1
- package/ui/components/organisms/vc-blade/vc-blade.vue +1 -1
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +1 -1
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue +5 -4
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue +5 -2
- package/ui/components/organisms/vc-gallery/vc-gallery.vue +3 -2
- package/ui/components/organisms/vc-notification-dropdown/_internal/notification/notification.vue +1 -1
- package/ui/components/organisms/vc-notification-dropdown/vc-notification-dropdown.vue +5 -4
- package/ui/components/organisms/vc-popup/_internal/vc-popup-error/vc-popup-error.vue +4 -1
- package/ui/components/organisms/vc-popup/_internal/vc-popup-warning/vc-popup-warning.vue +5 -2
- package/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +3 -1
- package/ui/components/organisms/vc-table/vc-table.vue +8 -5
- package/ui/locales/en.json +32 -0
- package/core/api/index.ts +0 -1
- package/dist/core/api/index.d.ts +0 -2
- package/dist/core/api/index.d.ts.map +0 -1
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
v-else
|
|
75
75
|
class="tw-flex tw-justify-center tw-items-center tw-p-4"
|
|
76
76
|
>
|
|
77
|
-
{{
|
|
77
|
+
{{ t("COMPONENTS.ORGANISMS.VC_NOTIFICATION_DROPDOWN.EMPTY") }}
|
|
78
78
|
</div>
|
|
79
79
|
</VcContainer>
|
|
80
80
|
</div>
|
|
@@ -82,12 +82,13 @@
|
|
|
82
82
|
</template>
|
|
83
83
|
|
|
84
84
|
<script lang="ts" setup>
|
|
85
|
-
import { ref
|
|
85
|
+
import { ref } from "vue";
|
|
86
86
|
import NotificationItem from "./_internal/notification/notification.vue";
|
|
87
|
-
import { PushNotification } from "./../../../../core/api";
|
|
87
|
+
import { PushNotification } from "./../../../../core/api/platform";
|
|
88
88
|
import { VcCol, VcContainer, VcIcon } from "./../../";
|
|
89
89
|
import { vOnClickOutside } from "@vueuse/components";
|
|
90
90
|
import { NotificationTemplateConstructor } from "./../../../../core/types";
|
|
91
|
+
import { useI18n } from "vue-i18n";
|
|
91
92
|
|
|
92
93
|
export interface Props {
|
|
93
94
|
title: string;
|
|
@@ -99,7 +100,7 @@ export interface Props {
|
|
|
99
100
|
}
|
|
100
101
|
|
|
101
102
|
const props = defineProps<Props>();
|
|
102
|
-
|
|
103
|
+
const { t } = useI18n({ useScope: "global" });
|
|
103
104
|
const isDropdownVisible = ref(false);
|
|
104
105
|
|
|
105
106
|
const handleClick = async (notification: PushNotification) => {
|
|
@@ -12,17 +12,20 @@
|
|
|
12
12
|
<VcButton
|
|
13
13
|
class="tw-ml-auto"
|
|
14
14
|
@click="$emit('close')"
|
|
15
|
-
>OK</VcButton
|
|
15
|
+
>{{ t("COMPONENTS.ORGANISMS.VC_POPUP.OK") }}</VcButton
|
|
16
16
|
>
|
|
17
17
|
</div>
|
|
18
18
|
</template>
|
|
19
19
|
|
|
20
20
|
<script setup lang="ts">
|
|
21
21
|
import { VcButton } from "./../../../../";
|
|
22
|
+
import { useI18n } from "vue-i18n";
|
|
22
23
|
|
|
23
24
|
export interface Emits {
|
|
24
25
|
(event: "close"): void;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
defineEmits<Emits>();
|
|
29
|
+
|
|
30
|
+
const { t } = useI18n({ useScope: "global" });
|
|
28
31
|
</script>
|
|
@@ -14,14 +14,15 @@
|
|
|
14
14
|
text
|
|
15
15
|
class="tw-mr-5 tw-text-[#FF4A4A]"
|
|
16
16
|
@click="$emit('confirm')"
|
|
17
|
-
>
|
|
17
|
+
>{{ t("COMPONENTS.ORGANISMS.VC_POPUP.CONFIRM") }}</VcButton
|
|
18
18
|
>
|
|
19
|
-
<VcButton @click="$emit('close')">
|
|
19
|
+
<VcButton @click="$emit('close')">{{ t("COMPONENTS.ORGANISMS.VC_POPUP.CANCEL") }}</VcButton>
|
|
20
20
|
</div>
|
|
21
21
|
</div>
|
|
22
22
|
</template>
|
|
23
23
|
|
|
24
24
|
<script setup lang="ts">
|
|
25
|
+
import { useI18n } from "vue-i18n";
|
|
25
26
|
import { VcButton } from "./../../../../";
|
|
26
27
|
|
|
27
28
|
export interface Emits {
|
|
@@ -30,4 +31,6 @@ export interface Emits {
|
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
defineEmits<Emits>();
|
|
34
|
+
|
|
35
|
+
const { t } = useI18n({ useScope: "global" });
|
|
33
36
|
</script>
|
package/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue
CHANGED
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
>
|
|
85
85
|
<div class="tw-flex tw-w-full tw-items-center">
|
|
86
86
|
<span class="tw-grow tw-text-[#2e3d4e] tw-text-[19px] tw-font-semibold tw-tracking-[-0.01em]">
|
|
87
|
-
{{
|
|
87
|
+
{{ t("COMPONENTS.ORGANISMS.VC_TABLE.ALL_ACTIONS") }}
|
|
88
88
|
</span>
|
|
89
89
|
<VcIcon
|
|
90
90
|
class="tw-text-[#c2d7e4]"
|
|
@@ -121,6 +121,7 @@
|
|
|
121
121
|
<script lang="ts" setup generic="T extends TableItem | string">
|
|
122
122
|
import { computed, ref, watch } from "vue";
|
|
123
123
|
import { IActionBuilderResult } from "./../../../../../../core/types";
|
|
124
|
+
import { useI18n } from "vue-i18n";
|
|
124
125
|
|
|
125
126
|
export interface Emits {
|
|
126
127
|
(event: "swipeStart", id: string): void;
|
|
@@ -144,6 +145,7 @@ const props = withDefaults(
|
|
|
144
145
|
);
|
|
145
146
|
|
|
146
147
|
const emit = defineEmits<Emits>();
|
|
148
|
+
const { t } = useI18n({ useScope: "global" });
|
|
147
149
|
const offsetX = ref(0);
|
|
148
150
|
const startX = ref(0);
|
|
149
151
|
const startY = ref(0);
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
class="tw-ml-3"
|
|
41
41
|
>
|
|
42
42
|
<VcTableFilter
|
|
43
|
-
:title="
|
|
43
|
+
:title="t('COMPONENTS.ORGANISMS.VC_TABLE.ALL_FILTERS')"
|
|
44
44
|
:counter="activeFilterCount"
|
|
45
45
|
:parent-expanded="expanded"
|
|
46
46
|
>
|
|
@@ -209,8 +209,8 @@
|
|
|
209
209
|
<div>
|
|
210
210
|
{{
|
|
211
211
|
allSelected
|
|
212
|
-
?
|
|
213
|
-
:
|
|
212
|
+
? t("COMPONENTS.ORGANISMS.VC_TABLE.ALL_SELECTED")
|
|
213
|
+
: t("COMPONENTS.ORGANISMS.VC_TABLE.CURRENT_PAGE_SELECTED")
|
|
214
214
|
}}
|
|
215
215
|
<VcButton
|
|
216
216
|
text
|
|
@@ -218,8 +218,8 @@
|
|
|
218
218
|
@click="handleSelectAll"
|
|
219
219
|
>{{
|
|
220
220
|
allSelected
|
|
221
|
-
?
|
|
222
|
-
:
|
|
221
|
+
? t("COMPONENTS.ORGANISMS.VC_TABLE.CANCEL")
|
|
222
|
+
: t("COMPONENTS.ORGANISMS.VC_TABLE.SELECT_ALL")
|
|
223
223
|
}}</VcButton
|
|
224
224
|
>
|
|
225
225
|
</div>
|
|
@@ -433,6 +433,7 @@ import { offset, flip, arrow, computePosition, ComputePositionReturn } from "@fl
|
|
|
433
433
|
import { IActionBuilderResult, ITableColumns } from "./../../../../core/types";
|
|
434
434
|
import { useLocalStorage, useCurrentElement } from "@vueuse/core";
|
|
435
435
|
import { VcContainer, VcInput, VcCheckbox, VcIcon, VcPagination, VcButton, VcLoading } from "./../../";
|
|
436
|
+
import { useI18n } from "vue-i18n";
|
|
436
437
|
|
|
437
438
|
export interface StatusImage {
|
|
438
439
|
image?: string;
|
|
@@ -524,6 +525,8 @@ const emit = defineEmits<{
|
|
|
524
525
|
(event: "select:all", values: boolean): void;
|
|
525
526
|
}>();
|
|
526
527
|
|
|
528
|
+
const { t } = useI18n({ useScope: "global" });
|
|
529
|
+
|
|
527
530
|
// template refs
|
|
528
531
|
const tooltipRefs = ref<ITableItemRef[]>([]);
|
|
529
532
|
const tooltipArrowRefs = ref<ITableItemRef[] | null>([]);
|
package/ui/locales/en.json
CHANGED
|
@@ -1,6 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"COMPONENTS": {
|
|
3
|
+
"MOLECULES": {
|
|
4
|
+
"VC_SELECT": {
|
|
5
|
+
"CLICK_TO_SELECT": "Click to select..."
|
|
6
|
+
},
|
|
7
|
+
"VC_FILE_UPLOAD":{
|
|
8
|
+
"DRAG_HERE": "Drag and drop file here or",
|
|
9
|
+
"BROWSE":"browse your files"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
3
12
|
"ORGANISMS": {
|
|
13
|
+
"VC_GALLERY":{
|
|
14
|
+
"INTERNAL": {
|
|
15
|
+
"VC_GALLERY_ITEM":{
|
|
16
|
+
"FULLSCREEN":"Fullscreen",
|
|
17
|
+
"EDIT":"Edit",
|
|
18
|
+
"DELETE":"Delete"
|
|
19
|
+
},
|
|
20
|
+
"VC_GALLERY_PREVIEW":{
|
|
21
|
+
"COPY_IMAGE_LINK": "copy image link"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"GALLERY_IS_EMPTY": "Gallery is empty"
|
|
25
|
+
},
|
|
26
|
+
"VC_APP": {
|
|
27
|
+
"INTERNAL":{
|
|
28
|
+
"VC_APP_BAR": {
|
|
29
|
+
"BACK":"Back"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
4
33
|
"VC_BLADE": {
|
|
5
34
|
"SEE_DETAILS": "See details",
|
|
6
35
|
"ERROR_POPUP": {
|
|
@@ -19,6 +48,9 @@
|
|
|
19
48
|
"EMPTY": "No notifications yet"
|
|
20
49
|
},
|
|
21
50
|
"VC_POPUP": {
|
|
51
|
+
"OK":"OK",
|
|
52
|
+
"CONFIRM":"Confirm",
|
|
53
|
+
"CANCEL":"Cancel",
|
|
22
54
|
"TITLE": {
|
|
23
55
|
"CONFIRMATION": "Confirmation",
|
|
24
56
|
"ERROR": "Error"
|
package/core/api/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./platform";
|
package/dist/core/api/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../core/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|