@newageerp/v3.popups.mvc-popup
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -1,1 +0,2 @@ | ||
export { SFSOpenEditModalWindow, SFSOpenEditWindow } from './mvc-popup'; | ||
export { SFSOpenEditModalWindow, SFSOpenEditWindow, SFSOpenEditModalWindowProps, } from './mvc-popup'; | ||
export type { SFSOpenEditModalWindowPropsProps } from './mvc-popup'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SFSOpenEditWindow = exports.SFSOpenEditModalWindow = void 0; | ||
exports.SFSOpenEditModalWindowProps = exports.SFSOpenEditWindow = exports.SFSOpenEditModalWindow = void 0; | ||
var mvc_popup_1 = require("./mvc-popup"); | ||
Object.defineProperty(exports, "SFSOpenEditModalWindow", { enumerable: true, get: function () { return mvc_popup_1.SFSOpenEditModalWindow; } }); | ||
Object.defineProperty(exports, "SFSOpenEditWindow", { enumerable: true, get: function () { return mvc_popup_1.SFSOpenEditWindow; } }); | ||
Object.defineProperty(exports, "SFSOpenEditModalWindowProps", { enumerable: true, get: function () { return mvc_popup_1.SFSOpenEditModalWindowProps; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -0,2 +1,9 @@ | ||
export declare type SFSOpenEditModalWindowPropsProps = { | ||
schema: string; | ||
id: string | number; | ||
type?: string; | ||
options?: any; | ||
}; | ||
export declare const SFSOpenEditModalWindowProps: (props: SFSOpenEditModalWindowPropsProps) => void; | ||
export declare const SFSOpenEditModalWindow: (schema: string, id: string | number, type?: string, options?: any) => void; | ||
export declare const SFSOpenEditWindow: (schema: string, id: string | number, type?: string, options?: any) => void; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SFSOpenEditWindow = exports.SFSOpenEditModalWindow = void 0; | ||
exports.SFSOpenEditWindow = exports.SFSOpenEditModalWindow = exports.SFSOpenEditModalWindowProps = void 0; | ||
const SFSOpenEditModalWindowProps = (props) => { | ||
(0, exports.SFSOpenEditModalWindow)(props.schema, props.id, props.type, props.options); | ||
}; | ||
exports.SFSOpenEditModalWindowProps = SFSOpenEditModalWindowProps; | ||
const SFSOpenEditModalWindow = (schema, id, type = 'main', options) => { | ||
@@ -11,3 +15,3 @@ const event = new CustomEvent('SFSOpenEditModalWindow', { | ||
options: options, | ||
} | ||
}, | ||
}); | ||
@@ -24,3 +28,3 @@ window.dispatchEvent(event); | ||
options: options, | ||
} | ||
}, | ||
}); | ||
@@ -27,0 +31,0 @@ window.dispatchEvent(event); |
{ | ||
"name": "@newageerp/v3.popups.mvc-popup", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"homepage": "https://bit.dev/newageerp/v3/popups/mvc-popup", | ||
@@ -9,3 +9,3 @@ "main": "dist/index.js", | ||
"name": "v3/popups/mvc-popup", | ||
"version": "0.0.5" | ||
"version": "0.0.6" | ||
}, | ||
@@ -12,0 +12,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25432
81