@farris/x-ui 0.1.5 → 0.1.7
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/common/index.d.ts +1 -0
- package/common/src/overflow-tooltip.directive.d.ts +21 -0
- package/common/src/runtime-attachment-download.d.ts +1 -1
- package/dynamic-component/src/composition/types.d.ts +2 -0
- package/farris.x-ui.esm.js +3583 -3474
- package/farris.x-ui.umd.cjs +73 -73
- package/hitl-question/src/types.d.ts +7 -0
- package/index.css +1 -1
- package/package.json +1 -1
- package/todo/src/components/todo-list-item-view.component.d.ts +6 -0
package/common/index.d.ts
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
declare const overflowTooltipDirective: {
|
|
17
|
+
mounted(el: HTMLElement): void;
|
|
18
|
+
updated(el: HTMLElement): void;
|
|
19
|
+
unmounted(el: HTMLElement): void;
|
|
20
|
+
};
|
|
21
|
+
export default overflowTooltipDirective;
|
|
@@ -10,7 +10,7 @@ export interface RuntimeAttachmentLike {
|
|
|
10
10
|
/** 得到用于发起 GET 下载请求的 href(相对路径或绝对 URL) */
|
|
11
11
|
export declare function resolveHrefForAttachmentDownload(target: RuntimeAttachmentLike): string | undefined;
|
|
12
12
|
/**
|
|
13
|
-
* GET
|
|
13
|
+
* GET 二进制并触发浏览器下载;失败时降级为同源 URL 下载(不新开页)。
|
|
14
14
|
* `fileName` 仅作锚点文件名提示,服务端 `Content-Disposition` 优先。
|
|
15
15
|
*/
|
|
16
16
|
export declare function triggerAttachmentDownload(href: string, fileName: string): Promise<void>;
|
|
@@ -14,6 +14,8 @@ export interface DynamicComponentConfig {
|
|
|
14
14
|
fileRe?: string;
|
|
15
15
|
/** 打开后落位目标面板,默认 'preview' */
|
|
16
16
|
target?: 'preview' | 'previewExtra';
|
|
17
|
+
/** 重复打开时替换已有标签页数据(而非仅切换) */
|
|
18
|
+
replace?: boolean;
|
|
17
19
|
}
|
|
18
20
|
export interface DynamicComponentAssistantMessagePayload {
|
|
19
21
|
messageId: string;
|