@brandup/ui 1.0.5 → 1.0.7
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/cjs/index.js +6 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/mjs/index.js +6 -3
- package/dist/mjs/index.js.map +1 -1
- package/dist/types.d.ts +14 -10
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -8,6 +8,11 @@ const constants = {
|
|
|
8
8
|
CommandEventName: "uicommand"
|
|
9
9
|
};
|
|
10
10
|
|
|
11
|
+
var constants$1 = /*#__PURE__*/Object.freeze({
|
|
12
|
+
__proto__: null,
|
|
13
|
+
default: constants
|
|
14
|
+
});
|
|
15
|
+
|
|
11
16
|
class UIElement {
|
|
12
17
|
__element;
|
|
13
18
|
__events;
|
|
@@ -215,8 +220,6 @@ HTMLElement.prototype.ui = function (factory) {
|
|
|
215
220
|
return this;
|
|
216
221
|
};
|
|
217
222
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
exports.UICONSTANTS = UICONSTANTS;
|
|
223
|
+
exports.UICONSTANTS = constants$1;
|
|
221
224
|
exports.UIElement = UIElement;
|
|
222
225
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/mjs/index.js
CHANGED
|
@@ -6,6 +6,11 @@ const constants = {
|
|
|
6
6
|
CommandEventName: "uicommand"
|
|
7
7
|
};
|
|
8
8
|
|
|
9
|
+
var constants$1 = /*#__PURE__*/Object.freeze({
|
|
10
|
+
__proto__: null,
|
|
11
|
+
default: constants
|
|
12
|
+
});
|
|
13
|
+
|
|
9
14
|
class UIElement {
|
|
10
15
|
__element;
|
|
11
16
|
__events;
|
|
@@ -213,7 +218,5 @@ HTMLElement.prototype.ui = function (factory) {
|
|
|
213
218
|
return this;
|
|
214
219
|
};
|
|
215
220
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
export { UICONSTANTS, UIElement };
|
|
221
|
+
export { constants$1 as UICONSTANTS, UIElement };
|
|
219
222
|
//# sourceMappingURL=index.js.map
|
package/dist/mjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
interface UiConstants {
|
|
2
|
-
readonly ElemAttributeName: string;
|
|
3
|
-
readonly ElemPropertyName: string;
|
|
4
|
-
readonly CommandAttributeName: string;
|
|
5
|
-
readonly CommandExecutingCssClassName: string;
|
|
6
|
-
readonly CommandEventName: string;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
1
|
declare abstract class UIElement {
|
|
10
2
|
private __element?;
|
|
11
3
|
private __events?;
|
|
@@ -61,6 +53,18 @@ declare global {
|
|
|
61
53
|
}
|
|
62
54
|
}
|
|
63
55
|
|
|
64
|
-
|
|
56
|
+
interface UiConstants {
|
|
57
|
+
readonly ElemAttributeName: string;
|
|
58
|
+
readonly ElemPropertyName: string;
|
|
59
|
+
readonly CommandAttributeName: string;
|
|
60
|
+
readonly CommandExecutingCssClassName: string;
|
|
61
|
+
readonly CommandEventName: string;
|
|
62
|
+
}
|
|
63
|
+
declare const constants: UiConstants;
|
|
64
|
+
|
|
65
|
+
type constants$1_UiConstants = UiConstants;
|
|
66
|
+
declare namespace constants$1 {
|
|
67
|
+
export { type constants$1_UiConstants as UiConstants, constants as default };
|
|
68
|
+
}
|
|
65
69
|
|
|
66
|
-
export { type CommandCanExecuteFunction, type CommandContext, type CommandEventArgs, type CommandExecStatus, type CommandExecuteFunction, type CommandResult, UICONSTANTS, UIElement };
|
|
70
|
+
export { type CommandCanExecuteFunction, type CommandContext, type CommandEventArgs, type CommandExecStatus, type CommandExecuteFunction, type CommandResult, constants$1 as UICONSTANTS, UIElement };
|