@vc-shell/framework 1.0.258 → 1.0.260
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
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## [1.0.260](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.259...v1.0.260) (2024-07-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **ui:** vc-select truncating ([ba67161](https://github.com/VirtoCommerce/vc-shell/commit/ba6716135fa55e17c5670964efef70e01d94c195))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## [1.0.259](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.258...v1.0.259) (2024-07-25)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **dynamic:** editable blade condition fix ([c446afa](https://github.com/VirtoCommerce/vc-shell/commit/c446afaf736db86a9b4e0618d200376fae242fff))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
1
19
|
## [1.0.258](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.257...v1.0.258) (2024-07-24)
|
|
2
20
|
|
|
3
21
|
|
package/dist/framework.js
CHANGED
|
@@ -26492,7 +26492,7 @@ Tae();
|
|
|
26492
26492
|
const Sae = ["innerHTML"], Aae = { class: "tw-flex tw-flex-nowrap tw-items-start tw-relative" }, Oae = { class: "tw-relative tw-flex tw-flex-auto tw-text-left tw-max-w-full" }, Nae = {
|
|
26493
26493
|
key: 0,
|
|
26494
26494
|
class: "tw-flex tw-items-center tw-flex-nowrap tw-pr-3"
|
|
26495
|
-
}, Cae = { class: "tw-relative tw-flex tw-flex-auto tw-overflow-x-clip" }, Iae = { class: "tw-truncate vc-select__field-wrapper tw-relative tw-box-border tw-border tw-border-solid tw-border-[color:var(--select-border-color)] tw-rounded-[var(--select-border-radius)] tw-bg-[color:var(--select-background-color)] tw-flex tw-flex-col tw-flex-nowrap tw-flex-auto tw-items-stretch" }, Dae = { class: "tw-flex tw-flex-col tw-flex-nowrap tw-flex-auto tw-relative" }, kae = { class: "tw-flex tw-flex-nowrap tw-flex-auto tw-h-full tw-px-3" }, xae = {
|
|
26495
|
+
}, Cae = { class: "tw-relative tw-flex tw-flex-auto tw-overflow-x-clip tw-truncate" }, Iae = { class: "tw-truncate vc-select__field-wrapper tw-relative tw-box-border tw-border tw-border-solid tw-border-[color:var(--select-border-color)] tw-rounded-[var(--select-border-radius)] tw-bg-[color:var(--select-background-color)] tw-flex tw-flex-col tw-flex-nowrap tw-flex-auto tw-items-stretch" }, Dae = { class: "tw-flex tw-flex-col tw-flex-nowrap tw-flex-auto tw-relative" }, kae = { class: "tw-flex tw-flex-nowrap tw-flex-auto tw-h-full tw-px-3" }, xae = {
|
|
26496
26496
|
key: 0,
|
|
26497
26497
|
class: "tw-flex tw-items-center tw-flex-nowrap tw-pr-3"
|
|
26498
26498
|
}, Pae = { class: "tw-flex tw-flex-nowrap tw-flex-auto tw-h-full tw-truncate" }, Rae = {
|
|
@@ -26781,7 +26781,7 @@ const Sae = ["innerHTML"], Aae = { class: "tw-flex tw-flex-nowrap tw-items-start
|
|
|
26781
26781
|
r("update:modelValue", null);
|
|
26782
26782
|
}
|
|
26783
26783
|
return (V, Y) => (B(), K("div", {
|
|
26784
|
-
class: Be(["vc-select tw-box-border", {
|
|
26784
|
+
class: Be(["vc-select tw-box-border tw-w-full", {
|
|
26785
26785
|
"vc-select_opened": s.value,
|
|
26786
26786
|
"vc-select_error": V.error,
|
|
26787
26787
|
"vc-select_disabled": V.disabled,
|
|
@@ -59858,7 +59858,9 @@ const hOe = {
|
|
|
59858
59858
|
pagination: void 0,
|
|
59859
59859
|
query: void 0,
|
|
59860
59860
|
scope: void 0
|
|
59861
|
-
}, x = re(
|
|
59861
|
+
}, x = re(
|
|
59862
|
+
() => "disabled" in Ke(I || {}) ? !Ke(Ke(I || {}).disabled) : !1
|
|
59863
|
+
);
|
|
59862
59864
|
r.isWidgetView && (C.value.take = 5), m.value = C.value.sort ?? "createdDate:DESC";
|
|
59863
59865
|
const j = Ih(() => Ke(I) ?? {}), { tableTemplates: M } = y9(w), X = (ve) => ve?.map((be) => {
|
|
59864
59866
|
if (typeof be.visible != "boolean" && be.visible?.method) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-blade-list.vue.d.ts","sourceRoot":"","sources":["../../../../../shared/modules/dynamic/pages/dynamic-blade-list.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EASL,WAAW,EAKZ,MAAM,KAAK,CAAC;AAEb,OAAO,EAAE,iBAAiB,EAAqC,MAAM,UAAU,CAAC;AAOhF,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAKjD,MAAM,WAAW,KAAK;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;IACtE,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,KAAK;IACpB,CAAC,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,eAAe,GAAG,IAAI,CAAC;IACpD,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI,CAAC;IAC7B,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAChC,CAAC,KAAK,EAAE,cAAc,GAAG,IAAI,CAAC;IAC9B,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAChC,CAAC,KAAK,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@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vc-shell/framework",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.260",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/framework.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/dompurify": "^3.0.5",
|
|
63
63
|
"@types/quill": "^2.0.14",
|
|
64
|
-
"@vc-shell/api-client-generator": "^1.0.
|
|
65
|
-
"@vc-shell/config-generator": "^1.0.
|
|
66
|
-
"@vc-shell/ts-config": "^1.0.
|
|
64
|
+
"@vc-shell/api-client-generator": "^1.0.260",
|
|
65
|
+
"@vc-shell/config-generator": "^1.0.260",
|
|
66
|
+
"@vc-shell/ts-config": "^1.0.260",
|
|
67
67
|
"@vitejs/plugin-vue": "^5.0.3",
|
|
68
68
|
"cypress-signalr-mock": "^1.5.0",
|
|
69
69
|
"sass": "^1.69.6",
|
|
@@ -288,7 +288,9 @@ const { load, remove, items, loading, pagination, query, scope } = props.composa
|
|
|
288
288
|
scope: undefined,
|
|
289
289
|
} as unknown as UseList<Record<string, any>[], Record<string, any>, ListBaseBladeScope>);
|
|
290
290
|
|
|
291
|
-
const isBladeEditable = computed(() =>
|
|
291
|
+
const isBladeEditable = computed(() =>
|
|
292
|
+
"disabled" in toValue(scope || {}) ? !toValue(toValue(scope || {}).disabled) : false,
|
|
293
|
+
);
|
|
292
294
|
|
|
293
295
|
if (props.isWidgetView) {
|
|
294
296
|
query.value.take = 5;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
|
-
class="vc-select tw-box-border"
|
|
3
|
+
class="vc-select tw-box-border tw-w-full"
|
|
4
4
|
:class="{
|
|
5
5
|
'vc-select_opened': isOpened,
|
|
6
6
|
'vc-select_error': error,
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
>
|
|
43
43
|
<slot name="prepend"></slot>
|
|
44
44
|
</div>
|
|
45
|
-
<div class="tw-relative tw-flex tw-flex-auto tw-overflow-x-clip">
|
|
45
|
+
<div class="tw-relative tw-flex tw-flex-auto tw-overflow-x-clip tw-truncate">
|
|
46
46
|
<div
|
|
47
47
|
class="tw-truncate vc-select__field-wrapper tw-relative tw-box-border tw-border tw-border-solid tw-border-[color:var(--select-border-color)] tw-rounded-[var(--select-border-radius)] tw-bg-[color:var(--select-background-color)] tw-flex tw-flex-col tw-flex-nowrap tw-flex-auto tw-items-stretch"
|
|
48
48
|
>
|