@retailcrm/embed-ui-v1-components 0.5.12 → 0.5.13
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 +2 -2
- package/dist/host.d.ts +1 -1
- package/dist/host.js +2 -2
- package/dist/remote.d.ts +1 -1
- package/package.json +1 -1
package/dist/host.cjs
CHANGED
|
@@ -695,7 +695,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
695
695
|
/** Атрибут ссылки */
|
|
696
696
|
href: {
|
|
697
697
|
type: String,
|
|
698
|
-
validator: (href) => typeof href === "string" && isURL(href),
|
|
698
|
+
validator: (href) => typeof href === "string" && (isURL(href) || href === "javascript:void(0);"),
|
|
699
699
|
default: "javascript:void(0);"
|
|
700
700
|
},
|
|
701
701
|
/**
|
|
@@ -3525,7 +3525,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3525
3525
|
/** Атрибут ссылки */
|
|
3526
3526
|
href: {
|
|
3527
3527
|
type: String,
|
|
3528
|
-
validator: (href) => typeof href === "string" && isURL(href),
|
|
3528
|
+
validator: (href) => typeof href === "string" && (isURL(href) || href === "javascript:void(0);"),
|
|
3529
3529
|
default: "javascript:void(0);"
|
|
3530
3530
|
},
|
|
3531
3531
|
/**
|
package/dist/host.d.ts
CHANGED
|
@@ -240,7 +240,7 @@ declare enum APPEARANCE_3 {
|
|
|
240
240
|
|
|
241
241
|
declare type DefineComponent<PropsOrPropOptions = object, M extends MethodOptions = MethodOptions, E extends EmitsOptions = EmitsOptions, EE extends string = string, PP = PublicProps, Props = ResolveProps<PropsOrPropOptions, E>, Defaults = ExtractDefaultPropTypes<PropsOrPropOptions>, S extends SlotsType = SlotsType, LC extends Record<string, Component> = Record<string, Component>, Directives extends Record<string, Directive> = Record<string, Directive>, Exposed extends string = string, Provide extends ComponentProvideOptions = ComponentProvideOptions, MakeDefaultsOptional extends boolean = true, TypeRefs extends Record<string, unknown> = Record<string, unknown>, TypeEl extends Element = Element> = DefineComponent_2<PropsOrPropOptions, Record<string, never>, Record<string, never>, Record<string, never>, M, ComponentOptionsMixin, ComponentOptionsMixin, E, EE, PP, Props, Defaults, S, LC, Directives, Exposed, Provide, MakeDefaultsOptional, TypeRefs, TypeEl>;
|
|
242
242
|
|
|
243
|
-
declare type Dimensions = `${number}x${number}` | `${number}x
|
|
243
|
+
declare type Dimensions = `${number}x${number}` | `${number}x-` | `-x${number}`;
|
|
244
244
|
|
|
245
245
|
declare enum DIRECTION {
|
|
246
246
|
LEFT = "left",
|
package/dist/host.js
CHANGED
|
@@ -693,7 +693,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
693
693
|
/** Атрибут ссылки */
|
|
694
694
|
href: {
|
|
695
695
|
type: String,
|
|
696
|
-
validator: (href) => typeof href === "string" && isURL(href),
|
|
696
|
+
validator: (href) => typeof href === "string" && (isURL(href) || href === "javascript:void(0);"),
|
|
697
697
|
default: "javascript:void(0);"
|
|
698
698
|
},
|
|
699
699
|
/**
|
|
@@ -3523,7 +3523,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3523
3523
|
/** Атрибут ссылки */
|
|
3524
3524
|
href: {
|
|
3525
3525
|
type: String,
|
|
3526
|
-
validator: (href) => typeof href === "string" && isURL(href),
|
|
3526
|
+
validator: (href) => typeof href === "string" && (isURL(href) || href === "javascript:void(0);"),
|
|
3527
3527
|
default: "javascript:void(0);"
|
|
3528
3528
|
},
|
|
3529
3529
|
/**
|
package/dist/remote.d.ts
CHANGED
package/package.json
CHANGED