@hywax/cms 3.4.1 → 3.4.2

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.
@@ -1,5 +1,5 @@
1
1
  export default {
2
2
  "slots": {
3
- "base": ""
3
+ "base": "rounded-lg"
4
4
  }
5
5
  }
package/.nuxt/cms.css CHANGED
@@ -4,9 +4,10 @@
4
4
  @source "./cms/form-slug.ts";
5
5
  @source "./cms/form-uplora-image.ts";
6
6
  @source "./cms/uplora-image.ts";
7
+ @source "./cms/button-delete-confirm.ts";
8
+ @source "./cms/modal-confirm.ts";
7
9
  @source "./cms/form-seo.ts";
8
10
  @source "./cms/table-panel.ts";
9
- @source "./cms/modal-confirm.ts";
10
11
  @source "./cms/table-search-input.ts";
11
12
 
12
13
 
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hywax/cms",
3
- "version": "3.4.1",
3
+ "version": "3.4.2",
4
4
  "configKey": "cms",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
package/dist/module.mjs CHANGED
@@ -7,7 +7,7 @@ import { pascalCase, kebabCase, camelCase } from 'scule';
7
7
  import { globSync } from 'tinyglobby';
8
8
 
9
9
  const name = "@hywax/cms";
10
- const version = "3.4.1";
10
+ const version = "3.4.2";
11
11
 
