logisheets-formula-editor 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +192 -0
- package/dist/FormulaEditor.d.ts +17 -0
- package/dist/FormulaEditor.d.ts.map +1 -0
- package/dist/builtin-functions.json.d.ts +1510 -0
- package/dist/core.d.ts +18 -0
- package/dist/core.d.ts.map +1 -0
- package/dist/core.js +13946 -0
- package/dist/editor.d.ts +57 -0
- package/dist/editor.d.ts.map +1 -0
- package/dist/engine.d.ts +34 -0
- package/dist/engine.d.ts.map +1 -0
- package/dist/engine.js +23 -0
- package/dist/functions-Cxg5fTo6.js +1510 -0
- package/dist/functions.d.ts +3 -0
- package/dist/functions.d.ts.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +94 -0
- package/dist/inline.d.ts +53 -0
- package/dist/inline.d.ts.map +1 -0
- package/dist/inline.js +164 -0
- package/dist/types.d.ts +159 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils.d.ts +43 -0
- package/dist/utils.d.ts.map +1 -0
- package/package.json +62 -0
package/dist/core.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* logisheets-formula-editor/core
|
|
3
|
+
*
|
|
4
|
+
* Framework-agnostic entry point — the formula editor with zero React (or any
|
|
5
|
+
* framework) dependency. Use this from vanilla JS, Vue, Svelte, Angular, etc.,
|
|
6
|
+
* the same way you mount `logisheets-engine`:
|
|
7
|
+
*
|
|
8
|
+
* import { createFormulaEditor } from 'logisheets-formula-editor/core'
|
|
9
|
+
* const editor = createFormulaEditor(el, { getDisplayUnits, ... })
|
|
10
|
+
*
|
|
11
|
+
* The React `<FormulaEditor>` (the package root) is a thin wrapper over this.
|
|
12
|
+
*/
|
|
13
|
+
export { createFormulaEditor } from './editor';
|
|
14
|
+
export type { FormulaEditorHandle, FormulaEditorOptions } from './editor';
|
|
15
|
+
export { builtinFormulaFunctions } from './functions';
|
|
16
|
+
export * from './types';
|
|
17
|
+
export * from './utils';
|
|
18
|
+
//# sourceMappingURL=core.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../src/lib/core.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAC,mBAAmB,EAAC,MAAM,UAAU,CAAA;AAC5C,YAAY,EAAC,mBAAmB,EAAE,oBAAoB,EAAC,MAAM,UAAU,CAAA;AAGvE,OAAO,EAAC,uBAAuB,EAAC,MAAM,aAAa,CAAA;AAEnD,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
|