@papernote/ui 1.8.2 → 1.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +37 -45
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +37 -45
- package/dist/index.js.map +1 -1
- package/dist/styles.css +4 -0
- package/package.json +1 -1
- package/src/components/Layout.tsx +1 -1
package/dist/index.js
CHANGED
|
@@ -9701,7 +9701,7 @@ function UserProfileButton({ userName, userEmail, userTitle, initials, isOnline
|
|
|
9701
9701
|
*/
|
|
9702
9702
|
const Layout = ({ sidebar, children, statusBar, className = '', sections }) => {
|
|
9703
9703
|
console.log('🏗️ Layout render with sections:', sections);
|
|
9704
|
-
return (jsxRuntime.jsxs("div", { className: `h-screen flex flex-col bg-paper-100 ${className}`, children: [jsxRuntime.jsxs("div", { className: "flex flex-1 overflow-hidden relative", children: [sidebar, jsxRuntime.jsx("div", { className: "w-8 h-full bg-paper-100 flex-shrink-0 relative flex items-
|
|
9704
|
+
return (jsxRuntime.jsxs("div", { className: `h-screen flex flex-col bg-paper-100 ${className}`, children: [jsxRuntime.jsxs("div", { className: "flex flex-1 overflow-hidden relative", children: [sidebar, jsxRuntime.jsx("div", { className: "w-8 h-full bg-paper-100 flex-shrink-0 relative z-10 flex items-start justify-center pt-32", children: jsxRuntime.jsx(PageNavigation, { sections: sections }) }), jsxRuntime.jsx("div", { className: "flex-1 overflow-auto", children: children })] }), statusBar] }));
|
|
9705
9705
|
};
|
|
9706
9706
|
|
|
9707
9707
|
/**
|
|
@@ -11092,52 +11092,44 @@ function getAugmentedNamespace(n) {
|
|
|
11092
11092
|
* (A1, A1:C5, ...)
|
|
11093
11093
|
*/
|
|
11094
11094
|
|
|
11095
|
-
|
|
11096
|
-
var hasRequiredCollection;
|
|
11097
|
-
|
|
11098
|
-
function requireCollection () {
|
|
11099
|
-
if (hasRequiredCollection) return collection;
|
|
11100
|
-
hasRequiredCollection = 1;
|
|
11101
|
-
class Collection {
|
|
11095
|
+
let Collection$3 = class Collection {
|
|
11102
11096
|
|
|
11103
|
-
|
|
11104
|
-
|
|
11105
|
-
|
|
11106
|
-
|
|
11107
|
-
|
|
11108
|
-
|
|
11109
|
-
|
|
11110
|
-
|
|
11111
|
-
|
|
11112
|
-
|
|
11113
|
-
|
|
11097
|
+
constructor(data, refs) {
|
|
11098
|
+
if (data == null && refs == null) {
|
|
11099
|
+
this._data = [];
|
|
11100
|
+
this._refs = [];
|
|
11101
|
+
} else {
|
|
11102
|
+
if (data.length !== refs.length)
|
|
11103
|
+
throw Error('Collection: data length should match references length.');
|
|
11104
|
+
this._data = data;
|
|
11105
|
+
this._refs = refs;
|
|
11106
|
+
}
|
|
11107
|
+
}
|
|
11114
11108
|
|
|
11115
|
-
|
|
11116
|
-
|
|
11117
|
-
|
|
11109
|
+
get data() {
|
|
11110
|
+
return this._data;
|
|
11111
|
+
}
|
|
11118
11112
|
|
|
11119
|
-
|
|
11120
|
-
|
|
11121
|
-
|
|
11113
|
+
get refs() {
|
|
11114
|
+
return this._refs;
|
|
11115
|
+
}
|
|
11122
11116
|
|
|
11123
|
-
|
|
11124
|
-
|
|
11125
|
-
|
|
11117
|
+
get length() {
|
|
11118
|
+
return this._data.length;
|
|
11119
|
+
}
|
|
11126
11120
|
|
|
11127
|
-
|
|
11128
|
-
|
|
11129
|
-
|
|
11130
|
-
|
|
11131
|
-
|
|
11132
|
-
|
|
11133
|
-
|
|
11134
|
-
|
|
11135
|
-
|
|
11136
|
-
|
|
11121
|
+
/**
|
|
11122
|
+
* Add data and references to this collection.
|
|
11123
|
+
* @param {{}} obj - data
|
|
11124
|
+
* @param {{}} ref - reference
|
|
11125
|
+
*/
|
|
11126
|
+
add(obj, ref) {
|
|
11127
|
+
this._data.push(obj);
|
|
11128
|
+
this._refs.push(ref);
|
|
11129
|
+
}
|
|
11130
|
+
};
|
|
11137
11131
|
|
|
11138
|
-
|
|
11139
|
-
return collection;
|
|
11140
|
-
}
|
|
11132
|
+
var collection = Collection$3;
|
|
11141
11133
|
|
|
11142
11134
|
var helpers;
|
|
11143
11135
|
var hasRequiredHelpers;
|
|
@@ -11146,7 +11138,7 @@ function requireHelpers () {
|
|
|
11146
11138
|
if (hasRequiredHelpers) return helpers;
|
|
11147
11139
|
hasRequiredHelpers = 1;
|
|
11148
11140
|
const FormulaError = requireError();
|
|
11149
|
-
const Collection =
|
|
11141
|
+
const Collection = collection;
|
|
11150
11142
|
|
|
11151
11143
|
const Types = {
|
|
11152
11144
|
NUMBER: 0,
|
|
@@ -20800,7 +20792,7 @@ var engineering = EngineeringFunctions;
|
|
|
20800
20792
|
|
|
20801
20793
|
const FormulaError$b = requireError();
|
|
20802
20794
|
const {FormulaHelpers: FormulaHelpers$8, Types: Types$6, WildCard, Address: Address$3} = requireHelpers();
|
|
20803
|
-
const Collection$2 =
|
|
20795
|
+
const Collection$2 = collection;
|
|
20804
20796
|
const H$5 = FormulaHelpers$8;
|
|
20805
20797
|
|
|
20806
20798
|
const ReferenceFunctions$1 = {
|
|
@@ -32428,7 +32420,7 @@ var parsing = {
|
|
|
32428
32420
|
const FormulaError$4 = requireError();
|
|
32429
32421
|
const {Address: Address$1} = requireHelpers();
|
|
32430
32422
|
const {Prefix: Prefix$1, Postfix: Postfix$1, Infix: Infix$1, Operators: Operators$1} = operators;
|
|
32431
|
-
const Collection$1 =
|
|
32423
|
+
const Collection$1 = collection;
|
|
32432
32424
|
const MAX_ROW$1 = 1048576, MAX_COLUMN$1 = 16384;
|
|
32433
32425
|
const {NotAllInputParsedException} = require$$4;
|
|
32434
32426
|
|
|
@@ -33190,7 +33182,7 @@ var hooks$1 = {
|
|
|
33190
33182
|
const FormulaError$2 = requireError();
|
|
33191
33183
|
const {FormulaHelpers: FormulaHelpers$1, Types, Address} = requireHelpers();
|
|
33192
33184
|
const {Prefix, Postfix, Infix, Operators} = operators;
|
|
33193
|
-
const Collection =
|
|
33185
|
+
const Collection = collection;
|
|
33194
33186
|
const MAX_ROW = 1048576, MAX_COLUMN = 16384;
|
|
33195
33187
|
|
|
33196
33188
|
let Utils$1 = class Utils {
|