@techui/scifi 0.1.1-alpha.1 → 0.1.3-alpha.1

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.md ADDED
@@ -0,0 +1,28 @@
1
+ # TechUI Scifi License | TechUI Scifi 授权说明
2
+
3
+ English | 中文
4
+
5
+ ## English
6
+
7
+ Copyright (c) aYin / TechUI. All rights reserved.
8
+
9
+ TechUI Scifi is a free but non-open-source TechUI component package. You may use it free of charge in personal, internal, learning, integration, and qualified commercial projects.
10
+
11
+ You may not publish this package as open source, sell it as an independent product, sublicense it, remove copyright notices, or redistribute modified versions as a competing package.
12
+
13
+ This package may not be used for unlawful activity, fraud, organized crime, human trafficking, or related abusive scenarios. TechUI may restrict use in specific countries or regions with elevated risks of such activity.
14
+
15
+ The software is provided "as is", without warranty of any kind.
16
+
17
+ ## 中文
18
+
19
+ 版权所有 (c) aYin / TechUI,保留所有权利。
20
+
21
+ TechUI Scifi 是免费但非开源的 TechUI 组件包。你可以将其免费用于个人、内部、学习、集成以及符合本授权约束的商业项目。
22
+
23
+ 你不得将本包作为开源项目发布,不得作为独立产品出售、再许可、移除版权声明,或将修改版本作为竞争性软件包重新分发。
24
+
25
+ 本包不得用于违法活动、诈骗、有组织犯罪、人口买卖或其他相关滥用场景。TechUI 保留对高风险国家或地区限制使用的权利。
26
+
27
+ 本软件按“原样”提供,不附带任何形式的担保。
28
+
package/README.md CHANGED
@@ -12,9 +12,13 @@ A free, dynamic SVG UI component library for building sci-fi and futuristic inte
12
12
 
13
13
  ## Strategy Adjustment
14
14
 
15
- Strategy announcement: starting from version `0.1.0`, the Scifi component library is functionally aligned with the current Prime version. Except for a small number of advanced components that still require authorization, Scifi now includes the full Prime feature set. In addition, the previously premium components `TuiEcharts` and `TuiEchartsMap` are now officially free to use.
15
+ At its initial release, the Scifi component library was primarily created to solve the UI and visual presentation needs of visualization projects.
16
16
 
17
- The Prime component library is currently planning and developing other exclusive premium components to enhance its competitiveness.
17
+ Starting from version `0.1.0`, Scifi now comes with the full TechUI Base component library built in. Except for a small number of advanced components that still require authorization, it has grown into a powerful and comprehensive library whose overall capability now surpasses the former paid TechUI-Vue2 component library.
18
+
19
+ In version `0.1.0`, Scifi already includes everything from the Prime component library except the workspace/admin capabilities. In addition, the previously premium components `TuiEcharts` and `TuiEchartsMap` are now officially free to use.
20
+
21
+ The Prime component library is currently planning and developing more exclusive premium components to further strengthen its competitiveness.
18
22
 
19
23
  ### ✨ Features
20
24
 
@@ -31,7 +35,7 @@ The Prime component library is currently planning and developing other exclusive
31
35
  - **scifiGeome** - Geometric sci-fi shapes
32
36
  - **scifiHeader** - Sci-fi style headers
33
37
  - **scifiPanel** - Panel containers with sci-fi aesthetics
34
- - **scifiPanelTitle** - Stylized panel titles
38
+ - **scifiTitle** - Stylized titles
35
39
  - **TechUI Base Components (New in 0.0.7)** - A selection of components from the TechUI base component library
36
40
 
37
41
  ### 🎯 TuiAdaptive - Revolutionary Responsive Component
@@ -105,9 +109,13 @@ UNLICENSED
105
109
 
106
110
  ## 策略调整
107
111
 
