@retailcrm/embed-ui-v1-components 0.9.2 → 0.9.4
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/dist/host.cjs +4 -1
- package/dist/host.css +8 -4
- package/dist/host.js +5 -2
- package/package.json +1 -1
package/dist/host.cjs
CHANGED
|
@@ -5064,6 +5064,9 @@ const _hoisted_7 = {
|
|
|
5064
5064
|
class: "ui-v1-modal-sidebar__footer"
|
|
5065
5065
|
};
|
|
5066
5066
|
const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
5067
|
+
...{
|
|
5068
|
+
inheritAttrs: false
|
|
5069
|
+
},
|
|
5067
5070
|
__name: "UiModalSidebar",
|
|
5068
5071
|
props: {
|
|
5069
5072
|
/** Атрибут id корневого элемента. Должен быть уникальным на странице */
|
|
@@ -6726,7 +6729,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
6726
6729
|
}
|
|
6727
6730
|
};
|
|
6728
6731
|
const root = useElementRef();
|
|
6729
|
-
const textbox = vue.
|
|
6732
|
+
const textbox = vue.shallowRef(null);
|
|
6730
6733
|
const getSelectionStart = () => {
|
|
6731
6734
|
var _a;
|
|
6732
6735
|
return ((_a = textbox.value) == null ? void 0 : _a.selectionStart) ?? 0;
|
package/dist/host.css
CHANGED
|
@@ -1989,6 +1989,10 @@
|
|
|
1989
1989
|
height: auto;
|
|
1990
1990
|
min-height: var(--height);
|
|
1991
1991
|
}
|
|
1992
|
+
.ui-v1-textbox:has(input:disabled),
|
|
1993
|
+
.ui-v1-textbox:has(textarea:disabled) {
|
|
1994
|
+
background-color: #EEF1F3;
|
|
1995
|
+
}
|
|
1992
1996
|
.ui-v1-textbox_invalid {
|
|
1993
1997
|
--active-color: var(--ui-v1-textbox-danger-color);
|
|
1994
1998
|
--shadow-color: var(--ui-v1-textbox-danger-shadow-color);
|
|
@@ -2095,12 +2099,12 @@
|
|
|
2095
2099
|
border-start-end-radius: 0;
|
|
2096
2100
|
border-end-end-radius: 0;
|
|
2097
2101
|
}
|
|
2098
|
-
.ui-v1-textbox:has(input:hover),
|
|
2099
|
-
.ui-v1-textbox:has(textarea:hover) {
|
|
2102
|
+
.ui-v1-textbox:has(input:hover:not(:disabled)),
|
|
2103
|
+
.ui-v1-textbox:has(textarea:hover:not(:disabled)) {
|
|
2100
2104
|
--border-color: #AFB9C3;
|
|
2101
2105
|
}
|
|
2102
|
-
.ui-v1-textbox:has(input:focus),
|
|
2103
|
-
.ui-v1-textbox:has(textarea:focus) {
|
|
2106
|
+
.ui-v1-textbox:has(input:focus:not(:disabled)),
|
|
2107
|
+
.ui-v1-textbox:has(textarea:focus:not(:disabled)) {
|
|
2104
2108
|
--border-color: var(--active-color);
|
|
2105
2109
|
}
|
|
2106
2110
|
.ui-v1-textbox_outlined:has(input:focus),
|
package/dist/host.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { openBlock, createElementBlock, createElementVNode, defineComponent, inject, ref, computed, mergeProps, useSlots, createBlock, resolveDynamicComponent, unref, withCtx, createVNode, createCommentVNode, normalizeClass, renderSlot, createTextVNode, toDisplayString, provide, Fragment, renderList, Text, Comment, h, reactive, watch, nextTick, onMounted, onActivated, onDeactivated, onBeforeUnmount, Teleport, getCurrentInstance, Transition, normalizeProps, guardReactiveProps, normalizeStyle, withDirectives, vShow, useAttrs, toHandlers, withModifiers, useId,
|
|
4
|
+
import { openBlock, createElementBlock, createElementVNode, defineComponent, inject, ref, computed, mergeProps, useSlots, createBlock, resolveDynamicComponent, unref, withCtx, createVNode, createCommentVNode, normalizeClass, renderSlot, createTextVNode, toDisplayString, provide, Fragment, renderList, Text, Comment, h, reactive, watch, nextTick, onMounted, onActivated, onDeactivated, onBeforeUnmount, Teleport, getCurrentInstance, Transition, normalizeProps, guardReactiveProps, normalizeStyle, withDirectives, vShow, useAttrs, toHandlers, withModifiers, useId, shallowRef, createSlots } from "vue";
|
|
5
5
|
import { preview } from "@retailcrm/image-preview";
|
|
6
6
|
import isEqual from "lodash.isequal";
|
|
7
7
|
import { format, formatISO } from "date-fns";
|
|
@@ -5062,6 +5062,9 @@ const _hoisted_7 = {
|
|
|
5062
5062
|
class: "ui-v1-modal-sidebar__footer"
|
|
5063
5063
|
};
|
|
5064
5064
|
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
5065
|
+
...{
|
|
5066
|
+
inheritAttrs: false
|
|
5067
|
+
},
|
|
5065
5068
|
__name: "UiModalSidebar",
|
|
5066
5069
|
props: {
|
|
5067
5070
|
/** Атрибут id корневого элемента. Должен быть уникальным на странице */
|
|
@@ -6724,7 +6727,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
6724
6727
|
}
|
|
6725
6728
|
};
|
|
6726
6729
|
const root = useElementRef();
|
|
6727
|
-
const textbox =
|
|
6730
|
+
const textbox = shallowRef(null);
|
|
6728
6731
|
const getSelectionStart = () => {
|
|
6729
6732
|
var _a;
|
|
6730
6733
|
return ((_a = textbox.value) == null ? void 0 : _a.selectionStart) ?? 0;
|
package/package.json
CHANGED