@flatbiz/pro-layout 5.0.7 → 5.0.8
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.ts +4 -0
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -744,5 +744,9 @@ export declare const ProLayoutModel: ModelType<IState, ActionParams>;
|
|
|
744
744
|
export declare const proLayoutModels: import("@dimjs/model").APIs<{
|
|
745
745
|
ProLayoutModel: ModelType<IState, ActionParams>;
|
|
746
746
|
}>;
|
|
747
|
+
/**
|
|
748
|
+
* 获取iframeTab下的唯一值,iframeTab未删除时,唯一值不变,iframeTab删除后再打开,唯一值变化
|
|
749
|
+
*/
|
|
750
|
+
export declare const getIframeTabUid: (prefix: string) => string;
|
|
747
751
|
|
|
748
752
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -4171,5 +4171,15 @@ var bootstrap = function bootstrap(options) {
|
|
|
4171
4171
|
root.render(/*#__PURE__*/jsx(Bootstrap, _objectSpread2({}, options)));
|
|
4172
4172
|
};
|
|
4173
4173
|
|
|
4174
|
-
|
|
4174
|
+
/**
|
|
4175
|
+
* 获取iframeTab下的唯一值,iframeTab未删除时,唯一值不变,iframeTab删除后再打开,唯一值变化
|
|
4176
|
+
*/
|
|
4177
|
+
var getIframeTabUid = function getIframeTabUid(prefix) {
|
|
4178
|
+
var iframe = window.frameElement;
|
|
4179
|
+
// 获取 iframe 的 id 属性
|
|
4180
|
+
var iframeId = iframe === null || iframe === void 0 ? void 0 : iframe.id;
|
|
4181
|
+
return "".concat(prefix, "_").concat(iframeId);
|
|
4182
|
+
};
|
|
4183
|
+
|
|
4184
|
+
export { Bread, HistoryBackButton, LayoutPage, Page, PageWrapper, ProLayoutModel, bootstrap, getIframeTabUid, message, modal, notification, proLayoutModels, useHistoryBack, useIframe, usePageWrapper, useRefreshRegisterIframeTab, useRegisterRefreshCurrentIframeTab };
|
|
4175
4185
|
//# sourceMappingURL=index.js.map
|