@vc-shell/framework 1.0.309 → 1.0.310
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 +10 -0
- package/dist/{azuread-CVHN6u-A.js → azuread-D_-YSXMY.js} +2 -2
- package/dist/{external-provider-I2yYDHfw.js → external-provider-CxkqPmUa.js} +1 -1
- package/dist/{external-provider.vue_vue_type_script_setup_true_lang-BAOxxyR0.js → external-provider.vue_vue_type_script_setup_true_lang-BX4frPix.js} +1 -1
- package/dist/external-providers-BjKh317l.js +4 -0
- package/dist/framework.js +1 -1
- package/dist/{index-D1fO61ku.js → index-1XoCglle.js} +1 -1
- package/dist/{index-BDDxcLYp.js → index-B3u_K2zK.js} +1 -1
- package/dist/{index-CofbIHEz.js → index-B7Jhi3-9.js} +1 -1
- package/dist/{index-BZ7XFPsA.js → index-BDN9lqET.js} +3499 -3497
- package/dist/{index-B4eTdvNc.js → index-BOrRV1c5.js} +1 -1
- package/dist/{index-CNM5q-Ro.js → index-BWTJFZEI.js} +1 -1
- package/dist/{index-BnZcJmVH.js → index-BffTZ6x3.js} +1 -1
- package/dist/{index-DGKU4zmR.js → index-CX3KIwQO.js} +1 -1
- package/dist/{index-DW42nPtQ.js → index-Cn46fOF_.js} +1 -1
- package/dist/{index-CoXHSk6E.js → index-D05sdNAU.js} +1 -1
- package/dist/{index-DzMeqrFG.js → index-D6dVOtAa.js} +1 -1
- package/dist/{index-BjSgIyCT.js → index-DjRS4HPL.js} +1 -1
- package/dist/{index-BViZ7zRO.js → index-DoEMyMXF.js} +1 -1
- package/dist/{index-DFuHaoGG.js → index-DsZA_G22.js} +1 -1
- package/dist/{index-Bo4__t-E.js → index-Dx60WxW_.js} +1 -1
- package/dist/{index-BpnIcsks.js → index-TfW1-l3Z.js} +1 -1
- package/dist/{index-Bk6YI9KL.js → index-vXt3fADg.js} +1 -1
- package/dist/index.css +1 -1
- package/dist/shared/modules/dynamic/factories/base/useDetailsFactory.d.ts.map +1 -1
- package/package.json +4 -4
- package/shared/components/user-dropdown-button/user-dropdown-button.vue +3 -3
- package/shared/modules/dynamic/factories/base/useDetailsFactory.ts +5 -1
- package/dist/external-providers-hvxRhqie.js +0 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDetailsFactory.d.ts","sourceRoot":"","sources":["../../../../../../shared/modules/dynamic/factories/base/useDetailsFactory.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAoB,UAAU,EAAE,MAAM,UAAU,CAAC;AAGrE,MAAM,WAAW,uBAAuB,CAAC,IAAI;IAC3C,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,GAAG,SAAS,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IACtE,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,KAAK,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC;IACpE,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;CACjD;AAED,eAAO,MAAM,iBAAiB;;
|
|
1
|
+
{"version":3,"file":"useDetailsFactory.d.ts","sourceRoot":"","sources":["../../../../../../shared/modules/dynamic/factories/base/useDetailsFactory.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAoB,UAAU,EAAE,MAAM,UAAU,CAAC;AAGrE,MAAM,WAAW,uBAAuB,CAAC,IAAI;IAC3C,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,GAAG,SAAS,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IACtE,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,KAAK,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC;IACpE,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;CACjD;AAED,eAAO,MAAM,iBAAiB;;yIAkG7B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vc-shell/framework",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.310",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/framework.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@types/dompurify": "^3.0.5",
|
|
62
|
-
"@vc-shell/api-client-generator": "^1.0.
|
|
63
|
-
"@vc-shell/config-generator": "^1.0.
|
|
64
|
-
"@vc-shell/ts-config": "^1.0.
|
|
62
|
+
"@vc-shell/api-client-generator": "^1.0.310",
|
|
63
|
+
"@vc-shell/config-generator": "^1.0.310",
|
|
64
|
+
"@vc-shell/ts-config": "^1.0.310",
|
|
65
65
|
"@vitejs/plugin-vue": "5.0.3",
|
|
66
66
|
"cypress-signalr-mock": "^1.5.0",
|
|
67
67
|
"sass": "^1.69.6",
|
|
@@ -177,7 +177,7 @@ const imageHandler = computed(() => {
|
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
.vc-user-dropdown-button {
|
|
180
|
-
@apply tw-
|
|
180
|
+
@apply tw-border-l tw-border-solid tw-border-l-[color:var(--user-dropdown-border-color)] tw-cursor-pointer
|
|
181
181
|
tw-relative tw-flex tw-h-full tw-flex-col tw-select-none;
|
|
182
182
|
|
|
183
183
|
.vc-app_mobile & {
|
|
@@ -193,7 +193,7 @@ const imageHandler = computed(() => {
|
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
&__wrap {
|
|
196
|
-
@apply tw-flex tw-justify-between tw-items-center tw-flex-auto tw-px-4 tw-bg-[--user-dropdown-wrap-bg];
|
|
196
|
+
@apply tw-flex tw-justify-between tw-items-center tw-flex-auto tw-px-4 tw-bg-[--user-dropdown-wrap-bg] tw-gap-3;
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
&__avatar {
|
|
@@ -206,7 +206,7 @@ const imageHandler = computed(() => {
|
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
&__info {
|
|
209
|
-
@apply tw-grow tw-basis-0 tw-
|
|
209
|
+
@apply tw-grow tw-basis-0 tw-overflow-hidden;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
&__name {
|
|
@@ -77,7 +77,11 @@ export const useDetailsFactory = <Item extends { id?: string }>(factoryParams: U
|
|
|
77
77
|
watch(
|
|
78
78
|
[() => item, () => itemTemp],
|
|
79
79
|
([state, stateCopy]) => {
|
|
80
|
-
isModified.value = !_.
|
|
80
|
+
isModified.value = !_.isEqualWith(stateCopy.value, state.value, (a, b) => {
|
|
81
|
+
if (a === undefined && b === null) return true;
|
|
82
|
+
if (a === null && b === undefined) return true;
|
|
83
|
+
return undefined; // Use default comparison for other cases
|
|
84
|
+
});
|
|
81
85
|
},
|
|
82
86
|
{ deep: true },
|
|
83
87
|
);
|