@yongdall/web 0.5.4 → 0.5.6
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/index.d.mts +20 -1
- package/index.mjs +13 -13
- package/index.mjs.map +1 -1
- package/package.json +3 -1
- package/require.d.mts +7 -0
- package/require.mjs +2 -0
- package/require.mjs.map +1 -0
- package/yongdall.assets.json +44 -0
- package/assets.yongdall.mjs +0 -4
package/index.d.mts
CHANGED
|
@@ -2837,6 +2837,12 @@ declare function importWidget<T>(id?: string | undefined, pluginId?: string | un
|
|
|
2837
2837
|
* @returns {Promise<HTMLLinkElement>}
|
|
2838
2838
|
*/
|
|
2839
2839
|
declare function importStyle(url: string, plugin?: string, pluginOnly?: boolean): Promise<HTMLLinkElement>;
|
|
2840
|
+
/**
|
|
2841
|
+
*
|
|
2842
|
+
* @param {string} src
|
|
2843
|
+
* @returns {Promise<void>}
|
|
2844
|
+
*/
|
|
2845
|
+
declare function importScript(src: string): Promise<void>;
|
|
2840
2846
|
//#endregion
|
|
2841
2847
|
//#region packages/web/paths.d.mts
|
|
2842
2848
|
declare namespace pathRoots {
|
|
@@ -3027,6 +3033,19 @@ declare function testPermissions(authorization: string, permissions: Permission[
|
|
|
3027
3033
|
* @returns {Set<string>}
|
|
3028
3034
|
*/
|
|
3029
3035
|
declare function getPermissionFields(authorization: string, permissions: Permission[], model: ModelConfiguration | ModelScriptConfiguration): Set<string>;
|
|
3036
|
+
declare namespace zip_d_exports {
|
|
3037
|
+
export { MIME, create, parse$1 as parse };
|
|
3038
|
+
}
|
|
3039
|
+
declare const MIME: {
|
|
3040
|
+
[key: string]: readonly string[];
|
|
3041
|
+
};
|
|
3042
|
+
/**
|
|
3043
|
+
* 解析 ZIP 文件并返回包含文件名和对应 Blob 内容的记录对象
|
|
3044
|
+
* @param file - ZIP 文件的 Blob、ArrayBuffer 或 ArrayBufferView 对象
|
|
3045
|
+
* @returns Promise 对象,解析成功后返回 Record<string, Blob | null>
|
|
3046
|
+
*/
|
|
3047
|
+
declare function parse$1(file: Blob | ArrayBuffer | ArrayBufferView<ArrayBuffer>): Promise<Record<string, Blob | null>>;
|
|
3048
|
+
declare function create(files: Record<string, string | Blob | ArrayBuffer | ArrayBufferView<ArrayBuffer> | null>, name?: string): Promise<File>;
|
|
3030
3049
|
declare namespace Ident_d_exports {
|
|
3031
3050
|
export { decode, encode, parse, stringify, stringifyPaths };
|
|
3032
3051
|
}
|
|
@@ -3266,4 +3285,4 @@ declare function updateHooks(hooks: Record<string, Hook.Define<Hooks>>): void;
|
|
|
3266
3285
|
/** @type {Hook<Hooks>} */
|
|
3267
3286
|
declare const allHooks: Hook<Hooks>;
|
|
3268
3287
|
//#endregion
|
|
3269
|
-
export { Application, ArrayStore, Authenticator, BindObjectStore, code128_d_exports as Code128, Command, ConfiguratorComponent, ConfiguratorContext, type ContinuationDefine, CurrentPage, type DataSource, DotRequest, ErrorAlerter, FieldComponent, FieldComponentEvent, FieldComponents, FieldContext, FieldDefine, FieldFilter, FieldFilterComponent, FieldFilterContext, FieldFilterFns, FieldFilterOptions, FieldFilterStyle, type FieldScript, type FieldScriptConfiguration, FieldShowHandle, FieldStyle, FilterFns, FormFieldHook, FromRenderer, GeneralContext, GlobalPage, Guide, type HomeContext, Hooks, IconDefine, Ident_d_exports as Ident, List, type Match, Menu, Modal, ModalFooter, ModalHeader, type ModelConfiguration, ModelIndicator, type ModelScript, type ModelScriptConfiguration, ObjectStore, Page, type PageConfiguration, type PageContext, type PageError, PageFooter, PageFrame, type PageHandle, PageHeader, PageIdent, type PageManager, type PageRenderer, PageSection, PageSectionParam, PageSider, Pagination, type Print, ResponseError, type Schema, Signal$1 as Signal, State, Store, type StoreLayout, SubmodelsLayoutEvent, Theme, User, UserHook, VerifyContext, VerifyError, type WorkspaceDefine, addManager, allHooks, application, buildDataSource, buildPlugin, createComputed, createDeeply, createDialog, createDocumentInModal, createFilters, createFrame, createIcon, createModal, createModelDefault, createProgressModal, createQuickFilters, createSafeComputed, createShowField, createState, createStore, createStoreField, createTick, effect, enumerationsService, execScript, filterPermission, flatPermission, formLayoutsService, getAllFilterFns, getAuthorizations, getField, getFieldFilter, getFieldFilterOperators, getFilterFns, getPages, getPermissionFields, getPrimaryFields, hasField, hasFieldFilter, importStyle, importWidget, isMac, isPluginId, loadMenu, modelService, neverAbortedSignal, pathRoots, _default as permissionsService, plugins, _default$1 as renderForm, renderStore, _default$2 as renderStoreForm, request, root$1 as root, selectFile, setIcon, showDocumentInModal, _default$3 as showFilterDialog, showSortDialog, start, testPermission, testPermissionConstraints, testPermissions, toFileLink, toFileURL, toId, toPermissionFilter, toSchema, toUrl, updateHooks, waitAbortSignal, watch };
|
|
3288
|
+
export { Application, ArrayStore, Authenticator, BindObjectStore, code128_d_exports as Code128, Command, ConfiguratorComponent, ConfiguratorContext, type ContinuationDefine, CurrentPage, type DataSource, DotRequest, ErrorAlerter, FieldComponent, FieldComponentEvent, FieldComponents, FieldContext, FieldDefine, FieldFilter, FieldFilterComponent, FieldFilterContext, FieldFilterFns, FieldFilterOptions, FieldFilterStyle, type FieldScript, type FieldScriptConfiguration, FieldShowHandle, FieldStyle, FilterFns, FormFieldHook, FromRenderer, GeneralContext, GlobalPage, Guide, type HomeContext, Hooks, IconDefine, Ident_d_exports as Ident, List, type Match, Menu, Modal, ModalFooter, ModalHeader, type ModelConfiguration, ModelIndicator, type ModelScript, type ModelScriptConfiguration, ObjectStore, Page, type PageConfiguration, type PageContext, type PageError, PageFooter, PageFrame, type PageHandle, PageHeader, PageIdent, type PageManager, type PageRenderer, PageSection, PageSectionParam, PageSider, Pagination, type Print, ResponseError, type Schema, Signal$1 as Signal, State, Store, type StoreLayout, SubmodelsLayoutEvent, Theme, User, UserHook, VerifyContext, VerifyError, type WorkspaceDefine, zip_d_exports as ZIP, addManager, allHooks, application, buildDataSource, buildPlugin, createComputed, createDeeply, createDialog, createDocumentInModal, createFilters, createFrame, createIcon, createModal, createModelDefault, createProgressModal, createQuickFilters, createSafeComputed, createShowField, createState, createStore, createStoreField, createTick, effect, enumerationsService, execScript, filterPermission, flatPermission, formLayoutsService, getAllFilterFns, getAuthorizations, getField, getFieldFilter, getFieldFilterOperators, getFilterFns, getPages, getPermissionFields, getPrimaryFields, hasField, hasFieldFilter, importScript, importStyle, importWidget, isMac, isPluginId, loadMenu, modelService, neverAbortedSignal, pathRoots, _default as permissionsService, plugins, _default$1 as renderForm, renderStore, _default$2 as renderStoreForm, request, root$1 as root, selectFile, setIcon, showDocumentInModal, _default$3 as showFilterDialog, showSortDialog, start, testPermission, testPermissionConstraints, testPermissions, toFileLink, toFileURL, toId, toPermissionFilter, toSchema, toUrl, updateHooks, waitAbortSignal, watch };
|