@thinkfree.dev/tfo-sdk 0.2.2 → 0.3.0
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/apiReference.generated.js +1359 -910
- package/dist/apiReference.generated.js.map +1 -1
- package/dist/index.d.ts +1241 -928
- package/dist/index.js +177 -42
- package/dist/index.js.map +1 -1
- package/dist/version.json +4 -4
- package/package.json +4 -1
- package/dist/sdk-api-doc.html +0 -29484
- package/dist/sdk-api-doc.ko.md +0 -4201
- package/dist/sdk-api-doc.md +0 -4243
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ var MODULE_APP_ID = {
|
|
|
11
11
|
};
|
|
12
12
|
var API_NAMESPACE = "ThinkfreeWeboffice";
|
|
13
13
|
var API_VERSION = "v1.0";
|
|
14
|
-
var SDK_VERSION = true ? "0.
|
|
14
|
+
var SDK_VERSION = true ? "0.3.0" : "0.0.0-dev";
|
|
15
15
|
var RESULT_CODE = {
|
|
16
16
|
SUCCEED: 1,
|
|
17
17
|
FAIL: -1
|
|
@@ -615,6 +615,13 @@ function createProxyClient(execute, options) {
|
|
|
615
615
|
}
|
|
616
616
|
return raw;
|
|
617
617
|
}
|
|
618
|
+
function applyRebind(state, raw) {
|
|
619
|
+
const rebind = raw?.rebind;
|
|
620
|
+
if (rebind == null) {
|
|
621
|
+
return;
|
|
622
|
+
}
|
|
623
|
+
state.attrs = kind === "path" ? { root: { type: rebind.type, ...rebind.attrs }, steps: [] } : { ...rebind.attrs };
|
|
624
|
+
}
|
|
618
625
|
async function invoke(state, method, args) {
|
|
619
626
|
const payload = {
|
|
620
627
|
proxyType: state.type,
|
|
@@ -623,7 +630,9 @@ function createProxyClient(execute, options) {
|
|
|
623
630
|
args: serializeArgs(args)
|
|
624
631
|
};
|
|
625
632
|
const raw = await execute("SDK.proxyInvoke", [payload]);
|
|
626
|
-
|
|
633
|
+
const value = unwrapResponse(raw, method);
|
|
634
|
+
applyRebind(state, raw);
|
|
635
|
+
return deserializeResult(value);
|
|
627
636
|
}
|
|
628
637
|
function makeChildHandle(state, method, childType, args) {
|
|
629
638
|
const attrs = state.attrs;
|
|
@@ -1294,55 +1303,97 @@ var ShapeZOrder = {
|
|
|
1294
1303
|
BACKWARD: "backward"
|
|
1295
1304
|
};
|
|
1296
1305
|
var ChartType = {
|
|
1306
|
+
/** 묶은 세로 막대형 */
|
|
1297
1307
|
clusteredColumn: "clustered_column",
|
|
1308
|
+
/** 누적 세로 막대형 */
|
|
1298
1309
|
stackedColumn: "stacked_column",
|
|
1310
|
+
/** 3차원 묶은 세로 막대형 */
|
|
1299
1311
|
_3dClusteredColumn: "3d_clustered_column",
|
|
1312
|
+
/** 3차원 누적 세로 막대형 */
|
|
1300
1313
|
_3dStackedColumn: "3d_stacked_column",
|
|
1314
|
+
/** 묶은 가로 막대형 */
|
|
1301
1315
|
clusteredBar: "clustered_bar",
|
|
1316
|
+
/** 누적 가로 막대형 */
|
|
1302
1317
|
stackedBar: "stacked_bar",
|
|
1318
|
+
/** 3차원 묶은 가로 막대형 */
|
|
1303
1319
|
_3dClusteredBar: "3d_clustered_bar",
|
|
1320
|
+
/** 3차원 누적 가로 막대형 */
|
|
1304
1321
|
_3dStackedBar: "3d_stacked_bar",
|
|
1322
|
+
/** 꺾은선형 */
|
|
1305
1323
|
line: "line",
|
|
1324
|
+
/** 원형 */
|
|
1306
1325
|
pie: "pie",
|
|
1326
|
+
/** 3차원 원형 */
|
|
1307
1327
|
_3dPie: "3d_pie",
|
|
1328
|
+
/** 쪼개진 원형 */
|
|
1308
1329
|
explodedPie: "exploded_pie",
|
|
1330
|
+
/** 3차원 쪼개진 원형 */
|
|
1309
1331
|
_3dExplodedPie: "3d_exploded_pie",
|
|
1332
|
+
/** 분산형 */
|
|
1310
1333
|
scatter: "scatter",
|
|
1334
|
+
/** 영역형 */
|
|
1311
1335
|
area: "area",
|
|
1336
|
+
/** 누적 영역형 */
|
|
1312
1337
|
stackedArea: "stacked_area",
|
|
1338
|
+
/** 3차원 영역형 */
|
|
1313
1339
|
_3dArea: "3d_area",
|
|
1340
|
+
/** 3차원 누적 영역형 */
|
|
1314
1341
|
_3dStackedArea: "3d_stacked_area",
|
|
1342
|
+
/** 도넛형 */
|
|
1315
1343
|
doughnut: "doughnut",
|
|
1344
|
+
/** 방사형 */
|
|
1316
1345
|
radar: "radar"
|
|
1317
1346
|
};
|
|
1318
1347
|
var ChartGridLineType = {
|
|
1348
|
+
/** 그 축의 눈금선을 숨긴다 */
|
|
1319
1349
|
none: "none",
|
|
1350
|
+
/** 주 눈금선만 표시한다 */
|
|
1320
1351
|
major: "major",
|
|
1352
|
+
/** 보조 눈금선만 표시한다 */
|
|
1321
1353
|
minor: "minor",
|
|
1354
|
+
/** 주 눈금선과 보조 눈금선을 함께 표시한다 */
|
|
1322
1355
|
majorMinor: "major_minor"
|
|
1323
1356
|
};
|
|
1324
1357
|
var ChartAxis = {
|
|
1358
|
+
/** 가로축 */
|
|
1325
1359
|
horizontal: "horizontal",
|
|
1360
|
+
/** 세로축 */
|
|
1326
1361
|
vertical: "vertical"
|
|
1327
1362
|
};
|
|
1328
1363
|
var ChartLegendPosition = {
|
|
1364
|
+
/** 범례를 숨긴다 */
|
|
1329
1365
|
none: "none",
|
|
1366
|
+
/** 차트 아래쪽 */
|
|
1330
1367
|
bottom: "bottom",
|
|
1368
|
+
/** 차트 오른쪽 위 모서리 */
|
|
1331
1369
|
topRight: "top_right",
|
|
1370
|
+
/** 차트 위쪽 */
|
|
1332
1371
|
top: "top",
|
|
1372
|
+
/** 차트 오른쪽 */
|
|
1333
1373
|
right: "right",
|
|
1374
|
+
/** 차트 왼쪽 */
|
|
1334
1375
|
left: "left"
|
|
1335
1376
|
};
|
|
1336
1377
|
var ChartDataLabelPosition = {
|
|
1378
|
+
/** 데이터레이블 없음. 설정하면 데이터레이블을 없애고, 조회 결과로는 데이터레이블이 설정되지 않았다는 뜻이다 */
|
|
1337
1379
|
none: "none",
|
|
1380
|
+
/** 데이터 요소의 가운데. 원형·막대형·꺾은선형·분산형에서 쓸 수 있다 */
|
|
1338
1381
|
center: "center",
|
|
1382
|
+
/** 데이터 요소 안쪽의 끝. 원형·막대형에서 쓸 수 있다 */
|
|
1339
1383
|
insideEnd: "inside_end",
|
|
1384
|
+
/** 데이터 요소 안쪽의 축 쪽 끝. 막대형에서 쓸 수 있다 */
|
|
1340
1385
|
insideBase: "inside_base",
|
|
1386
|
+
/** 데이터 요소 바깥쪽의 끝. 원형·묶은 막대형에서 쓸 수 있다 */
|
|
1341
1387
|
outsideEnd: "outside_end",
|
|
1388
|
+
/** 차트가 자리를 정한다. 원형·도넛형·영역형·방사형에서 쓸 수 있다 */
|
|
1342
1389
|
bestFit: "best_fit",
|
|
1390
|
+
/** 데이터 요소의 왼쪽. 꺾은선형·분산형에서 쓸 수 있다 */
|
|
1343
1391
|
left: "left",
|
|
1392
|
+
/** 데이터 요소의 오른쪽. 꺾은선형·분산형에서 쓸 수 있다 */
|
|
1344
1393
|
right: "right",
|
|
1394
|
+
/** 데이터 요소의 위쪽. 꺾은선형·분산형에서 쓸 수 있다 */
|
|
1345
1395
|
top: "top",
|
|
1396
|
+
/** 데이터 요소의 아래쪽. 꺾은선형·분산형에서 쓸 수 있다 */
|
|
1346
1397
|
bottom: "bottom"
|
|
1347
1398
|
};
|
|
1348
1399
|
|
|
@@ -1381,38 +1432,12 @@ var Word;
|
|
|
1381
1432
|
/** 선택/커서 끝 지점(collapsed) */
|
|
1382
1433
|
END: "end"
|
|
1383
1434
|
};
|
|
1384
|
-
Word2.ViewContextType = {
|
|
1385
|
-
/** 현재 커서 (selection.getModelRange(false)) */
|
|
1386
|
-
CURSOR: "cursor",
|
|
1387
|
-
/** 현재 선택 영역 (selection.getModelRange(true)) */
|
|
1388
|
-
SELECTION: "selection"
|
|
1389
|
-
};
|
|
1390
1435
|
Word2.StructureFilter = {
|
|
1391
1436
|
/** 표 */
|
|
1392
1437
|
TABLE: "table",
|
|
1393
1438
|
/** 목록 단락 */
|
|
1394
1439
|
LIST: "list"
|
|
1395
1440
|
};
|
|
1396
|
-
Word2.RangeKind = {
|
|
1397
|
-
/** 단락 ID + 글자 위치를 직접 지정(좌표를 들고 있음 — 이후 편집으로 어긋날 수 있다) */
|
|
1398
|
-
OFFSET: "offset",
|
|
1399
|
-
/** 영역의 어느 부분인지로 지정(맨앞/맨끝/전체 등 — RangePosition) */
|
|
1400
|
-
RANGE_POSITION: "rangePosition",
|
|
1401
|
-
/** 화면의 선택 영역/커서(쓸 때마다 현재 선택을 다시 읽는다) */
|
|
1402
|
-
VIEW: "view",
|
|
1403
|
-
/** 그 댓글이 달린 본문 구간 */
|
|
1404
|
-
COMMENT: "comment",
|
|
1405
|
-
/** 각주/미주 표시가 놓인 자리 */
|
|
1406
|
-
NOTE: "note",
|
|
1407
|
-
/** 책갈피 표시가 놓인 자리(글자 한 칸) */
|
|
1408
|
-
BOOKMARK: "bookmark",
|
|
1409
|
-
/** 도형·이미지가 놓인 자리(글자 한 칸 — floating 이면 앵커 자리) */
|
|
1410
|
-
SHAPE: "shape",
|
|
1411
|
-
/** 하이퍼링크의 표시 텍스트 구간(앞뒤 마커는 제외 — 링크를 유지한 채 글자만 다룬다) */
|
|
1412
|
-
HYPERLINK: "hyperlink",
|
|
1413
|
-
/** 변경 추적 항목이 차지하는 구간 */
|
|
1414
|
-
CHANGE_TRACKING: "changeTracking"
|
|
1415
|
-
};
|
|
1416
1441
|
Word2.SpecialCharacter = {
|
|
1417
1442
|
/** 페이지 나누기 */
|
|
1418
1443
|
PAGE_BREAK: "pageBreak",
|
|
@@ -1783,173 +1808,283 @@ var Word;
|
|
|
1783
1808
|
var Cell;
|
|
1784
1809
|
((Cell2) => {
|
|
1785
1810
|
Cell2.HorizontalAlign = {
|
|
1811
|
+
/** Left alignment. */
|
|
1786
1812
|
LEFT: "left",
|
|
1813
|
+
/** Center alignment. */
|
|
1787
1814
|
CENTER: "center",
|
|
1815
|
+
/** Right alignment. */
|
|
1788
1816
|
RIGHT: "right",
|
|
1817
|
+
/** Justified. */
|
|
1789
1818
|
JUSTIFY: "justify",
|
|
1819
|
+
/** Distributed. */
|
|
1790
1820
|
DISTRIBUTED: "distributed"
|
|
1791
1821
|
};
|
|
1792
1822
|
Cell2.VerticalAlign = {
|
|
1823
|
+
/** Top alignment. */
|
|
1793
1824
|
TOP: "top",
|
|
1825
|
+
/** Center alignment. */
|
|
1794
1826
|
CENTER: "center",
|
|
1827
|
+
/** Bottom alignment. */
|
|
1795
1828
|
BOTTOM: "bottom",
|
|
1829
|
+
/** Justified. */
|
|
1796
1830
|
JUSTIFY: "justify"
|
|
1797
1831
|
};
|
|
1798
1832
|
Cell2.BorderType = {
|
|
1799
|
-
/**
|
|
1833
|
+
/** All four outer edges and all inner lines. */
|
|
1800
1834
|
ALL: "all",
|
|
1801
|
-
/**
|
|
1835
|
+
/** The four outer edges. */
|
|
1802
1836
|
RECTANGLE: "rectangle",
|
|
1803
|
-
/**
|
|
1837
|
+
/** Inner horizontal and vertical lines. */
|
|
1804
1838
|
CROSS: "cross",
|
|
1805
|
-
/**
|
|
1839
|
+
/** Top edge. */
|
|
1806
1840
|
TOP: "top",
|
|
1807
|
-
/**
|
|
1841
|
+
/** Bottom edge. */
|
|
1808
1842
|
BOTTOM: "bottom",
|
|
1809
|
-
/**
|
|
1843
|
+
/** Left edge. */
|
|
1810
1844
|
LEFT: "left",
|
|
1811
|
-
/**
|
|
1845
|
+
/** Right edge. */
|
|
1812
1846
|
RIGHT: "right",
|
|
1813
|
-
/**
|
|
1847
|
+
/** Inner vertical lines. */
|
|
1814
1848
|
CENTER: "center",
|
|
1815
|
-
/**
|
|
1849
|
+
/** Inner horizontal lines. */
|
|
1816
1850
|
MIDDLE: "middle",
|
|
1817
|
-
/**
|
|
1851
|
+
/** Draws no border because no direction is specified. Specify a diagonal with DIAGONAL_UP, DIAGONAL_DOWN, or DIAGONAL_CROSS. */
|
|
1818
1852
|
DIAGONAL: "diagonal",
|
|
1819
|
-
/**
|
|
1853
|
+
/** Diagonal line from the bottom-left to the top-right of each cell. */
|
|
1820
1854
|
DIAGONAL_UP: "diagonal_up",
|
|
1821
|
-
/**
|
|
1855
|
+
/** Diagonal line from the top-left to the bottom-right of each cell. */
|
|
1822
1856
|
DIAGONAL_DOWN: "diagonal_down",
|
|
1823
|
-
/**
|
|
1857
|
+
/** Both diagonal lines of each cell. */
|
|
1824
1858
|
DIAGONAL_CROSS: "diagonal_cross",
|
|
1825
|
-
/**
|
|
1859
|
+
/** Removes borders. The line style and color are ignored. */
|
|
1826
1860
|
NONE: "none"
|
|
1827
1861
|
};
|
|
1828
1862
|
Cell2.BorderLineStyle = {
|
|
1863
|
+
/** Hairline. */
|
|
1829
1864
|
HAIR: "hair",
|
|
1865
|
+
/** Thin solid line. */
|
|
1830
1866
|
THIN: "thin",
|
|
1867
|
+
/** Medium solid line. */
|
|
1831
1868
|
MEDIUM: "medium",
|
|
1869
|
+
/** Thick solid line. */
|
|
1832
1870
|
THICK: "thick",
|
|
1871
|
+
/** Double line. */
|
|
1833
1872
|
DOUBLE: "double",
|
|
1873
|
+
/** Thin dotted line. */
|
|
1834
1874
|
DOTTED: "dotted",
|
|
1875
|
+
/** Thin dashed line. */
|
|
1835
1876
|
DASHED: "dashed",
|
|
1877
|
+
/** Thin dash-dot line. */
|
|
1836
1878
|
DASH_DOT: "dashDot",
|
|
1879
|
+
/** Thin dash-dot-dot line. */
|
|
1837
1880
|
DASH_DOT_DOT: "dashDotDot",
|
|
1881
|
+
/** Medium dashed line. */
|
|
1838
1882
|
MEDIUM_DASHED: "mediumDashed",
|
|
1883
|
+
/** Medium dash-dot line. */
|
|
1839
1884
|
MEDIUM_DASH_DOT: "mediumDashDot",
|
|
1885
|
+
/** Medium dash-dot-dot line. */
|
|
1840
1886
|
MEDIUM_DASH_DOT_DOT: "mediumDashDotDot",
|
|
1887
|
+
/** Medium slanted dash-dot line. */
|
|
1841
1888
|
SLANT_DASH_DOT: "slantDashDot",
|
|
1889
|
+
/** No line. In setBorder, clears the existing lines at the position specified by type. */
|
|
1842
1890
|
NONE: "none"
|
|
1843
1891
|
};
|
|
1844
1892
|
Cell2.SortOrder = {
|
|
1893
|
+
/** Ascending. Numbers come before text. */
|
|
1845
1894
|
ASCENDING: "asc",
|
|
1895
|
+
/** Descending. Text comes before numbers. */
|
|
1846
1896
|
DESCENDING: "desc"
|
|
1847
1897
|
};
|
|
1848
1898
|
Cell2.HyperlinkType = {
|
|
1899
|
+
/** Link that opens a web address. */
|
|
1849
1900
|
WEB: "web",
|
|
1901
|
+
/** Link that opens a new email to an email address. */
|
|
1850
1902
|
EMAIL: "email",
|
|
1903
|
+
/** Link that moves to a location in the same document. Pass a sheet and range in location. */
|
|
1851
1904
|
BOOK: "book"
|
|
1852
1905
|
};
|
|
1853
1906
|
Cell2.DataValidationType = {
|
|
1907
|
+
/** Does not restrict input and only attaches an input message. No formula is needed. */
|
|
1854
1908
|
ANY: "any",
|
|
1909
|
+
/** Accepts only values in a list. Pass a comma-separated list or a reference to a single-column or single-row range in formula1. */
|
|
1855
1910
|
LIST: "list",
|
|
1911
|
+
/** Accepts whole numbers only. */
|
|
1856
1912
|
WHOLE: "whole",
|
|
1913
|
+
/** Accepts numbers, including decimals. */
|
|
1857
1914
|
DECIMAL: "decimal",
|
|
1915
|
+
/** Accepts dates. */
|
|
1858
1916
|
DATE: "date",
|
|
1917
|
+
/** Accepts times. */
|
|
1859
1918
|
TIME: "time",
|
|
1919
|
+
/** Restricts input by text length. */
|
|
1860
1920
|
TEXT_LENGTH: "textLength",
|
|
1921
|
+
/** Accepts only input for which the Boolean formula in formula1 is true. */
|
|
1861
1922
|
CUSTOM: "custom"
|
|
1862
1923
|
};
|
|
1863
1924
|
Cell2.DataValidationOperator = {
|
|
1925
|
+
/** Accepts only values greater than or equal to formula1 and less than or equal to formula2. */
|
|
1864
1926
|
BETWEEN: "between",
|
|
1927
|
+
/** Accepts only values less than formula1 or greater than formula2. */
|
|
1865
1928
|
NOT_BETWEEN: "notBetween",
|
|
1929
|
+
/** Accepts only values equal to formula1. */
|
|
1866
1930
|
EQUAL: "equal",
|
|
1931
|
+
/** Accepts only values not equal to formula1. */
|
|
1867
1932
|
NOT_EQUAL: "notEqual",
|
|
1933
|
+
/** Accepts only values less than formula1. */
|
|
1868
1934
|
LESS_THAN: "lessThan",
|
|
1935
|
+
/** Accepts only values less than or equal to formula1. */
|
|
1869
1936
|
LESS_THAN_OR_EQUAL: "lessThanOrEqual",
|
|
1937
|
+
/** Accepts only values greater than formula1. */
|
|
1870
1938
|
GREATER_THAN: "greaterThan",
|
|
1939
|
+
/** Accepts only values greater than or equal to formula1. */
|
|
1871
1940
|
GREATER_THAN_OR_EQUAL: "greaterThanOrEqual"
|
|
1872
1941
|
};
|
|
1873
1942
|
Cell2.DataValidationErrorStyle = {
|
|
1943
|
+
/** Rejects input that does not match the rule. */
|
|
1874
1944
|
STOP: "stop",
|
|
1945
|
+
/** Shows a warning and allows the input if the user accepts. */
|
|
1875
1946
|
WARNING: "warning",
|
|
1947
|
+
/** Shows an information message and allows the input unless the user cancels. */
|
|
1876
1948
|
INFORMATION: "information"
|
|
1877
1949
|
};
|
|
1878
1950
|
Cell2.ConditionalFormatRuleType = {
|
|
1951
|
+
/** Compares the cell value with boundary values using operator. */
|
|
1879
1952
|
CELL_IS: "cellIs",
|
|
1953
|
+
/** Cells for which the formula in formula1 is true. */
|
|
1880
1954
|
EXPRESSION: "expression",
|
|
1955
|
+
/** Cells that contain the string in text. */
|
|
1881
1956
|
CONTAINS_TEXT: "containsText",
|
|
1957
|
+
/** Cells that do not contain the string in text. */
|
|
1882
1958
|
NOT_CONTAINS_TEXT: "notContainsText",
|
|
1959
|
+
/** Cells that begin with the string in text. */
|
|
1883
1960
|
BEGINS_WITH: "beginsWith",
|
|
1961
|
+
/** Cells that end with the string in text. */
|
|
1884
1962
|
ENDS_WITH: "endsWith",
|
|
1963
|
+
/** Cells that are empty or contain only spaces. */
|
|
1885
1964
|
CONTAINS_BLANKS: "containsBlanks",
|
|
1965
|
+
/** Cells that contain a character other than a space. */
|
|
1886
1966
|
NOT_CONTAINS_BLANKS: "notContainsBlanks",
|
|
1967
|
+
/** Cells whose value is an error. */
|
|
1887
1968
|
CONTAINS_ERRORS: "containsErrors",
|
|
1969
|
+
/** Cells whose value is not an error. */
|
|
1888
1970
|
NOT_CONTAINS_ERRORS: "notContainsErrors",
|
|
1971
|
+
/** Cells whose value ranks within the top rank in the applied range. If bottom is set, picks from the smallest values instead. */
|
|
1889
1972
|
TOP10: "top10",
|
|
1973
|
+
/** Cells whose value is above the average of the applied range. */
|
|
1890
1974
|
ABOVE_AVERAGE: "aboveAverage",
|
|
1975
|
+
/** Cells whose value is below the average of the applied range. */
|
|
1891
1976
|
BELOW_AVERAGE: "belowAverage",
|
|
1977
|
+
/** Cells whose value appears more than once in the applied range. */
|
|
1892
1978
|
DUPLICATE_VALUES: "duplicateValues",
|
|
1979
|
+
/** Cells whose value appears only once in the applied range. */
|
|
1893
1980
|
UNIQUE_VALUES: "uniqueValues",
|
|
1981
|
+
/** Cells whose date falls within the period in timePeriod. */
|
|
1894
1982
|
TIME_PERIOD: "timePeriod",
|
|
1983
|
+
/** Fills cells with the scale colors in colors according to their values. */
|
|
1895
1984
|
COLOR_SCALE: "colorScale",
|
|
1985
|
+
/** Draws a bar in each cell according to its value. The bar appearance is set by the dataBar preset. */
|
|
1896
1986
|
DATA_BAR: "dataBar",
|
|
1987
|
+
/** Adds an icon from iconSet to each cell according to its value. */
|
|
1897
1988
|
ICON_SET: "iconSet"
|
|
1898
1989
|
};
|
|
1899
1990
|
Cell2.ConditionalFormatOperator = {
|
|
1991
|
+
/** Cells whose value is equal to formula1. */
|
|
1900
1992
|
EQUAL: "equal",
|
|
1993
|
+
/** Cells whose value is not equal to formula1. */
|
|
1901
1994
|
NOT_EQUAL: "notEqual",
|
|
1995
|
+
/** Cells whose value is between the two boundaries. The boundary values are included. */
|
|
1902
1996
|
BETWEEN: "between",
|
|
1997
|
+
/** Cells whose value is outside the two boundaries. The boundary values are not included. */
|
|
1903
1998
|
NOT_BETWEEN: "notBetween",
|
|
1999
|
+
/** Cells whose value is greater than formula1. */
|
|
1904
2000
|
GREATER_THAN: "greaterThan",
|
|
2001
|
+
/** Cells whose value is greater than or equal to formula1. */
|
|
1905
2002
|
GREATER_THAN_OR_EQUAL: "greaterThanOrEqual",
|
|
2003
|
+
/** Cells whose value is less than formula1. */
|
|
1906
2004
|
LESS_THAN: "lessThan",
|
|
2005
|
+
/** Cells whose value is less than or equal to formula1. */
|
|
1907
2006
|
LESS_THAN_OR_EQUAL: "lessThanOrEqual"
|
|
1908
2007
|
};
|
|
1909
2008
|
Cell2.ConditionalFormatTimePeriod = {
|
|
2009
|
+
/** Yesterday. */
|
|
1910
2010
|
YESTERDAY: "yesterday",
|
|
2011
|
+
/** Today. */
|
|
1911
2012
|
TODAY: "today",
|
|
2013
|
+
/** Tomorrow. */
|
|
1912
2014
|
TOMORROW: "tomorrow",
|
|
2015
|
+
/** The last 7 days, including today. */
|
|
1913
2016
|
LAST_7_DAYS: "last7Days",
|
|
2017
|
+
/** Last week. */
|
|
1914
2018
|
LAST_WEEK: "lastWeek",
|
|
2019
|
+
/** This week. */
|
|
1915
2020
|
THIS_WEEK: "thisWeek",
|
|
2021
|
+
/** Next week. */
|
|
1916
2022
|
NEXT_WEEK: "nextWeek",
|
|
2023
|
+
/** Last month. */
|
|
1917
2024
|
LAST_MONTH: "lastMonth",
|
|
2025
|
+
/** This month. */
|
|
1918
2026
|
THIS_MONTH: "thisMonth",
|
|
2027
|
+
/** Next month. */
|
|
1919
2028
|
NEXT_MONTH: "nextMonth"
|
|
1920
2029
|
};
|
|
1921
2030
|
Cell2.ConditionalFormatValueType = {
|
|
2031
|
+
/** Number given in formula. */
|
|
1922
2032
|
NUM: "num",
|
|
2033
|
+
/** Minimum value in the range. */
|
|
1923
2034
|
MIN: "min",
|
|
2035
|
+
/** Maximum value in the range. */
|
|
1924
2036
|
MAX: "max",
|
|
2037
|
+
/** Percentage, where the span from the minimum to the maximum is 100. Give the value in formula. */
|
|
1925
2038
|
PERCENT: "percent",
|
|
2039
|
+
/** Percentile. Give the value in formula. */
|
|
1926
2040
|
PERCENTILE: "percentile",
|
|
2041
|
+
/** Result of the formula given in formula. */
|
|
1927
2042
|
FORMULA: "formula",
|
|
2043
|
+
/** Default minimum threshold of a data bar preset. Appears only in getter results and is not accepted as input. */
|
|
1928
2044
|
AUTO_MIN: "autoMin",
|
|
2045
|
+
/** Default maximum threshold of a data bar preset. Appears only in getter results and is not accepted as input. */
|
|
1929
2046
|
AUTO_MAX: "autoMax"
|
|
1930
2047
|
};
|
|
1931
2048
|
Cell2.FilterType = {
|
|
2049
|
+
/** Keeps only rows whose value is in the list of values to show. */
|
|
1932
2050
|
VALUES: "values",
|
|
2051
|
+
/** Keeps only rows that match one or two conditions. */
|
|
1933
2052
|
CUSTOM: "custom",
|
|
2053
|
+
/** Keeps only rows picked from the largest or smallest values by count or percentage. */
|
|
1934
2054
|
TOP10: "top10",
|
|
2055
|
+
/** Keeps only rows picked relative to the column average. The criterion is a FilterDynamicType value. */
|
|
1935
2056
|
DYNAMIC: "dynamic"
|
|
1936
2057
|
};
|
|
1937
2058
|
Cell2.FilterOperator = {
|
|
2059
|
+
/** Rows whose value is equal to value. */
|
|
1938
2060
|
EQUAL: "equal",
|
|
2061
|
+
/** Rows whose value is not equal to value. Rows with an empty cell are also kept. */
|
|
1939
2062
|
NOT_EQUAL: "notEqual",
|
|
2063
|
+
/** Rows whose value is greater than value. */
|
|
1940
2064
|
GREATER_THAN: "greaterThan",
|
|
2065
|
+
/** Rows whose value is greater than or equal to value. */
|
|
1941
2066
|
GREATER_OR_EQUAL: "greaterOrEqual",
|
|
2067
|
+
/** Rows whose value is less than value. */
|
|
1942
2068
|
LESS_THAN: "lessThan",
|
|
2069
|
+
/** Rows whose value is less than or equal to value. */
|
|
1943
2070
|
LESS_OR_EQUAL: "lessOrEqual",
|
|
2071
|
+
/** Rows that begin with value. */
|
|
1944
2072
|
BEGINS_WITH: "beginsWith",
|
|
2073
|
+
/** Rows that do not begin with value. */
|
|
1945
2074
|
NOT_BEGINS_WITH: "notBeginsWith",
|
|
2075
|
+
/** Rows that end with value. */
|
|
1946
2076
|
ENDS_WITH: "endsWith",
|
|
2077
|
+
/** Rows that do not end with value. */
|
|
1947
2078
|
NOT_ENDS_WITH: "notEndsWith",
|
|
2079
|
+
/** Rows that contain value. */
|
|
1948
2080
|
CONTAINS: "contains",
|
|
2081
|
+
/** Rows that do not contain value. */
|
|
1949
2082
|
NOT_CONTAINS: "notContains"
|
|
1950
2083
|
};
|
|
1951
2084
|
Cell2.FilterDynamicType = {
|
|
2085
|
+
/** Rows whose value is above the column average. */
|
|
1952
2086
|
ABOVE_AVERAGE: "aboveAverage",
|
|
2087
|
+
/** Rows whose value is below the column average. */
|
|
1953
2088
|
BELOW_AVERAGE: "belowAverage"
|
|
1954
2089
|
};
|
|
1955
2090
|
})(Cell || (Cell = {}));
|