12
12
  function createContext(options, nuxt) {
13
13
  const { resolve } = createResolver(import.meta.url);
@@ -560,7 +560,7 @@ const theme = {
560
560
 
561
561
  const uploraImage = {
562
562
  slots: {
563
- base: ""
563
+ base: "rounded-lg"
564
564
  }
565
565
  };
566
566
 
@@ -4,10 +4,10 @@ import type { ComponentProps } from 'vue-component-type-helpers';
4
4
  import type { ComponentConfig } from '../types';
5
5
  import type { ModalConfirmEmits, ModalConfirmProps } from './ModalConfirm.vue';
6
6
  import theme from '#build/cms/button-delete-confirm';
7
- import ModalConfirm from './ModalConfirm.vue';
7
+ import CModalConfirm from './ModalConfirm.vue';
8
8
  type ButtonDelete = ComponentConfig<typeof theme, AppConfig, 'buttonDelete'>;
9
9
  export interface ButtonDeleteProps extends Pick<ModalConfirmProps, 'onConfirm'> {
10
- modalProps?: Omit<ModalProps & ComponentProps<typeof ModalConfirm>, 'title' | 'message' | 'onConfirm' | 'confirmButton'>;
10
+ modalProps?: Omit<ModalProps & ComponentProps<typeof CModalConfirm>, 'title' | 'message' | 'onConfirm' | 'confirmButton'>;
11
11
  confirmText?: string;
12
12
  confirmLabel?: string;
13
13
  title?: string;
@@ -24,7 +24,7 @@ import theme from "#build/cms/button-delete-confirm";
24
24
  import { useAppConfig, useOverlay } from "#imports";
25
25
  import { computed } from "vue";
26
26
  import { tv } from "../tv";
27
- import ModalConfirm from "./ModalConfirm.vue";
27
+ import CModalConfirm from "./ModalConfirm.vue";
28
28
  </script>
29
29
 
30
30
  <script setup>
@@ -46,7 +46,7 @@ const props = defineProps({
46
46
  });
47
47
  defineEmits(["confirm", "close"]);
48
48
  const appConfig = useAppConfig();
49
- const modal = useOverlay().create(ModalConfirm);
49
+ const modal = useOverlay().create(CModalConfirm);
50
50
  function handleDeleteClick() {
51
51
  return modal.open({
52
52
  ...props.modalProps,
@@ -4,10 +4,10 @@ import type { ComponentProps } from 'vue-component-type-helpers';
4
4
  import type { ComponentConfig } from '../types';
5
5
  import type { ModalConfirmEmits, ModalConfirmProps } from './ModalConfirm.vue';
6
6
  import theme from '#build/cms/button-delete-confirm';
7
- import ModalConfirm from './ModalConfirm.vue';
7
+ import CModalConfirm from './ModalConfirm.vue';
8
8
  type ButtonDelete = ComponentConfig<typeof theme, AppConfig, 'buttonDelete'>;
9
9
  export interface ButtonDeleteProps extends Pick<ModalConfirmProps, 'onConfirm'> {
10
- modalProps?: Omit<ModalProps & ComponentProps<typeof ModalConfirm>, 'title' | 'message' | 'onConfirm' | 'confirmButton'>;
10
+ modalProps?: Omit<ModalProps & ComponentProps<typeof CModalConfirm>, 'title' | 'message' | 'onConfirm' | 'confirmButton'>;
11
11
  confirmText?: string;
12
12
  confirmLabel?: string;
13
13
  title?: string;
@@ -72,7 +72,7 @@
72
72
  }"
73
73
  >
74
74
  <template #link>
75
- <EditorLinkPopover :editor="editor" />
75
+ <CEditorLinkPopover :editor="editor" />
76
76
  </template>
77
77
  </UEditorToolbar>
78
78
 
@@ -93,7 +93,7 @@ import { useEditorDragHandle } from "../composables/useEditorDragHandle";
93
93
  import { useEditorSuggestions } from "../composables/useEditorSuggestions";
94
94
  import { useEditorToolbar } from "../composables/useEditorToolbar";
95
95
  import { UploraImage as UploraImageExtension, UploraImageHandlers } from "../editor/uplora-image/EditorUploraImage";
96
- import EditorLinkPopover from "./EditorLinkPopover.vue";
96
+ import CEditorLinkPopover from "./EditorLinkPopover.vue";
97
97
  </script>
98
98
 
99
99
  <script setup>
@@ -27,7 +27,7 @@
27
27
  @click="resetState()"
28
28
  />
29
29
 
30
- <ButtonDeleteConfirm
30
+ <CButtonDeleteConfirm
31
31
  color="error"
32
32
  size="sm"
33
33
  variant="ghost"
@@ -103,7 +103,7 @@ import { imagesExtensions } from "@uplora/formats";
103
103
  import { computed, useId } from "vue";
104
104
  import { z } from "zod";
105
105
  import { tv } from "../tv";
106
- import ButtonDeleteConfirm from "./ButtonDeleteConfirm.vue";
106
+ import CButtonDeleteConfirm from "./ButtonDeleteConfirm.vue";
107
107
  </script>
108
108
 
109
109
  <script setup>
@@ -16,18 +16,18 @@
16
16
  <template #right>
17
17
  <slot name="toolbar-right" />
18
18
 
19
- <TableColumnVisibility
19
+ <CTableColumnVisibility
20
20
  v-model:visibility="columnVisibility"
21
21
  v-model:order="columnOrder"
22
22
  :table="tableRef?.tableApi"
23
23
  :storage-key="storageKey"
24
24
  />
25
- <TableColumnSorting
25
+ <CTableColumnSorting
26
26
  :model-value="sorting"
27
27
  :table="tableRef?.tableApi"
28
28
  @update:model-value="emit('update:sorting', $event)"
29
29
  />
30
- <TableFilters
30
+ <CTableFilters
31
31
  v-if="props.filtersSource"
32
32
  :model-value="props.filters"
33
33
  :schema="props.filtersSchema"
@@ -43,7 +43,7 @@
43
43
  >
44
44
  <slot :name="pageTableSlot" v-bind="slotData" />
45
45
  </template>
46
- </TableFilters>
46
+ </CTableFilters>
47
47
  </template>
48
48
  </UDashboardToolbar>
49
49
  </template>
@@ -137,9 +137,9 @@ import { useForwardProps } from "reka-ui";
137
137
  import { computed, h, ref, useTemplateRef, watch } from "vue";
138
138
  import { tv } from "../tv";
139
139
  import CModalConfirm from "./ModalConfirm.vue";
140
- import TableColumnSorting from "./TableColumnSorting.vue";
141
- import TableColumnVisibility from "./TableColumnVisibility.vue";
142
- import TableFilters from "./TableFilters.vue";
140
+ import CTableColumnSorting from "./TableColumnSorting.vue";
141
+ import CTableColumnVisibility from "./TableColumnVisibility.vue";
142
+ import CTableFilters from "./TableFilters.vue";
143
143
  </script>
144
144
 
145
145
  <script setup>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="relative flex items-center gap-2">
3
3
  <div v-if="image" class="overflow-hidden rounded-lg shrink-0">
4
- <UploraImage
4
+ <CUploraImage
5
5
  v-bind="image"
6
6
  :sizes="[{ width: 32, height: 32, descriptor: '1x' }]"
7
7
  :ui="{ picture: 'aspect-square' }"
@@ -27,7 +27,7 @@
27
27
  </template>
28
28
 
29
29
  <script setup>
30
- import UploraImage from "./UploraImage.vue";
30
+ import CUploraImage from "./UploraImage.vue";
31
31
  defineProps({
32
32
  to: { type: null, required: false },
33
33
  target: { type: [String, Object, null], required: false },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hywax/cms",
3
3
  "type": "module",
4
- "version": "3.4.1",
4
+ "version": "3.4.2",
5
5
  "description": "Hywax CMS. ⚠️ This package is intended for internal use only.",
6
6
  "imports": {
7
7
  "#build/cms/*": "./.nuxt/cms/*.ts",