@gridsheet/react-core 3.0.0-rc.7 → 3.0.0-rc.9
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-6pHKH3g9.mjs +1109 -0
- package/dist/hooks-6pHKH3g9.mjs.map +1 -0
- package/dist/index.d.ts +2 -34
- package/dist/index.js +2227 -7975
- 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.map +1 -0
- package/dist/react-core/src/components/ColumnMenuLabelSection.d.ts.map +1 -0
- package/dist/react-core/src/components/ColumnMenuSortSection.d.ts.map +1 -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 +2 -2
- package/dist/react-core/src/components/FunctionGuide.d.ts.map +1 -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.map +1 -0
- 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.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 +3 -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/{lib → react-core/src/lib}/clipboard.d.ts +1 -1
- 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/{lib → react-core/src/lib}/menu.d.ts +1 -1
- 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 +1 -1
- package/dist/react-core/src/store/actions.d.ts.map +1 -0
- package/dist/{store/dispatchers.d.ts → react-core/src/store/applyers.d.ts} +1 -1
- package/dist/{store/dispatchers.d.ts.map → react-core/src/store/applyers.d.ts.map} +1 -1
- package/dist/{store → react-core/src/store}/helpers.d.ts +1 -2
- 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 +104 -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 -10
- 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/ColumnMenuFilterSection.d.ts.map +0 -1
- package/dist/components/ColumnMenuLabelSection.d.ts.map +0 -1
- package/dist/components/ColumnMenuSortSection.d.ts.map +0 -1
- 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.map +0 -1
- package/dist/components/HeaderCellLeft.d.ts.map +0 -1
- package/dist/components/HeaderCellTop.d.ts.map +0 -1
- package/dist/components/MenuItem.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.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 -21
- package/dist/constants.d.ts.map +0 -1
- package/dist/formula/evaluator.d.ts +0 -134
- package/dist/formula/evaluator.d.ts.map +0 -1
- package/dist/formula/formula-error.d.ts +0 -10
- package/dist/formula/formula-error.d.ts.map +0 -1
- package/dist/formula/functions/__async.d.ts +0 -67
- package/dist/formula/functions/__async.d.ts.map +0 -1
- package/dist/formula/functions/__base.d.ts +0 -112
- package/dist/formula/functions/__base.d.ts.map +0 -1
- package/dist/formula/functions/__utils.d.ts +0 -23
- 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/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/arrayformula.d.ts +0 -12
- package/dist/formula/functions/arrayformula.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/concat.d.ts +0 -9
- package/dist/formula/functions/concat.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/divide.d.ts +0 -10
- 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/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/if.d.ts +0 -9
- package/dist/formula/functions/if.d.ts.map +0 -1
- package/dist/formula/functions/iferror.d.ts +0 -10
- package/dist/formula/functions/iferror.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/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/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/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/power.d.ts +0 -9
- package/dist/formula/functions/power.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/uminus.d.ts +0 -9
- package/dist/formula/functions/uminus.d.ts.map +0 -1
- package/dist/formula/mapping.d.ts +0 -11
- package/dist/formula/mapping.d.ts.map +0 -1
- package/dist/formula/solver.d.ts +0 -39
- 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/book.d.ts +0 -127
- package/dist/lib/book.d.ts.map +0 -1
- package/dist/lib/cell.d.ts +0 -17
- package/dist/lib/cell.d.ts.map +0 -1
- package/dist/lib/clipboard.d.ts.map +0 -1
- package/dist/lib/coords.d.ts +0 -22
- 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/dom.d.ts +0 -7
- package/dist/lib/dom.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/input.d.ts +0 -24
- package/dist/lib/input.d.ts.map +0 -1
- package/dist/lib/label.d.ts +0 -4
- package/dist/lib/label.d.ts.map +0 -1
- package/dist/lib/menu.d.ts.map +0 -1
- package/dist/lib/operation.d.ts +0 -31
- 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/popup.d.ts +0 -24
- package/dist/lib/popup.d.ts.map +0 -1
- package/dist/lib/reference.d.ts +0 -19
- package/dist/lib/reference.d.ts.map +0 -1
- package/dist/lib/sheet.d.ts +0 -508
- package/dist/lib/sheet.d.ts.map +0 -1
- package/dist/lib/sheet_utils.d.ts +0 -55
- package/dist/lib/sheet_utils.d.ts.map +0 -1
- package/dist/lib/spatial.d.ts +0 -79
- package/dist/lib/spatial.d.ts.map +0 -1
- package/dist/lib/time.d.ts +0 -29
- 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/policy/checkbox.d.ts +0 -3
- package/dist/policy/checkbox.d.ts.map +0 -1
- package/dist/policy/core.d.ts +0 -164
- package/dist/policy/core.d.ts.map +0 -1
- package/dist/policy/thousand_separator.d.ts +0 -4
- package/dist/policy/thousand_separator.d.ts.map +0 -1
- package/dist/sentinels.d.ts +0 -40
- package/dist/sentinels.d.ts.map +0 -1
- package/dist/store/actions.d.ts.map +0 -1
- 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 -369
- 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}/ColumnMenuFilterSection.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/ColumnMenuLabelSection.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/ColumnMenuSortSection.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/ContextMenu.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}/GridSheet.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}/MenuItem.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/PluginBase.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}/StoreObserver.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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../src/components/Cell.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,EAAE,EAAa,MAAM,OAAO,CAAC;AAK3C,KAAK,KAAK,GAAG;IACX,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,KAAK,CAyWzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CellStateOverlay.d.ts","sourceRoot":"","sources":["../../../../src/components/CellStateOverlay.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAsB,MAAM,UAAU,CAAC;AAwBnE,KAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB,CAAC;AAmEF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,KAAK,CAkRtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColumnMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/ColumnMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAqC,MAAM,OAAO,CAAC;AAWnE,OAAO,2BAA2B,CAAC;AACnC,OAAO,yBAAyB,CAAC;AACjC,OAAO,0BAA0B,CAAC;AAElC,eAAO,MAAM,UAAU,EAAE,EA0GxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColumnMenuFilterSection.d.ts","sourceRoot":"","sources":["../../../../src/components/ColumnMenuFilterSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAgD,MAAM,OAAO,CAAC;AAK9E,OAAO,EAAyB,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAwB9E,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,mBAAmB,CA+O1C,CAAC;AAGF,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColumnMenuLabelSection.d.ts","sourceRoot":"","sources":["../../../../src/components/ColumnMenuLabelSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAwD,MAAM,OAAO,CAAC;AAMtF,OAAO,EAAyB,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAE9E,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,mBAAmB,CA6EzC,CAAC;AAGF,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColumnMenuSortSection.d.ts","sourceRoot":"","sources":["../../../../src/components/ColumnMenuSortSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAgD,MAAM,OAAO,CAAC;AAI9E,OAAO,EAAyB,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAO9E,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,mBAAmB,CA0FxC,CAAC;AAGF,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/ContextMenu.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,WAAW,0BAgEvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../../../src/components/Editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AA0ChC,OAAO,EAA4C,QAAQ,EAAE,MAAM,UAAU,CAAC;AAK9E,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,KAAK,CAssB5B,CAAC;AA2BF,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,gBAgEvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditorOptions.d.ts","sourceRoot":"","sources":["../../../../src/components/EditorOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4C,MAAM,OAAO,CAAC;AAIjE,UAAU,kBAAkB;IAC1B,eAAe,EAAE,GAAG,EAAE,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5E;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAuCtD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Emitter.d.ts","sourceRoot":"","sources":["../../../../src/components/Emitter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,eAAO,MAAM,OAAO,EAAE,EA+BrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Fixed.d.ts","sourceRoot":"","sources":["../../../../src/components/Fixed.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI1D,KAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,QAAQ,EAAE,SAAS,CAAC;IACpB,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,KAAK,CAW3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormulaBar.d.ts","sourceRoot":"","sources":["../../../../src/components/FormulaBar.tsx"],"names":[],"mappings":"AAeA,KAAK,eAAe,GAAG;IACrB,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,WAAW,eAAe,gBA8XpD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { FunctionHelp } from '
|
|
3
|
-
import { AutocompleteOption } from '
|
|
2
|
+
import { FunctionHelp } from '../../../core/src/formula/mapping';
|
|
3
|
+
import { AutocompleteOption } from '../../../core/src/policy/core';
|
|
4
4
|
type OptionWithGuide = AutocompleteOption & {
|
|
5
5
|
isFunction?: boolean;
|
|
6
6
|
example?: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FunctionGuide.d.ts","sourceRoot":"","sources":["../../../../src/components/FunctionGuide.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8C,MAAM,OAAO,CAAC;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAItE,KAAK,eAAe,GAAG,kBAAkB,GAAG;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;CACd,CAAC;AAEF,MAAM,WAAW,kBAAkB;IAEjC,MAAM,CAAC,EAAE,eAAe,CAAC;IAGzB,mBAAmB,CAAC,EAAE,YAAY,CAAC;IACnC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA8JtD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GridSheet.d.ts","sourceRoot":"","sources":["../../../../src/components/GridSheet.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAsB,WAAW,EAAE,WAAW,EAAe,KAAK,EAAa,MAAM,UAAU,CAAC;AA+B5G,eAAO,MAAM,cAAc,qDAAwC,CAAC;AACpE,eAAO,MAAM,WAAW,4DAAyC,CAAC;AAClE,eAAO,MAAM,cAAc,qDAAwC,CAAC;AACpE,eAAO,MAAM,WAAW,4DAAyC,CAAC;AAElE,wBAAgB,SAAS,CAAC,EACxB,YAAY,EACZ,SAAc,EACd,QAAQ,EAAE,eAAe,EACzB,QAAQ,EAAE,eAAe,EACzB,OAAY,EACZ,SAAS,EACT,KAAK,EACL,IAAI,EAAE,WAAW,GAClB,EAAE,KAAK,eA2KP"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderCellLeft.d.ts","sourceRoot":"","sources":["../../../../src/components/HeaderCellLeft.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AA6BhC,KAAK,KAAK,GAAG;IACX,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CAkQnC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderCellTop.d.ts","sourceRoot":"","sources":["../../../../src/components/HeaderCellTop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AA6BhC,KAAK,KAAK,GAAG;IACX,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,KAAK,CAmRlC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../../../src/components/MenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CA0CtC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,EAA6C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PluginBase.d.ts","sourceRoot":"","sources":["../../../../src/components/PluginBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IACrC,QAAQ,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,aAAa,4CAAyC,CAAC;AAEpE,wBAAgB,uBAAuB,IAAI,iBAAiB,CAU3D;AAED,wBAAgB,gBAAgB,IAAI,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAM/D;AAED,wBAAgB,iBAAiB,kCAMhC;AAED,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,iBAAiB,CAAC;CAC5B,CAAC;AAEF,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,KAAK,eAMtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Resizer.d.ts","sourceRoot":"","sources":["../../../../src/components/Resizer.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,OAAO,mBAuGnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RowMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/RowMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAc,MAAM,OAAO,CAAC;AA8C5C,eAAO,MAAM,OAAO,EAAE,EAmCrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScrollHandle.d.ts","sourceRoot":"","sources":["../../../../src/components/ScrollHandle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAU3C,KAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,aAAa,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAQF,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,UAAc,EAAE,QAAY,EAAE,SAAc,EAAE,EAAE,KAAK,eAsL1F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchBar.d.ts","sourceRoot":"","sources":["../../../../src/components/SearchBar.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,SAAS,0BAuMrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoreObserver.d.ts","sourceRoot":"","sources":["../../../../src/components/StoreObserver.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAGlD,OAAO,KAAK,EAAE,WAAW,EAAS,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAQ7E,KAAK,kBAAkB,GAAG,WAAW,GAAG;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAChD,QAAQ,CAAC,EAAE,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;CACjD,CAAC;AAEF,eAAO,MAAM,cAAc,qDAAwC,CAAC;AACpE,eAAO,MAAM,WAAW,4CAAyC,CAAC;AAClE,eAAO,MAAM,cAAc,qDAAwC,CAAC;AACpE,eAAO,MAAM,WAAW,4CAAyC,CAAC;AAClE,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAqFhD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabular.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabular.tsx"],"names":[],"mappings":"AAiBA,eAAO,MAAM,OAAO,0BAuOnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddIcon.d.ts","sourceRoot":"","sources":["../../../../../src/components/svg/AddIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAQ,MAAM,QAAQ,CAAC;AAI9C,eAAO,MAAM,OAAO,GAAI,wBAAsC,SAAS,gBAQtE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../../../../../src/components/svg/Base.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtD,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,SAAU,SAAQ,SAAS;IACnC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAID,eAAO,MAAM,IAAI,GAAI,2BAAgC,SAAS,gBAkB7D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloseIcon.d.ts","sourceRoot":"","sources":["../../../../../src/components/svg/CloseIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAQ,MAAM,QAAQ,CAAC;AAI9C,eAAO,MAAM,SAAS,GAAI,wBAAsC,SAAS,gBAQxE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchIcon.d.ts","sourceRoot":"","sources":["../../../../../src/components/svg/SearchIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAQ,MAAM,QAAQ,CAAC;AAI9C,eAAO,MAAM,UAAU,GAAI,wBAAsC,SAAS,gBAQzE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FunctionHelp } from '
|
|
2
|
-
import { FunctionMapping } from '
|
|
3
|
-
import { AutocompleteOption } from '
|
|
1
|
+
import { FunctionHelp } from '../../../core/src/formula/mapping';
|
|
2
|
+
import { FunctionMapping } from '../../../core/src/formula/functions/__base';
|
|
3
|
+
import { AutocompleteOption } from '../../../core/src/policy/core';
|
|
4
4
|
type UseAutocompleteProps = {
|
|
5
5
|
inputting: string;
|
|
6
6
|
selectionStart: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAutocomplete.d.ts","sourceRoot":"","sources":["../../../../src/components/useAutocomplete.ts"],"names":[],"mappings":"AACA,OAAO,EAAoB,KAAK,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACtF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAGtE,KAAK,oBAAoB,GAAG;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,kBAAkB,EAAE,CAAC;IACjC,SAAS,CAAC,EAAE,eAAe,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,sDAAsD,oBAAoB;;;;gCA6L7F,GAAG;;;;uBAkBR,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC;yBAYxC,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC;;;;CAsB/C,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export { oa2aa, aa2oa, buildInitialCells, buildInitialCellsFromOrigin, zoneToArea, areaToZone, areaToRange, matrixShape, addressesToAreas, addressesToCols, addressesToRows, Time, x2c, c2x, y2r, r2y, p2a, a2p, rh, ch, Registry, createBook, createRegistry, Sheet, toValueMatrix, toValueObject, toValueRows, toValueCols, toCellMatrix, toCellObject, toCellRows, toCellCols, BaseFunction, BaseFunctionAsync, Lexer, FormulaParser, RefEntity, ValueEntity, RangeEntity, FormulaError, ensureString, ensureNumber, ensureBoolean, ensureDate, check, eachMatrix, createBooleanMask, conditionArg, stripMatrix, Policy, ThousandSeparatorPolicyMixin, operations, DEFAULT_HISTORY_LIMIT, Pending, Spilling, } from '../../core/src';
|
|
2
|
+
export type { CSSPropertiesLike, RefLike, MatrixType, CellType, System, Address, AsyncCache, FilterCondition, FilterConditionMethod, FilterConfig, FeedbackType, WriterType, CellsByAddressType, CellsByIdType, SystemsByIdType, ModeType, HeadersType, HistoryType, HistorySortRowsType, PointType, AreaType, ZoneType, EditorEvent, CursorStateType, BookType, BookProps, RegistryProps, TransmitProps, UserSheet, SheetLimits, ToValueMatrixProps, ToValueObjectProps, ToValueRowsProps, ToValueColsProps, ToCellMatrixProps, ToCellObjectProps, ToCellRowsProps, ToCellColsProps, FunctionProps, FunctionArgumentDefinition, FunctionCategory, FunctionMapping, EnsureNumberOptions, EnsureBooleanOptions, PolicyType, AutocompleteOption, PolicyMixinType, RenderProps, SerializeProps, SelectProps, SelectFallbackProps, SerializeForClipboardProps, } from '../../core/src';
|
|
3
|
+
export { GridSheet, createSheetRef, useSheetRef, createStoreRef, useStoreRef } from './components/GridSheet';
|
|
4
|
+
export { updateSheet } from './store/actions';
|
|
5
|
+
export { PluginBase, useInitialPluginContext, usePluginContext } from './components/PluginBase';
|
|
6
|
+
export { MenuItem, MenuDivider } from './components/MenuItem';
|
|
7
|
+
export { useBook } from './lib/hooks';
|
|
8
|
+
export type { Dispatcher } from './store';
|
|
9
|
+
export { CheckboxPolicyMixin } from './policy/checkbox';
|
|
10
|
+
export type { Props, StoreType, SheetHandle, StoreHandle, OptionsType } from './types';
|
|
11
|
+
export { userActions } from './store/actions';
|
|
12
|
+
export { clip, sheet2csv } from './lib/clipboard';
|
|
13
|
+
export { applyers } from './store/applyers';
|
|
14
|
+
export { makeBorder } from './lib/style';
|
|
15
|
+
export type { MenuContext, MenuItemBase, MenuComponentItem, ContextMenuItemDescriptor, RowMenuItemDescriptor, ColMenuItemDescriptor, MenuDividerItem, ContextMenuSectionProps, RowMenuSectionProps, ColMenuSectionProps, } from './lib/menu';
|
|
16
|
+
export { defaultContextMenuDescriptors, defaultRowMenuDescriptors, defaultColMenuDescriptors, registerMenuComponent, } from './lib/menu';
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,EACL,KAAK,EACL,iBAAiB,EACjB,2BAA2B,EAC3B,UAAU,EACV,UAAU,EACV,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,eAAe,EAEf,IAAI,EAEJ,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,EAAE,EACF,EAAE,EAEF,QAAQ,EACR,UAAU,EACV,cAAc,EAEd,KAAK,EACL,aAAa,EACb,aAAa,EACb,WAAW,EACX,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,UAAU,EAEV,YAAY,EACZ,iBAAiB,EACjB,KAAK,EACL,aAAa,EACb,SAAS,EACT,WAAW,EACX,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,UAAU,EACV,KAAK,EACL,UAAU,EACV,iBAAiB,EACjB,YAAY,EACZ,WAAW,EAEX,MAAM,EACN,4BAA4B,EAE5B,UAAU,EAEV,qBAAqB,EACrB,OAAO,EACP,QAAQ,GACT,MAAM,iBAAiB,CAAC;AAEzB,YAAY,EAEV,iBAAiB,EACjB,OAAO,EACP,UAAU,EACV,QAAQ,EACR,MAAM,EACN,OAAO,EACP,UAAU,EACV,eAAe,EACf,qBAAqB,EACrB,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,kBAAkB,EAClB,aAAa,EACb,eAAe,EACf,QAAQ,EACR,WAAW,EACX,WAAW,EACX,mBAAmB,EACnB,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,eAAe,EAEf,QAAQ,EACR,SAAS,EACT,aAAa,EACb,aAAa,EAEb,SAAS,EACT,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,gBA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yB,EACzB,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,YAAY,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StoreType, AreaType, PointType } from '../types';
|
|
2
|
-
import { UserSheet } from '
|
|
2
|
+
import { UserSheet } from '../../../core/src/lib/sheet';
|
|
3
3
|
export declare const clip: (store: StoreType) => AreaType;
|
|
4
4
|
export type SheetCSVProps = {
|
|
5
5
|
getter?: (sheet: UserSheet, point: PointType) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clipboard.d.ts","sourceRoot":"","sources":["../../../../src/lib/clipboard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAG/D,OAAO,KAAK,EAAS,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAGlE,eAAO,MAAM,IAAI,GAAI,OAAO,SAAS,aAgDpC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,KAAK,MAAM,CAAC;IACxD,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,SAAS,GACpB,OAAO,SAAS,EAChB,kFAQG,aAAkB,KACpB,MA4BF,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,KAAK,MAAM,CAAC;IACxD,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,UAAU,GACrB,OAAO,SAAS,EAChB,8DAMG,cAAmB,KACrB,MA8BF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BookType, RegistryProps } from '../../../core/src';
|
|
1
2
|
export declare const useBrowser: () => {
|
|
2
3
|
window: Window & typeof globalThis;
|
|
3
4
|
document: Document;
|
|
@@ -7,4 +8,5 @@ export declare const useBrowser: () => {
|
|
|
7
8
|
};
|
|
8
9
|
export declare const useDebounce: <T>(value: T, delay?: number) => T;
|
|
9
10
|
export declare const useDebounceCallback: (callback: (...args: any[]) => void, delay?: number) => (...args: any[]) => void;
|
|
11
|
+
export declare const useBook: (props?: RegistryProps) => BookType;
|
|
10
12
|
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../src/lib/hooks.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,QAAQ,EAAE,KAAK,aAAa,EAAsB,MAAM,iBAAiB,CAAC;AAIpG,eAAO,MAAM,UAAU;;;;;;CAStB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,CAAC,EAAE,OAAO,CAAC,EAAE,cAAW,MAWnD,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,UAAU,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,EAAE,cAAW,MAQzE,GAAG,MAAM,GAAG,EAAE,SAMvB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,QAAO,aAAkB,aAehD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PointType, ZoneType, FilterConfig, StoreType } from '../types';
|
|
2
|
-
import { UserSheet } from '
|
|
2
|
+
import { UserSheet } from '../../../core/src/lib/sheet';
|
|
3
3
|
import { Dispatcher } from '../store';
|
|
4
4
|
import { FC } from 'react';
|
|
5
5
|
export type MenuContext = {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../../src/lib/menu.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAClE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AA4B3C,MAAM,MAAM,WAAW,GAAG;IACxB,6BAA6B;IAC7B,KAAK,EAAE,SAAS,CAAC;IACjB,6BAA6B;IAC7B,QAAQ,EAAE,SAAS,CAAC;IACpB,8BAA8B;IAC9B,aAAa,EAAE,QAAQ,CAAC;IACxB,wDAAwD;IACxD,mBAAmB,EAAE,OAAO,CAAC;IAC7B,0DAA0D;IAC1D,kBAAkB,EAAE,OAAO,CAAC;IAG5B,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACrB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACtB,KAAK,CAAC,SAAS,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1C,IAAI,IAAI,IAAI,CAAC;IACb,IAAI,IAAI,IAAI,CAAC;IACb,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAClD,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,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AAM,UAAU,CAAC;AAC5C,eAAO,MAAM,SAAS,GAAI,MAAM,MAAM,EAAE,mBAAiB,KAAG,WAAW,EAAE,EA4FxE,CAAC;AAiEF,eAAO,MAAM,SAAS,GAAI,KAAK,MAAM,EAAE,YAAU,KAAG,WAAW,EAAE,EAkChE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
type BorderStyleValue = string;
|
|
3
|
+
interface BorderOptions {
|
|
4
|
+
all?: BorderStyleValue;
|
|
5
|
+
top?: BorderStyleValue;
|
|
6
|
+
right?: BorderStyleValue;
|
|
7
|
+
bottom?: BorderStyleValue;
|
|
8
|
+
left?: BorderStyleValue;
|
|
9
|
+
}
|
|
10
|
+
export declare function makeBorder(options: BorderOptions): CSSProperties;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/lib/style.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,KAAK,gBAAgB,GAAG,MAAM,CAAC;AAE/B,UAAU,aAAa;IACrB,GAAG,CAAC,EAAE,gBAAgB,CAAC;IACvB,GAAG,CAAC,EAAE,gBAAgB,CAAC;IACvB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,IAAI,CAAC,EAAE,gBAAgB,CAAC;CACzB;AAED,wBAAgB,UAAU,CAAC,OAAO,EAAE,aAAa,GAAG,aAAa,CAgBhE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../src/policy/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAe,MAAM,6BAA6B,CAAC;AAEhF,eAAO,MAAM,mBAAmB,EAAE,eAejC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { RegistryProps } from '../../core/src';
|
|
2
|
+
/** useBook with all extended functions pre-loaded. User-supplied additionalFunctions are merged on top. */
|
|
3
|
+
export declare const useSpellbook: ({ additionalFunctions, ...rest }?: RegistryProps) => import('../../core/src').BookType;
|
|
4
|
+
/** createBook with all extended functions pre-loaded. User-supplied additionalFunctions are merged on top. */
|
|
5
|
+
export declare const createSpellbook: ({ additionalFunctions, ...rest }?: RegistryProps) => import('../../core/src').BookType;
|
|
6
|
+
//# sourceMappingURL=spellbook.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spellbook.d.ts","sourceRoot":"","sources":["../../../src/spellbook.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIrD,2GAA2G;AAC3G,eAAO,MAAM,YAAY,GAAI,mCAAkC,aAAkB,uCACO,CAAC;AAEzF,8GAA8G;AAC9G,eAAO,MAAM,eAAe,GAAI,mCAAkC,aAAkB,uCACO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StoreType, RectType, ZoneType, PointType, RangeType, PositionType, RawCellType, OperatorType, FilterConfig } from '../types';
|
|
2
|
-
import { Sheet } from '
|
|
2
|
+
import { Sheet } from '../../../core/src/lib/sheet';
|
|
3
3
|
type StoreWithCallback = StoreType & {
|
|
4
4
|
callback?: (store: StoreType) => void;
|
|
5
5
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../src/store/actions.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,SAAS,EAIT,YAAY,EAEZ,WAAW,EACX,YAAY,EACZ,YAAY,EACb,MAAM,UAAU,CAAC;AAUlB,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA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AW,YAAY;;;CA4GnE,CAAC"}
|
|
@@ -37,4 +37,4 @@ export declare const applyers: {
|
|
|
37
37
|
toggleFilterFixed: ({ store, dispatch }: StoreDispatchType, y: number) => void;
|
|
38
38
|
search: ({ store, dispatch }: StoreDispatchType) => Promise<void>;
|
|
39
39
|
};
|
|
40
|
-
//# sourceMappingURL=
|
|
40
|
+
//# sourceMappingURL=applyers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"applyers.d.ts","sourceRoot":"","sources":["../../../../src/store/applyers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAe,MAAM,UAAU,CAAC;AAyB7E,eAAO,MAAM,MAAM,GAAU,qBAAqB,iBAAiB,kBAKlE,CAAC;AAEF,eAAO,MAAM,MAAM,GAAU,qBAAqB,iBAAiB,kBAKlE,CAAC;AAEF,eAAO,MAAM,MAAM,GAAU,qBAAqB,iBAAiB,EAAE,mBAAiB,kBAwBrF,CAAC;AAEF,eAAO,MAAM,MAAM,GAAU,qBAAqB,iBAAiB,kBAIlE,CAAC;AAEF,eAAO,MAAM,MAAM,GAAU,qBAAqB,iBAAiB,kBAIlE,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAU,qBAAqB,iBAAiB,kBAM7E,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAU,qBAAqB,iBAAiB,kBAM7E,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAU,qBAAqB,iBAAiB,kBAM5E,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAU,qBAAqB,iBAAiB,kBAM7E,CAAC;AAEF,eAAO,MAAM,WAAW,GAAU,qBAAqB,iBAAiB,kBAMvE,CAAC;AAEF,eAAO,MAAM,WAAW,GAAU,qBAAqB,iBAAiB,kBAMvE,CAAC;AAEF,eAAO,MAAM,aAAa,GAAU,qBAAqB,iBAAiB,EAAE,GAAG,MAAM,kBAOpF,CAAC;AAEF,eAAO,MAAM,cAAc,GAAU,qBAAqB,iBAAiB,EAAE,GAAG,MAAM,kBAOrF,CAAC;AAEF,eAAO,MAAM,YAAY,GAAU,qBAAqB,iBAAiB,EAAE,GAAG,MAAM,EAAE,QAAQ,YAAY,kBAOzG,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAU,qBAAqB,iBAAiB,EAAE,IAAI,MAAM,kBAGzF,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,qBAAqB,iBAAiB,EAAE,GAAG,MAAM,SAWpF,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,qBAAqB,iBAAiB,EAAE,GAAG,MAAM,SAWtF,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAU,qBAAqB,iBAAiB,kBAMpE,CAAC;AAEF,eAAO,MAAM,QAAQ;gCAtK6B,iBAAiB;+BAOjB,iBAAiB;iCAOjB,iBAAiB;gCA0BjB,iBAAiB;gCAMjB,iBAAiB;2CAMN,iBAAiB;2CAQjB,iBAAiB;0CAQlB,iBAAiB;2CAQhB,iBAAiB;sCAQvB,iBAAiB;sCAQjB,iBAAiB;uCAQf,iBAAiB,KAAK,MAAM;wCAS3B,iBAAiB,KAAK,MAAM;sCAS9B,iBAAiB,KAAK,MAAM,UAAU,YAAY;uCAS7C,iBAAiB,MAAM,MAAM;2CAKjC,iBAAiB,KAAK,MAAM;6CAa1B,iBAAiB,KAAK,MAAM;kCAanC,iBAAiB;CA2BpE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Sheet } from '
|
|
1
|
+
import { Sheet } from '../../../core/src/lib/sheet';
|
|
2
2
|
import { PointType, StorePatchType, StoreType } from '../types';
|
|
3
3
|
/**
|
|
4
4
|
* Strip redundant fields from a StorePatchType before recording in history.
|
|
@@ -18,7 +18,6 @@ export declare const flashSheet: (el: HTMLElement | null) => void;
|
|
|
18
18
|
export declare const flashWithCallback: (store: StoreType, sheet: Sheet, callback: ((s: StoreType) => void) | undefined) => StoreType & {
|
|
19
19
|
callback?: (store: StoreType) => void;
|
|
20
20
|
};
|
|
21
|
-
export declare const shouldTracking: (operation: string) => boolean;
|
|
22
21
|
export declare const initSearchStatement: (sheet: Sheet, store: StoreType) => {
|
|
23
22
|
matchingCells: never[];
|
|
24
23
|
searchQuery?: undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../src/store/helpers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAClD,OAAO,KAAK,EAAW,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE9E;;;GAGG;AACH,eAAO,MAAM,iBAAiB,GAAI,YAAY,cAAc,KAAG,cAM9D,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,SAAS,EAAE,OAAO,KAAK;cAwBnC,SAAS;;;;;;;CAGlC,CAAC;AAIF,eAAO,MAAM,UAAU,GAAI,IAAI,WAAW,GAAG,IAAI,SAShD,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,OAAO,SAAS,EAChB,OAAO,KAAK,EACZ,UAAU,CAAC,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI,CAAC,GAAG,SAAS,KAC7C,SAAS,GAAG;IAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAA;CAOpD,CAAC;AAEH,eAAO,MAAM,mBAAmB,GAAI,OAAO,KAAK,EAAE,OAAO,SAAS;;;;;;;;;;CAwDjE,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,OAAO,SAAS,YAU/C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/store/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,QAAQ,CAAC;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,GAAG,CAAC;CACZ,CAAC,CAAC;AAEH,eAAO,MAAM,OAAO;WAET,SAAS;cACN,UAAU;EAEvB,CAAC"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { RefObject, CSSProperties, KeyboardEvent } from 'react';
|
|
2
|
+
import { Sheet, UserSheet, SheetLimits } from '../../core/src/lib/sheet';
|
|
3
|
+
import { BookType } from '../../core/src';
|
|
4
|
+
import { PolicyType } from '../../core/src/policy/core';
|
|
5
|
+
import { ContextMenuItemDescriptor, RowMenuItemDescriptor, ColMenuItemDescriptor } from './lib/menu';
|
|
6
|
+
import { ModeType, PointType, ZoneType, RectType, PositionType, CellsByAddressType } from '../../core/src/types';
|
|
7
|
+
export type { CSSPropertiesLike, RefLike, Resolution, Y, X, Height, Width, ShapeType, RectType, MatrixType, CursorStateType, FeedbackType, ModeType, HeadersType, AsyncCache, System, FilterConditionMethod, FilterCondition, FilterConfig, CellType, RawCellType, CellPatchType, CellFilter, CellsByAddressType, CellsByIdType, SystemsByIdType, RangeType, PointType, ExtraPointType, PositionType, ZoneType, AreaType, WriterType, Id, Ids, IdMatrix, Address, MatricesByAddress, StorePatchType, HistoryUpdateType, MoveRelation, MoveRelations, HistoryMoveType, HistoryInsertRowsType, HistoryRemoveRowsType, HistoryInsertColsType, HistoryRemoveColsType, HistorySortRowsType, HistoryType, Virtualization, OperatorType, OperationType, Dispatcher, StoreDispatchType, ContextsBySheetId, SheetIdsByName, RefPaletteType, } from '../../core/src/types';
|
|
8
|
+
export type Policies = {
|
|
9
|
+
[s: string]: PolicyType;
|
|
10
|
+
};
|
|
11
|
+
export type OptionsType = {
|
|
12
|
+
sheetHeight?: number;
|
|
13
|
+
sheetWidth?: number;
|
|
14
|
+
sheetResize?: CSSProperties['resize'];
|
|
15
|
+
editingOnEnter?: boolean;
|
|
16
|
+
showFormulaBar?: boolean;
|
|
17
|
+
limits?: SheetLimits;
|
|
18
|
+
mode?: ModeType;
|
|
19
|
+
contextMenu?: ContextMenuItemDescriptor[];
|
|
20
|
+
rowMenu?: RowMenuItemDescriptor[];
|
|
21
|
+
colMenu?: ColMenuItemDescriptor[];
|
|
22
|
+
};
|
|
23
|
+
export type StoreType = {
|
|
24
|
+
sheetId: number;
|
|
25
|
+
sheetReactive: RefObject<Sheet>;
|
|
26
|
+
rootRef: RefObject<HTMLDivElement>;
|
|
27
|
+
flashRef: RefObject<HTMLDivElement>;
|
|
28
|
+
mainRef: RefObject<HTMLDivElement>;
|
|
29
|
+
editorRef: RefObject<HTMLTextAreaElement>;
|
|
30
|
+
largeEditorRef: RefObject<HTMLTextAreaElement>;
|
|
31
|
+
tabularRef: RefObject<HTMLDivElement>;
|
|
32
|
+
searchInputRef: RefObject<HTMLTextAreaElement>;
|
|
33
|
+
entering: boolean;
|
|
34
|
+
choosing: PointType;
|
|
35
|
+
inputting: string;
|
|
36
|
+
selectingZone: ZoneType;
|
|
37
|
+
autofillDraggingTo: PointType | null;
|
|
38
|
+
leftHeaderSelecting: boolean;
|
|
39
|
+
topHeaderSelecting: boolean;
|
|
40
|
+
editingAddress: string;
|
|
41
|
+
editorRect: RectType;
|
|
42
|
+
dragging: boolean;
|
|
43
|
+
sheetHeight: number;
|
|
44
|
+
sheetWidth: number;
|
|
45
|
+
mode: ModeType;
|
|
46
|
+
searchQuery?: string;
|
|
47
|
+
searchCaseSensitive: boolean;
|
|
48
|
+
searchRegex: boolean;
|
|
49
|
+
searchRange?: ZoneType;
|
|
50
|
+
matchingCells: string[];
|
|
51
|
+
matchingCellIndex: number;
|
|
52
|
+
editingOnEnter: boolean;
|
|
53
|
+
contextMenuPosition: PositionType;
|
|
54
|
+
contextMenu: ContextMenuItemDescriptor[];
|
|
55
|
+
rowMenu: RowMenuItemDescriptor[];
|
|
56
|
+
colMenu: ColMenuItemDescriptor[];
|
|
57
|
+
resizingPositionY: [number, number, number];
|
|
58
|
+
resizingPositionX: [number, number, number];
|
|
59
|
+
columnMenuState: {
|
|
60
|
+
x: number;
|
|
61
|
+
position: PositionType;
|
|
62
|
+
} | null;
|
|
63
|
+
rowMenuState: {
|
|
64
|
+
y: number;
|
|
65
|
+
position: PositionType;
|
|
66
|
+
} | null;
|
|
67
|
+
editorHovering: boolean;
|
|
68
|
+
};
|
|
69
|
+
export type Manager<T> = {
|
|
70
|
+
instance: T;
|
|
71
|
+
sync: T extends StoreType ? React.Dispatch<{
|
|
72
|
+
type: number;
|
|
73
|
+
value: any;
|
|
74
|
+
}> : (instance: T) => void;
|
|
75
|
+
};
|
|
76
|
+
export type SheetHandle = {
|
|
77
|
+
sheet: UserSheet;
|
|
78
|
+
apply: (sheet: UserSheet) => void;
|
|
79
|
+
};
|
|
80
|
+
export type StoreHandle = {
|
|
81
|
+
store: StoreType;
|
|
82
|
+
apply: (store: StoreType) => void;
|
|
83
|
+
dispatch: React.Dispatch<{
|
|
84
|
+
type: number;
|
|
85
|
+
value: any;
|
|
86
|
+
}>;
|
|
87
|
+
};
|
|
88
|
+
export type Props = {
|
|
89
|
+
initialCells: CellsByAddressType;
|
|
90
|
+
sheetName?: string;
|
|
91
|
+
book?: BookType;
|
|
92
|
+
sheetRef?: RefObject<SheetHandle | null>;
|
|
93
|
+
storeRef?: RefObject<StoreHandle | null>;
|
|
94
|
+
options?: OptionsType;
|
|
95
|
+
className?: string;
|
|
96
|
+
style?: CSSProperties;
|
|
97
|
+
};
|
|
98
|
+
export type EditorEvent = KeyboardEvent<HTMLTextAreaElement>;
|
|
99
|
+
export type EditorEventWithNativeEvent = EditorEvent & {
|
|
100
|
+
nativeEvent: KeyboardEvent & {
|
|
101
|
+
isComposing: boolean;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AACA,YAAY,E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;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,GAAG,CAAA;KAAE,CAAC,CAAC;CACxD,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG;IAClB,YAAY,EAAE,kBAAkB,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACzC,QAAQ,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACzC,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,aAAa,CAAC,mBAAmB,CAAC,CAAC;AAC7D,MAAM,MAAM,0BAA0B,GAAG,WAAW,GAAG;IACrD,WAAW,EAAE,aAAa,GAAG;QAAE,WAAW,EAAE,OAAO,CAAA;KAAE,CAAC;CACvD,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { allFunctions as i } from "@gridsheet/functions";
|
|
2
|
+
import { createBook as n } from "@gridsheet/core";
|
|
3
|
+
import { U as e } from "./hooks-6pHKH3g9.mjs";
|
|
4
|
+
const s = ({ additionalFunctions: o, ...t } = {}) => e({ ...t, additionalFunctions: { ...i, ...o } }), c = ({ additionalFunctions: o, ...t } = {}) => n({ ...t, additionalFunctions: { ...i, ...o } });
|
|
5
|
+
export {
|
|
6
|
+
c as createSpellbook,
|
|
7
|
+
s as useSpellbook
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=spellbook.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spellbook.js","sources":["../src/spellbook.ts"],"sourcesContent":["import { allFunctions } from '@gridsheet/functions';\nimport type { RegistryProps } from '@gridsheet/core';\nimport { createBook } from '@gridsheet/core';\nimport { useBook } from './lib/hooks';\n\n/** useBook with all extended functions pre-loaded. User-supplied additionalFunctions are merged on top. */\nexport const useSpellbook = ({ additionalFunctions, ...rest }: RegistryProps = {}) =>\n useBook({ ...rest, additionalFunctions: { ...allFunctions, ...additionalFunctions } });\n\n/** createBook with all extended functions pre-loaded. User-supplied additionalFunctions are merged on top. */\nexport const createSpellbook = ({ additionalFunctions, ...rest }: RegistryProps = {}) =>\n createBook({ ...rest, additionalFunctions: { ...allFunctions, ...additionalFunctions } });\n"],"names":["useSpellbook","additionalFunctions","rest","useBook","allFunctions","createSpellbook","createBook"],"mappings":";;;AAMa,MAAAA,IAAe,CAAC,EAAE,qBAAAC,GAAqB,GAAGC,EAAK,IAAmB,CAAA,MAC7EC,EAAQ,EAAE,GAAGD,GAAM,qBAAqB,EAAE,GAAGE,GAAc,GAAGH,EAAA,EAAuB,CAAA,GAG1EI,IAAkB,CAAC,EAAE,qBAAAJ,GAAqB,GAAGC,EAAK,IAAmB,CAAA,MAChFI,EAAW,EAAE,GAAGJ,GAAM,qBAAqB,EAAE,GAAGE,GAAc,GAAGH,EAAA,EAAuB,CAAA;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gridsheet/react-core",
|
|
3
|
-
"version": "3.0.0-rc.
|
|
3
|
+
"version": "3.0.0-rc.9",
|
|
4
4
|
"description": "Spreadsheet component for React",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -15,15 +15,13 @@
|
|
|
15
15
|
"types": "./dist/dev.d.ts",
|
|
16
16
|
"import": "./dist/dev.js",
|
|
17
17
|
"default": "./dist/dev.js"
|
|
18
|
+
},
|
|
19
|
+
"./spellbook": {
|
|
20
|
+
"types": "./dist/spellbook.d.ts",
|
|
21
|
+
"import": "./dist/spellbook.js",
|
|
22
|
+
"default": "./dist/spellbook.js"
|
|
18
23
|
}
|
|
19
24
|
},
|
|
20
|
-
"scripts": {
|
|
21
|
-
"build": "rm -rf ./dist || true && vite build",
|
|
22
|
-
"typecheck": "pnpm tsc --noEmit --types jest",
|
|
23
|
-
"less": "lessc --clean-css ./src/styles/root.less ./src/styles/root.min.css",
|
|
24
|
-
"generate-style": "node ./src/generate-style.js",
|
|
25
|
-
"jest": "jest"
|
|
26
|
-
},
|
|
27
25
|
"repository": {
|
|
28
26
|
"type": "git",
|
|
29
27
|
"url": "git+https://github.com/walkframe/gridsheet.git"
|
|
@@ -45,7 +43,6 @@
|
|
|
45
43
|
"url": "https://github.com/walkframe/gridsheet/issues"
|
|
46
44
|
},
|
|
47
45
|
"homepage": "https://gridsheet.walkframe.com/",
|
|
48
|
-
"packageManager": "pnpm@10.6.5",
|
|
49
46
|
"devDependencies": {
|
|
50
47
|
"@types/jest": "^29.4.0",
|
|
51
48
|
"@types/react": "^16.9.24",
|
|
@@ -62,7 +59,11 @@
|
|
|
62
59
|
"ts-node": "^10.9.1",
|
|
63
60
|
"typescript": "^5.8.2",
|
|
64
61
|
"vite": "^6.2.2",
|
|
65
|
-
"vite-plugin-dts": "^4.5.3"
|
|
62
|
+
"vite-plugin-dts": "^4.5.3",
|
|
63
|
+
"@gridsheet/functions": "3.0.0-rc.9"
|
|
64
|
+
},
|
|
65
|
+
"dependencies": {
|
|
66
|
+
"@gridsheet/core": "3.0.0-rc.9"
|
|
66
67
|
},
|
|
67
68
|
"peerDependencies": {
|
|
68
69
|
"dayjs": "^1.11.13",
|
|
@@ -71,5 +72,10 @@
|
|
|
71
72
|
},
|
|
72
73
|
"publishConfig": {
|
|
73
74
|
"access": "public"
|
|
75
|
+
},
|
|
76
|
+
"scripts": {
|
|
77
|
+
"build": "rm -rf ./dist || true && vite build",
|
|
78
|
+
"typecheck": "pnpm tsc --noEmit --types jest",
|
|
79
|
+
"jest": "jest"
|
|
74
80
|
}
|
|
75
81
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../src/components/Cell.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,EAAE,EAAa,MAAM,OAAO,CAAC;AAK3C,KAAK,KAAK,GAAG;IACX,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,KAAK,CAyWzB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CellStateOverlay.d.ts","sourceRoot":"","sources":["../../src/components/CellStateOverlay.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAsB,MAAM,UAAU,CAAC;AAwBnE,KAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB,CAAC;AAmEF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,KAAK,CAkRtC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ColumnMenu.d.ts","sourceRoot":"","sources":["../../src/components/ColumnMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAqC,MAAM,OAAO,CAAC;AAWnE,OAAO,2BAA2B,CAAC;AACnC,OAAO,yBAAyB,CAAC;AACjC,OAAO,0BAA0B,CAAC;AAElC,eAAO,MAAM,UAAU,EAAE,EA0GxB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ColumnMenuFilterSection.d.ts","sourceRoot":"","sources":["../../src/components/ColumnMenuFilterSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAgD,MAAM,OAAO,CAAC;AAK9E,OAAO,EAAyB,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAwB9E,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,mBAAmB,CA+O1C,CAAC;AAGF,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ColumnMenuLabelSection.d.ts","sourceRoot":"","sources":["../../src/components/ColumnMenuLabelSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAwD,MAAM,OAAO,CAAC;AAMtF,OAAO,EAAyB,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAE9E,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,mBAAmB,CA6EzC,CAAC;AAGF,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ColumnMenuSortSection.d.ts","sourceRoot":"","sources":["../../src/components/ColumnMenuSortSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAgD,MAAM,OAAO,CAAC;AAI9E,OAAO,EAAyB,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAO9E,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,mBAAmB,CA0FxC,CAAC;AAGF,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../src/components/ContextMenu.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,WAAW,0BAgEvB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../src/components/Editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AA0ChC,OAAO,EAA4C,QAAQ,EAAE,MAAM,UAAU,CAAC;AAK9E,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,KAAK,CAssB5B,CAAC;AA2BF,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,gBAgEvC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EditorOptions.d.ts","sourceRoot":"","sources":["../../src/components/EditorOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4C,MAAM,OAAO,CAAC;AAIjE,UAAU,kBAAkB;IAC1B,eAAe,EAAE,GAAG,EAAE,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5E;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAuCtD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Emitter.d.ts","sourceRoot":"","sources":["../../src/components/Emitter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,eAAO,MAAM,OAAO,EAAE,EA+BrB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Fixed.d.ts","sourceRoot":"","sources":["../../src/components/Fixed.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI1D,KAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,QAAQ,EAAE,SAAS,CAAC;IACpB,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,KAAK,CAW3B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormulaBar.d.ts","sourceRoot":"","sources":["../../src/components/FormulaBar.tsx"],"names":[],"mappings":"AAeA,KAAK,eAAe,GAAG;IACrB,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,WAAW,eAAe,gBA8XpD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionGuide.d.ts","sourceRoot":"","sources":["../../src/components/FunctionGuide.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8C,MAAM,OAAO,CAAC;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAIzD,KAAK,eAAe,GAAG,kBAAkB,GAAG;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;CACd,CAAC;AAEF,MAAM,WAAW,kBAAkB;IAEjC,MAAM,CAAC,EAAE,eAAe,CAAC;IAGzB,mBAAmB,CAAC,EAAE,YAAY,CAAC;IACnC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA8JtD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GridSheet.d.ts","sourceRoot":"","sources":["../../src/components/GridSheet.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAsB,WAAW,EAAE,WAAW,EAAe,KAAK,EAAa,MAAM,UAAU,CAAC;AA+B5G,eAAO,MAAM,cAAc,qDAAwC,CAAC;AACpE,eAAO,MAAM,WAAW,4DAAyC,CAAC;AAClE,eAAO,MAAM,cAAc,qDAAwC,CAAC;AACpE,eAAO,MAAM,WAAW,4DAAyC,CAAC;AAElE,wBAAgB,SAAS,CAAC,EACxB,YAAY,EACZ,SAAc,EACd,QAAQ,EAAE,eAAe,EACzB,QAAQ,EAAE,eAAe,EACzB,OAAY,EACZ,SAAS,EACT,KAAK,EACL,IAAI,EAAE,WAAW,GAClB,EAAE,KAAK,eA2KP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderCellLeft.d.ts","sourceRoot":"","sources":["../../src/components/HeaderCellLeft.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AA6BhC,KAAK,KAAK,GAAG;IACX,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CAkQnC,CAAC"}
|