flameresttable 1.0.131 → 1.0.133

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flameresttable",
3
- "version": "1.0.131",
3
+ "version": "1.0.133",
4
4
  "main": "./src/plugin.ts",
5
5
  "repository": {
6
6
  "type": "git",
@@ -135,7 +135,7 @@ import Paginator from './Paginator.vue';
135
135
  import TableFilters from './TableFilters.vue';
136
136
  type Class<T> = new (...args: any[]) => T;
137
137
 
138
- import Datepicker from '@vuepic/vue-datepicker';
138
+ import { VueDatePicker as Datepicker } from '@vuepic/vue-datepicker';
139
139
  import '@vuepic/vue-datepicker/dist/main.css';
140
140
  import { isNumber } from 'lodash';
141
141
  import TableTasksPanel from './TableTasksPanel.vue';
@@ -116,7 +116,7 @@ import TableOpts from './TableOpts';
116
116
  import { Column, IColumn } from './Columns';
117
117
  //import { TableFilter } from './TableOpts.js';
118
118
  import FlameTable from './FlameTable';
119
- import Datepicker from '@vuepic/vue-datepicker';
119
+ import { VueDatePicker as Datepicker } from '@vuepic/vue-datepicker';
120
120
  // import vSelect from 'vue-select' // Больше не используется
121
121
  import ITableSelectorItem from './TableSelectorItem';
122
122
  import { useDisplay } from 'vuetify';
@@ -147,7 +147,7 @@ import FlameTable from './FlameTable';
147
147
 
148
148
  type Class<T> = new (...args: any[]) => T;
149
149
 
150
- import Datepicker from '@vuepic/vue-datepicker';
150
+ import { VueDatePicker as Datepicker } from '@vuepic/vue-datepicker';
151
151
  import '@vuepic/vue-datepicker/dist/main.css';
152
152
  import { isNumber } from 'lodash';
153
153
  import EditorPopup from '../components/editor/EditorPopup.vue';
@@ -1,4 +1,7 @@
1
- import type { NodeTypeMenu } from 'vuetify-pro-tiptap/lib/extensions/components/bubble'
1
+ import type { ExtensionNameKeys } from 'vuetify-pro-tiptap'
2
+
3
+ export type NodeTypeKey = 'table' | 'image' | 'text' | 'link' | 'video'
4
+ export type NodeTypeMenu = Partial<Record<NodeTypeKey, (ExtensionNameKeys | 'divider' | string)[]>>
2
5
 
3
6
  export const DEFAULT_LANG_VALUE = 'en' as const
4
7
 
package/tsconfig.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "target": "esnext",
16
16
  "useDefineForClassFields": true,
17
17
  "module": "esnext",
18
- "moduleResolution": "node",
18
+ "moduleResolution": "bundler",
19
19
  "strict": true,
20
20
  "jsx": "preserve",
21
21
  "sourceMap": true,
@@ -2,7 +2,7 @@
2
2
  "compilerOptions": {
3
3
  "composite": true,
4
4
  "module": "esnext",
5
- "moduleResolution": "node",
5
+ "moduleResolution": "bundler",
6
6
  "allowSyntheticDefaultImports": true
7
7
  },
8
8
  "include": [