imean-service-engine-htmx-plugin 2.3.0 → 2.3.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/dist/index.d.mts +23 -1
- package/dist/index.d.ts +23 -1
- package/dist/index.js +545 -174
- package/dist/index.mjs +545 -175
- package/package.json +14 -13
package/dist/index.d.mts
CHANGED
|
@@ -993,4 +993,26 @@ interface StringArrayEditorProps {
|
|
|
993
993
|
}
|
|
994
994
|
declare function StringArrayEditor(props: StringArrayEditorProps): hono_utils_html.HtmlEscapedString | Promise<hono_utils_html.HtmlEscapedString>;
|
|
995
995
|
|
|
996
|
-
|
|
996
|
+
/**
|
|
997
|
+
* 标签编辑器组件
|
|
998
|
+
* 支持增加、删除和拖放排序功能
|
|
999
|
+
* 使用更紧凑的标签样式布局,适合维护 tags
|
|
1000
|
+
* 使用 Alpine.js 管理状态,通过隐藏字段与表单系统同步数据
|
|
1001
|
+
*/
|
|
1002
|
+
interface TagsEditorProps {
|
|
1003
|
+
/** 字段定义 */
|
|
1004
|
+
field: any;
|
|
1005
|
+
/** 当前值(字符串数组,已解析) */
|
|
1006
|
+
value: string[] | null;
|
|
1007
|
+
/** 完整的初始数据 */
|
|
1008
|
+
initialData?: any;
|
|
1009
|
+
/** 字段名(用于更新隐藏字段) */
|
|
1010
|
+
fieldName: string;
|
|
1011
|
+
/** 占位符文本(可选) */
|
|
1012
|
+
placeholder?: string;
|
|
1013
|
+
/** 是否允许空值(默认 false) */
|
|
1014
|
+
allowEmpty?: boolean;
|
|
1015
|
+
}
|
|
1016
|
+
declare function TagsEditor(props: TagsEditorProps): hono_utils_html.HtmlEscapedString | Promise<hono_utils_html.HtmlEscapedString>;
|
|
1017
|
+
|
|
1018
|
+
export { type AuthProvider, BaseFeature, CustomFeature, DefaultCreateFeature, DefaultDeleteFeature, DefaultDetailFeature, DefaultEditFeature, DefaultListFeature, Dialog, type DialogProps, type DialogSize, ErrorAlert, type ErrorAlertProps, type Feature, type FeatureContext, type FeatureType, type FieldMetadata, HtmxAdminPlugin, type HtmxAdminPluginOptions, type ListParams, type ListResult, LoadingBar, type NavItemConfig, type Notification, type NotificationType, ObjectEditor, type ObjectEditorProps, type PageMetadata, PageModel, type PermissionResult, StringArrayEditor, type StringArrayEditorProps, TagsEditor, type TagsEditorProps, type UserInfo, checkUserPermission, getUserInfo, modelNameToPath, parseListParams };
|
package/dist/index.d.ts
CHANGED
|
@@ -993,4 +993,26 @@ interface StringArrayEditorProps {
|
|
|
993
993
|
}
|
|
994
994
|
declare function StringArrayEditor(props: StringArrayEditorProps): hono_utils_html.HtmlEscapedString | Promise<hono_utils_html.HtmlEscapedString>;
|
|
995
995
|
|
|
996
|
-
|
|
996
|
+
/**
|
|
997
|
+
* 标签编辑器组件
|
|
998
|
+
* 支持增加、删除和拖放排序功能
|
|
999
|
+
* 使用更紧凑的标签样式布局,适合维护 tags
|
|
1000
|
+
* 使用 Alpine.js 管理状态,通过隐藏字段与表单系统同步数据
|
|
1001
|
+
*/
|
|
1002
|
+
interface TagsEditorProps {
|
|
1003
|
+
/** 字段定义 */
|
|
1004
|
+
field: any;
|
|
1005
|
+
/** 当前值(字符串数组,已解析) */
|
|
1006
|
+
value: string[] | null;
|
|
1007
|
+
/** 完整的初始数据 */
|
|
1008
|
+
initialData?: any;
|
|
1009
|
+
/** 字段名(用于更新隐藏字段) */
|
|
1010
|
+
fieldName: string;
|
|
1011
|
+
/** 占位符文本(可选) */
|
|
1012
|
+
placeholder?: string;
|
|
1013
|
+
/** 是否允许空值(默认 false) */
|
|
1014
|
+
allowEmpty?: boolean;
|
|
1015
|
+
}
|
|
1016
|
+
declare function TagsEditor(props: TagsEditorProps): hono_utils_html.HtmlEscapedString | Promise<hono_utils_html.HtmlEscapedString>;
|
|
1017
|
+
|
|
1018
|
+
export { type AuthProvider, BaseFeature, CustomFeature, DefaultCreateFeature, DefaultDeleteFeature, DefaultDetailFeature, DefaultEditFeature, DefaultListFeature, Dialog, type DialogProps, type DialogSize, ErrorAlert, type ErrorAlertProps, type Feature, type FeatureContext, type FeatureType, type FieldMetadata, HtmxAdminPlugin, type HtmxAdminPluginOptions, type ListParams, type ListResult, LoadingBar, type NavItemConfig, type Notification, type NotificationType, ObjectEditor, type ObjectEditorProps, type PageMetadata, PageModel, type PermissionResult, StringArrayEditor, type StringArrayEditorProps, TagsEditor, type TagsEditorProps, type UserInfo, checkUserPermission, getUserInfo, modelNameToPath, parseListParams };
|