@symfony/ux-notify 3.2.0 → 3.5.1
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/controller.js +8 -11
- package/package.json +1 -1
package/dist/controller.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { Controller } from "@hotwired/stimulus";
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
var controller_default = class extends Controller {
|
|
3
|
+
static values = {
|
|
4
|
+
hub: String,
|
|
5
|
+
topics: Array
|
|
6
|
+
};
|
|
7
|
+
eventSources = [];
|
|
8
|
+
listeners = /* @__PURE__ */ new WeakMap();
|
|
8
9
|
initialize() {
|
|
9
10
|
const errorMessages = [];
|
|
10
11
|
if (!this.hasHubValue) errorMessages.push("A \"hub\" value pointing to the Mercure hub must be provided.");
|
|
@@ -56,8 +57,4 @@ var _Class = class extends Controller {
|
|
|
56
57
|
});
|
|
57
58
|
}
|
|
58
59
|
};
|
|
59
|
-
|
|
60
|
-
hub: String,
|
|
61
|
-
topics: Array
|
|
62
|
-
};
|
|
63
|
-
export { _Class as default };
|
|
60
|
+
export { controller_default as default };
|