@floegence/floe-webapp-core 0.36.42 → 0.36.44
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/components/icons/index.d.ts +2 -0
- package/dist/components/icons/index.js +419 -397
- package/dist/components/workbench/WorkbenchCanvas.d.ts +45 -2
- package/dist/components/workbench/WorkbenchCanvas.js +265 -66
- package/dist/components/workbench/WorkbenchCanvasField.d.ts +47 -2
- package/dist/components/workbench/WorkbenchCanvasField.js +258 -78
- package/dist/components/workbench/WorkbenchFilterBar.d.ts +9 -7
- package/dist/components/workbench/WorkbenchFilterBar.js +233 -145
- package/dist/components/workbench/WorkbenchLayerObjects.d.ts +136 -0
- package/dist/components/workbench/WorkbenchLayerObjects.js +999 -0
- package/dist/components/workbench/WorkbenchOverlay.d.ts +4 -1
- package/dist/components/workbench/WorkbenchOverlay.js +59 -29
- package/dist/components/workbench/WorkbenchSurface.d.ts +23 -11
- package/dist/components/workbench/WorkbenchSurface.js +315 -195
- package/dist/components/workbench/WorkbenchWidget.js +37 -37
- package/dist/components/workbench/index.d.ts +2 -1
- package/dist/components/workbench/types.d.ts +96 -1
- package/dist/components/workbench/types.js +12 -4
- package/dist/components/workbench/useWorkbenchModel.d.ts +62 -4
- package/dist/components/workbench/useWorkbenchModel.js +790 -253
- package/dist/components/workbench/widgets/widgetRegistry.d.ts +1 -1
- package/dist/components/workbench/workbenchHelpers.d.ts +5 -5
- package/dist/components/workbench/workbenchHelpers.js +345 -154
- package/dist/components/workbench/workbenchOptions.d.ts +43 -0
- package/dist/components/workbench/workbenchOptions.js +112 -0
- package/dist/full.js +620 -618
- package/dist/icons.js +71 -69
- package/dist/styles.css +1 -1
- package/dist/workbench.css +1122 -26
- package/dist/workbench.js +52 -36
- package/package.json +1 -1
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
const s = [
|
|
2
|
+
"#6b7280",
|
|
3
|
+
"#64748b",
|
|
4
|
+
"#71717a",
|
|
5
|
+
"#78716c",
|
|
6
|
+
"#7770a0",
|
|
7
|
+
"#8a6b6b"
|
|
8
|
+
], O = s[0], o = [
|
|
9
|
+
{
|
|
10
|
+
id: "serif",
|
|
11
|
+
label: "Serif",
|
|
12
|
+
fontFamily: "ui-serif, Georgia, serif",
|
|
13
|
+
fontWeight: 760
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
id: "sans",
|
|
17
|
+
label: "Sans",
|
|
18
|
+
fontFamily: 'ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',
|
|
19
|
+
fontWeight: 800
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
id: "round",
|
|
23
|
+
label: "Round",
|
|
24
|
+
fontFamily: 'ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", ui-sans-serif, sans-serif',
|
|
25
|
+
fontWeight: 800
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
id: "mono",
|
|
29
|
+
label: "Mono",
|
|
30
|
+
fontFamily: 'ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace',
|
|
31
|
+
fontWeight: 800
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
id: "condensed",
|
|
35
|
+
label: "Cond",
|
|
36
|
+
fontFamily: 'Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif',
|
|
37
|
+
fontWeight: 700
|
|
38
|
+
}
|
|
39
|
+
], t = o[0], r = [
|
|
40
|
+
"✨",
|
|
41
|
+
"✅",
|
|
42
|
+
"⚠️",
|
|
43
|
+
"🔥",
|
|
44
|
+
"💡",
|
|
45
|
+
"🚀",
|
|
46
|
+
"🎯",
|
|
47
|
+
"📌",
|
|
48
|
+
"🧭",
|
|
49
|
+
"🧪",
|
|
50
|
+
"🛠️",
|
|
51
|
+
"📝",
|
|
52
|
+
"👀",
|
|
53
|
+
"🔎",
|
|
54
|
+
"💬",
|
|
55
|
+
"❓",
|
|
56
|
+
"❗",
|
|
57
|
+
"⭐",
|
|
58
|
+
"❤️",
|
|
59
|
+
"🔒",
|
|
60
|
+
"🔗",
|
|
61
|
+
"📎",
|
|
62
|
+
"📅",
|
|
63
|
+
"⏱️",
|
|
64
|
+
"📊",
|
|
65
|
+
"📈",
|
|
66
|
+
"🏁",
|
|
67
|
+
"🔖",
|
|
68
|
+
"🧩",
|
|
69
|
+
"⚙️",
|
|
70
|
+
"🚧",
|
|
71
|
+
"🧯",
|
|
72
|
+
"📦",
|
|
73
|
+
"🎉"
|
|
74
|
+
];
|
|
75
|
+
function _(n) {
|
|
76
|
+
const e = String(n ?? "").trim();
|
|
77
|
+
return o.find((a) => a.fontFamily === e) ?? t;
|
|
78
|
+
}
|
|
79
|
+
const i = [
|
|
80
|
+
"#9da8a1",
|
|
81
|
+
"#a79d8e",
|
|
82
|
+
"#8fa1aa",
|
|
83
|
+
"#a78f86",
|
|
84
|
+
"#9ca184",
|
|
85
|
+
"#9993a7"
|
|
86
|
+
], l = i[0], d = [
|
|
87
|
+
"solid",
|
|
88
|
+
"dotted",
|
|
89
|
+
"grid",
|
|
90
|
+
"hatched",
|
|
91
|
+
"glass"
|
|
92
|
+
], T = "dotted", E = [
|
|
93
|
+
"amber",
|
|
94
|
+
"sage",
|
|
95
|
+
"azure",
|
|
96
|
+
"coral",
|
|
97
|
+
"rose"
|
|
98
|
+
], R = "amber";
|
|
99
|
+
export {
|
|
100
|
+
d as WORKBENCH_BACKGROUND_MATERIALS,
|
|
101
|
+
T as WORKBENCH_DEFAULT_BACKGROUND_MATERIAL,
|
|
102
|
+
l as WORKBENCH_DEFAULT_REGION_FILL,
|
|
103
|
+
R as WORKBENCH_DEFAULT_STICKY_NOTE_COLOR,
|
|
104
|
+
O as WORKBENCH_DEFAULT_TEXT_COLOR,
|
|
105
|
+
t as WORKBENCH_DEFAULT_TEXT_FONT,
|
|
106
|
+
i as WORKBENCH_REGION_FILL_OPTIONS,
|
|
107
|
+
E as WORKBENCH_STICKY_NOTE_COLORS,
|
|
108
|
+
s as WORKBENCH_TEXT_COLOR_OPTIONS,
|
|
109
|
+
r as WORKBENCH_TEXT_EMOJI_OPTIONS,
|
|
110
|
+
o as WORKBENCH_TEXT_FONT_OPTIONS,
|
|
111
|
+
_ as resolveWorkbenchTextFontOption
|
|
112
|
+
};
|