@gridsheet/react-core 3.0.0-rc.1 → 3.0.0-rc.11
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/LICENSE +190 -0
- package/dist/hooks-Y7BI_RNj.mjs +1103 -0
- package/dist/hooks-Y7BI_RNj.mjs.map +1 -0
- package/dist/index.d.ts +2 -32
- package/dist/index.js +2963 -13438
- package/dist/index.js.map +1 -1
- package/dist/react-core/src/components/Cell.d.ts.map +1 -0
- package/dist/react-core/src/components/CellStateOverlay.d.ts.map +1 -0
- package/dist/react-core/src/components/ColumnMenu.d.ts.map +1 -0
- package/dist/react-core/src/components/ColumnMenuFilterSection.d.ts +5 -0
- package/dist/react-core/src/components/ColumnMenuFilterSection.d.ts.map +1 -0
- package/dist/react-core/src/components/ColumnMenuLabelSection.d.ts +5 -0
- package/dist/react-core/src/components/ColumnMenuLabelSection.d.ts.map +1 -0
- package/dist/react-core/src/components/ColumnMenuSortSection.d.ts +5 -0
- package/dist/react-core/src/components/ColumnMenuSortSection.d.ts.map +1 -0
- package/dist/react-core/src/components/ContextMenu.d.ts +2 -0
- package/dist/react-core/src/components/ContextMenu.d.ts.map +1 -0
- package/dist/react-core/src/components/Editor.d.ts.map +1 -0
- package/dist/react-core/src/components/EditorOptions.d.ts.map +1 -0
- package/dist/react-core/src/components/Emitter.d.ts.map +1 -0
- package/dist/react-core/src/components/Fixed.d.ts.map +1 -0
- package/dist/react-core/src/components/FormulaBar.d.ts.map +1 -0
- package/dist/{components → react-core/src/components}/FunctionGuide.d.ts +4 -4
- package/dist/react-core/src/components/FunctionGuide.d.ts.map +1 -0
- package/dist/react-core/src/components/GridSheet.d.ts +7 -0
- package/dist/react-core/src/components/GridSheet.d.ts.map +1 -0
- package/dist/react-core/src/components/HeaderCellLeft.d.ts.map +1 -0
- package/dist/react-core/src/components/HeaderCellTop.d.ts.map +1 -0
- package/dist/react-core/src/components/MenuItem.d.ts +18 -0
- package/dist/react-core/src/components/MenuItem.d.ts.map +1 -0
- package/dist/{components → react-core/src/components}/PluginBase.d.ts +2 -2
- package/dist/react-core/src/components/PluginBase.d.ts.map +1 -0
- package/dist/react-core/src/components/Resizer.d.ts.map +1 -0
- package/dist/react-core/src/components/RowMenu.d.ts.map +1 -0
- package/dist/react-core/src/components/ScrollHandle.d.ts.map +1 -0
- package/dist/react-core/src/components/SearchBar.d.ts.map +1 -0
- package/dist/react-core/src/components/StoreObserver.d.ts +14 -0
- package/dist/react-core/src/components/StoreObserver.d.ts.map +1 -0
- package/dist/react-core/src/components/Tabular.d.ts.map +1 -0
- package/dist/react-core/src/components/svg/AddIcon.d.ts.map +1 -0
- package/dist/react-core/src/components/svg/Base.d.ts.map +1 -0
- package/dist/react-core/src/components/svg/CloseIcon.d.ts.map +1 -0
- package/dist/react-core/src/components/svg/SearchIcon.d.ts.map +1 -0
- package/dist/{components → react-core/src/components}/useAutocomplete.d.ts +1 -3
- package/dist/react-core/src/components/useAutocomplete.d.ts.map +1 -0
- package/dist/react-core/src/index.d.ts +17 -0
- package/dist/react-core/src/index.d.ts.map +1 -0
- package/dist/react-core/src/lib/clipboard.d.ts +18 -0
- package/dist/react-core/src/lib/clipboard.d.ts.map +1 -0
- package/dist/react-core/src/lib/events.d.ts.map +1 -0
- package/dist/{components → react-core/src/lib}/hooks.d.ts +2 -0
- package/dist/react-core/src/lib/hooks.d.ts.map +1 -0
- package/dist/react-core/src/lib/menu.d.ts +99 -0
- package/dist/react-core/src/lib/menu.d.ts.map +1 -0
- package/dist/react-core/src/lib/paste.d.ts.map +1 -0
- package/dist/react-core/src/lib/style.d.ts +12 -0
- package/dist/react-core/src/lib/style.d.ts.map +1 -0
- package/dist/react-core/src/policy/checkbox.d.ts +3 -0
- package/dist/react-core/src/policy/checkbox.d.ts.map +1 -0
- package/dist/react-core/src/spellbook.d.ts +6 -0
- package/dist/react-core/src/spellbook.d.ts.map +1 -0
- package/dist/{store → react-core/src/store}/actions.d.ts +3 -3
- package/dist/react-core/src/store/actions.d.ts.map +1 -0
- package/dist/react-core/src/store/applyers.d.ts +40 -0
- package/dist/react-core/src/store/applyers.d.ts.map +1 -0
- package/dist/react-core/src/store/helpers.d.ts +33 -0
- package/dist/react-core/src/store/helpers.d.ts.map +1 -0
- package/dist/react-core/src/store/index.d.ts.map +1 -0
- package/dist/react-core/src/types.d.ts +101 -0
- package/dist/react-core/src/types.d.ts.map +1 -0
- package/dist/spellbook.d.ts +2 -0
- package/dist/spellbook.js +9 -0
- package/dist/spellbook.js.map +1 -0
- package/package.json +16 -11
- package/dist/components/Cell.d.ts.map +0 -1
- package/dist/components/CellStateOverlay.d.ts.map +0 -1
- package/dist/components/ColumnMenu.d.ts.map +0 -1
- package/dist/components/ContextMenu.d.ts +0 -21
- package/dist/components/ContextMenu.d.ts.map +0 -1
- package/dist/components/Editor.d.ts.map +0 -1
- package/dist/components/EditorOptions.d.ts.map +0 -1
- package/dist/components/Emitter.d.ts.map +0 -1
- package/dist/components/Fixed.d.ts.map +0 -1
- package/dist/components/FormulaBar.d.ts.map +0 -1
- package/dist/components/FunctionGuide.d.ts.map +0 -1
- package/dist/components/GridSheet.d.ts +0 -5
- package/dist/components/GridSheet.d.ts.map +0 -1
- package/dist/components/HeaderCellLeft.d.ts.map +0 -1
- package/dist/components/HeaderCellTop.d.ts.map +0 -1
- package/dist/components/PluginBase.d.ts.map +0 -1
- package/dist/components/Resizer.d.ts.map +0 -1
- package/dist/components/RowMenu.d.ts.map +0 -1
- package/dist/components/ScrollHandle.d.ts.map +0 -1
- package/dist/components/SearchBar.d.ts.map +0 -1
- package/dist/components/StoreObserver.d.ts +0 -11
- package/dist/components/StoreObserver.d.ts.map +0 -1
- package/dist/components/Tabular.d.ts.map +0 -1
- package/dist/components/hooks.d.ts.map +0 -1
- package/dist/components/svg/AddIcon.d.ts.map +0 -1
- package/dist/components/svg/Base.d.ts.map +0 -1
- package/dist/components/svg/CloseIcon.d.ts.map +0 -1
- package/dist/components/svg/SearchIcon.d.ts.map +0 -1
- package/dist/components/useAutocomplete.d.ts.map +0 -1
- package/dist/constants.d.ts +0 -17
- package/dist/constants.d.ts.map +0 -1
- package/dist/formula/evaluator.d.ts +0 -138
- package/dist/formula/evaluator.d.ts.map +0 -1
- package/dist/formula/functions/__async.d.ts +0 -62
- package/dist/formula/functions/__async.d.ts.map +0 -1
- package/dist/formula/functions/__base.d.ts +0 -53
- package/dist/formula/functions/__base.d.ts.map +0 -1
- package/dist/formula/functions/__utils.d.ts +0 -19
- package/dist/formula/functions/__utils.d.ts.map +0 -1
- package/dist/formula/functions/abs.d.ts +0 -9
- package/dist/formula/functions/abs.d.ts.map +0 -1
- package/dist/formula/functions/acos.d.ts +0 -9
- package/dist/formula/functions/acos.d.ts.map +0 -1
- package/dist/formula/functions/add.d.ts +0 -10
- package/dist/formula/functions/add.d.ts.map +0 -1
- package/dist/formula/functions/and.d.ts +0 -9
- package/dist/formula/functions/and.d.ts.map +0 -1
- package/dist/formula/functions/asin.d.ts +0 -9
- package/dist/formula/functions/asin.d.ts.map +0 -1
- package/dist/formula/functions/atan.d.ts +0 -9
- package/dist/formula/functions/atan.d.ts.map +0 -1
- package/dist/formula/functions/atan2.d.ts +0 -9
- package/dist/formula/functions/atan2.d.ts.map +0 -1
- package/dist/formula/functions/average.d.ts +0 -9
- package/dist/formula/functions/average.d.ts.map +0 -1
- package/dist/formula/functions/col.d.ts +0 -9
- package/dist/formula/functions/col.d.ts.map +0 -1
- package/dist/formula/functions/concat.d.ts +0 -9
- package/dist/formula/functions/concat.d.ts.map +0 -1
- package/dist/formula/functions/concatenate.d.ts +0 -9
- package/dist/formula/functions/concatenate.d.ts.map +0 -1
- package/dist/formula/functions/cos.d.ts +0 -9
- package/dist/formula/functions/cos.d.ts.map +0 -1
- package/dist/formula/functions/count.d.ts +0 -9
- package/dist/formula/functions/count.d.ts.map +0 -1
- package/dist/formula/functions/counta.d.ts +0 -9
- package/dist/formula/functions/counta.d.ts.map +0 -1
- package/dist/formula/functions/countif.d.ts +0 -10
- package/dist/formula/functions/countif.d.ts.map +0 -1
- package/dist/formula/functions/divide.d.ts +0 -9
- package/dist/formula/functions/divide.d.ts.map +0 -1
- package/dist/formula/functions/eq.d.ts +0 -9
- package/dist/formula/functions/eq.d.ts.map +0 -1
- package/dist/formula/functions/exp.d.ts +0 -9
- package/dist/formula/functions/exp.d.ts.map +0 -1
- package/dist/formula/functions/gt.d.ts +0 -9
- package/dist/formula/functions/gt.d.ts.map +0 -1
- package/dist/formula/functions/gte.d.ts +0 -9
- package/dist/formula/functions/gte.d.ts.map +0 -1
- package/dist/formula/functions/hlookup.d.ts +0 -10
- package/dist/formula/functions/hlookup.d.ts.map +0 -1
- package/dist/formula/functions/if.d.ts +0 -9
- package/dist/formula/functions/if.d.ts.map +0 -1
- package/dist/formula/functions/iferror.d.ts +0 -12
- package/dist/formula/functions/iferror.d.ts.map +0 -1
- package/dist/formula/functions/index.d.ts +0 -10
- package/dist/formula/functions/index.d.ts.map +0 -1
- package/dist/formula/functions/len.d.ts +0 -9
- package/dist/formula/functions/len.d.ts.map +0 -1
- package/dist/formula/functions/lenb.d.ts +0 -9
- package/dist/formula/functions/lenb.d.ts.map +0 -1
- package/dist/formula/functions/ln.d.ts +0 -9
- package/dist/formula/functions/ln.d.ts.map +0 -1
- package/dist/formula/functions/log.d.ts +0 -9
- package/dist/formula/functions/log.d.ts.map +0 -1
- package/dist/formula/functions/log10.d.ts +0 -9
- package/dist/formula/functions/log10.d.ts.map +0 -1
- package/dist/formula/functions/lt.d.ts +0 -9
- package/dist/formula/functions/lt.d.ts.map +0 -1
- package/dist/formula/functions/lte.d.ts +0 -9
- package/dist/formula/functions/lte.d.ts.map +0 -1
- package/dist/formula/functions/match.d.ts +0 -10
- package/dist/formula/functions/match.d.ts.map +0 -1
- package/dist/formula/functions/match.test.d.ts +0 -2
- package/dist/formula/functions/match.test.d.ts.map +0 -1
- package/dist/formula/functions/max.d.ts +0 -9
- package/dist/formula/functions/max.d.ts.map +0 -1
- package/dist/formula/functions/min.d.ts +0 -9
- package/dist/formula/functions/min.d.ts.map +0 -1
- package/dist/formula/functions/minus.d.ts +0 -10
- package/dist/formula/functions/minus.d.ts.map +0 -1
- package/dist/formula/functions/mod.d.ts +0 -9
- package/dist/formula/functions/mod.d.ts.map +0 -1
- package/dist/formula/functions/multiply.d.ts +0 -9
- package/dist/formula/functions/multiply.d.ts.map +0 -1
- package/dist/formula/functions/ne.d.ts +0 -9
- package/dist/formula/functions/ne.d.ts.map +0 -1
- package/dist/formula/functions/not.d.ts +0 -9
- package/dist/formula/functions/not.d.ts.map +0 -1
- package/dist/formula/functions/now.d.ts +0 -9
- package/dist/formula/functions/now.d.ts.map +0 -1
- package/dist/formula/functions/or.d.ts +0 -9
- package/dist/formula/functions/or.d.ts.map +0 -1
- package/dist/formula/functions/pi.d.ts +0 -9
- package/dist/formula/functions/pi.d.ts.map +0 -1
- package/dist/formula/functions/power.d.ts +0 -9
- package/dist/formula/functions/power.d.ts.map +0 -1
- package/dist/formula/functions/product.d.ts +0 -9
- package/dist/formula/functions/product.d.ts.map +0 -1
- package/dist/formula/functions/radians.d.ts +0 -9
- package/dist/formula/functions/radians.d.ts.map +0 -1
- package/dist/formula/functions/rand.d.ts +0 -9
- package/dist/formula/functions/rand.d.ts.map +0 -1
- package/dist/formula/functions/round.d.ts +0 -9
- package/dist/formula/functions/round.d.ts.map +0 -1
- package/dist/formula/functions/rounddown.d.ts +0 -9
- package/dist/formula/functions/rounddown.d.ts.map +0 -1
- package/dist/formula/functions/roundup.d.ts +0 -9
- package/dist/formula/functions/roundup.d.ts.map +0 -1
- package/dist/formula/functions/row.d.ts +0 -9
- package/dist/formula/functions/row.d.ts.map +0 -1
- package/dist/formula/functions/sin.d.ts +0 -9
- package/dist/formula/functions/sin.d.ts.map +0 -1
- package/dist/formula/functions/sqrt.d.ts +0 -9
- package/dist/formula/functions/sqrt.d.ts.map +0 -1
- package/dist/formula/functions/sum.d.ts +0 -9
- package/dist/formula/functions/sum.d.ts.map +0 -1
- package/dist/formula/functions/sumif.d.ts +0 -10
- package/dist/formula/functions/sumif.d.ts.map +0 -1
- package/dist/formula/functions/tan.d.ts +0 -9
- package/dist/formula/functions/tan.d.ts.map +0 -1
- package/dist/formula/functions/uminus.d.ts +0 -9
- package/dist/formula/functions/uminus.d.ts.map +0 -1
- package/dist/formula/functions/vlookup.d.ts +0 -10
- package/dist/formula/functions/vlookup.d.ts.map +0 -1
- package/dist/formula/mapping.d.ts +0 -10
- package/dist/formula/mapping.d.ts.map +0 -1
- package/dist/formula/solver.d.ts +0 -26
- package/dist/formula/solver.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/lib/autofill.d.ts +0 -17
- package/dist/lib/autofill.d.ts.map +0 -1
- package/dist/lib/cell.d.ts +0 -15
- package/dist/lib/cell.d.ts.map +0 -1
- package/dist/lib/clipboard.d.ts +0 -3
- package/dist/lib/clipboard.d.ts.map +0 -1
- package/dist/lib/coords.d.ts +0 -10
- package/dist/lib/coords.d.ts.map +0 -1
- package/dist/lib/date.d.ts +0 -2
- package/dist/lib/date.d.ts.map +0 -1
- package/dist/lib/events.d.ts.map +0 -1
- package/dist/lib/filter.d.ts +0 -7
- package/dist/lib/filter.d.ts.map +0 -1
- package/dist/lib/hub.d.ts +0 -136
- package/dist/lib/hub.d.ts.map +0 -1
- package/dist/lib/input.d.ts +0 -15
- package/dist/lib/input.d.ts.map +0 -1
- package/dist/lib/operation.d.ts +0 -34
- package/dist/lib/operation.d.ts.map +0 -1
- package/dist/lib/palette.d.ts +0 -2
- package/dist/lib/palette.d.ts.map +0 -1
- package/dist/lib/paste.d.ts.map +0 -1
- package/dist/lib/reference.d.ts +0 -13
- package/dist/lib/reference.d.ts.map +0 -1
- package/dist/lib/sheet.d.ts +0 -3
- package/dist/lib/sheet.d.ts.map +0 -1
- package/dist/lib/spatial.d.ts +0 -94
- package/dist/lib/spatial.d.ts.map +0 -1
- package/dist/lib/table.d.ts +0 -463
- package/dist/lib/table.d.ts.map +0 -1
- package/dist/lib/time.d.ts +0 -25
- package/dist/lib/time.d.ts.map +0 -1
- package/dist/lib/virtualization.d.ts +0 -22
- package/dist/lib/virtualization.d.ts.map +0 -1
- package/dist/parsers/core.d.ts +0 -38
- package/dist/parsers/core.d.ts.map +0 -1
- package/dist/policy/core.d.ts +0 -54
- package/dist/policy/core.d.ts.map +0 -1
- package/dist/renderers/checkbox.d.ts +0 -5
- package/dist/renderers/checkbox.d.ts.map +0 -1
- package/dist/renderers/core.d.ts +0 -66
- package/dist/renderers/core.d.ts.map +0 -1
- package/dist/renderers/thousand_separator.d.ts +0 -3
- package/dist/renderers/thousand_separator.d.ts.map +0 -1
- package/dist/sentinels.d.ts +0 -23
- package/dist/sentinels.d.ts.map +0 -1
- package/dist/store/actions.d.ts.map +0 -1
- package/dist/store/dispatchers.d.ts +0 -36
- package/dist/store/dispatchers.d.ts.map +0 -1
- package/dist/store/helpers.d.ts +0 -25
- package/dist/store/helpers.d.ts.map +0 -1
- package/dist/store/index.d.ts.map +0 -1
- package/dist/styles/embedder.d.ts +0 -2
- package/dist/styles/embedder.d.ts.map +0 -1
- package/dist/styles/minified.d.ts +0 -3
- package/dist/styles/minified.d.ts.map +0 -1
- package/dist/styles/utils.d.ts +0 -52
- package/dist/styles/utils.d.ts.map +0 -1
- package/dist/types.d.ts +0 -365
- package/dist/types.d.ts.map +0 -1
- package/dist/utils.d.ts +0 -2
- package/dist/utils.d.ts.map +0 -1
- /package/dist/{components → react-core/src/components}/Cell.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/CellStateOverlay.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/ColumnMenu.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/Editor.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/EditorOptions.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/Emitter.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/Fixed.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/FormulaBar.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/HeaderCellLeft.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/HeaderCellTop.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/Resizer.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/RowMenu.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/ScrollHandle.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/SearchBar.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/Tabular.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/svg/AddIcon.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/svg/Base.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/svg/CloseIcon.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/svg/SearchIcon.d.ts +0 -0
- /package/dist/{lib → react-core/src/lib}/events.d.ts +0 -0
- /package/dist/{lib → react-core/src/lib}/paste.d.ts +0 -0
- /package/dist/{store → react-core/src/store}/index.d.ts +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ne.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/ne.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGjD,qBAAa,UAAW,SAAQ,YAAY;IAC1C,OAAO,SAAc;IACrB,QAAQ,WAGN;IACF,QAAQ,EAAE,OAAO,EAAE,CAGjB;IAEF,SAAS,CAAC,QAAQ;IAMlB,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM;CAGtC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseFunction, HelpArg } from './__base';
|
|
2
|
-
export declare class NotFunction extends BaseFunction {
|
|
3
|
-
example: string;
|
|
4
|
-
helpText: string[];
|
|
5
|
-
helpArgs: HelpArg[];
|
|
6
|
-
protected validate(): void;
|
|
7
|
-
protected main(v1: boolean): boolean;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=not.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"not.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/not.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGjD,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAe;IACtB,QAAQ,WAAsG;IAC9G,QAAQ,EAAE,OAAO,EAAE,CAMjB;IAEF,SAAS,CAAC,QAAQ;IAQlB,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO;CAG3B"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseFunction, HelpArg } from './__base';
|
|
2
|
-
export declare class NowFunction extends BaseFunction {
|
|
3
|
-
example: string;
|
|
4
|
-
helpText: string[];
|
|
5
|
-
helpArgs: HelpArg[];
|
|
6
|
-
protected validate(): void;
|
|
7
|
-
protected main(): Date;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=now.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"now.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/now.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEjD,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAW;IAClB,QAAQ,WAA0E;IAClF,QAAQ,EAAE,OAAO,EAAE,CAAM;IAEzB,SAAS,CAAC,QAAQ;IAMlB,SAAS,CAAC,IAAI;CAGf"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseFunction, HelpArg } from './__base';
|
|
2
|
-
export declare class OrFunction extends BaseFunction {
|
|
3
|
-
example: string;
|
|
4
|
-
helpText: string[];
|
|
5
|
-
helpArgs: HelpArg[];
|
|
6
|
-
protected validate(): void;
|
|
7
|
-
protected main(...values: boolean[]): boolean;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=or.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"or.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/or.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGjD,qBAAa,UAAW,SAAQ,YAAY;IAC1C,OAAO,SAAoB;IAC3B,QAAQ,WAA8G;IACtH,QAAQ,EAAE,OAAO,EAAE,CASjB;IAEF,SAAS,CAAC,QAAQ;IAIlB,SAAS,CAAC,IAAI,CAAC,GAAG,MAAM,EAAE,OAAO,EAAE;CAGpC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseFunction, HelpArg } from './__base';
|
|
2
|
-
export declare class PiFunction extends BaseFunction {
|
|
3
|
-
example: string;
|
|
4
|
-
helpText: string[];
|
|
5
|
-
helpArgs: HelpArg[];
|
|
6
|
-
protected validate(): void;
|
|
7
|
-
protected main(): number;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=pi.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pi.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/pi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEjD,qBAAa,UAAW,SAAQ,YAAY;IAC1C,OAAO,SAAU;IACjB,QAAQ,WAAgC;IACxC,QAAQ,EAAE,OAAO,EAAE,CAAM;IAEzB,SAAS,CAAC,QAAQ;IAMlB,SAAS,CAAC,IAAI;CAGf"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseFunction, HelpArg } from './__base';
|
|
2
|
-
export declare class PowerFunction extends BaseFunction {
|
|
3
|
-
example: string;
|
|
4
|
-
helpText: string[];
|
|
5
|
-
helpArgs: HelpArg[];
|
|
6
|
-
protected validate(): void;
|
|
7
|
-
protected main(base: number, exponent: number): number;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=power.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"power.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/power.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGjD,qBAAa,aAAc,SAAQ,YAAY;IAC7C,OAAO,SAAkB;IACzB,QAAQ,WAAmD;IAC3D,QAAQ,EAAE,OAAO,EAAE,CAGjB;IAEF,SAAS,CAAC,QAAQ;IAOlB,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;CAG9C"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseFunction, HelpArg } from './__base';
|
|
2
|
-
export declare class ProductFunction extends BaseFunction {
|
|
3
|
-
example: string;
|
|
4
|
-
helpText: string[];
|
|
5
|
-
helpArgs: HelpArg[];
|
|
6
|
-
protected validate(): void;
|
|
7
|
-
protected main(...values: number[]): number;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=product.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/product.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGjD,qBAAa,eAAgB,SAAQ,YAAY;IAC/C,OAAO,SAAsB;IAC7B,QAAQ,WAA4D;IACpE,QAAQ,EAAE,OAAO,EAAE,CASjB;IAEF,SAAS,CAAC,QAAQ;IAgBlB,SAAS,CAAC,IAAI,CAAC,GAAG,MAAM,EAAE,MAAM,EAAE;CAGnC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseFunction, HelpArg } from './__base';
|
|
2
|
-
export declare class RadiansFunction extends BaseFunction {
|
|
3
|
-
example: string;
|
|
4
|
-
helpText: string[];
|
|
5
|
-
helpArgs: HelpArg[];
|
|
6
|
-
protected validate(): void;
|
|
7
|
-
protected main(angle: number): number;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=radians.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"radians.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/radians.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGjD,qBAAa,eAAgB,SAAQ,YAAY;IAC/C,OAAO,SAAkB;IACzB,QAAQ,WAAkD;IAC1D,QAAQ,EAAE,OAAO,EAAE,CAMjB;IAEF,SAAS,CAAC,QAAQ;IAOlB,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM;CAG7B"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseFunction, HelpArg } from './__base';
|
|
2
|
-
export declare class RandFunction extends BaseFunction {
|
|
3
|
-
example: string;
|
|
4
|
-
helpText: string[];
|
|
5
|
-
helpArgs: HelpArg[];
|
|
6
|
-
protected validate(): void;
|
|
7
|
-
protected main(): number;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=rand.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rand.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/rand.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEjD,qBAAa,YAAa,SAAQ,YAAY;IAC5C,OAAO,SAAY;IACnB,QAAQ,WAAgD;IACxD,QAAQ,EAAE,OAAO,EAAE,CAAM;IAEzB,SAAS,CAAC,QAAQ;IAMlB,SAAS,CAAC,IAAI;CAGf"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseFunction, HelpArg } from './__base';
|
|
2
|
-
export declare class RoundFunction extends BaseFunction {
|
|
3
|
-
example: string;
|
|
4
|
-
helpText: string[];
|
|
5
|
-
helpArgs: HelpArg[];
|
|
6
|
-
protected validate(): void;
|
|
7
|
-
protected main(value: number, digit?: number): number;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=round.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"round.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/round.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGjD,qBAAa,aAAc,SAAQ,YAAY;IAC7C,OAAO,SAAoB;IAC3B,QAAQ,WAA6F;IACrG,QAAQ,EAAE,OAAO,EAAE,CAYjB;IAEF,SAAS,CAAC,QAAQ;IAOlB,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,SAAI;CAIxC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseFunction, HelpArg } from './__base';
|
|
2
|
-
export declare class RounddownFunction extends BaseFunction {
|
|
3
|
-
example: string;
|
|
4
|
-
helpText: string[];
|
|
5
|
-
helpArgs: HelpArg[];
|
|
6
|
-
protected validate(): void;
|
|
7
|
-
protected main(value: number, digit?: number): number;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=rounddown.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rounddown.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/rounddown.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGjD,qBAAa,iBAAkB,SAAQ,YAAY;IACjD,OAAO,SAAwB;IAC/B,QAAQ,WAAkG;IAC1G,QAAQ,EAAE,OAAO,EAAE,CAYjB;IAEF,SAAS,CAAC,QAAQ;IAOlB,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,SAAI;CAIxC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseFunction, HelpArg } from './__base';
|
|
2
|
-
export declare class RoundupFunction extends BaseFunction {
|
|
3
|
-
example: string;
|
|
4
|
-
helpText: string[];
|
|
5
|
-
helpArgs: HelpArg[];
|
|
6
|
-
protected validate(): void;
|
|
7
|
-
protected main(value: number, digit?: number): number;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=roundup.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"roundup.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/roundup.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGjD,qBAAa,eAAgB,SAAQ,YAAY;IAC/C,OAAO,SAAsB;IAC7B,QAAQ,WAAgG;IACxG,QAAQ,EAAE,OAAO,EAAE,CAYjB;IAEF,SAAS,CAAC,QAAQ;IAOlB,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,SAAI;CAIxC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseFunction, HelpArg } from './__base';
|
|
2
|
-
export declare class RowFunction extends BaseFunction {
|
|
3
|
-
example: string;
|
|
4
|
-
helpText: string[];
|
|
5
|
-
helpArgs: HelpArg[];
|
|
6
|
-
protected validate(): void;
|
|
7
|
-
protected main(top: number): number;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=row.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"row.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/row.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEjD,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAa;IACpB,QAAQ,WAAmD;IAC3D,QAAQ,EAAE,OAAO,EAAE,CAOjB;IAEF,SAAS,CAAC,QAAQ;IAWlB,SAAS,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM;CAG3B"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseFunction, HelpArg } from './__base';
|
|
2
|
-
export declare class SinFunction extends BaseFunction {
|
|
3
|
-
example: string;
|
|
4
|
-
helpText: string[];
|
|
5
|
-
helpArgs: HelpArg[];
|
|
6
|
-
protected validate(): void;
|
|
7
|
-
protected main(angle: number): number;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=sin.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sin.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/sin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGjD,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAiB;IACxB,QAAQ,WAA0D;IAClE,QAAQ,EAAE,OAAO,EAAE,CAMjB;IAEF,SAAS,CAAC,QAAQ;IAOlB,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM;CAG7B"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseFunction, HelpArg } from './__base';
|
|
2
|
-
export declare class SqrtFunction extends BaseFunction {
|
|
3
|
-
example: string;
|
|
4
|
-
helpText: string[];
|
|
5
|
-
helpArgs: HelpArg[];
|
|
6
|
-
protected validate(): void;
|
|
7
|
-
protected main(value: number): number;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=sqrt.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sqrt.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/sqrt.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGjD,qBAAa,YAAa,SAAQ,YAAY;IAC5C,OAAO,SAAa;IACpB,QAAQ,WAA8D;IACtE,QAAQ,EAAE,OAAO,EAAE,CAMjB;IAEF,SAAS,CAAC,QAAQ;IAUlB,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM;CAG7B"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseFunction, HelpArg } from './__base';
|
|
2
|
-
export declare class SumFunction extends BaseFunction {
|
|
3
|
-
example: string;
|
|
4
|
-
helpText: string[];
|
|
5
|
-
helpArgs: HelpArg[];
|
|
6
|
-
protected validate(): void;
|
|
7
|
-
protected main(...values: number[]): number;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=sum.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sum.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/sum.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAIjD,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAuB;IAC9B,QAAQ,WAAwD;IAChE,QAAQ,EAAE,OAAO,EAAE,CASjB;IAEF,SAAS,CAAC,QAAQ;IAmBlB,SAAS,CAAC,IAAI,CAAC,GAAG,MAAM,EAAE,MAAM,EAAE;CAMnC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Table } from '../../lib/table';
|
|
2
|
-
import { BaseFunction, HelpArg } from './__base';
|
|
3
|
-
export declare class SumifFunction extends BaseFunction {
|
|
4
|
-
example: string;
|
|
5
|
-
helpText: string[];
|
|
6
|
-
helpArgs: HelpArg[];
|
|
7
|
-
protected validate(): void;
|
|
8
|
-
protected main(range: Table, condition: string, sumRange: Table): number;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=sumif.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sumif.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/sumif.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,YAAY,EAAgB,OAAO,EAAE,MAAM,UAAU,CAAC;AAK/D,qBAAa,aAAc,SAAQ,YAAY;IAC7C,OAAO,SAAyB;IAChC,QAAQ,WAA6C;IACrD,QAAQ,EAAE,OAAO,EAAE,CAIjB;IAEF,SAAS,CAAC,QAAQ;IAUlB,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK;CA2BhE"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseFunction, HelpArg } from './__base';
|
|
2
|
-
export declare class TanFunction extends BaseFunction {
|
|
3
|
-
example: string;
|
|
4
|
-
helpText: string[];
|
|
5
|
-
helpArgs: HelpArg[];
|
|
6
|
-
protected validate(): void;
|
|
7
|
-
protected main(angle: number): number;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=tan.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tan.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/tan.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGjD,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAY;IACnB,QAAQ,WAA0D;IAClE,QAAQ,EAAE,OAAO,EAAE,CAMjB;IAEF,SAAS,CAAC,QAAQ;IAOlB,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM;CAG7B"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseFunction, HelpArg } from './__base';
|
|
2
|
-
export declare class UminusFunction extends BaseFunction {
|
|
3
|
-
example: string;
|
|
4
|
-
helpText: string[];
|
|
5
|
-
helpArgs: HelpArg[];
|
|
6
|
-
protected validate(): void;
|
|
7
|
-
protected main(v1: number): number;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=uminus.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"uminus.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/uminus.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGjD,qBAAa,cAAe,SAAQ,YAAY;IAC9C,OAAO,SAAe;IACtB,QAAQ,WAAoE;IAC5E,QAAQ,EAAE,OAAO,EAAE,CAA4F;IAE/G,SAAS,CAAC,QAAQ;IAOlB,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM;CAG1B"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Table } from '../../lib/table';
|
|
2
|
-
import { BaseFunction, HelpArg } from './__base';
|
|
3
|
-
export declare class VlookupFunction extends BaseFunction {
|
|
4
|
-
example: string;
|
|
5
|
-
helpText: string[];
|
|
6
|
-
helpArgs: HelpArg[];
|
|
7
|
-
protected validate(): void;
|
|
8
|
-
protected main(key: any, range: Table, index: number, isSorted: boolean): any;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=vlookup.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vlookup.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/vlookup.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAIjD,qBAAa,eAAgB,SAAQ,YAAY;IAC/C,OAAO,SAAsC;IAC7C,QAAQ,WAEN;IACF,QAAQ,EAAE,OAAO,EAAE,CAmBjB;IAEF,SAAS,CAAC,QAAQ;IAclB,SAAS,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO;CA2BxE"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FunctionMapping, HelpArg } from './functions/__base';
|
|
2
|
-
export declare const functions: FunctionMapping;
|
|
3
|
-
export type FunctionHelp = {
|
|
4
|
-
name: string;
|
|
5
|
-
example: string;
|
|
6
|
-
helpTexts: string[];
|
|
7
|
-
helpArgs: HelpArg[];
|
|
8
|
-
};
|
|
9
|
-
export declare const getFunctionHelps: (customFunctions?: FunctionMapping) => FunctionHelp[];
|
|
10
|
-
//# sourceMappingURL=mapping.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mapping.d.ts","sourceRoot":"","sources":["../../src/formula/mapping.ts"],"names":[],"mappings":"AAyDA,OAAO,KAAK,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAEnE,eAAO,MAAM,SAAS,EAAE,eA6DvB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,QAAQ,EAAE,OAAO,EAAE,CAAC;CACrB,CAAC;AAIF,eAAO,MAAM,gBAAgB,GAAI,kBAAiB,eAA2B,KAAG,YAAY,EAgB3F,CAAC"}
|
package/dist/formula/solver.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Table } from '../lib/table';
|
|
2
|
-
import { Id, MatrixType, PointType, RefEvaluation } from '../types';
|
|
3
|
-
type SolveFormulaProps = {
|
|
4
|
-
value: any;
|
|
5
|
-
table: Table;
|
|
6
|
-
raise?: boolean;
|
|
7
|
-
refEvaluation?: RefEvaluation;
|
|
8
|
-
origin: PointType;
|
|
9
|
-
};
|
|
10
|
-
export declare const solveFormula: ({ value, table, raise, refEvaluation, origin }: SolveFormulaProps) => any;
|
|
11
|
-
type SolveTableProps = {
|
|
12
|
-
table: Table;
|
|
13
|
-
raise?: boolean;
|
|
14
|
-
refEvaluation?: RefEvaluation;
|
|
15
|
-
};
|
|
16
|
-
export declare const solveTable: ({ table, raise }: SolveTableProps) => MatrixType;
|
|
17
|
-
export type StripTableProps = {
|
|
18
|
-
value: any;
|
|
19
|
-
y?: number;
|
|
20
|
-
x?: number;
|
|
21
|
-
raise?: boolean;
|
|
22
|
-
history?: Set<Id>;
|
|
23
|
-
};
|
|
24
|
-
export declare const stripTable: ({ value, y, x, raise, history }: StripTableProps) => any;
|
|
25
|
-
export {};
|
|
26
|
-
//# sourceMappingURL=solver.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"solver.d.ts","sourceRoot":"","sources":["../../src/formula/solver.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAGpE,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,GAAG,CAAC;IACX,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,MAAM,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,gDAAiE,iBAAiB,QAoC9G,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,kBAAyB,eAAe,KAAG,UAgCrE,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,GAAG,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,iCAA4D,eAAe,KAAG,GAoBxG,CAA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
-
import { AreaType, PointType, StoreType } from '../types';
|
|
2
|
-
import { Table } from './table';
|
|
3
|
-
import { CSSProperties } from 'react';
|
|
4
|
-
export declare class Autofill {
|
|
5
|
-
private readonly src;
|
|
6
|
-
private readonly dst;
|
|
7
|
-
private readonly direction;
|
|
8
|
-
private readonly table;
|
|
9
|
-
constructor(store: StoreType, draggingTo: PointType);
|
|
10
|
-
get applied(): Table;
|
|
11
|
-
get wholeArea(): AreaType;
|
|
12
|
-
getCellStyle(target: PointType): CSSProperties;
|
|
13
|
-
private getDestinationArea;
|
|
14
|
-
private suggestDirection;
|
|
15
|
-
private getChangePatterns;
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=autofill.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"autofill.d.ts","sourceRoot":"","sources":["../../src/lib/autofill.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAgC,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC7F,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAKhC,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAgBtC,qBAAa,QAAQ;IACnB,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAW;IAC/B,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAW;IAC/B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAY;IACtC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAQ;gBAClB,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS;IAYnD,IAAW,OAAO,IAAI,KAAK,CAyD1B;IAED,IAAW,SAAS,aAEnB;IAEM,YAAY,CAAC,MAAM,EAAE,SAAS;IAmErC,OAAO,CAAC,kBAAkB;IAgB1B,OAAO,CAAC,gBAAgB;IA8BxB,OAAO,CAAC,iBAAiB;CA6F1B"}
|
package/dist/lib/cell.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { AsyncCache, CellType, System } from '../types';
|
|
2
|
-
export declare const filterCellFields: (cell: CellType, ignoreFields: (keyof CellType)[]) => CellType;
|
|
3
|
-
/**
|
|
4
|
-
* Ensure that `cell._sys` exists, initialising it with sensible defaults
|
|
5
|
-
* when missing. Any keys present in `defaults` that are absent on the
|
|
6
|
-
* existing `_sys` object are filled in.
|
|
7
|
-
* Returns the (possibly freshly-created) `System` object.
|
|
8
|
-
*/
|
|
9
|
-
export declare const ensureSys: (cell: CellType, defaults?: Partial<System>) => System;
|
|
10
|
-
/**
|
|
11
|
-
* Write an `AsyncCache` entry into `cell.asyncCaches[key]`, creating the
|
|
12
|
-
* `asyncCaches` record if it does not yet exist.
|
|
13
|
-
*/
|
|
14
|
-
export declare const setAsyncCache: (cell: CellType, key: string, ac: AsyncCache) => void;
|
|
15
|
-
//# sourceMappingURL=cell.d.ts.map
|
package/dist/lib/cell.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cell.d.ts","sourceRoot":"","sources":["../../src/lib/cell.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAE7D,eAAO,MAAM,gBAAgB,GAAI,MAAM,QAAQ,EAAE,cAAc,CAAC,MAAM,QAAQ,CAAC,EAAE,KAAG,QAOnF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,SAAS,GAAI,MAAM,QAAQ,EAAE,WAAU,OAAO,CAAC,MAAM,CAAM,KAAG,MAS1E,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,GAAI,MAAM,QAAQ,EAAE,KAAK,MAAM,EAAE,IAAI,UAAU,KAAG,IAK3E,CAAC"}
|
package/dist/lib/clipboard.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clipboard.d.ts","sourceRoot":"","sources":["../../src/lib/clipboard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAa,MAAM,UAAU,CAAC;AAK/D,eAAO,MAAM,IAAI,GAAI,OAAO,SAAS,aAsCpC,CAAC"}
|
package/dist/lib/coords.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Address, ExtraPointType } from '../types';
|
|
2
|
-
export declare const x2c: (x: number) => string;
|
|
3
|
-
export declare const c2x: (col: string, absolute?: boolean) => number;
|
|
4
|
-
export declare const y2r: (y: number) => string;
|
|
5
|
-
export declare const r2y: (row: number | string, absolute?: boolean) => number;
|
|
6
|
-
export declare const p2a: ({ y, x, absX, absY }: ExtraPointType) => string;
|
|
7
|
-
export declare const a2p: (address: Address) => ExtraPointType;
|
|
8
|
-
export declare const grantAddressAbsolute: (address: Address, absCol: boolean, absRow: boolean) => string;
|
|
9
|
-
export declare const stripAddressAbsolute: (address: Address) => string;
|
|
10
|
-
//# sourceMappingURL=coords.d.ts.map
|
package/dist/lib/coords.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"coords.d.ts","sourceRoot":"","sources":["../../src/lib/coords.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAa,cAAc,EAAE,MAAM,UAAU,CAAC;AAwDnE,eAAO,MAAM,GAAG,GAAI,GAAG,MAAM,KAAG,MAM/B,CAAC;AAEF,eAAO,MAAM,GAAG,GAAI,KAAK,MAAM,EAAE,kBAAgB,KAAG,MAGnD,CAAC;AAEF,eAAO,MAAM,GAAG,GAAI,GAAG,MAAM,WAK5B,CAAC;AAEF,eAAO,MAAM,GAAG,GAAI,KAAK,MAAM,GAAG,MAAM,EAAE,kBAAgB,WAKzD,CAAC;AAEF,eAAO,MAAM,GAAG,GAAI,sBAAsB,cAAc,WAQvD,CAAC;AAEF,eAAO,MAAM,GAAG,GAAI,SAAS,OAAO,KAAG,cAWtC,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,SAAS,OAAO,EAAE,QAAQ,OAAO,EAAE,QAAQ,OAAO,WAOtF,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,SAAS,OAAO,WAEpD,CAAC"}
|
package/dist/lib/date.d.ts
DELETED
package/dist/lib/date.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../src/lib/date.ts"],"names":[],"mappings":"AA+EA,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAyBzD"}
|
package/dist/lib/events.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/lib/events.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,GAAI,GAAG,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,UAAU,KAAG,OAUnE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAAI,GAAG,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,UAAU,KAAG,IAI3E,CAAC"}
|
package/dist/lib/filter.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { FilterCondition, FilterConditionMethod, FilterConfig } from '../types';
|
|
2
|
-
type FilterFunction = (condition: FilterCondition, cellValue: any) => boolean;
|
|
3
|
-
export declare const filterFunctions: Record<FilterConditionMethod, FilterFunction>;
|
|
4
|
-
export declare function evaluateFilterCondition(condition: FilterCondition, cellValue: any): boolean;
|
|
5
|
-
export declare function evaluateFilterConfig(filter: FilterConfig, cellValue: any): boolean;
|
|
6
|
-
export {};
|
|
7
|
-
//# sourceMappingURL=filter.d.ts.map
|
package/dist/lib/filter.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filter.d.ts","sourceRoot":"","sources":["../../src/lib/filter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAIrF,KAAK,cAAc,GAAG,CAAC,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,GAAG,KAAK,OAAO,CAAC;AA+J9E,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,qBAAqB,EAAE,cAAc,CAWzE,CAAC;AAEF,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,GAAG,GAAG,OAAO,CAG3F;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,GAAG,OAAO,CAUlF"}
|
package/dist/lib/hub.d.ts
DELETED
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import { Pending } from '../sentinels';
|
|
2
|
-
import { HistoryType, RefPaletteType, SheetIdsByName, ContextsBySheetId, ZoneType, CellsByIdType, Id, FeedbackType, EditorEvent, CursorStateType } from '../types';
|
|
3
|
-
import { UserTable } from './table';
|
|
4
|
-
import { FunctionMapping } from '../formula/functions/__base';
|
|
5
|
-
import { PolicyType } from '../policy/core';
|
|
6
|
-
import { RendererType } from '../renderers/core';
|
|
7
|
-
import { ParserType } from '../parsers/core';
|
|
8
|
-
export type WireProps = {
|
|
9
|
-
historyLimit?: number;
|
|
10
|
-
additionalFunctions?: FunctionMapping;
|
|
11
|
-
renderers?: {
|
|
12
|
-
[rendererName: string]: RendererType | null;
|
|
13
|
-
};
|
|
14
|
-
parsers?: {
|
|
15
|
-
[parserName: string]: ParserType | null;
|
|
16
|
-
};
|
|
17
|
-
labelers?: {
|
|
18
|
-
[labelerName: string]: ((n: number) => string) | null;
|
|
19
|
-
};
|
|
20
|
-
policies?: {
|
|
21
|
-
[policyName: string]: PolicyType | null;
|
|
22
|
-
};
|
|
23
|
-
onSave?: FeedbackType;
|
|
24
|
-
onChange?: FeedbackType;
|
|
25
|
-
onRemoveRows?: (args: {
|
|
26
|
-
table: UserTable;
|
|
27
|
-
ys: number[];
|
|
28
|
-
}) => void;
|
|
29
|
-
onRemoveCols?: (args: {
|
|
30
|
-
table: UserTable;
|
|
31
|
-
xs: number[];
|
|
32
|
-
}) => void;
|
|
33
|
-
onInsertRows?: (args: {
|
|
34
|
-
table: UserTable;
|
|
35
|
-
y: number;
|
|
36
|
-
numRows: number;
|
|
37
|
-
}) => void;
|
|
38
|
-
onInsertCols?: (args: {
|
|
39
|
-
table: UserTable;
|
|
40
|
-
x: number;
|
|
41
|
-
numCols: number;
|
|
42
|
-
}) => void;
|
|
43
|
-
onSelect?: FeedbackType;
|
|
44
|
-
onKeyUp?: (args: {
|
|
45
|
-
e: EditorEvent;
|
|
46
|
-
points: CursorStateType;
|
|
47
|
-
}) => void;
|
|
48
|
-
onInit?: (args: {
|
|
49
|
-
table: UserTable;
|
|
50
|
-
}) => void;
|
|
51
|
-
};
|
|
52
|
-
export type HubProps = WireProps;
|
|
53
|
-
export declare class Wire {
|
|
54
|
-
sheetHead: number;
|
|
55
|
-
cellHead: number;
|
|
56
|
-
data: CellsByIdType;
|
|
57
|
-
sheetIdsByName: SheetIdsByName;
|
|
58
|
-
contextsBySheetId: ContextsBySheetId;
|
|
59
|
-
choosingSheetId: number;
|
|
60
|
-
choosingAddress: string;
|
|
61
|
-
editingSheetId: number;
|
|
62
|
-
editingAddress: string;
|
|
63
|
-
paletteBySheetName: {
|
|
64
|
-
[sheetName: string]: RefPaletteType;
|
|
65
|
-
};
|
|
66
|
-
lastFocused: HTMLTextAreaElement | null;
|
|
67
|
-
solvedCaches: Map<Id, any>;
|
|
68
|
-
/** Currently in-flight async formula Pending sentinels (keyed by cell ID). */
|
|
69
|
-
asyncPending: Map<string, Pending>;
|
|
70
|
-
/** In-flight async formulas shared by cache key (for useInflight). */
|
|
71
|
-
asyncInflight?: Map<string, {
|
|
72
|
-
pending: Pending;
|
|
73
|
-
expireTime?: number;
|
|
74
|
-
}>;
|
|
75
|
-
copyingSheetId: number;
|
|
76
|
-
copyingZone: ZoneType;
|
|
77
|
-
cutting: boolean;
|
|
78
|
-
histories: HistoryType[];
|
|
79
|
-
historyIndex: number;
|
|
80
|
-
historyLimit: number;
|
|
81
|
-
lastHistory?: HistoryType;
|
|
82
|
-
currentHistory?: HistoryType;
|
|
83
|
-
ready: boolean;
|
|
84
|
-
functions: FunctionMapping;
|
|
85
|
-
renderers: {
|
|
86
|
-
[rendererName: string]: RendererType | null;
|
|
87
|
-
};
|
|
88
|
-
parsers: {
|
|
89
|
-
[parserName: string]: ParserType | null;
|
|
90
|
-
};
|
|
91
|
-
labelers: {
|
|
92
|
-
[labelerName: string]: ((n: number) => string) | null;
|
|
93
|
-
};
|
|
94
|
-
policies: {
|
|
95
|
-
[policyName: string]: PolicyType | null;
|
|
96
|
-
};
|
|
97
|
-
onSave?: FeedbackType;
|
|
98
|
-
onChange?: FeedbackType;
|
|
99
|
-
onRemoveRows?: (args: {
|
|
100
|
-
table: UserTable;
|
|
101
|
-
ys: number[];
|
|
102
|
-
}) => void;
|
|
103
|
-
onRemoveCols?: (args: {
|
|
104
|
-
table: UserTable;
|
|
105
|
-
xs: number[];
|
|
106
|
-
}) => void;
|
|
107
|
-
onInsertRows?: (args: {
|
|
108
|
-
table: UserTable;
|
|
109
|
-
y: number;
|
|
110
|
-
numRows: number;
|
|
111
|
-
}) => void;
|
|
112
|
-
onInsertCols?: (args: {
|
|
113
|
-
table: UserTable;
|
|
114
|
-
x: number;
|
|
115
|
-
numCols: number;
|
|
116
|
-
}) => void;
|
|
117
|
-
onSelect?: FeedbackType;
|
|
118
|
-
onKeyUp?: (args: {
|
|
119
|
-
e: EditorEvent;
|
|
120
|
-
points: CursorStateType;
|
|
121
|
-
}) => void;
|
|
122
|
-
onInit?: (args: {
|
|
123
|
-
table: UserTable;
|
|
124
|
-
}) => void;
|
|
125
|
-
transmit: (newHub?: TransmitProps) => void;
|
|
126
|
-
identifyFormula(): void;
|
|
127
|
-
constructor({ historyLimit, additionalFunctions, renderers, parsers, labelers, policies, onSave, onChange, onRemoveRows, onRemoveCols, onInsertRows, onInsertCols, onSelect, onKeyUp, onInit, }?: WireProps);
|
|
128
|
-
}
|
|
129
|
-
export type TransmitProps = Partial<Wire>;
|
|
130
|
-
export declare const createWire: (props?: WireProps) => Wire;
|
|
131
|
-
export type HubType = {
|
|
132
|
-
wire: Wire;
|
|
133
|
-
};
|
|
134
|
-
export declare const createHub: (props?: WireProps) => HubType;
|
|
135
|
-
export declare const useHub: (props?: WireProps) => HubType;
|
|
136
|
-
//# sourceMappingURL=hub.d.ts.map
|
package/dist/lib/hub.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hub.d.ts","sourceRoot":"","sources":["../../src/lib/hub.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,OAAO,KAAK,EACV,WAAW,EACX,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,QAAQ,EACR,aAAa,EACb,EAAE,EAEF,YAAY,EACZ,WAAW,EACX,eAAe,EAChB,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAEnE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG7C,MAAM,MAAM,SAAS,GAAG;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,eAAe,CAAC;IACtC,SAAS,CAAC,EAAE;QAAE,CAAC,YAAY,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI,CAAA;KAAE,CAAC;IAC5D,OAAO,CAAC,EAAE;QAAE,CAAC,UAAU,EAAE,MAAM,GAAG,UAAU,GAAG,IAAI,CAAA;KAAE,CAAC;IACtD,QAAQ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Aa,EACb,MAAM,EACN,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,OAAO,EACP,MAAM,GACP,GAAE,SAAc;CAsBlB;AAED,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AAE1C,eAAO,MAAM,UAAU,GAAI,QAAO,SAAc,SAE/C,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB,IAAI,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,QAAO,SAAc,KAAG,OAEjD,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,QAAO,SAAc,YAc3C,CAAC"}
|
package/dist/lib/input.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { PointType } from '../types';
|
|
2
|
-
import { Table } from './table';
|
|
3
|
-
export declare const insertTextAtCursor: (input: HTMLTextAreaElement, text: string) => void;
|
|
4
|
-
type InsertRefProps = {
|
|
5
|
-
input: HTMLTextAreaElement | null;
|
|
6
|
-
ref: string;
|
|
7
|
-
dryRun?: boolean;
|
|
8
|
-
};
|
|
9
|
-
export declare const insertRef: ({ input, ref, dryRun }: InsertRefProps) => boolean;
|
|
10
|
-
export declare const isRefInsertable: (input: HTMLTextAreaElement | null) => boolean;
|
|
11
|
-
export declare const expandInput: (input: HTMLTextAreaElement | null) => void;
|
|
12
|
-
export declare const resetInput: (input: HTMLTextAreaElement | null, table: Table, point: PointType) => void;
|
|
13
|
-
export declare const isFocus: (input: HTMLTextAreaElement | null) => boolean;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=input.d.ts.map
|
package/dist/lib/input.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/lib/input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAMrC,eAAO,MAAM,kBAAkB,GAAI,OAAO,mBAAmB,EAAE,MAAM,MAAM,SAQ1E,CAAC;AAEF,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,wBAAgC,cAAc,KAAG,OAgD1E,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,OAAO,mBAAmB,GAAG,IAAI,KAAG,OAEnE,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,mBAAmB,GAAG,IAAI,SAM5D,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,mBAAmB,GAAG,IAAI,EAAE,OAAO,KAAK,EAAE,OAAO,SAAS,SAS3F,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,OAAO,mBAAmB,GAAG,IAAI,KAAG,OAK3D,CAAC"}
|