@syncfusion/ej2-vue-spreadsheet 20.4.54 → 21.1.35
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/CHANGELOG.md +1 -56
- package/dist/ej2-vue-spreadsheet.umd.min.js +2 -2
- package/dist/ej2-vue-spreadsheet.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-spreadsheet.es2015.js +534 -854
- package/dist/es6/ej2-vue-spreadsheet.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-spreadsheet.es5.js +591 -1024
- package/dist/es6/ej2-vue-spreadsheet.es5.js.map +1 -1
- package/dist/global/ej2-vue-spreadsheet.min.js +2 -2
- package/package.json +9 -9
- package/src/spreadsheet/cells.directive.d.ts +2 -12
- package/src/spreadsheet/cells.directive.js +22 -71
- package/src/spreadsheet/chart.directive.d.ts +2 -12
- package/src/spreadsheet/chart.directive.js +22 -71
- package/src/spreadsheet/columns.directive.d.ts +2 -12
- package/src/spreadsheet/columns.directive.js +22 -71
- package/src/spreadsheet/conditionalformats.directive.d.ts +2 -12
- package/src/spreadsheet/conditionalformats.directive.js +22 -71
- package/src/spreadsheet/definednames.directive.d.ts +2 -12
- package/src/spreadsheet/definednames.directive.js +22 -71
- package/src/spreadsheet/image.directive.d.ts +2 -12
- package/src/spreadsheet/image.directive.js +22 -71
- package/src/spreadsheet/ranges.directive.d.ts +2 -12
- package/src/spreadsheet/ranges.directive.js +22 -71
- package/src/spreadsheet/rows.directive.d.ts +2 -12
- package/src/spreadsheet/rows.directive.js +22 -71
- package/src/spreadsheet/sheets.directive.d.ts +2 -12
- package/src/spreadsheet/sheets.directive.js +22 -71
- package/src/spreadsheet/spreadsheet.component.d.ts +3 -110
- package/src/spreadsheet/spreadsheet.component.js +347 -376
- package/styles/bootstrap-dark.css +71 -73
- package/styles/bootstrap-dark.scss +1 -1
- package/styles/bootstrap.css +80 -82
- package/styles/bootstrap.scss +1 -1
- package/styles/bootstrap4.css +69 -71
- package/styles/bootstrap4.scss +1 -1
- package/styles/bootstrap5-dark.css +89 -91
- package/styles/bootstrap5-dark.scss +1 -1
- package/styles/bootstrap5.css +89 -91
- package/styles/bootstrap5.scss +1 -1
- package/styles/fabric-dark.css +70 -72
- package/styles/fabric-dark.scss +1 -1
- package/styles/fabric.css +74 -76
- package/styles/fabric.scss +1 -1
- package/styles/fluent-dark.css +82 -84
- package/styles/fluent-dark.scss +1 -1
- package/styles/fluent.css +82 -84
- package/styles/fluent.scss +1 -1
- package/styles/highcontrast-light.css +68 -70
- package/styles/highcontrast-light.scss +1 -1
- package/styles/highcontrast.css +75 -77
- package/styles/highcontrast.scss +1 -1
- package/styles/material-dark.css +71 -73
- package/styles/material-dark.scss +1 -1
- package/styles/material.css +76 -78
- package/styles/material.scss +1 -1
- package/styles/spreadsheet/bootstrap-dark.css +13 -18
- package/styles/spreadsheet/bootstrap.css +13 -18
- package/styles/spreadsheet/bootstrap4.css +13 -18
- package/styles/spreadsheet/bootstrap5-dark.css +18 -23
- package/styles/spreadsheet/bootstrap5.css +18 -23
- package/styles/spreadsheet/fabric-dark.css +13 -18
- package/styles/spreadsheet/fabric.css +13 -18
- package/styles/spreadsheet/fluent-dark.css +21 -26
- package/styles/spreadsheet/fluent.css +21 -26
- package/styles/spreadsheet/highcontrast-light.css +12 -17
- package/styles/spreadsheet/highcontrast.css +13 -18
- package/styles/spreadsheet/material-dark.css +13 -18
- package/styles/spreadsheet/material.css +13 -18
- package/styles/spreadsheet/tailwind-dark.css +18 -24
- package/styles/spreadsheet/tailwind.css +18 -24
- package/styles/spreadsheet-ribbon/bootstrap-dark.css +177 -0
- package/styles/spreadsheet-ribbon/bootstrap-dark.scss +1 -0
- package/styles/spreadsheet-ribbon/bootstrap.css +207 -0
- package/styles/spreadsheet-ribbon/bootstrap.scss +1 -0
- package/styles/spreadsheet-ribbon/bootstrap4.css +166 -0
- package/styles/spreadsheet-ribbon/bootstrap4.scss +1 -0
- package/styles/spreadsheet-ribbon/bootstrap5-dark.css +215 -0
- package/styles/spreadsheet-ribbon/bootstrap5-dark.scss +1 -0
- package/styles/spreadsheet-ribbon/bootstrap5.css +215 -0
- package/styles/spreadsheet-ribbon/bootstrap5.scss +1 -0
- package/styles/spreadsheet-ribbon/fabric-dark.css +175 -0
- package/styles/spreadsheet-ribbon/fabric-dark.scss +1 -0
- package/styles/spreadsheet-ribbon/fabric.css +186 -0
- package/styles/spreadsheet-ribbon/fabric.scss +1 -0
- package/styles/spreadsheet-ribbon/fluent-dark.css +187 -0
- package/styles/spreadsheet-ribbon/fluent-dark.scss +1 -0
- package/styles/spreadsheet-ribbon/fluent.css +187 -0
- package/styles/spreadsheet-ribbon/fluent.scss +1 -0
- package/styles/spreadsheet-ribbon/highcontrast-light.css +172 -0
- package/styles/spreadsheet-ribbon/highcontrast-light.scss +1 -0
- package/styles/spreadsheet-ribbon/highcontrast.css +190 -0
- package/styles/spreadsheet-ribbon/highcontrast.scss +1 -0
- package/styles/spreadsheet-ribbon/material-dark.css +178 -0
- package/styles/spreadsheet-ribbon/material-dark.scss +1 -0
- package/styles/spreadsheet-ribbon/material.css +190 -0
- package/styles/spreadsheet-ribbon/material.scss +1 -0
- package/styles/spreadsheet-ribbon/tailwind-dark.css +191 -0
- package/styles/spreadsheet-ribbon/tailwind-dark.scss +1 -0
- package/styles/spreadsheet-ribbon/tailwind.css +191 -0
- package/styles/spreadsheet-ribbon/tailwind.scss +1 -0
- package/styles/tailwind-dark.css +81 -86
- package/styles/tailwind-dark.scss +1 -1
- package/styles/tailwind.css +81 -86
- package/styles/tailwind.scss +1 -1
- package/styles/ribbon/bootstrap-dark.css +0 -174
- package/styles/ribbon/bootstrap-dark.scss +0 -1
- package/styles/ribbon/bootstrap.css +0 -204
- package/styles/ribbon/bootstrap.scss +0 -1
- package/styles/ribbon/bootstrap4.css +0 -163
- package/styles/ribbon/bootstrap4.scss +0 -1
- package/styles/ribbon/bootstrap5-dark.css +0 -212
- package/styles/ribbon/bootstrap5-dark.scss +0 -1
- package/styles/ribbon/bootstrap5.css +0 -212
- package/styles/ribbon/bootstrap5.scss +0 -1
- package/styles/ribbon/fabric-dark.css +0 -172
- package/styles/ribbon/fabric-dark.scss +0 -1
- package/styles/ribbon/fabric.css +0 -183
- package/styles/ribbon/fabric.scss +0 -1
- package/styles/ribbon/fluent-dark.css +0 -184
- package/styles/ribbon/fluent-dark.scss +0 -1
- package/styles/ribbon/fluent.css +0 -184
- package/styles/ribbon/fluent.scss +0 -1
- package/styles/ribbon/highcontrast-light.css +0 -169
- package/styles/ribbon/highcontrast-light.scss +0 -1
- package/styles/ribbon/highcontrast.css +0 -187
- package/styles/ribbon/highcontrast.scss +0 -1
- package/styles/ribbon/material-dark.css +0 -175
- package/styles/ribbon/material-dark.scss +0 -1
- package/styles/ribbon/material.css +0 -187
- package/styles/ribbon/material.scss +0 -1
- package/styles/ribbon/tailwind-dark.css +0 -190
- package/styles/ribbon/tailwind-dark.scss +0 -1
- package/styles/ribbon/tailwind.css +0 -190
- package/styles/ribbon/tailwind.scss +0 -1
|
@@ -1,40 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
20
|
-
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
|
-
import * as Vue3 from 'vue-class-component';
|
|
1
|
+
import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
|
|
22
2
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
27
|
-
vueImport = Vue3.Vue;
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
vueImport = Vue;
|
|
31
|
-
}
|
|
32
|
-
var SheetsDirective = /** @class */ (function (_super) {
|
|
33
|
-
__extends(SheetsDirective, _super);
|
|
34
|
-
function SheetsDirective() {
|
|
35
|
-
return _super.call(this, arguments) || this;
|
|
36
|
-
}
|
|
37
|
-
SheetsDirective.prototype.render = function (createElement) {
|
|
3
|
+
export var SheetsDirective = vueDefineComponent({
|
|
4
|
+
inject: { custom: { default: null } },
|
|
5
|
+
render: function (createElement) {
|
|
38
6
|
if (!isExecute) {
|
|
39
7
|
var h = !isExecute ? gh : createElement;
|
|
40
8
|
var slots = null;
|
|
@@ -44,28 +12,18 @@ var SheetsDirective = /** @class */ (function (_super) {
|
|
|
44
12
|
return h('div', { class: 'e-directive' }, slots);
|
|
45
13
|
}
|
|
46
14
|
return;
|
|
47
|
-
}
|
|
48
|
-
|
|
15
|
+
},
|
|
16
|
+
updated: function () {
|
|
49
17
|
if (!isExecute && this.custom) {
|
|
50
18
|
this.custom();
|
|
51
19
|
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
inject: {
|
|
60
|
-
custom: {
|
|
61
|
-
default: null
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
})
|
|
65
|
-
], SheetsDirective);
|
|
66
|
-
return SheetsDirective;
|
|
67
|
-
}(vueImport));
|
|
68
|
-
export { SheetsDirective };
|
|
20
|
+
},
|
|
21
|
+
methods: {
|
|
22
|
+
getTag: function () {
|
|
23
|
+
return 'e-sheets';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
69
27
|
export var SheetsPlugin = {
|
|
70
28
|
name: 'e-sheets',
|
|
71
29
|
install: function (Vue) {
|
|
@@ -84,23 +42,16 @@ export var SheetsPlugin = {
|
|
|
84
42
|
* </ejs-spreadsheet>
|
|
85
43
|
* ```
|
|
86
44
|
*/
|
|
87
|
-
var SheetDirective =
|
|
88
|
-
|
|
89
|
-
function SheetDirective() {
|
|
90
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
91
|
-
}
|
|
92
|
-
SheetDirective.prototype.render = function () {
|
|
45
|
+
export var SheetDirective = vueDefineComponent({
|
|
46
|
+
render: function () {
|
|
93
47
|
return;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
return SheetDirective;
|
|
102
|
-
}(vueImport));
|
|
103
|
-
export { SheetDirective };
|
|
48
|
+
},
|
|
49
|
+
methods: {
|
|
50
|
+
getTag: function () {
|
|
51
|
+
return 'e-sheet';
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
});
|
|
104
55
|
export var SheetPlugin = {
|
|
105
56
|
name: 'e-sheet',
|
|
106
57
|
install: function (Vue) {
|
|
@@ -1,122 +1,15 @@
|
|
|
1
|
-
import { ComponentBase } from '@syncfusion/ej2-vue-base';
|
|
2
1
|
export declare const properties: string[];
|
|
3
2
|
export declare const modelProps: string[];
|
|
4
3
|
export declare const testProp: any;
|
|
5
|
-
export declare const props: any;
|
|
6
|
-
export declare const watch: any;
|
|
7
|
-
export declare const emitProbs: any;
|
|
4
|
+
export declare const props: any, watch: any, emitProbs: any;
|
|
8
5
|
/**
|
|
9
6
|
* `ejs-spreadsheet` represents the VueJS Spreadsheet Component.
|
|
10
7
|
* ```vue
|
|
11
8
|
* <ejs-spreadsheet></ejs-spreadsheet>
|
|
12
9
|
* ```
|
|
13
10
|
*/
|
|
14
|
-
export declare
|
|
15
|
-
|
|
16
|
-
propKeys: string[];
|
|
17
|
-
models: string[];
|
|
18
|
-
hasChildDirective: boolean;
|
|
19
|
-
protected hasInjectedModules: boolean;
|
|
20
|
-
tagMapper: {
|
|
21
|
-
[key: string]: Object;
|
|
22
|
-
};
|
|
23
|
-
tagNameMapper: Object;
|
|
24
|
-
isVue3: boolean;
|
|
25
|
-
templateCollection: any;
|
|
26
|
-
constructor();
|
|
27
|
-
clearTemplate(templateNames?: string[]): any;
|
|
28
|
-
setProperties(prop: any, muteOnChange: boolean): void;
|
|
29
|
-
render(createElement: any): any;
|
|
30
|
-
custom(): void;
|
|
31
|
-
Unfreeze(sheet?: number | string): void;
|
|
32
|
-
addContextMenuItems(items: Object[], text: string, insertAfter: boolean, isUniqueId?: boolean): void;
|
|
33
|
-
addCustomFunction(functionHandler: string | Object, functionName?: string, formulaDescription?: string): void;
|
|
34
|
-
addDataValidation(rules: Object, range?: string): void;
|
|
35
|
-
addDefinedName(definedName: Object): boolean;
|
|
36
|
-
addFileMenuItems(items: Object[], text: string, insertAfter: boolean, isUniqueId?: boolean): void;
|
|
37
|
-
addHyperlink(hyperlink: string | Object, address: string, displayText?: string): void;
|
|
38
|
-
addInvalidHighlight(range?: string): void;
|
|
39
|
-
addRibbonTabs(items: Object[], insertBefore?: string): void;
|
|
40
|
-
addToolbarItems(tab: string, items: Object[], index?: number): void;
|
|
41
|
-
applyFilter(predicates?: Object[], range?: string): Object;
|
|
42
|
-
autoFill(fillRange: string, dataRange?: string, direction?: Object, fillType?: Object): void;
|
|
43
|
-
autoFit(range: string): void;
|
|
44
|
-
cellFormat(style: Object, range?: string): void;
|
|
45
|
-
clear(options: Object): void;
|
|
46
|
-
clearConditionalFormat(range?: string): void;
|
|
47
|
-
clearFilter(field?: string): void;
|
|
48
|
-
closeEdit(): void;
|
|
49
|
-
computeExpression(formula: string): string | number;
|
|
50
|
-
conditionalFormat(conditionalFormat: Object): void;
|
|
51
|
-
copy(address?: string): Object;
|
|
52
|
-
cut(address?: string): Object;
|
|
53
|
-
delete(startIndex?: number, endIndex?: number, model?: Object, sheet?: number | string): void;
|
|
54
|
-
deleteChart(id?: string): void;
|
|
55
|
-
deleteImage(id: string, range?: string): void;
|
|
56
|
-
duplicateSheet(sheetIndex?: number): void;
|
|
57
|
-
enableContextMenuItems(items: string[], enable: boolean, isUniqueId?: boolean): void;
|
|
58
|
-
enableFileMenuItems(items: string[], enable: boolean, isUniqueId?: boolean): void;
|
|
59
|
-
enableRibbonTabs(tabs: string[], enable: boolean): void;
|
|
60
|
-
enableToolbarItems(tab: string, items?: number[] | string[], enable?: boolean): void;
|
|
61
|
-
endEdit(): void;
|
|
62
|
-
find(args: Object): void | string;
|
|
63
|
-
findAll(value: string, mode?: string, isCSen?: boolean, isEMatch?: boolean, sheetIndex?: number): string[];
|
|
64
|
-
freezePanes(row: number, column: number, sheet?: number | string): void;
|
|
65
|
-
getData(address: string): Object;
|
|
66
|
-
getDisplayText(cell: Object): string;
|
|
67
|
-
getRowData(index?: number, sheetIndex?: number): Object[];
|
|
68
|
-
getSelectAllContent(): Object;
|
|
69
|
-
goTo(address: string): void;
|
|
70
|
-
hideColumn(startIndex: number, endIndex: number, hide: boolean): void;
|
|
71
|
-
hideFileMenuItems(items: string[], hide: boolean, isUniqueId?: boolean): void;
|
|
72
|
-
hideRibbonTabs(tabs: string[], hide: boolean): void;
|
|
73
|
-
hideRow(startIndex: number, endIndex: number, hide: boolean): void;
|
|
74
|
-
hideSpinner(): void;
|
|
75
|
-
hideToolbarItems(tab: string, indexes: number[], hide: boolean): void;
|
|
76
|
-
insertChart(chart?: Object[]): void;
|
|
77
|
-
insertColumn(startColumn?: number | Object[], endColumn?: number, sheet?: number | string): void;
|
|
78
|
-
insertImage(images: Object[], range?: string): void;
|
|
79
|
-
insertRow(startRow?: number | Object[], endRow?: number, sheet?: number | string): void;
|
|
80
|
-
insertSheet(startSheet?: number | Object[], endSheet?: number): void;
|
|
81
|
-
isValidCell(cellAddress?: string): boolean;
|
|
82
|
-
lockCells(range?: string, isLocked?: boolean): void;
|
|
83
|
-
merge(range?: string, type?: Object): void;
|
|
84
|
-
moveSheet(position: number, sheetIndexes?: number[]): void;
|
|
85
|
-
numberFormat(format: string, range?: string): void;
|
|
86
|
-
open(options: Object): void;
|
|
87
|
-
openFromJson(options: undefined): void;
|
|
88
|
-
paste(address?: string, type?: Object): void;
|
|
89
|
-
protectSheet(sheet?: number | string, protectSettings?: Object, password?: string): void;
|
|
90
|
-
redo(): void;
|
|
91
|
-
refresh(isNew?: boolean): void;
|
|
92
|
-
removeContextMenuItems(items: string[], isUniqueId?: boolean): void;
|
|
93
|
-
removeDataValidation(range?: string): void;
|
|
94
|
-
removeDefinedName(definedName: string, scope: string): boolean;
|
|
95
|
-
removeHyperlink(range: string): void;
|
|
96
|
-
removeInvalidHighlight(range?: string): void;
|
|
97
|
-
replace(args: Object): void;
|
|
98
|
-
resize(): void;
|
|
99
|
-
save(saveOptions: Object): void;
|
|
100
|
-
saveAsJson(): Object;
|
|
101
|
-
selectRange(address: string): void;
|
|
102
|
-
setBorder(style: Object, range?: string, type?: Object): void;
|
|
103
|
-
setColWidth(width: number | string, colIndex: number, sheetIndex?: number): void;
|
|
104
|
-
setColumnsWidth(width: number, ranges?: string[]): void;
|
|
105
|
-
setRowHeight(height: number | string, rowIndex: number, sheetIndex?: number, edited?: boolean): void;
|
|
106
|
-
setRowsHeight(height: number, ranges?: string[]): void;
|
|
107
|
-
showSpinner(): void;
|
|
108
|
-
sort(sortOptions?: Object, range?: string): Object;
|
|
109
|
-
startEdit(): void;
|
|
110
|
-
unMerge(range?: string): void;
|
|
111
|
-
undo(): void;
|
|
112
|
-
unfreezePanes(sheet?: number | string): void;
|
|
113
|
-
unprotectSheet(sheet?: number | string): void;
|
|
114
|
-
updateAction(options: Object): void;
|
|
115
|
-
updateCell(cell: Object, address?: string): void;
|
|
116
|
-
updateRange(range: Object, sheetIdx?: number): void;
|
|
117
|
-
updateUndoRedoCollection(args: undefined): void;
|
|
118
|
-
wrap(address: string, wrap: boolean): void;
|
|
119
|
-
}
|
|
11
|
+
export declare let SpreadsheetComponent: any;
|
|
12
|
+
export declare type SpreadsheetComponent = InstanceType<typeof SpreadsheetComponent>;
|
|
120
13
|
export declare const SpreadsheetPlugin: {
|
|
121
14
|
name: string;
|
|
122
15
|
install(Vue: any): void;
|