@ecan-bi/sheet 0.0.9 → 0.0.13
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/index.es.js +98538 -64
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +4149 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +4 -0
- package/package.json +29 -6
- package/types/luckysheet/config.d.ts +78 -0
- package/types/luckysheet/controllers/cellDatePickerCtrl.d.ts +4 -0
- package/types/luckysheet/controllers/cellFormat.d.ts +1 -0
- package/types/luckysheet/controllers/conditionformat.d.ts +47 -0
- package/types/luckysheet/controllers/constant.d.ts +142 -0
- package/types/luckysheet/controllers/controlHistory.d.ts +5 -0
- package/types/luckysheet/controllers/dropCell.d.ts +95 -0
- package/types/luckysheet/controllers/expendPlugins.d.ts +4 -0
- package/types/luckysheet/controllers/filter.d.ts +5 -0
- package/types/luckysheet/controllers/formulaBar.d.ts +1 -0
- package/types/luckysheet/controllers/handler.d.ts +1 -0
- package/types/luckysheet/controllers/ifFormulaGenerator.d.ts +12 -0
- package/types/luckysheet/controllers/imageUpdateCtrl.d.ts +1 -0
- package/types/luckysheet/controllers/inlineString.d.ts +25 -0
- package/types/luckysheet/controllers/insertFormula.d.ts +9 -0
- package/types/luckysheet/controllers/keyboard.d.ts +1 -0
- package/types/luckysheet/controllers/listener.d.ts +1 -0
- package/types/luckysheet/controllers/locationCell.d.ts +10 -0
- package/types/luckysheet/controllers/luckysheetConfigsetting.d.ts +36 -0
- package/types/luckysheet/controllers/matrixOperation.d.ts +1 -0
- package/types/luckysheet/controllers/mobile.d.ts +1 -0
- package/types/luckysheet/controllers/orderBy.d.ts +1 -0
- package/types/luckysheet/controllers/postil.d.ts +27 -0
- package/types/luckysheet/controllers/print.d.ts +2 -0
- package/types/luckysheet/controllers/protection.d.ts +10 -0
- package/types/luckysheet/controllers/resize.d.ts +10 -0
- package/types/luckysheet/controllers/rowColumnOperation.d.ts +9 -0
- package/types/luckysheet/controllers/searchReplace.d.ts +10 -0
- package/types/luckysheet/controllers/select.d.ts +7 -0
- package/types/luckysheet/controllers/selection.d.ts +14 -0
- package/types/luckysheet/controllers/sheetBar.d.ts +1 -0
- package/types/luckysheet/controllers/sheetMove.d.ts +5 -0
- package/types/luckysheet/controllers/sheetSearch.d.ts +1 -0
- package/types/luckysheet/controllers/splitColumn.d.ts +10 -0
- package/types/luckysheet/controllers/toolbar.d.ts +42 -0
- package/types/luckysheet/controllers/updateCell.d.ts +10 -0
- package/types/luckysheet/controllers/zoom.d.ts +4 -0
- package/types/luckysheet/core.d.ts +41 -0
- package/types/luckysheet/expendPlugins/chart/plugin.d.ts +4 -0
- package/types/luckysheet/expendPlugins/print/plugin.d.ts +1 -0
- package/types/luckysheet/function/func.d.ts +10 -0
- package/types/luckysheet/function/functionImplementation.d.ts +451 -0
- package/types/luckysheet/function/functionlist.d.ts +2 -0
- package/types/luckysheet/function/matrix_methods.d.ts +1 -0
- package/types/luckysheet/global/analysis.d.ts +8 -0
- package/types/luckysheet/global/api.d.ts +1193 -0
- package/types/luckysheet/global/array.d.ts +8 -0
- package/types/luckysheet/global/border.d.ts +2 -0
- package/types/luckysheet/global/browser.d.ts +15 -0
- package/types/luckysheet/global/cleargridelement.d.ts +1 -0
- package/types/luckysheet/global/count.d.ts +1 -0
- package/types/luckysheet/global/createdom.d.ts +1 -0
- package/types/luckysheet/global/createsheet.d.ts +1 -0
- package/types/luckysheet/global/cursorPos.d.ts +7 -0
- package/types/luckysheet/global/datecontroll.d.ts +7 -0
- package/types/luckysheet/global/draw.d.ts +3 -0
- package/types/luckysheet/global/dynamicArray.d.ts +4 -0
- package/types/luckysheet/global/editor.d.ts +11 -0
- package/types/luckysheet/global/extend.d.ts +13 -0
- package/types/luckysheet/global/format.d.ts +5 -0
- package/types/luckysheet/global/func_methods.d.ts +25 -0
- package/types/luckysheet/global/getRowlen.d.ts +16 -0
- package/types/luckysheet/global/getdata.d.ts +13 -0
- package/types/luckysheet/global/json.d.ts +5 -0
- package/types/luckysheet/global/loading.d.ts +2 -0
- package/types/luckysheet/global/location.d.ts +6 -0
- package/types/luckysheet/global/method.d.ts +10 -0
- package/types/luckysheet/global/refresh.d.ts +8 -0
- package/types/luckysheet/global/rhchInit.d.ts +2 -0
- package/types/luckysheet/global/scroll.d.ts +1 -0
- package/types/luckysheet/global/setdata.d.ts +2 -0
- package/types/luckysheet/global/sort.d.ts +4 -0
- package/types/luckysheet/global/tooltip.d.ts +12 -0
- package/types/luckysheet/global/validate.d.ts +23 -0
- package/types/luckysheet/index.d.ts +2 -0
- package/types/luckysheet/locale/en.d.ts +1216 -0
- package/types/luckysheet/locale/es.d.ts +1194 -0
- package/types/luckysheet/locale/locale.d.ts +12 -0
- package/types/luckysheet/locale/zh.d.ts +1235 -0
- package/types/luckysheet/locale/zh_tw.d.ts +1249 -0
- package/types/luckysheet/methods/get.d.ts +11 -0
- package/types/luckysheet/methods/set.d.ts +6 -0
- package/types/luckysheet/plugins/js/jquery-mousewheel.d.ts +8 -0
- package/types/luckysheet/plugins/js/spectrum.d.ts +1 -0
- package/types/luckysheet/store/index.d.ts +145 -0
- package/types/luckysheet/utils/chartUtil.d.ts +20 -0
- package/types/luckysheet/utils/polyfill.d.ts +5 -0
- package/types/luckysheet/utils/util.d.ts +87 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function initialMatrixOperation(): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function mobileinit(): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function orderByInitial(): void;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export default luckysheetPostil;
|
|
2
|
+
declare namespace luckysheetPostil {
|
|
3
|
+
const defaultWidth: number;
|
|
4
|
+
const defaultHeight: number;
|
|
5
|
+
const currentObj: any;
|
|
6
|
+
const currentWinW: any;
|
|
7
|
+
const currentWinH: any;
|
|
8
|
+
const resize: any;
|
|
9
|
+
const resizeXY: any;
|
|
10
|
+
const move: boolean;
|
|
11
|
+
const moveXY: any;
|
|
12
|
+
function init(): void;
|
|
13
|
+
function overshow(event: any): void;
|
|
14
|
+
function getArrowCanvasSize(fromX: any, fromY: any, toX: any, toY: any): number[];
|
|
15
|
+
function drawArrow(ctx: any, fromX: any, fromY: any, toX: any, toY: any, theta: any, headlen: any, width: any, color: any): void;
|
|
16
|
+
function buildAllPs(data: any): void;
|
|
17
|
+
function buildPs(r: any, c: any, postil: any): void;
|
|
18
|
+
function newPs(r: any, c: any): void;
|
|
19
|
+
function editPs(r: any, c: any): void;
|
|
20
|
+
function delPs(r: any, c: any): void;
|
|
21
|
+
function showHidePs(r: any, c: any): void;
|
|
22
|
+
function showHideAllPs(): void;
|
|
23
|
+
function removeActivePs(): void;
|
|
24
|
+
function ref(data: any, rc: any): void;
|
|
25
|
+
function positionSync(): void;
|
|
26
|
+
function htmlEscape(text: any): any;
|
|
27
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export function openProtectionModal(file: any): void;
|
|
2
|
+
export function closeProtectionModal(): void;
|
|
3
|
+
export function checkProtectionNotEnable(sheetIndex: any): boolean;
|
|
4
|
+
export function checkProtectionLocked(r: any, c: any, sheetIndex: any, isOpenAlert?: boolean, isLock?: boolean): boolean;
|
|
5
|
+
export function checkProtectionCellHidden(r: any, c: any, sheetIndex: any): boolean;
|
|
6
|
+
export function checkProtectionLockedRangeList(rangeList: any, sheetIndex: any): boolean;
|
|
7
|
+
export function checkProtectionSelectLockedOrUnLockedCells(r: any, c: any, sheetIndex: any): boolean;
|
|
8
|
+
export function checkProtectionAllSelected(sheetIndex: any): boolean;
|
|
9
|
+
export function checkProtectionFormatCells(sheetIndex: any): boolean;
|
|
10
|
+
export function checkProtectionAuthorityNormal(sheetIndex: any, type?: string, isAlert?: boolean): boolean;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default function luckysheetsizeauto(isRefreshCanvas?: boolean): void;
|
|
2
|
+
export function changeSheetContainerSize(gridW: any, gridH: any): void;
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* Toolbar judgment rules: First set the display and hide of all tool buttons according to showtoolbar, and then override the judgment of showtoolbar according to showtoolbarConfig rules
|
|
7
|
+
*
|
|
8
|
+
* The width value of each button in the statistics toolbar is used to calculate which needs to be placed in more buttons
|
|
9
|
+
*/
|
|
10
|
+
export function menuToolBarWidth(): void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export function rowColumnOperationInitial(): void;
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @param {String} type:delete type,
|
|
5
|
+
* @param {*} st_index
|
|
6
|
+
* @param {*} ed_index
|
|
7
|
+
*/
|
|
8
|
+
export function deleteRows(type: string, st_index: any, ed_index: any): void;
|
|
9
|
+
export function deleteColumns(): void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default luckysheetSearchReplace;
|
|
2
|
+
declare namespace luckysheetSearchReplace {
|
|
3
|
+
function createDialog(source: any): void;
|
|
4
|
+
function init(): void;
|
|
5
|
+
function searchNext(): void;
|
|
6
|
+
function searchAll(): void;
|
|
7
|
+
function getSearchIndexArr(searchText: any, range: any): any[];
|
|
8
|
+
function replace(): void;
|
|
9
|
+
function replaceAll(): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export function seletedHighlistByindex(id: any, r1: any, r2: any, c1: any, c2: any): void;
|
|
2
|
+
export function selectHightlightShow(isRestore?: boolean): void;
|
|
3
|
+
export function selectIsOverlap(range: any): boolean;
|
|
4
|
+
export function selectionCopyShow(range: any): void;
|
|
5
|
+
export function collaborativeEditBox(): void;
|
|
6
|
+
export function luckysheet_count_show(left: any, top: any, width: any, height: any, rowseleted: any, columnseleted: any): void;
|
|
7
|
+
export function selectHelpboxFill(): void;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export default selection;
|
|
2
|
+
declare namespace selection {
|
|
3
|
+
function clearcopy(e: any): boolean;
|
|
4
|
+
function getHtmlBorderStyle(type: any, color: any): string;
|
|
5
|
+
function copy(e: any): boolean;
|
|
6
|
+
function copybyformat(e: any, txt: any): boolean;
|
|
7
|
+
const isPasteAction: boolean;
|
|
8
|
+
function paste(e: any, triggerType: any): void;
|
|
9
|
+
function pasteHandler(data: any, borderInfo: any): void;
|
|
10
|
+
function pasteHandlerOfCutPaste(copyRange: any): void;
|
|
11
|
+
function pasteHandlerOfCopyPaste(copyRange: any): void;
|
|
12
|
+
function pasteHandlerOfPaintModel(copyRange: any): void;
|
|
13
|
+
function matchcopy(data1: any, data2: any): boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function initialSheetBar(): void;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export function luckysheetMoveEndCell(postion: any, type: any, isScroll: any, terminal: any, onlyvalue: any): number;
|
|
2
|
+
export function luckysheetMoveHighlightCell(postion: any, index: any, type: any, isScroll: any): void;
|
|
3
|
+
export function luckysheetMoveHighlightCell2(postion: any, type: any, isScroll: any): void;
|
|
4
|
+
export function luckysheetMoveHighlightRange(postion: any, index: any, type: any, isScroll: any): void;
|
|
5
|
+
export function luckysheetMoveHighlightRange2(postion: any, type: any, isScroll: any): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function luckysheet_searcharray(arr: any, y: any): number;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default luckysheetSplitColumn;
|
|
2
|
+
declare namespace luckysheetSplitColumn {
|
|
3
|
+
function createDialog(): void;
|
|
4
|
+
function init(): void;
|
|
5
|
+
function update(r: any, c: any, dataArr: any): void;
|
|
6
|
+
function dataPreview(dataArr: any): void;
|
|
7
|
+
function getRegStr(): string;
|
|
8
|
+
function getDataArr(regStr: any): any[][];
|
|
9
|
+
function getNullData(rlen: any, clen: any): string[][];
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export function createToolbarHtml(): string;
|
|
2
|
+
export const defaultToolbar: string[];
|
|
3
|
+
export namespace toolbarIdMap {
|
|
4
|
+
export const undo: string;
|
|
5
|
+
export const redo: string;
|
|
6
|
+
export const paintFormat: string[];
|
|
7
|
+
export const currencyFormat: string;
|
|
8
|
+
export const percentageFormat: string;
|
|
9
|
+
export const numberDecrease: string;
|
|
10
|
+
export const numberIncrease: string;
|
|
11
|
+
export const moreFormats: string;
|
|
12
|
+
export const font: string;
|
|
13
|
+
export const fontSize: string;
|
|
14
|
+
export const bold: string;
|
|
15
|
+
export const italic: string;
|
|
16
|
+
export const strikethrough: string;
|
|
17
|
+
export const underline: string;
|
|
18
|
+
export const textColor: string[];
|
|
19
|
+
export const fillColor: string[];
|
|
20
|
+
export const border: string[];
|
|
21
|
+
export const mergeCell: string[];
|
|
22
|
+
export const horizontalAlignMode: string[];
|
|
23
|
+
export const verticalAlignMode: string[];
|
|
24
|
+
export const textWrapMode: string[];
|
|
25
|
+
export const textRotateMode: string[];
|
|
26
|
+
export const image: string;
|
|
27
|
+
export const link: string;
|
|
28
|
+
export const chart: string;
|
|
29
|
+
export const postil: string;
|
|
30
|
+
export const pivotTable: string[];
|
|
31
|
+
const _function: string[];
|
|
32
|
+
export { _function as function };
|
|
33
|
+
export const frozenMode: string[];
|
|
34
|
+
export const sortAndFilter: string;
|
|
35
|
+
export const conditionalFormat: string;
|
|
36
|
+
export const dataVerification: string;
|
|
37
|
+
export const splitColumn: string;
|
|
38
|
+
export const screenshot: string;
|
|
39
|
+
export const findAndReplace: string;
|
|
40
|
+
export const protection: string;
|
|
41
|
+
export const print: string;
|
|
42
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export function luckysheetupdateCell(row_index1: any, col_index1: any, d: any, cover: any, isnotfocus: any): void;
|
|
2
|
+
export function setCenterInputPosition(row_index: any, col_index: any, d: any): void;
|
|
3
|
+
export function getColumnAndRowSize(row_index: any, col_index: any, d: any): {
|
|
4
|
+
row: any;
|
|
5
|
+
row_pre: any;
|
|
6
|
+
row_index: any;
|
|
7
|
+
col: any;
|
|
8
|
+
col_pre: any;
|
|
9
|
+
col_index: any;
|
|
10
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export namespace luckysheet {
|
|
2
|
+
export function create(setting: any): void;
|
|
3
|
+
export { getluckysheetfile };
|
|
4
|
+
export { getluckysheet_select_save };
|
|
5
|
+
export { setluckysheet_select_save };
|
|
6
|
+
export { getconfig };
|
|
7
|
+
export const getGridData: (d: any) => {
|
|
8
|
+
r: number;
|
|
9
|
+
c: number;
|
|
10
|
+
v: any;
|
|
11
|
+
}[];
|
|
12
|
+
export const buildGridData: (file: any) => any;
|
|
13
|
+
export { luckysheetrefreshgrid };
|
|
14
|
+
export { jfrefreshgrid };
|
|
15
|
+
export { getcellvalue };
|
|
16
|
+
export { setcellvalue };
|
|
17
|
+
export { getdatabyselection };
|
|
18
|
+
export { sheetmanage };
|
|
19
|
+
export function flowdata(): any[];
|
|
20
|
+
export { selectHightlightShow };
|
|
21
|
+
export const destroy: () => void;
|
|
22
|
+
export { showloading as showLoadingProgress };
|
|
23
|
+
export { hideloading as hideLoadingProgress };
|
|
24
|
+
export { luckysheetextendData };
|
|
25
|
+
export { locales };
|
|
26
|
+
}
|
|
27
|
+
import { getluckysheetfile } from "./methods/get";
|
|
28
|
+
import { getluckysheet_select_save } from "./methods/get";
|
|
29
|
+
import { setluckysheet_select_save } from "./methods/set";
|
|
30
|
+
import { getconfig } from "./methods/get";
|
|
31
|
+
import { luckysheetrefreshgrid } from "./global/refresh";
|
|
32
|
+
import { jfrefreshgrid } from "./global/refresh";
|
|
33
|
+
import { getcellvalue } from "./global/getdata";
|
|
34
|
+
import { setcellvalue } from "./global/setdata";
|
|
35
|
+
import { getdatabyselection } from "./global/getdata";
|
|
36
|
+
import sheetmanage from "./controllers/sheetmanage";
|
|
37
|
+
import { selectHightlightShow } from "./controllers/select";
|
|
38
|
+
import { showloading } from "./global/loading.js";
|
|
39
|
+
import { hideloading } from "./global/loading.js";
|
|
40
|
+
import { luckysheetextendData } from "./global/extend.js";
|
|
41
|
+
import { locales } from "./locale/locale";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function print(data: any, isDemo: any): void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export function luckysheet_compareWith(...args: any[]): any;
|
|
2
|
+
export function luckysheet_getarraydata(...args: any[]): any;
|
|
3
|
+
export function luckysheet_getcelldata(txt: any): any;
|
|
4
|
+
export function luckysheet_parseData(value: any): any;
|
|
5
|
+
export function luckysheet_getValue(...args: any[]): void;
|
|
6
|
+
export function luckysheet_indirect_check(...args: any[]): any;
|
|
7
|
+
export function luckysheet_indirect_check_return(txt: any): any;
|
|
8
|
+
export function luckysheet_offset_check(...args: any[]): any;
|
|
9
|
+
export function luckysheet_calcADPMM(fp: any, sp: any, tp: any): any;
|
|
10
|
+
export function luckysheet_getSpecialReference(isCellFirst: any, param1: any, param2: any): any;
|