Skip to content

Commit ef7c7b7

Browse files
committed
remove autocomplete file
1 parent b5f7366 commit ef7c7b7

File tree

3 files changed

+28
-238
lines changed

3 files changed

+28
-238
lines changed

src/Autocomplete/assets/dist/controller.js

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
import { Controller } from '@hotwired/stimulus';
22
import TomSelect from 'tom-select';
33

4-
/******************************************************************************
5-
Copyright (c) Microsoft Corporation.
6-
7-
Permission to use, copy, modify, and/or distribute this software for any
8-
purpose with or without fee is hereby granted.
9-
10-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
11-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
12-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
13-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
14-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
15-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16-
PERFORMANCE OF THIS SOFTWARE.
17-
***************************************************************************** */
18-
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
19-
20-
21-
function __classPrivateFieldGet(receiver, state, kind, f) {
22-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
23-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
24-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
25-
}
26-
27-
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
28-
var e = new Error(message);
29-
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
4+
/******************************************************************************
5+
Copyright (c) Microsoft Corporation.
6+
7+
Permission to use, copy, modify, and/or distribute this software for any
8+
purpose with or without fee is hereby granted.
9+
10+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
11+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
12+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
13+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
14+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
15+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16+
PERFORMANCE OF THIS SOFTWARE.
17+
***************************************************************************** */
18+
/* global Reflect, Promise, SuppressedError, Symbol */
19+
20+
21+
function __classPrivateFieldGet(receiver, state, kind, f) {
22+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
23+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
24+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
25+
}
26+
27+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
28+
var e = new Error(message);
29+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
3030
};
3131

3232
var _default_1_instances, _default_1_getCommonConfig, _default_1_createAutocomplete, _default_1_createAutocompleteWithHtmlContents, _default_1_createAutocompleteWithRemoteData, _default_1_stripTags, _default_1_mergeObjects, _default_1_createTomSelect;

src/Map/src/Bridge/Google/assets/dist/map_controller.js

Lines changed: 2 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,8 @@
1-
import { Controller } from '@hotwired/stimulus';
1+
import AbstractMapController from '@symfony/ux-map';
22
import { Loader } from '@googlemaps/js-api-loader';
33

4-
let default_1$1 = class default_1 extends Controller {
5-
constructor() {
6-
super(...arguments);
7-
this.markers = [];
8-
this.infoWindows = [];
9-
this.polygons = [];
10-
this.polylines = [];
11-
}
12-
connect() {
13-
const { center, zoom, options, markers, polygons, polylines, fitBoundsToMarkers } = this.viewValue;
14-
this.dispatchEvent('pre-connect', { options });
15-
this.map = this.doCreateMap({ center, zoom, options });
16-
markers.forEach((marker) => this.createMarker(marker));
17-
polygons.forEach((polygon) => this.createPolygon(polygon));
18-
polylines.forEach((polyline) => this.createPolyline(polyline));
19-
if (fitBoundsToMarkers) {
20-
this.doFitBoundsToMarkers();
21-
}
22-
this.dispatchEvent('connect', {
23-
map: this.map,
24-
markers: this.markers,
25-
polygons: this.polygons,
26-
polylines: this.polylines,
27-
infoWindows: this.infoWindows,
28-
});
29-
}
30-
createMarker(definition) {
31-
this.dispatchEvent('marker:before-create', { definition });
32-
const marker = this.doCreateMarker(definition);
33-
this.dispatchEvent('marker:after-create', { marker });
34-
this.markers.push(marker);
35-
return marker;
36-
}
37-
createPolygon(definition) {
38-
this.dispatchEvent('polygon:before-create', { definition });
39-
const polygon = this.doCreatePolygon(definition);
40-
this.dispatchEvent('polygon:after-create', { polygon });
41-
this.polygons.push(polygon);
42-
return polygon;
43-
}
44-
createPolyline(definition) {
45-
this.dispatchEvent('polyline:before-create', { definition });
46-
const polyline = this.doCreatePolyline(definition);
47-
this.dispatchEvent('polyline:after-create', { polyline });
48-
this.polylines.push(polyline);
49-
return polyline;
50-
}
51-
createInfoWindow({ definition, element, }) {
52-
this.dispatchEvent('info-window:before-create', { definition, element });
53-
const infoWindow = this.doCreateInfoWindow({ definition, element });
54-
this.dispatchEvent('info-window:after-create', { infoWindow, element });
55-
this.infoWindows.push(infoWindow);
56-
return infoWindow;
57-
}
58-
};
59-
default_1$1.values = {
60-
providerOptions: Object,
61-
view: Object,
62-
};
63-
644
let _google;
65-
class default_1 extends default_1$1 {
5+
class default_1 extends AbstractMapController {
666
async connect() {
677
if (!_google) {
688
_google = { maps: {} };

src/Map/src/Bridge/Leaflet/assets/dist/map_controller.js

Lines changed: 0 additions & 150 deletions
This file was deleted.

0 commit comments

Comments
 (0)