@xdmp-open/ui-shared 0.1.3 → 0.1.5
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/CHANGELOG.md +13 -0
- package/dist/controls/registry.d.ts +4 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +367 -335
- package/dist/style.css +1 -1
- package/dist/styles/index.scss +5 -3
- package/dist/styles/search-input.scss +110 -0
- package/dist/styles/theme-default.css +10 -0
- package/dist/styles/theme-default.scss +10 -0
- package/dist/styles/tokens.css +19 -0
- package/dist/styles/tokens.scss +20 -0
- package/dist/styles.css +142 -3
- package/dist/tokens.d.ts +4 -0
- package/package.json +6 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @xdmp-open/ui-shared
|
|
2
2
|
|
|
3
|
+
## 0.1.5
|
|
4
|
+
|
|
5
|
+
### 补丁变更
|
|
6
|
+
|
|
7
|
+
- 新增 `--xdmp-*` token 名与中性 fallback;`theme-default.css` 才是现网蓝。
|
|
8
|
+
- 下沉 `searchInputCustomStyle`。`@xdmp-open/ui-shared/styles` = tokens + theme-default + 原样式 + 搜索皮肤。SaaS 可只引 `tokens.css` 再覆盖 `:root`。
|
|
9
|
+
|
|
10
|
+
## 0.1.4
|
|
11
|
+
|
|
12
|
+
### 补丁变更
|
|
13
|
+
|
|
14
|
+
- `PageDataInfo` 动态注册开关对齐后端:启用=`1`,不启用=`0`。
|
|
15
|
+
|
|
3
16
|
## 0.1.3
|
|
4
17
|
|
|
5
18
|
### 补丁变更
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* LCDP / SearchForm 控件注册表:独立 controlType ↔ 既有 formItem element。
|
|
3
|
-
*
|
|
3
|
+
*
|
|
4
|
+
* @deprecated 语义 registry 已迁到 `@xdmp-open/ui-lowcode-core`;
|
|
5
|
+
* `el-*` 映射已迁到 `@xdmp-open/ui-lowcode-element`。
|
|
6
|
+
* 本文件保留为 SearchForm 兼容桥,禁止在 IR 中写入 element 名。
|
|
4
7
|
*/
|
|
5
8
|
export type LcdpControlType = 'INPUT' | 'TEXTAREA' | 'NUMBER' | 'SELECT' | 'DATE' | 'SWITCH' | 'TREE_SELECT';
|
|
6
9
|
export type ControlDescriptor = {
|
package/dist/index.d.ts
CHANGED
|
@@ -31,14 +31,16 @@ import { isExternal, validPassword, validMoblie, validInputLength, validSpecialN
|
|
|
31
31
|
import { debounce } from './utils/debounce';
|
|
32
32
|
import { Encrypt } from './utils/encrypt';
|
|
33
33
|
import { isDevRuntime, isRetainFieldDisabled, isRetainYes, RETAIN_INDEX, RETAIN_MSG_DELETE, RETAIN_MSG_DISABLE, RETAIN_MSG_UPDATE, YES_OR_NO_YES, RetainEntityMeta, RetainFieldMeta, RetainUpdateStrategy } from './utils/retain';
|
|
34
|
+
import { TOKEN_NAMES, TOKEN_NEUTRAL_FALLBACKS } from './tokens';
|
|
34
35
|
import { registerControl, resolveControl, listControlTypes, controlTypeToElement } from './controls/registry';
|
|
36
|
+
export type { TokenName } from './tokens';
|
|
35
37
|
export type { LcdpControlType, ControlDescriptor } from './controls/registry';
|
|
36
38
|
/**
|
|
37
39
|
* 插件入口:全局注册全部组件与 emoji/highlight 指令。
|
|
38
40
|
* v-permission 指令需单独调用 setupPermissionDirective 注入判定函数后注册。
|
|
39
41
|
*/
|
|
40
42
|
declare function install(app: App): void;
|
|
41
|
-
export { UiapDrawer, SearchForm, Pagination, TreeSelect, MultipleTree, BackPage, PageDataInfo, PageDecs, PageMoreDataInfo, IconSelect, SvgIcon, KeyboardChart, LineMarkerChart, MixChart, ChartComponent, VueCountTo, ScaleSrceen, AvatarUpload, FileUpload, chartResizeMixin, setupBinaryApi, getBinaryResource, binaryUpload, binaryDownloadBlob, emoji, highlight, createPermissionDirective, setupPermissionDirective, registerSvgIcons, getSvgIconNames, isRegisteredSvgIcon, useIcons, $on, $off, $once, $emit, scrollTo, isExternal, validPassword, validMoblie, validInputLength, validSpecialName, validLegalInput, validBitMapString, validEnumString, isInteger, debounce, Encrypt, isRetainYes, isRetainFieldDisabled, isDevRuntime, RETAIN_INDEX, RETAIN_MSG_DELETE, RETAIN_MSG_DISABLE, RETAIN_MSG_UPDATE, YES_OR_NO_YES, registerControl, resolveControl, listControlTypes, controlTypeToElement, install };
|
|
43
|
+
export { UiapDrawer, SearchForm, Pagination, TreeSelect, MultipleTree, BackPage, PageDataInfo, PageDecs, PageMoreDataInfo, IconSelect, SvgIcon, KeyboardChart, LineMarkerChart, MixChart, ChartComponent, VueCountTo, ScaleSrceen, AvatarUpload, FileUpload, chartResizeMixin, setupBinaryApi, getBinaryResource, binaryUpload, binaryDownloadBlob, emoji, highlight, createPermissionDirective, setupPermissionDirective, registerSvgIcons, getSvgIconNames, isRegisteredSvgIcon, useIcons, $on, $off, $once, $emit, scrollTo, isExternal, validPassword, validMoblie, validInputLength, validSpecialName, validLegalInput, validBitMapString, validEnumString, isInteger, debounce, Encrypt, isRetainYes, isRetainFieldDisabled, isDevRuntime, RETAIN_INDEX, RETAIN_MSG_DELETE, RETAIN_MSG_DISABLE, RETAIN_MSG_UPDATE, YES_OR_NO_YES, registerControl, resolveControl, listControlTypes, controlTypeToElement, TOKEN_NAMES, TOKEN_NEUTRAL_FALLBACKS, install };
|
|
42
44
|
export type { HasPermissionFn, BinaryUploadQuery, RetainEntityMeta, RetainFieldMeta, RetainUpdateStrategy };
|
|
43
45
|
declare const _default: {
|
|
44
46
|
install: typeof install;
|