@kayak-sj/design 1.0.3 → 1.0.41
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/assets/Complex-bEGviwc1.css +1 -0
- package/dist/assets/{components-DK7g2-zP.css → components-Xvz0PsON.css} +1 -1
- package/dist/chunks/Complex-DuFZOhG0.js +49 -0
- package/dist/chunks/{components-NNeTozJw.js → components-D5GZ1crv.js} +836 -832
- package/dist/components/index.js +2 -2
- package/dist/components/k-form/formComponent/DatePicker.d.ts +5 -0
- package/dist/components/k-form/formComponent/componentRegistry.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/components/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as e, B as t, C as n, D as r, E as i, F as a,
|
|
1
|
+
import { A as e, B as t, C as n, D as r, E as i, F as a, G as o, H as s, I as c, L as l, M as u, N as d, O as f, R as p, S as m, T as h, U as g, V as _, W as v, _ as y, b, c as x, d as S, f as C, g as w, h as T, i as E, j as D, k as O, l as k, m as A, n as j, o as M, p as N, r as P, s as F, t as I, u as L, v as R, w as z, x as B, y as V, z as H } from "../chunks/components-D5GZ1crv.js";
|
|
2
2
|
import { a as U, d as W, i as G, l as K, n as q, r as J, u as Y } from "../chunks/editorValue-DSKvW8ty.js";
|
|
3
|
-
export {
|
|
3
|
+
export { s as DICT_KEY, I as KAffix, j as KBreadcrumb, o as KButton, b as KCard, P as KCascader, _ as KCheckbox, E as KColorPicker, t as KDatePicker, g as KDialog, v as KDialogHeader, u as KForm, e as KHandlePage, z as KIcon, H as KInput, n as KLinkButton, B as KLongPage, m as KPagination, V as KPanel, R as KPanelQuery, l as KRadio, p as KSelect, y as KTable, c as KTimePicker, a as KUpload, q as countEditorHtmlWords, J as countEditorWords, M as createUploadFileItem, C as exportKTableReport, N as exportKTableReportData, h as getAllLucideKebabNames, G as getEditorHtml, U as getEditorWordCount, Y as getUploadConfig, F as hasUploadSubmitFields, w as mapGroupDictToOptions, i as pascalToKebab, d as registerFormComponents, r as resolveLucideIcon, K as toKEditorValue, f as toLucidePascalName, x as toUploadFiles, k as toUploadSubmitFields, W as updateUploadConfig, L as useExportKTableReport, O as useHandlePageInit, D as useKFormTemplateRef, A as useKTableCrossPageSelection, T as useKTableTemplateRef, S as withQueryFieldOptions };
|
|
@@ -2,6 +2,8 @@ import { DatePickerType } from '../utils/fieldValue';
|
|
|
2
2
|
import { FormComponentBaseProps } from './types';
|
|
3
3
|
/** 边界日期:字面量 today、固定 Date、或每次求值的工厂 */
|
|
4
4
|
export type DateBound = 'today' | Date | (() => Date);
|
|
5
|
+
/** ElDatePicker default-time:Date 或 'HH:mm:ss' 字符串;范围可传单值或数组 */
|
|
6
|
+
export type DatePickerDefaultTime = Date | string | (Date | string)[];
|
|
5
7
|
interface DateDisabledRule {
|
|
6
8
|
/** 比较运算符:为 true 表示禁用日历上的该日 */
|
|
7
9
|
condition: '>=' | '>' | '<=' | '<' | '==';
|
|
@@ -37,6 +39,8 @@ type __VLS_Props = FormComponentBaseProps & {
|
|
|
37
39
|
endPlaceholder?: string;
|
|
38
40
|
/** 绑定值格式(如 YYYY-MM-DD) */
|
|
39
41
|
valueFormat?: string;
|
|
42
|
+
/** 选中日期后的默认时刻,如 '12:00:00' 或 ['12:00:00', '23:59:59'] */
|
|
43
|
+
defaultTime?: DatePickerDefaultTime;
|
|
40
44
|
};
|
|
41
45
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
46
|
"update:modelValue": (value: unknown) => any;
|
|
@@ -55,6 +59,7 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
55
59
|
startPlaceholder: string;
|
|
56
60
|
endPlaceholder: string;
|
|
57
61
|
valueFormat: string;
|
|
62
|
+
defaultTime: DatePickerDefaultTime;
|
|
58
63
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
59
64
|
declare const _default: typeof __VLS_export;
|
|
60
65
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component } from 'vue';
|
|
2
|
-
/** formConfigs.component 字段 → Vue
|
|
2
|
+
/** formConfigs.component 字段 → Vue 子组件 */
|
|
3
3
|
export declare const FORM_COMPONENT_MAP: Record<string, Component>;
|
|
4
4
|
/** 未命中注册表时返回 Fallback,避免未知 component 静默空白 */
|
|
5
5
|
export declare function resolveFormComponent(componentType: string): Component;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, B as t, C as n, D as r, E as i, F as a,
|
|
1
|
+
import { A as e, B as t, C as n, D as r, E as i, F as a, G as o, H as s, I as c, L as l, M as u, N as d, O as f, R as ee, S as te, T as ne, U as re, V as ie, W as ae, _ as oe, a as se, b as ce, c as le, d as ue, f as de, g as fe, h as pe, i as me, j as p, k as m, l as h, m as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C, v as w, w as T, x as E, y as D, z as O } from "./chunks/components-D5GZ1crv.js";
|
|
2
2
|
import { a as k, d as A, i as j, l as M, n as N, r as P, u as F } from "./chunks/editorValue-DSKvW8ty.js";
|
|
3
3
|
import { computed as I, toValue as L } from "vue";
|
|
4
4
|
//#region src/components/k-form/composables/useFormSchema.ts
|
|
@@ -214,4 +214,4 @@ function Me(e) {
|
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
216
|
//#endregion
|
|
217
|
-
export { G as BANK_ACCOUNT_PATTERN, ve as DECIMAL_MONEY_PATTERN,
|
|
217
|
+
export { G as BANK_ACCOUNT_PATTERN, ve as DECIMAL_MONEY_PATTERN, s as DICT_KEY, K as HTTP_URL_PATTERN, X as ID_CODE_PATTERN, S as KAffix, _ as KBreadcrumb, o as KButton, ce as KCard, b as KCascader, ie as KCheckbox, me as KColorPicker, t as KDatePicker, re as KDialog, ae as KDialogHeader, u as KForm, e as KHandlePage, T as KIcon, O as KInput, n as KLinkButton, E as KLongPage, te as KPagination, D as KPanel, w as KPanelQuery, l as KRadio, ee as KSelect, oe as KTable, c as KTimePicker, a as KUpload, J as NON_NEGATIVE_INT_PATTERN, Y as OPTIONAL_NON_NEGATIVE_INT_PATTERN, U as PHONE_PATTERN, q as POSITIVE_INT_PATTERN, W as USC_CODE_PATTERN, Se as alphaNumCodeRule, Q as bankAccountRule, be as cnAlphaNumRule, je as compareRule, N as countEditorHtmlWords, P as countEditorWords, Z as createPatternValidator, v as createUploadFileItem, de as exportKTableReport, y as exportKTableReportData, ne as getAllLucideKebabNames, ge as getDesignTheme, j as getEditorHtml, k as getEditorWordCount, F as getUploadConfig, x as hasUploadSubmitFields, Te as httpUrlRule, ke as idCodeRule, _e as initDesignTheme, he as mapFieldVisibility, fe as mapGroupDictToOptions, xe as mixedNameRule, Ae as moneyRule, De as nonNegativeIntRule, Oe as optionalNonNegativeIntRule, i as pascalToKebab, Ce as phoneRule, Ee as positiveIntRule, d as registerFormComponents, r as resolveLucideIcon, R as resolveSchemaField, H as setDesignTheme, Me as setupDesign, M as toKEditorValue, f as toLucidePascalName, le as toUploadFiles, h as toUploadSubmitFields, A as updateUploadConfig, we as uscCodeRule, C as useExportKTableReport, z as useFormSchema, m as useHandlePageInit, p as useKFormTemplateRef, g as useKTableCrossPageSelection, pe as useKTableTemplateRef, ue as withQueryFieldOptions };
|