@hywax/cms 0.0.17 → 0.0.18

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/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hywax/cms",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "configKey": "cms",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.1",
package/dist/module.mjs CHANGED
@@ -6,7 +6,7 @@ import { snakeCase, kebabCase } from 'scule';
6
6
  import { readFile, writeFile } from 'node:fs/promises';
7
7
 
8
8
  const name = "@hywax/cms";
9
- const version = "0.0.17";
9
+ const version = "0.0.18";
10
10
 
11
11
  function createContext(options, nuxt) {
12
12
  const { resolve } = createResolver(import.meta.url);
@@ -1,5 +1,5 @@
1
1
  import { computed, reactive, ref, toRaw, toValue, watch } from "#imports";
2
- import isEqual from "fast-deep-equal";
2
+ import * as _isEqual from "fast-deep-equal";
3
3
  function useTableFilters(initialFilters, options) {
4
4
  const initial = computed(() => toValue(initialFilters));
5
5
  const filters = ref(structuredClone(initial.value));
@@ -22,7 +22,7 @@ function useTableFilters(initialFilters, options) {
22
22
  });
23
23
  const appliedCount = computed(() => {
24
24
  return appliedCountFields.value.reduce((sum, key) => {
25
- return isEqual(filters.value[key], initial.value[key]) ? sum : sum + 1;
25
+ return _isEqual.default(filters.value[key], initial.value[key]) ? sum : sum + 1;
26
26
  }, 0);
27
27
  });
28
28
  watch(initial, (initial2) => {
@@ -1,9 +1,9 @@
1
- import baseSlugify from "slugify";
1
+ import * as _slugify from "slugify";
2
2
  export function slugify(text) {
3
3
  if (!text) {
4
4
  return "";
5
5
  }
6
- return baseSlugify(text, {
6
+ return _slugify.default(text, {
7
7
  lower: true,
8
8
  strict: true,
9
9
  locale: "ru",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hywax/cms",
3
3
  "type": "module",
4
- "version": "0.0.17",
4
+ "version": "0.0.18",
5
5
  "description": "Hywax CMS. ⚠️ This package is intended for internal use only.",
6
6
  "repository": {
7
7
  "type": "git",
@@ -66,6 +66,7 @@
66
66
  "@uplora/serializer": "^0.1.3",
67
67
  "@vueuse/nuxt": "^13.4.0",
68
68
  "defu": "^6.1.4",
69
+ "fast-deep-equal": "^3.1.3",
69
70
  "nuxt-auth-utils": "^0.5.20",
70
71
  "pathe": "^2.0.3",
71
72
  "prosekit": "^0.13.6",