@pie-element/shared-configure-events 0.1.0 → 0.1.1-next.0
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 +0 -1
- package/dist/index.js +62 -41
- package/package.json +11 -8
- package/dist/index.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,42 +1,63 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
1
|
+
//#region src/index.ts
|
|
2
|
+
var e = class e extends CustomEvent {
|
|
3
|
+
static {
|
|
4
|
+
this.TYPE = "model.updated";
|
|
5
|
+
}
|
|
6
|
+
constructor(t, n = !1) {
|
|
7
|
+
super(e.TYPE, {
|
|
8
|
+
bubbles: !0,
|
|
9
|
+
detail: {
|
|
10
|
+
update: t,
|
|
11
|
+
reset: n
|
|
12
|
+
}
|
|
13
|
+
}), this.update = t, this.reset = n;
|
|
14
|
+
}
|
|
15
|
+
}, t = class e extends CustomEvent {
|
|
16
|
+
static {
|
|
17
|
+
this.TYPE = "delete.image";
|
|
18
|
+
}
|
|
19
|
+
constructor(t, n) {
|
|
20
|
+
super(e.TYPE, {
|
|
21
|
+
bubbles: !0,
|
|
22
|
+
detail: {
|
|
23
|
+
src: t,
|
|
24
|
+
done: n
|
|
25
|
+
}
|
|
26
|
+
}), this.src = t, this.done = n;
|
|
27
|
+
}
|
|
28
|
+
}, n = class e extends CustomEvent {
|
|
29
|
+
static {
|
|
30
|
+
this.TYPE = "insert.image";
|
|
31
|
+
}
|
|
32
|
+
constructor(t) {
|
|
33
|
+
super(e.TYPE, {
|
|
34
|
+
bubbles: !0,
|
|
35
|
+
detail: t
|
|
36
|
+
}), this.handler = t;
|
|
37
|
+
}
|
|
38
|
+
}, r = class e extends CustomEvent {
|
|
39
|
+
static {
|
|
40
|
+
this.TYPE = "delete.sound";
|
|
41
|
+
}
|
|
42
|
+
constructor(t, n) {
|
|
43
|
+
super(e.TYPE, {
|
|
44
|
+
bubbles: !0,
|
|
45
|
+
detail: {
|
|
46
|
+
src: t,
|
|
47
|
+
done: n
|
|
48
|
+
}
|
|
49
|
+
}), this.src = t, this.done = n;
|
|
50
|
+
}
|
|
51
|
+
}, i = class e extends CustomEvent {
|
|
52
|
+
static {
|
|
53
|
+
this.TYPE = "insert.sound";
|
|
54
|
+
}
|
|
55
|
+
constructor(t) {
|
|
56
|
+
super(e.TYPE, {
|
|
57
|
+
bubbles: !0,
|
|
58
|
+
detail: t
|
|
59
|
+
}), this.handler = t;
|
|
60
|
+
}
|
|
42
61
|
};
|
|
62
|
+
//#endregion
|
|
63
|
+
export { t as DeleteImageEvent, r as DeleteSoundEvent, n as InsertImageEvent, i as InsertSoundEvent, e as ModelUpdatedEvent };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/shared-configure-events",
|
|
3
|
-
"version": "0.1.0",
|
|
3
|
+
"version": "0.1.1-next.0",
|
|
4
4
|
"description": "PIE Configure Events (ESM) - internalized from @pie-framework/pie-configure-events",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -21,14 +21,17 @@
|
|
|
21
21
|
"clean": "rm -rf dist"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {},
|
|
24
|
-
"devDependencies": {
|
|
25
|
-
"@types/bun": "latest",
|
|
26
|
-
"typescript": "^5.9.3",
|
|
27
|
-
"vite": "^7.2.2",
|
|
28
|
-
"vitest": "^4.0.17"
|
|
29
|
-
},
|
|
30
24
|
"publishConfig": {
|
|
31
25
|
"access": "public"
|
|
32
26
|
},
|
|
33
|
-
"license": "MIT"
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "git+https://github.com/pie-framework/pie-elements-ng.git",
|
|
31
|
+
"directory": "packages/shared/configure-events"
|
|
32
|
+
},
|
|
33
|
+
"homepage": "https://github.com/pie-framework/pie-elements-ng#readme",
|
|
34
|
+
"bugs": {
|
|
35
|
+
"url": "https://github.com/pie-framework/pie-elements-ng/issues"
|
|
36
|
+
}
|
|
34
37
|
}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,GAAG,CAAC;IACZ,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,qBAAa,iBAAkB,SAAQ,WAAW,CAAC,kBAAkB,CAAC;IAGxD,QAAQ,CAAC,MAAM,EAAE,GAAG;IAAE,QAAQ,CAAC,KAAK,EAAE,OAAO;IAFzD,MAAM,CAAC,IAAI,SAAmB;gBAET,MAAM,EAAE,GAAG,EAAW,KAAK,GAAE,OAAe;CAGlE;AAED,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;AAE7C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC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