@retailcrm/embed-ui-v1-components 0.9.22-alpha.3 → 0.9.22-alpha.5

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.
@@ -148,7 +148,14 @@ const findPackageRoot = (target) => {
148
148
  }
149
149
 
150
150
  const createPackageDocsPath = (target) => {
151
- const packageRoot = findPackageRoot(target)
151
+ let packageRoot = null
152
+
153
+ try {
154
+ packageRoot = findPackageRoot(target)
155
+ } catch {
156
+ return `./node_modules/${PACKAGE_NAME}`
157
+ }
158
+
152
159
  const relativePath = path.relative(target, packageRoot)
153
160
 
154
161
  return withDotPrefix(toPosixPath(relativePath))
package/dist/host.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const vue = require("vue");
4
4
  const imagePreview = require("@retailcrm/image-preview");
5
- const isEqual = require("lodash.isequal");
5
+ const isEqual = require("fast-deep-equal");
6
6
  const dateFns = require("date-fns");
7
7
  const locale = require("date-fns/locale");
8
8
  const vue3PerfectScrollbar = require("vue3-perfect-scrollbar");
package/dist/host.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, openBlock, createBlock, Transition, withCtx, renderSlot, createElementBlock, createElementVNode, ref, reactive, computed, watch, onMounted, withDirectives, mergeProps, unref, createCommentVNode, normalizeClass, createTextVNode, toDisplayString, createVNode, vShow, inject, useSlots, resolveDynamicComponent, provide, Fragment, renderList, Text, Comment, h, getCurrentInstance, nextTick, onBeforeUnmount, useId, onActivated, onDeactivated, Teleport, shallowRef, normalizeStyle, createSlots, withModifiers, useAttrs, normalizeProps, guardReactiveProps, onUpdated, withKeys, isVNode } from "vue";
2
2
  import { preview } from "@retailcrm/image-preview";
3
- import isEqual from "lodash.isequal";
3
+ import isEqual from "fast-deep-equal";
4
4
  import { format, formatISO } from "date-fns";
5
5
  import { ru, es, enGB } from "date-fns/locale";
6
6
  import { PerfectScrollbar } from "vue3-perfect-scrollbar";
package/dist/remote.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const remote = require("@omnicajs/vue-remote/remote");
4
4
  const vue = require("vue");
5
- const isEqual = require("lodash.isequal");
5
+ const isEqual = require("fast-deep-equal");
6
6
  const imagePreview = require("@retailcrm/image-preview");
7
7
  const locale = require("date-fns/locale");
8
8
  const dateFns = require("date-fns");
package/dist/remote.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineRemoteComponent, defineRemoteMethod, RemoteSortableContainer, RemoteSortableItem, RemoteDragHandle, withKeys, withModifiers, nextTick, createRemoteRoot } from "@omnicajs/vue-remote/remote";
2
2
  import { openBlock, createElementBlock, createElementVNode, defineComponent, mergeProps, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, unref, withCtx, computed, inject, shallowRef, ref, watch, createBlock, Fragment, renderList, normalizeClass, useTemplateRef, createSlots, onBeforeMount, onBeforeUnmount, provide, isVNode, Comment, Text, getCurrentInstance, h, reactive, onMounted } from "vue";
3
- import isEqual from "lodash.isequal";
3
+ import isEqual from "fast-deep-equal";
4
4
  import { preview } from "@retailcrm/image-preview";
5
5
  import { ru, es, enGB } from "date-fns/locale";
6
6
  import { format } from "date-fns";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@retailcrm/embed-ui-v1-components",
3
3
  "bin": "./bin/embed-ui-v1-components.mjs",
4
4
  "type": "module",
5
- "version": "0.9.22-alpha.3",
5
+ "version": "0.9.22-alpha.5",
6
6
  "license": "MIT",
7
7
  "author": "RetailDriverLLC <integration@retailcrm.ru>",
8
8
  "repository": "git@github.com:retailcrm/embed-ui.git",
@@ -66,7 +66,7 @@
66
66
  "@remote-ui/rpc": "^1.4.7",
67
67
  "@retailcrm/image-preview": "^1.0.2",
68
68
  "date-fns": "^4.1.0",
69
- "lodash.isequal": "^4.5.0",
69
+ "fast-deep-equal": "^3.1.3",
70
70
  "vue3-perfect-scrollbar": "^2.0.0"
71
71
  },
72
72
  "devDependencies": {
@@ -77,7 +77,6 @@
77
77
  "@storybook/builder-vite": "^10.3.5",
78
78
  "@storybook/vue3": "^10.3.5",
79
79
  "@storybook/vue3-vite": "^10.3.5",
80
- "@types/lodash.isequal": "^4.5.8",
81
80
  "@vitejs/plugin-vue": "^6.0.2",
82
81
  "@vitest/browser": "4.1.3",
83
82
  "@vitest/browser-playwright": "4.1.3",