108
- 策略调整公告:自 `0.1.0` 版本发布起,Scifi 组件库已实现与当前 Prime 版本的功能对齐。除个别高级组件仍需授权外,Scifi 已包含 Prime 的全部功能。此外,原高级组件 `TuiEcharts` 与 `TuiEchartsMap` 现已正式转为免费开放。
112
+ Scifi 组件库在发布之初,主要聚焦于解决可视化开发中的 UI 呈现与视觉表达问题。
113
+
114
+ 自 `0.1.0` 版本发布起,Scifi 组件库已内置全量 Base 组件库能力。除个别高级组件仍需授权外,它已经成长为一个功能强大且覆盖全面的组件库,整体能力已超越此前的付费组件库 TechUI-Vue2。
115
+
116
+ 目前在 `0.1.0` 版本中,Scifi 组件库已包含 Prime 组件库除工作台组件(Admin)之外的全部能力。此外,原高级组件 `TuiEcharts` 与 `TuiEchartsMap` 现已正式免费开放。
109
117
 
110
- Prime组件库目前正在规划和开发其他的 独占高级组件 以提升其竞争力。
118
+ Prime 组件库目前正在规划和开发更多独占高级组件,以进一步提升其产品竞争力。
111
119
 
112
120
  ### ✨ 特性
113
121
 
@@ -124,7 +132,7 @@ Prime组件库目前正在规划和开发其他的 独占高级组件 以提升
124
132
  - **scifiGeome** - 几何科幻图形
125
133
  - **scifiHeader** - 科幻风格头部
126
134
  - **scifiPanel** - 科幻面板容器
127
- - **scifiPanelTitle** - 科幻面板标题
135
+ - **scifiTitle** - 科幻装饰标题
128
136
  - **TechUI Base (0.1.0+)** - TechUI基础组件库
129
137
 
130
138
  ### 🎯 TuiAdaptive - 革命性的自适应组件
@@ -169,7 +177,7 @@ Prime组件库目前正在规划和开发其他的 独占高级组件 以提升
169
177
  该库依赖以下 TechUI 生态系统包:
170
178
 
171
179
  - `@techui/colors` - 色彩系统
172
- - `@techui/mixins` - 样式混入
180
+ - `@techui/mixins` - 样式混入
173
181
  - `@techui/locales` - 国际化
174
182
  - `@techui/themes` - 主题系统
175
183
  - `@techui/libs` - 工具库
package/TECHUI.md CHANGED
@@ -92,7 +92,8 @@ The new version starts from **0.0.1**, with all releases before **1.0.0** consid
92
92
 
93
93
  ### Homepage
94
94
 
95
- [https://techui.net](https://techui.net)
95
+ [https://techui.cn](https://techui.cn/)
96
+ [https://techui.net](https://techui.net/)
96
97
 
97
98
  ---
98
99
 
@@ -184,7 +185,8 @@ TechUI 工程由 **ayin** 独立完成开发。2023 年之前的所有组件均
184
185
 
185
186
  ### 官网
186
187
 
187
- <https://techui.net>
188
+ <https://techui.cn/>
189
+ <https://techui.net/>
188
190
 
189
191
  ---
190
192
 
package/UPDATE.md CHANGED
@@ -6,24 +6,49 @@
6
6
 
7
7
  ## English
8
8
 
9
- ### Update Notes
10
-
11
- - The English documentation was translated using translation software or AI alignment, so some terms may be inappropriate or expressions unclear.
12
- - To date, every TechUI release has synchronously packaged and released all four component libraries. Consequently, the update log may list components no longer present in the current library—this is normal. The current Update documentation pertains to the entire TechUI project, not just the current component library.
13
-
14
- ### v0.1.1 (2026-04-18)
15
-
16
- Version `0.1.1` continues the `0.1.0` update cycle and focuses on `techuiColors 2.0`, chart theme tokens, map demo migration, and infrastructure cleanup.
17
-
18
- - `techuiColors` upgraded to `2.0`, with a new naming system, migration mapping, Hue Ring documentation, and improved color expression support.
19
- - `@techui/lessmixins` was renamed to `@techui/mixins`, with new `Scss` entry support and clearer subpath imports.
20
- - `TuiEcharts` and `TuiEchartsMap` now support theme-aware option tokens such as `$theme` and `$scheme`, reducing the need for manual theme patching after theme switches.
21
- - A large number of Vue2 chart demos were migrated to Vue3, and multiple ECharts / EChartsMap demo directories were refactored around the new token-based theme workflow.
22
- - Dialog dragging and adaptive scale handling were stabilized by improving `v-tui-drag`, `dom.info`, and related dialog internals.
23
- - Colors, mixins, echarts, echartsMap, and related ecosystem documentation were updated to align with the new `2.0` color system and theme-aware configuration style.
24
- - Additional naming, import-path, casing, and migration leftovers were cleaned up across demos, docs, and internal utilities.
25
-
26
- ### v0.1.0 (2026-04-05)
9
+ ### Update Notes
10
+
11
+ - The English documentation was translated using translation software or AI alignment, so some terms may be inappropriate or expressions unclear.
12
+ - To date, every TechUI release has synchronously packaged and released all four component libraries. Consequently, the update log may list components no longer present in the current library—this is normal. The current Update documentation pertains to the entire TechUI project, not just the current component library.
13
+
14
+ ### v0.1.3 (2026-05-01)
15
+
16
+ Version `0.1.3` adds several focused components and continues Rolling, Scroller, Form, style, and documentation iteration.
17
+
18
+ - Added `TuiIcon`, `TuiRollingSplit`, `TuiScrollerOptionShell`, and `TuiDatePicker`.
19
+ - Continued the Rolling refactor with `TuiRolling` header / footer slots, `TuiRollingTable` header / summary rendering, shadows, striped rows, and grouped rolling.
20
+ - Moved `TuiScrollerStep` and `TuiScrollerSmooth` into Data Display and extracted `TuiScrollerOptionShell` for inline radio / checkbox option groups.
21
+ - Refactored `TuiForm` and related child components across several passes.
22
+ - Cleaned up private and shared animation naming, consolidated shared keyframes into `main.less`, and reorganized scrollbar mixins into `scrollLayer / scrollFrame / scrollRoot`.
23
+ - Added DatePicker common modes, `cssVarIf`, `tDom.overlapMap`, `tDom.resolveOverlap`, and `date-fns`.
24
+ - Fixed DatePicker scaled-container / inline / empty menu-shell issues, FollowPanel collision flipping, PopInfo / PopTip styles, Message / Notification issues, ButtonB1 icon styles, and view transition target-container animation.
25
+ - Added docs, demos, navigation, shared previews, and bilingual content for the newly added components.
26
+
27
+ ### v0.1.2 (2026-04-25)
28
+
29
+ Version `0.1.2` is a broad component and documentation release focused on `@techui/adaptive`, layout / overlay additions, Rolling refactors, CSS variable cleanup, and release preparation.
30
+
31
+ - Added standalone `@techui/adaptive`, plus `TuiFlex`, `TuiScalePanel`, `TuiCollapse`, `TuiStickyPanel`, `TuiBackTop`, `TuiMaximize`, and `TuiDockPanel`.
32
+ - Refactored `TuiRolling`, `TuiRollingTable`, `TuiRollingProgress`, `TuiRollingNotification`, `TuiRollingNavIcon`, and `TuiRollingNavTabs`, aligning rolling behavior, controls, header/summary slots, and clone refresh.
33
+ - Cleaned up component classes, CSS variables, style naming, and source categories; `advance` was renamed to `advanced`.
34
+ - Added and refined utilities such as `tFrame`, `cssVarSet`, `cssSizeEnsure`, `tAnimate`, `tResize`, and `v-tui-drag`.
35
+ - Added frontend-only license, chained license, and standalone license capabilities.
36
+ - Fixed Rolling pagination, auto-follow, dynamic clone refresh, Nav control animation conflicts, decimal precision issues, popup anchors, Admin Tabs route transitions, and multiple component edge cases.
37
+ - Documentation, demos, navigation, test previews, AI collaboration rules, and bilingual content were updated extensively.
38
+
39
+ ### v0.1.1 (2026-04-18)
40
+
41
+ Version `0.1.1` continues the `0.1.0` update cycle and focuses on `techuiColors 2.0`, chart theme tokens, map demo migration, and infrastructure cleanup.
42
+
43
+ - `techuiColors` upgraded to `2.0`, with a new naming system, migration mapping, Hue Ring documentation, and improved color expression support.
44
+ - `@techui/lessmixins` was renamed to `@techui/mixins`, with new `Scss` entry support and clearer subpath imports.
45
+ - `TuiEcharts` and `TuiEchartsMap` now support theme-aware option tokens such as `$theme` and `$scheme`, reducing the need for manual theme patching after theme switches.
46
+ - A large number of Vue2 chart demos were migrated to Vue3, and multiple ECharts / EChartsMap demo directories were refactored around the new token-based theme workflow.
47
+ - Dialog dragging and adaptive scale handling were stabilized by improving `v-tui-drag`, `dom.info`, and related dialog internals.
48
+ - Colors, mixins, echarts, echartsMap, and related ecosystem documentation were updated to align with the new `2.0` color system and theme-aware configuration style.
49
+ - Additional naming, import-path, casing, and migration leftovers were cleaned up across demos, docs, and internal utilities.
50
+
51
+ ### v0.1.0 (2026-04-05)
27
52
 
28
53
  Version 0.1.0 marks a milestone upgrade:
29
54
 
@@ -120,24 +145,49 @@ Version 0.1.0 marks a milestone upgrade:
120
145
 
121
146
  ## 中文
122
147
 
123
- ### 更新说明
124
-
125
- - 英文部分的文档,采用了翻译软件或者AI对齐进行翻译,所以可能存在部分用词不当或者表达模糊的情况。
126
- - 截止到目前为止,TechUI的每次发布,均会对当前四个组件库进行同步打包发布。并且更新记录中,可能会出现当前组件库中不存在的组件,属于正常现象。因为当前Update文档是针对整个TechUI工程,而非争对当前的组件库。
127
-
128
- ### v0.1.1 (2026-04-18)
129
-
130
- 版本 `0.1.1` 延续了 `0.1.0` 的升级方向,重点围绕 `techuiColors 2.0`、图表主题 token、地图案例迁移,以及基础设施收尾优化展开。
131
-
132
- - `techuiColors` 升级至 `2.0`,引入新的命名体系、迁移映射、色相环文档与更完善的颜色表达式能力。
133
- - `@techui/lessmixins` 更名为 `@techui/mixins`,新增 `Scss` 入口支持,并统一了子路径导入方式。
134
- - `TuiEcharts` `TuiEchartsMap` 支持 `$theme`、`$scheme` 等主题感知配置项,主题切换时不再依赖大量手工颜色同步。
135
- - 大批 Vue2 图表案例迁移为 Vue3,多个 ECharts / EChartsMap 测试目录同步迁移到新的 token 主题模式。
136
- - 通过迭代 `v-tui-drag`、`dom.info` dialog 内部逻辑,进一步增强了拖拽和自适应缩放场景下的稳定性。
137
- - `colors`、`mixins`、`echarts`、`echartsMap` 等相关文档已同步对齐 `2.0` 颜色体系与主题感知配置方式。
138
- - 持续清理测试用例、文档与内部工具中的命名、导入路径、大小写与迁移遗留问题。
139
-
140
- ### v0.1.0 (2026-04-05)
148
+ ### 更新说明
149
+
150
+ - 英文部分的文档,采用了翻译软件或者AI对齐进行翻译,所以可能存在部分用词不当或者表达模糊的情况。
151
+ - 截止到目前为止,TechUI的每次发布,均会对当前四个组件库进行同步打包发布。并且更新记录中,可能会出现当前组件库中不存在的组件,属于正常现象。因为当前Update文档是针对整个TechUI工程,而非争对当前的组件库。
152
+
153
+ ### v0.1.3 (2026-05-01)
154
+
155
+ 版本 `0.1.3` 新增若干聚焦组件,并继续迭代 Rolling、Scroller、Form、样式体系和文档。
156
+
157
+ - 新增 `TuiIcon`、`TuiRollingSplit`、`TuiScrollerOptionShell`、`TuiDatePicker`。
158
+ - 在上一轮重构基础上继续补齐 `TuiRolling` header / footer 插槽、`TuiRollingTable` 表头 / 合计行渲染、阴影、奇偶行和分组轮循能力。
159
+ - `TuiScrollerStep`、`TuiScrollerSmooth` 调整到数据展示分类,并抽出 `TuiScrollerOptionShell` 支撑单选 / 复选等内联选项滚动场景。
160
+ - `TuiForm` 及子组件完成多阶段重构。
161
+ - 清理组件私有动画与公共动画命名,公共关键帧收敛到 `main.less`,滚动条 mixins 收敛为 `scrollLayer / scrollFrame / scrollRoot`。
162
+ - 新增 DatePicker 常用模式、`cssVarIf`、`tDom.overlapMap`、`tDom.resolveOverlap` `date-fns`。
163
+ - 修复 DatePicker 缩放容器 / inline / 空菜单壳问题、FollowPanel 碰撞翻转、PopInfo / PopTip 样式、Message / Notification 异常、ButtonB1 图标样式和 view transition 指定容器动画问题。
164
+ - 补齐新增组件的文档、Demo、导航、shared 预览和中英文内容。
165
+
166
+ ### v0.1.2 (2026-04-25)
167
+
168
+ 版本 `0.1.2` 是一次大范围的组件与文档发布,重点围绕 `@techui/adaptive`、布局 / 弹层新增组件、Rolling 系列重构、CSS 变量清理和发布准备展开。
169
+
170
+ - 新增独立版 `@techui/adaptive`,以及 `TuiFlex`、`TuiScalePanel`、`TuiCollapse`、`TuiStickyPanel`、`TuiBackTop`、`TuiMaximize`、`TuiDockPanel`。
171
+ - 重构 `TuiRolling`、`TuiRollingTable`、`TuiRollingProgress`、`TuiRollingNotification`、`TuiRollingNavIcon`、`TuiRollingNavTabs`,统一滚动行为、控制栏、表头 / 合计行和动态克隆刷新逻辑。
172
+ - 批量清理组件 class、CSS 变量、样式命名和源码分类;`advance` 目录统一更名为 `advanced`。
173
+ - 新增和完善 `tFrame`、`cssVarSet`、`cssSizeEnsure`、`tAnimate`、`tResize`、`v-tui-drag` 等工具能力。
174
+ - 补充纯前端许可证、链式许可与独立许可相关能力。
175
+ - 修复 Rolling 分页、自动跟随、动态克隆刷新、Nav 控制栏动画抢更新、小数精度、弹层锚点、Admin Tabs 路由转场等多个组件边界问题。
176
+ - 文档、Demo、导航、测试预览、AI 协作规则和中英文内容进行了大范围更新。
177
+
178
+ ### v0.1.1 (2026-04-18)
179
+
180
+ 版本 `0.1.1` 延续了 `0.1.0` 的升级方向,重点围绕 `techuiColors 2.0`、图表主题 token、地图案例迁移,以及基础设施收尾优化展开。
181
+
182
+ - `techuiColors` 升级至 `2.0`,引入新的命名体系、迁移映射、色相环文档与更完善的颜色表达式能力。
183
+ - `@techui/lessmixins` 更名为 `@techui/mixins`,新增 `Scss` 入口支持,并统一了子路径导入方式。
184
+ - `TuiEcharts` 与 `TuiEchartsMap` 支持 `$theme`、`$scheme` 等主题感知配置项,主题切换时不再依赖大量手工颜色同步。
185
+ - 大批 Vue2 图表案例迁移为 Vue3,多个 ECharts / EChartsMap 测试目录同步迁移到新的 token 主题模式。
186
+ - 通过迭代 `v-tui-drag`、`dom.info` 与 dialog 内部逻辑,进一步增强了拖拽和自适应缩放场景下的稳定性。
187
+ - `colors`、`mixins`、`echarts`、`echartsMap` 等相关文档已同步对齐 `2.0` 颜色体系与主题感知配置方式。
188
+ - 持续清理测试用例、文档与内部工具中的命名、导入路径、大小写与迁移遗留问题。
189
+
190
+ ### v0.1.0 (2026-04-05)
141
191
 
142
192
  版本 0.1.0 迎来里程碑式升级:
143
193
 
@@ -228,4 +278,5 @@ Version 0.1.0 marks a milestone upgrade:
228
278
 
229
279
  ### v0.0.1 (2025-10-02)
230
280
 
231
- - 首次发布
281
+ - 首次发布
282
+
package/core/core.d.ts CHANGED
@@ -23,6 +23,8 @@ export function coreInfo(input: any): any;
23
23
 
24
24
  export function cssVarGen(prefix: string, style_obj: object): string;
25
25
 
26
+ export function cssVarIf(key: string, value: any, options: any): object;
27
+
26
28
  export function floatInfo(): void;
27
29
 
28
30
  export function getEnv(): string;
@@ -109,11 +111,11 @@ export function scifiPanelDV8(width: number, height: number): string;
109
111
 
110
112
  export function scifiPanelDV9(width: number, height: number): string;
111
113
 
112
- export function scifiPanelTitleA1(width: number): string;
114
+ export function scifiTitleA1(width: number): string;
113
115
 
114
- export function scifiPanelTitleA2(): string;
116
+ export function scifiTitleA2(): string;
115
117
 
116
- export function scifiPanelTitleA3(): string;
118
+ export function scifiTitleA3(): string;
117
119
 
118
120
  export function setLang(lang?: string | null): void;
119
121
 
@@ -260,6 +262,7 @@ export interface InitOutput {
260
262
  readonly coreConsoleWarn: (a: number, b: number, c: number, d: number) => void;
261
263
  readonly coreInfo: (a: number) => number;
262
264
  readonly cssVarGen: (a: number, b: number, c: number, d: number) => void;
265
+ readonly cssVarIf: (a: number, b: number, c: number, d: number) => number;
263
266
  readonly floatInfo: () => void;
264
267
  readonly getEnv: (a: number) => void;
265
268
  readonly getVer: (a: number) => void;
@@ -303,9 +306,9 @@ export interface InitOutput {
303
306
  readonly scifiPanelDV7: (a: number, b: number, c: number) => void;
304
307
  readonly scifiPanelDV8: (a: number, b: number, c: number) => void;
305
308
  readonly scifiPanelDV9: (a: number, b: number, c: number) => void;
306
- readonly scifiPanelTitleA1: (a: number, b: number) => void;
307
- readonly scifiPanelTitleA2: (a: number) => void;
308
- readonly scifiPanelTitleA3: (a: number) => void;
309
+ readonly scifiTitleA1: (a: number, b: number) => void;
310
+ readonly scifiTitleA2: (a: number) => void;
311
+ readonly scifiTitleA3: (a: number) => void;
309
312
  readonly setLang: (a: number, b: number) => void;
310
313
  readonly svgPatBlocks: (a: number) => void;
311
314
  readonly svgPatCircuitDiagram: (a: number) => void;
@@ -371,8 +374,8 @@ export interface InitOutput {
371
374
  readonly t3dUpdateRotate: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
372
375
  readonly techuiCoreInit: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
373
376
  readonly svgPatTest: (a: number) => void;
374
- readonly __wasm_bindgen_func_elem_92: (a: number, b: number) => void;
375
- readonly __wasm_bindgen_func_elem_335: (a: number, b: number) => void;
377
+ readonly __wasm_bindgen_func_elem_95: (a: number, b: number) => void;
378
+ readonly __wasm_bindgen_func_elem_346: (a: number, b: number) => void;
376
379
  readonly __wbindgen_export: (a: number, b: number) => number;
377
380
  readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
378
381
  readonly __wbindgen_export3: (a: number) => void;
package/core/core.js CHANGED
@@ -181,6 +181,19 @@ export function cssVarGen(prefix, style_obj) {
181
181
  }
182
182
  }
183
183
 
184
+ /**
185
+ * @param {string} key
186
+ * @param {any} value
187
+ * @param {any} options
188
+ * @returns {object}
189
+ */
190
+ export function cssVarIf(key, value, options) {
191
+ const ptr0 = passStringToWasm0(key, wasm.__wbindgen_export, wasm.__wbindgen_export2);
192
+ const len0 = WASM_VECTOR_LEN;
193
+ const ret = wasm.cssVarIf(ptr0, len0, addHeapObject(value), addHeapObject(options));
194
+ return takeObject(ret);
195
+ }
196
+
184
197
  export function floatInfo() {
185
198
  wasm.floatInfo();
186
199
  }
@@ -1108,12 +1121,12 @@ export function scifiPanelDV9(width, height) {
1108
1121
  * @param {number} width
1109
1122
  * @returns {string}
1110
1123
  */
1111
- export function scifiPanelTitleA1(width) {
1124
+ export function scifiTitleA1(width) {
1112
1125
  let deferred1_0;
1113
1126
  let deferred1_1;
1114
1127
  try {
1115
1128
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1116
- wasm.scifiPanelTitleA1(retptr, width);
1129
+ wasm.scifiTitleA1(retptr, width);
1117
1130
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1118
1131
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1119
1132
  deferred1_0 = r0;
@@ -1128,12 +1141,12 @@ export function scifiPanelTitleA1(width) {
1128
1141
  /**
1129
1142
  * @returns {string}
1130
1143
  */
1131
- export function scifiPanelTitleA2() {
1144
+ export function scifiTitleA2() {
1132
1145
  let deferred1_0;
1133
1146
  let deferred1_1;
1134
1147
  try {
1135
1148
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1136
- wasm.scifiPanelTitleA2(retptr);
1149
+ wasm.scifiTitleA2(retptr);
1137
1150
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1138
1151
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1139
1152
  deferred1_0 = r0;
@@ -1148,12 +1161,12 @@ export function scifiPanelTitleA2() {
1148
1161
  /**
1149
1162
  * @returns {string}
1150
1163
  */
1151
- export function scifiPanelTitleA3() {
1164
+ export function scifiTitleA3() {
1152
1165
  let deferred1_0;
1153
1166
  let deferred1_1;
1154
1167
  try {
1155
1168
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1156
- wasm.scifiPanelTitleA3(retptr);
1169
+ wasm.scifiTitleA3(retptr);
1157
1170
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1158
1171
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1159
1172
  deferred1_0 = r0;
@@ -2457,6 +2470,10 @@ function __wbg_get_imports() {
2457
2470
  const ret = typeof(getObject(arg0)) === 'function';
2458
2471
  return ret;
2459
2472
  },
2473
+ __wbg___wbindgen_is_null_a2a19127c13e7126: function(arg0) {
2474
+ const ret = getObject(arg0) === null;
2475
+ return ret;
2476
+ },
2460
2477
  __wbg___wbindgen_is_object_4b3de556756ee8a8: function(arg0) {
2461
2478
  const val = getObject(arg0);
2462
2479
  const ret = typeof(val) === 'object' && val !== null;
@@ -2583,6 +2600,10 @@ function __wbg_get_imports() {
2583
2600
  const ret = getObject(arg0)[arg1 >>> 0];
2584
2601
  return addHeapObject(ret);
2585
2602
  },
2603
+ __wbg_get_unchecked_3d0f4b91c8eca4f0: function(arg0, arg1) {
2604
+ const ret = getObject(arg0)[arg1 >>> 0];
2605
+ return addHeapObject(ret);
2606
+ },
2586
2607
  __wbg_get_with_ref_key_6412cf3094599694: function(arg0, arg1) {
2587
2608
  const ret = getObject(arg0)[getObject(arg1)];
2588
2609
  return addHeapObject(ret);
@@ -2639,6 +2660,10 @@ function __wbg_get_imports() {
2639
2660
  const ret = result;
2640
2661
  return ret;
2641
2662
  },
2663
+ __wbg_isArray_fad08a0d12828686: function(arg0) {
2664
+ const ret = Array.isArray(getObject(arg0));
2665
+ return ret;
2666
+ },
2642
2667
  __wbg_left_271b4450c739c266: function(arg0) {
2643
2668
  const ret = getObject(arg0).left;
2644
2669
  return ret;
@@ -2802,7 +2827,7 @@ function __wbg_get_imports() {
2802
2827
  },
2803
2828
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
2804
2829
  // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2805
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_92, __wasm_bindgen_func_elem_335);
2830
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_95, __wasm_bindgen_func_elem_346);
2806
2831
  return addHeapObject(ret);
2807
2832
  },
2808
2833
  __wbindgen_cast_0000000000000002: function(arg0) {
@@ -2834,8 +2859,8 @@ function __wbg_get_imports() {
2834
2859
  };
2835
2860
  }
2836
2861
 
2837
- function __wasm_bindgen_func_elem_335(arg0, arg1) {
2838
- wasm.__wasm_bindgen_func_elem_335(arg0, arg1);
2862
+ function __wasm_bindgen_func_elem_346(arg0, arg1) {
2863
+ wasm.__wasm_bindgen_func_elem_346(arg0, arg1);
2839
2864
  }
2840
2865
 
2841
2866
  function addHeapObject(obj) {
package/core/core_bg.wasm CHANGED
Binary file
@@ -12,6 +12,7 @@ export const coreConsoleInfo: (a: number, b: number, c: number, d: number) => vo
12
12
  export const coreConsoleWarn: (a: number, b: number, c: number, d: number) => void;
13
13
  export const coreInfo: (a: number) => number;
14
14
  export const cssVarGen: (a: number, b: number, c: number, d: number) => void;
15
+ export const cssVarIf: (a: number, b: number, c: number, d: number) => number;
15
16
  export const floatInfo: () => void;
16
17
  export const getEnv: (a: number) => void;
17
18
  export const getVer: (a: number) => void;
@@ -55,9 +56,9 @@ export const scifiPanelDV6: (a: number, b: number, c: number) => void;
55
56
  export const scifiPanelDV7: (a: number, b: number, c: number) => void;
56
57
  export const scifiPanelDV8: (a: number, b: number, c: number) => void;
57
58
  export const scifiPanelDV9: (a: number, b: number, c: number) => void;
58
- export const scifiPanelTitleA1: (a: number, b: number) => void;
59
- export const scifiPanelTitleA2: (a: number) => void;
60
- export const scifiPanelTitleA3: (a: number) => void;
59
+ export const scifiTitleA1: (a: number, b: number) => void;
60
+ export const scifiTitleA2: (a: number) => void;
61
+ export const scifiTitleA3: (a: number) => void;
61
62
  export const setLang: (a: number, b: number) => void;
62
63
  export const svgPatBlocks: (a: number) => void;
63
64
  export const svgPatCircuitDiagram: (a: number) => void;
@@ -123,8 +124,8 @@ export const t3dUpdateOrient: (a: number, b: number, c: number) => number;
123
124
  export const t3dUpdateRotate: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
124
125
  export const techuiCoreInit: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
125
126
  export const svgPatTest: (a: number) => void;
126
- export const __wasm_bindgen_func_elem_92: (a: number, b: number) => void;
127
- export const __wasm_bindgen_func_elem_335: (a: number, b: number) => void;
127
+ export const __wasm_bindgen_func_elem_95: (a: number, b: number) => void;
128
+ export const __wasm_bindgen_func_elem_346: (a: number, b: number) => void;
128
129
  export const __wbindgen_export: (a: number, b: number) => number;
129
130
  export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
130
131
  export const __wbindgen_export3: (a: number) => void;