@lblod/ember-rdfa-editor-lblod-plugins 19.2.0 → 19.3.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/CHANGELOG.md +18 -0
- package/addon/components/location-plugin/edit.gts +198 -106
- package/addon/components/location-plugin/insert.gts +167 -35
- package/addon/components/location-plugin/map.gts +131 -0
- package/addon/components/location-plugin/nodeview.gts +67 -0
- package/addon/components/snippet-plugin/nodes/placeholder.gts +27 -1
- package/addon/components/snippet-plugin/snippet-insert-placeholder.gts +6 -2
- package/addon/components/snippet-plugin/snippet-list/snippet-list-modal.ts +10 -2
- package/addon/components/snippet-plugin/snippet-list-select-rdfa.ts +5 -3
- package/addon/components/variable-plugin/address/nodeview.ts +1 -0
- package/addon/components/variable-plugin/date/nodeview.ts +3 -0
- package/addon/components/variable-plugin/location/nodeview.ts +3 -0
- package/addon/components/variable-plugin/number/nodeview.ts +1 -0
- package/addon/components/variable-plugin/text/insert.ts +3 -1
- package/addon/components/variable-plugin/variable/nodeview.ts +3 -0
- package/addon/plugins/location-plugin/node-contents/address.ts +203 -0
- package/addon/plugins/location-plugin/node-contents/index.ts +40 -0
- package/addon/plugins/location-plugin/node-contents/place.ts +57 -0
- package/addon/plugins/location-plugin/node-contents/point.ts +75 -0
- package/addon/plugins/location-plugin/node.ts +210 -0
- package/addon/plugins/location-plugin/utils/address-helpers.ts +87 -98
- package/addon/plugins/location-plugin/utils/geo-helpers.ts +152 -0
- package/addon/plugins/location-plugin/utils/node-utils.ts +1 -1
- package/addon/plugins/snippet-plugin/commands/index.ts +1 -1
- package/addon/plugins/snippet-plugin/commands/update-snippet-ids.ts +12 -2
- package/addon/plugins/snippet-plugin/nodes/snippet-placeholder.ts +12 -2
- package/addon/plugins/variable-plugin/recreateUuidsOnPaste.ts +95 -0
- package/addon/plugins/variable-plugin/variables/address.ts +1 -1
- package/addon/utils/constants.ts +1 -0
- package/app/styles/location-plugin.scss +27 -0
- package/app/styles/variable-plugin.scss +3 -2
- package/declarations/addon/components/location-plugin/edit.d.ts +18 -9
- package/declarations/addon/components/location-plugin/insert.d.ts +20 -5
- package/declarations/addon/components/location-plugin/map.d.ts +25 -0
- package/declarations/addon/components/location-plugin/nodeview.d.ts +10 -9
- package/declarations/addon/components/snippet-plugin/nodes/placeholder.d.ts +5 -0
- package/declarations/addon/components/snippet-plugin/snippet-insert-placeholder.d.ts +1 -1
- package/declarations/addon/components/snippet-plugin/snippet-list/snippet-list-modal.d.ts +1 -1
- package/declarations/addon/components/snippet-plugin/snippet-list-select-rdfa.d.ts +1 -1
- package/declarations/addon/plugins/location-plugin/node-contents/address.d.ts +6 -0
- package/declarations/addon/plugins/location-plugin/node-contents/index.d.ts +22 -0
- package/declarations/addon/plugins/location-plugin/node-contents/place.d.ts +4 -0
- package/declarations/addon/plugins/location-plugin/node-contents/point.d.ts +6 -0
- package/declarations/addon/plugins/location-plugin/node.d.ts +7 -0
- package/declarations/addon/plugins/location-plugin/utils/address-helpers.d.ts +23 -30
- package/declarations/addon/plugins/location-plugin/utils/geo-helpers.d.ts +69 -0
- package/declarations/addon/plugins/snippet-plugin/commands/index.d.ts +1 -1
- package/declarations/addon/plugins/snippet-plugin/commands/update-snippet-ids.d.ts +5 -2
- package/declarations/addon/plugins/snippet-plugin/nodes/snippet-placeholder.d.ts +1 -1
- package/declarations/addon/plugins/variable-plugin/recreateUuidsOnPaste.d.ts +3 -0
- package/declarations/addon/utils/constants.d.ts +1 -0
- package/package.json +9 -4
- package/pnpm-lock.yaml +171 -4
- package/translations/en-US.yaml +42 -1
- package/translations/nl-BE.yaml +43 -1
- package/types/ember-leaflet.d.ts +78 -0
- package/addon/components/location-plugin/insert-variable.gts +0 -67
- package/addon/components/location-plugin/nodeview.hbs +0 -20
- package/addon/components/location-plugin/nodeview.ts +0 -49
- package/addon/plugins/location-plugin/address.ts +0 -405
- package/declarations/addon/components/location-plugin/insert-variable.d.ts +0 -17
- package/declarations/addon/plugins/location-plugin/address.d.ts +0 -2
package/pnpm-lock.yaml
CHANGED
|
@@ -149,8 +149,8 @@ devDependencies:
|
|
|
149
149
|
specifier: 4.3.3
|
|
150
150
|
version: 4.3.3
|
|
151
151
|
'@lblod/ember-rdfa-editor':
|
|
152
|
-
specifier: ^9.
|
|
153
|
-
version: 9.
|
|
152
|
+
specifier: ^9.12.0
|
|
153
|
+
version: 9.12.0(@appuniversum/ember-appuniversum@3.4.2)(@glint/template@1.4.0)(@lezer/common@1.2.1)(ember-changeset@4.1.2)(ember-cli-sass@11.0.1)(ember-intl@5.7.2)(ember-modifier@3.2.7)(ember-source@4.12.0)(webpack@5.90.3)
|
|
154
154
|
'@rdfjs/types':
|
|
155
155
|
specifier: ^1.1.0
|
|
156
156
|
version: 1.1.0
|
|
@@ -223,6 +223,9 @@ devDependencies:
|
|
|
223
223
|
'@types/ember__utils':
|
|
224
224
|
specifier: ^4.0.2
|
|
225
225
|
version: 4.0.7(@babel/core@7.23.9)
|
|
226
|
+
'@types/leaflet':
|
|
227
|
+
specifier: ^1.9.12
|
|
228
|
+
version: 1.9.12
|
|
226
229
|
'@types/prosemirror-dev-tools':
|
|
227
230
|
specifier: ^3.0.6
|
|
228
231
|
version: 3.0.6
|
|
@@ -295,6 +298,9 @@ devDependencies:
|
|
|
295
298
|
ember-intl:
|
|
296
299
|
specifier: 5.7.2
|
|
297
300
|
version: 5.7.2(typescript@5.3.3)
|
|
301
|
+
ember-leaflet:
|
|
302
|
+
specifier: ^5.1.3
|
|
303
|
+
version: 5.1.3(@babel/core@7.23.9)(@glint/environment-ember-loose@1.4.0)(@glint/template@1.4.0)(ember-source@4.12.0)(leaflet@1.9.4)(webpack@5.90.3)
|
|
298
304
|
ember-load-initializers:
|
|
299
305
|
specifier: ^2.1.2
|
|
300
306
|
version: 2.1.2(@babel/core@7.23.9)
|
|
@@ -343,6 +349,9 @@ devDependencies:
|
|
|
343
349
|
eslint-plugin-qunit:
|
|
344
350
|
specifier: ^8.0.1
|
|
345
351
|
version: 8.1.1(eslint@8.56.0)
|
|
352
|
+
leaflet:
|
|
353
|
+
specifier: ^1.9.4
|
|
354
|
+
version: 1.9.4
|
|
346
355
|
loader.js:
|
|
347
356
|
specifier: ^4.7.0
|
|
348
357
|
version: 4.7.0
|
|
@@ -2792,8 +2801,8 @@ packages:
|
|
|
2792
2801
|
'@jridgewell/resolve-uri': 3.1.2
|
|
2793
2802
|
'@jridgewell/sourcemap-codec': 1.4.15
|
|
2794
2803
|
|
|
2795
|
-
/@lblod/ember-rdfa-editor@9.
|
|
2796
|
-
resolution: {integrity: sha512-
|
|
2804
|
+
/@lblod/ember-rdfa-editor@9.12.0(@appuniversum/ember-appuniversum@3.4.2)(@glint/template@1.4.0)(@lezer/common@1.2.1)(ember-changeset@4.1.2)(ember-cli-sass@11.0.1)(ember-intl@5.7.2)(ember-modifier@3.2.7)(ember-source@4.12.0)(webpack@5.90.3):
|
|
2805
|
+
resolution: {integrity: sha512-dLIpf86CIDAoy0lvd56ZJqpWbTrzUAfcPaOrfa3qejZkm5+lSuhrv8rMgpR0ZglG2mg4lTxSgC2juqs9B5dG4A==}
|
|
2797
2806
|
engines: {node: 16.* || 18.* || >= 20}
|
|
2798
2807
|
peerDependencies:
|
|
2799
2808
|
'@appuniversum/ember-appuniversum': ^2.15.0 || ^3.0.0
|
|
@@ -3789,6 +3798,10 @@ packages:
|
|
|
3789
3798
|
'@types/node': 20.11.19
|
|
3790
3799
|
dev: true
|
|
3791
3800
|
|
|
3801
|
+
/@types/geojson@7946.0.14:
|
|
3802
|
+
resolution: {integrity: sha512-WCfD5Ht3ZesJUsONdhvm84dmzWOiOzOAqOncN0++w0lBw1o8OuDNJF2McvvCef/yBqb/HYRahp1BYtODFQ8bRg==}
|
|
3803
|
+
dev: true
|
|
3804
|
+
|
|
3792
3805
|
/@types/glob@7.2.0:
|
|
3793
3806
|
resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==}
|
|
3794
3807
|
dependencies:
|
|
@@ -3825,6 +3838,12 @@ packages:
|
|
|
3825
3838
|
'@types/node': 20.11.19
|
|
3826
3839
|
dev: true
|
|
3827
3840
|
|
|
3841
|
+
/@types/leaflet@1.9.12:
|
|
3842
|
+
resolution: {integrity: sha512-BK7XS+NyRI291HIo0HCfE18Lp8oA30H1gpi1tf0mF3TgiCEzanQjOqNZ4x126SXzzi2oNSZhZ5axJp1k0iM6jg==}
|
|
3843
|
+
dependencies:
|
|
3844
|
+
'@types/geojson': 7946.0.14
|
|
3845
|
+
dev: true
|
|
3846
|
+
|
|
3828
3847
|
/@types/lodash@4.14.202:
|
|
3829
3848
|
resolution: {integrity: sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ==}
|
|
3830
3849
|
dev: true
|
|
@@ -5685,6 +5704,15 @@ packages:
|
|
|
5685
5704
|
- supports-color
|
|
5686
5705
|
dev: true
|
|
5687
5706
|
|
|
5707
|
+
/broccoli-merge-trees@2.0.1:
|
|
5708
|
+
resolution: {integrity: sha512-WjaexJ+I8BxP5V5RNn6um/qDRSmKoiBC/QkRi79FT9ClHfldxRyCDs9mcV7mmoaPlsshmmPaUz5jdtcKA6DClQ==}
|
|
5709
|
+
dependencies:
|
|
5710
|
+
broccoli-plugin: 1.3.1
|
|
5711
|
+
merge-trees: 1.0.1
|
|
5712
|
+
transitivePeerDependencies:
|
|
5713
|
+
- supports-color
|
|
5714
|
+
dev: true
|
|
5715
|
+
|
|
5688
5716
|
/broccoli-merge-trees@3.0.2:
|
|
5689
5717
|
resolution: {integrity: sha512-ZyPAwrOdlCddduFbsMyyFzJUrvW6b04pMvDiAQZrCwghlvgowJDY+EfoXn+eR1RRA5nmGHJ+B68T63VnpRiT1A==}
|
|
5690
5718
|
engines: {node: '>=6.0.0'}
|
|
@@ -5896,6 +5924,28 @@ packages:
|
|
|
5896
5924
|
- supports-color
|
|
5897
5925
|
dev: true
|
|
5898
5926
|
|
|
5927
|
+
/broccoli-stew@1.6.0:
|
|
5928
|
+
resolution: {integrity: sha512-sUwCJNnYH4Na690By5xcEMAZqKgquUQnMAEuIiL3Z2k63mSw9Xg+7Ew4wCrFrMmXMcLpWjZDOm6Yqnq268N+ZQ==}
|
|
5929
|
+
engines: {node: ^4.5 || 6.* || >= 7.*}
|
|
5930
|
+
dependencies:
|
|
5931
|
+
broccoli-debug: 0.6.5
|
|
5932
|
+
broccoli-funnel: 2.0.2
|
|
5933
|
+
broccoli-merge-trees: 2.0.1
|
|
5934
|
+
broccoli-persistent-filter: 1.4.6
|
|
5935
|
+
broccoli-plugin: 1.3.1
|
|
5936
|
+
chalk: 2.4.2
|
|
5937
|
+
debug: 3.2.7
|
|
5938
|
+
ensure-posix-path: 1.1.1
|
|
5939
|
+
fs-extra: 5.0.0
|
|
5940
|
+
minimatch: 3.1.2
|
|
5941
|
+
resolve: 1.22.8
|
|
5942
|
+
rsvp: 4.8.5
|
|
5943
|
+
symlink-or-copy: 1.3.1
|
|
5944
|
+
walk-sync: 0.3.4
|
|
5945
|
+
transitivePeerDependencies:
|
|
5946
|
+
- supports-color
|
|
5947
|
+
dev: true
|
|
5948
|
+
|
|
5899
5949
|
/broccoli-stew@3.0.0:
|
|
5900
5950
|
resolution: {integrity: sha512-NXfi+Vas24n3Ivo21GvENTI55qxKu7OwKRnCLWXld8MiLiQKQlWIq28eoARaFj0lTUFwUa4jKZeA7fW9PiWQeg==}
|
|
5901
5951
|
engines: {node: 8.* || >= 10.*}
|
|
@@ -8246,6 +8296,28 @@ packages:
|
|
|
8246
8296
|
- '@babel/core'
|
|
8247
8297
|
- supports-color
|
|
8248
8298
|
|
|
8299
|
+
/ember-composability-tools@1.3.0(@glint/environment-ember-loose@1.4.0)(@glint/template@1.4.0)(ember-source@4.12.0)(webpack@5.90.3):
|
|
8300
|
+
resolution: {integrity: sha512-KRIybkRlPWrymQFfW2UiDrbI6GDpXiqJLK+fxKZyaqf2Pb/vJmHShm55Bch90U2tcbG20UB4Tf+w+IpZA8Gi3w==}
|
|
8301
|
+
engines: {node: 16.* || >= 18}
|
|
8302
|
+
peerDependencies:
|
|
8303
|
+
ember-source: ^3.8 || ^4.0.0 || >= 5.0.0
|
|
8304
|
+
dependencies:
|
|
8305
|
+
'@babel/core': 7.23.9
|
|
8306
|
+
'@ember/render-modifiers': 2.1.0(@babel/core@7.23.9)(@glint/template@1.4.0)(ember-source@4.12.0)
|
|
8307
|
+
'@glimmer/component': 1.1.2(@babel/core@7.23.9)
|
|
8308
|
+
ember-auto-import: 2.6.3(@glint/template@1.4.0)(webpack@5.90.3)
|
|
8309
|
+
ember-cli-babel: 8.2.0(@babel/core@7.23.9)
|
|
8310
|
+
ember-cli-htmlbars: 6.3.0
|
|
8311
|
+
ember-element-helper: 0.8.6(@glint/environment-ember-loose@1.4.0)(@glint/template@1.4.0)(ember-source@4.12.0)
|
|
8312
|
+
ember-source: 4.12.0(@babel/core@7.23.9)(@glimmer/component@1.1.2)(@glint/template@1.4.0)(webpack@5.90.3)
|
|
8313
|
+
remote-promises: 1.0.0
|
|
8314
|
+
transitivePeerDependencies:
|
|
8315
|
+
- '@glint/environment-ember-loose'
|
|
8316
|
+
- '@glint/template'
|
|
8317
|
+
- supports-color
|
|
8318
|
+
- webpack
|
|
8319
|
+
dev: true
|
|
8320
|
+
|
|
8249
8321
|
/ember-composable-helpers@5.0.0:
|
|
8250
8322
|
resolution: {integrity: sha512-gyUrjiSju4QwNrsCLbBpP0FL6VDFZaELNW7Kbcp60xXhjvNjncYgzm4zzYXhT+i1lLA6WEgRZ3lOGgyBORYD0w==}
|
|
8251
8323
|
engines: {node: 12.* || 14.* || >= 16}
|
|
@@ -8356,6 +8428,21 @@ packages:
|
|
|
8356
8428
|
- supports-color
|
|
8357
8429
|
dev: true
|
|
8358
8430
|
|
|
8431
|
+
/ember-element-helper@0.8.6(@glint/environment-ember-loose@1.4.0)(@glint/template@1.4.0)(ember-source@4.12.0):
|
|
8432
|
+
resolution: {integrity: sha512-WcbkJKgBZypRGwujeiPrQfZRhETVFLR0wvH2UxDaNBhLWncapt6KK+M/2i/eODoAQwgGxziejhXC6Cbqa9zA8g==}
|
|
8433
|
+
engines: {node: 14.* || 16.* || >= 18}
|
|
8434
|
+
peerDependencies:
|
|
8435
|
+
ember-source: ^3.8 || ^4.0.0 || >= 5.0.0
|
|
8436
|
+
dependencies:
|
|
8437
|
+
'@embroider/addon-shim': 1.8.7
|
|
8438
|
+
'@embroider/util': 1.12.1(@glint/environment-ember-loose@1.4.0)(@glint/template@1.4.0)(ember-source@4.12.0)
|
|
8439
|
+
ember-source: 4.12.0(@babel/core@7.23.9)(@glimmer/component@1.1.2)(@glint/template@1.4.0)(webpack@5.90.3)
|
|
8440
|
+
transitivePeerDependencies:
|
|
8441
|
+
- '@glint/environment-ember-loose'
|
|
8442
|
+
- '@glint/template'
|
|
8443
|
+
- supports-color
|
|
8444
|
+
dev: true
|
|
8445
|
+
|
|
8359
8446
|
/ember-eslint-parser@0.3.8(@babel/core@7.23.9)(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3):
|
|
8360
8447
|
resolution: {integrity: sha512-P1VEHlbL8RZ/2GcdwaiG/jySWJzY6eBPkzQoA3g4lSDSG6CH0Xwmlem38wIdYy/lN28EBu++vlJvRm2KROpDRw==}
|
|
8361
8448
|
engines: {node: '>=16.0.0'}
|
|
@@ -8446,6 +8533,18 @@ packages:
|
|
|
8446
8533
|
- supports-color
|
|
8447
8534
|
dev: true
|
|
8448
8535
|
|
|
8536
|
+
/ember-in-element-polyfill@1.0.1:
|
|
8537
|
+
resolution: {integrity: sha512-eHs+7D7PuQr8a1DPqsJTsEyo3FZ1XuH6WEZaEBPDa9s0xLlwByCNKl8hi1EbXOgvgEZNHHi9Rh0vjxyfakrlgg==}
|
|
8538
|
+
engines: {node: 10.* || >= 12}
|
|
8539
|
+
dependencies:
|
|
8540
|
+
debug: 4.3.4
|
|
8541
|
+
ember-cli-babel: 7.26.11
|
|
8542
|
+
ember-cli-htmlbars: 5.7.2
|
|
8543
|
+
ember-cli-version-checker: 5.1.2
|
|
8544
|
+
transitivePeerDependencies:
|
|
8545
|
+
- supports-color
|
|
8546
|
+
dev: true
|
|
8547
|
+
|
|
8449
8548
|
/ember-intl@5.7.2(typescript@5.3.3):
|
|
8450
8549
|
resolution: {integrity: sha512-gs17uY1ywzMaUpx1gxfBkFQYRTWTSa/zbkL13MVtffG9aBLP+998MibytZOUxIipMtLCm4sr/g6/1aaKRr9/+g==}
|
|
8451
8550
|
engines: {node: '>= 10.*'}
|
|
@@ -8486,6 +8585,34 @@ packages:
|
|
|
8486
8585
|
- webpack-command
|
|
8487
8586
|
dev: true
|
|
8488
8587
|
|
|
8588
|
+
/ember-leaflet@5.1.3(@babel/core@7.23.9)(@glint/environment-ember-loose@1.4.0)(@glint/template@1.4.0)(ember-source@4.12.0)(leaflet@1.9.4)(webpack@5.90.3):
|
|
8589
|
+
resolution: {integrity: sha512-7rzZePUCjapMzkE1SXsgSDQ28nG1w/WIMt80wf72UG4LIMHOGHibenk3naFllu1Np9wApCHxLB6x4ig8clt2Aw==}
|
|
8590
|
+
engines: {node: 14.* || 16.* || >= 18}
|
|
8591
|
+
peerDependencies:
|
|
8592
|
+
ember-source: ^4.0.0 || ^5.0.0
|
|
8593
|
+
leaflet: '>=0.7'
|
|
8594
|
+
dependencies:
|
|
8595
|
+
'@glimmer/component': 1.1.2(@babel/core@7.23.9)
|
|
8596
|
+
'@glimmer/tracking': 1.1.2
|
|
8597
|
+
broccoli-funnel: 3.0.8
|
|
8598
|
+
broccoli-merge-trees: 4.2.0
|
|
8599
|
+
ember-cli-babel: 7.26.11
|
|
8600
|
+
ember-cli-htmlbars: 6.3.0
|
|
8601
|
+
ember-composability-tools: 1.3.0(@glint/environment-ember-loose@1.4.0)(@glint/template@1.4.0)(ember-source@4.12.0)(webpack@5.90.3)
|
|
8602
|
+
ember-in-element-polyfill: 1.0.1
|
|
8603
|
+
ember-render-helpers: 0.2.0
|
|
8604
|
+
ember-source: 4.12.0(@babel/core@7.23.9)(@glimmer/component@1.1.2)(@glint/template@1.4.0)(webpack@5.90.3)
|
|
8605
|
+
fastboot-transform: 0.1.3
|
|
8606
|
+
leaflet: 1.9.4
|
|
8607
|
+
resolve: 1.22.8
|
|
8608
|
+
transitivePeerDependencies:
|
|
8609
|
+
- '@babel/core'
|
|
8610
|
+
- '@glint/environment-ember-loose'
|
|
8611
|
+
- '@glint/template'
|
|
8612
|
+
- supports-color
|
|
8613
|
+
- webpack
|
|
8614
|
+
dev: true
|
|
8615
|
+
|
|
8489
8616
|
/ember-load-initializers@2.1.2(@babel/core@7.23.9):
|
|
8490
8617
|
resolution: {integrity: sha512-CYR+U/wRxLbrfYN3dh+0Tb6mFaxJKfdyz+wNql6cqTrA0BBi9k6J3AaKXj273TqvEpyyXegQFFkZEiuZdYtgJw==}
|
|
8491
8618
|
engines: {node: 6.* || 8.* || >= 10.*}
|
|
@@ -8633,6 +8760,16 @@ packages:
|
|
|
8633
8760
|
- webpack
|
|
8634
8761
|
dev: true
|
|
8635
8762
|
|
|
8763
|
+
/ember-render-helpers@0.2.0:
|
|
8764
|
+
resolution: {integrity: sha512-MnqGS8BnY3GJ+n5RZVVRqCwKjfXXMr5quKyqNu1vxft8oslOJuZ1f1dOesQouD+6LwD4Y9tWRVKNw+LOqM9ocw==}
|
|
8765
|
+
engines: {node: 8.* || >= 10.*}
|
|
8766
|
+
dependencies:
|
|
8767
|
+
ember-cli-babel: 7.26.11
|
|
8768
|
+
ember-cli-typescript: 4.2.1
|
|
8769
|
+
transitivePeerDependencies:
|
|
8770
|
+
- supports-color
|
|
8771
|
+
dev: true
|
|
8772
|
+
|
|
8636
8773
|
/ember-resolver@11.0.1(ember-source@4.12.0):
|
|
8637
8774
|
resolution: {integrity: sha512-ucBk3oM+PR+AfYoSUXeQh8cDQS1sSiEKp4Pcgbew5cFMSqPxJfqd1zyZsfQKNTuyubeGmWxBOyMVSTvX2LeCyg==}
|
|
8638
8775
|
engines: {node: 14.* || 16.* || >= 18}
|
|
@@ -9703,6 +9840,15 @@ packages:
|
|
|
9703
9840
|
transitivePeerDependencies:
|
|
9704
9841
|
- supports-color
|
|
9705
9842
|
|
|
9843
|
+
/fastboot-transform@0.1.3:
|
|
9844
|
+
resolution: {integrity: sha512-6otygPIJw1ARp1jJb+6KVO56iKBjhO+5x59RSC9qiZTbZRrv+HZAuP00KD3s+nWMvcFDemtdkugki9DNFTTwCQ==}
|
|
9845
|
+
dependencies:
|
|
9846
|
+
broccoli-stew: 1.6.0
|
|
9847
|
+
convert-source-map: 1.9.0
|
|
9848
|
+
transitivePeerDependencies:
|
|
9849
|
+
- supports-color
|
|
9850
|
+
dev: true
|
|
9851
|
+
|
|
9706
9852
|
/fastparse@1.1.2:
|
|
9707
9853
|
resolution: {integrity: sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==}
|
|
9708
9854
|
dev: true
|
|
@@ -11982,6 +12128,10 @@ packages:
|
|
|
11982
12128
|
invert-kv: 3.0.1
|
|
11983
12129
|
dev: true
|
|
11984
12130
|
|
|
12131
|
+
/leaflet@1.9.4:
|
|
12132
|
+
resolution: {integrity: sha512-nxS1ynzJOmOlHp+iL3FyWqK89GtNL8U8rvlMOsQdTTssxZwCXh8N2NB3GDQOL+YR3XnWyZAxwQixURb+FA74PA==}
|
|
12133
|
+
dev: true
|
|
12134
|
+
|
|
11985
12135
|
/leek@0.0.24:
|
|
11986
12136
|
resolution: {integrity: sha512-6PVFIYXxlYF0o6hrAsHtGpTmi06otkwNrMcmQ0K96SeSRHPREPa9J3nJZ1frliVH7XT0XFswoJFQoXsDukzGNQ==}
|
|
11987
12137
|
dependencies:
|
|
@@ -12601,6 +12751,19 @@ packages:
|
|
|
12601
12751
|
/merge-stream@2.0.0:
|
|
12602
12752
|
resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==}
|
|
12603
12753
|
|
|
12754
|
+
/merge-trees@1.0.1:
|
|
12755
|
+
resolution: {integrity: sha512-O7TWwipLHhc9tErjq3WBvNP7I1g7Wgudl1ZkLqpT7F2MZy1yEdgnI9cpZZxBaqk+wJZu+2b9FE7D3ubUmGFHFA==}
|
|
12756
|
+
dependencies:
|
|
12757
|
+
can-symlink: 1.0.0
|
|
12758
|
+
fs-tree-diff: 0.5.9
|
|
12759
|
+
heimdalljs: 0.2.6
|
|
12760
|
+
heimdalljs-logger: 0.1.10
|
|
12761
|
+
rimraf: 2.7.1
|
|
12762
|
+
symlink-or-copy: 1.3.1
|
|
12763
|
+
transitivePeerDependencies:
|
|
12764
|
+
- supports-color
|
|
12765
|
+
dev: true
|
|
12766
|
+
|
|
12604
12767
|
/merge-trees@2.0.0:
|
|
12605
12768
|
resolution: {integrity: sha512-5xBbmqYBalWqmhYm51XlohhkmVOua3VAUrrWh8t9iOkaLpS6ifqm/UVuUjQCeDVJ9Vx3g2l6ihfkbLSTeKsHbw==}
|
|
12606
12769
|
dependencies:
|
|
@@ -14985,6 +15148,10 @@ packages:
|
|
|
14985
15148
|
engines: {node: '>=8'}
|
|
14986
15149
|
dev: true
|
|
14987
15150
|
|
|
15151
|
+
/remote-promises@1.0.0:
|
|
15152
|
+
resolution: {integrity: sha512-+9LztCwsGzC8VXvm9UuA3qGhLIf4HvMbbev0+A+azLLUYHm3BK4C1BWxiZa45FPQ7JdfpHi4kVT7zT5F2E0iuQ==}
|
|
15153
|
+
dev: true
|
|
15154
|
+
|
|
14988
15155
|
/remove-trailing-separator@1.1.0:
|
|
14989
15156
|
resolution: {integrity: sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw==}
|
|
14990
15157
|
dev: true
|
package/translations/en-US.yaml
CHANGED
|
@@ -272,8 +272,10 @@ snippet-plugin:
|
|
|
272
272
|
title: Insert snippet
|
|
273
273
|
placeholder: Insert snippet placeholder
|
|
274
274
|
placeholder:
|
|
275
|
-
title:
|
|
275
|
+
title-single: Snippet from the list "{listName}"
|
|
276
|
+
title-multiple: Snippet from multiple lists
|
|
276
277
|
text: Select this then insert the desired snippet
|
|
278
|
+
active-lists: 'Active lists:'
|
|
277
279
|
modal:
|
|
278
280
|
title: Choose a snippet
|
|
279
281
|
select: Select
|
|
@@ -386,6 +388,7 @@ editor-plugins:
|
|
|
386
388
|
address-not-found-short: Address not found
|
|
387
389
|
alternative-address: 'Provide another input or proceed with the following address: {address}'
|
|
388
390
|
http-error: 'Something went wrong while resolving this address, status code: {status}.'
|
|
391
|
+
projection-error: 'Unable to convert location coordinates: {coords}'
|
|
389
392
|
contact: In case of persisting issues, contact <a href="mailto:{email}">{email}</a>.
|
|
390
393
|
nodeview:
|
|
391
394
|
placeholder: Insert address
|
|
@@ -427,9 +430,47 @@ location-plugin:
|
|
|
427
430
|
insert: Insert location
|
|
428
431
|
edit: Edit location
|
|
429
432
|
confirm: Set location
|
|
433
|
+
nodeview:
|
|
434
|
+
placeholder: Insert location
|
|
435
|
+
types:
|
|
436
|
+
address: Address
|
|
437
|
+
place: Place
|
|
430
438
|
label: Label
|
|
431
439
|
labelPlaceholder: Type something...
|
|
432
440
|
default-label: location
|
|
441
|
+
search:
|
|
442
|
+
type: Type
|
|
443
|
+
title: Center the map around address
|
|
444
|
+
hint: Use the below form to help you find the approximate location, then mark the place on the map with your mouse
|
|
445
|
+
place-name:
|
|
446
|
+
label: Place
|
|
447
|
+
placeholder: Place name
|
|
448
|
+
municipality:
|
|
449
|
+
label: Municipality
|
|
450
|
+
placeholder: Municipality
|
|
451
|
+
search-message: Type to search for a municipality
|
|
452
|
+
no-results: No municipalities found
|
|
453
|
+
street:
|
|
454
|
+
label: Street
|
|
455
|
+
placeholder: Street
|
|
456
|
+
search-message: Type to search for a street
|
|
457
|
+
no-results: No streets found
|
|
458
|
+
housenumber:
|
|
459
|
+
label: Housenumber
|
|
460
|
+
placeholder: Housenumber
|
|
461
|
+
busnumber:
|
|
462
|
+
label: Busnumber
|
|
463
|
+
placeholder: Busnumber
|
|
464
|
+
loading: Resolving address.
|
|
465
|
+
success:
|
|
466
|
+
address-found: Address found.
|
|
467
|
+
errors:
|
|
468
|
+
address-not-found: We could not resolve the provided address
|
|
469
|
+
address-not-found-short: Address not found
|
|
470
|
+
alternative-address: 'Provide another input or proceed with the following address: {address}'
|
|
471
|
+
http-error: 'Something went wrong while resolving this address, status code: {status}.'
|
|
472
|
+
projection-error: 'Unable to convert location coordinates: {coords}'
|
|
473
|
+
contact: In case of persisting issues, contact <a href="mailto:{email}">{email}</a>.
|
|
433
474
|
|
|
434
475
|
lpdc-plugin:
|
|
435
476
|
insert:
|
package/translations/nl-BE.yaml
CHANGED
|
@@ -133,6 +133,7 @@ besluit-type-plugin:
|
|
|
133
133
|
besluit-topic-plugin:
|
|
134
134
|
dt: 'Besluitonderwerp'
|
|
135
135
|
insert-dt: 'Selecteer een besluitonderwerp'
|
|
136
|
+
selected: '{num} geselecteerd'
|
|
136
137
|
search-message: 'Typ om te zoeken'
|
|
137
138
|
no-matches-message: 'Geen resultaten'
|
|
138
139
|
alert-title: 'Opgelet'
|
|
@@ -273,8 +274,10 @@ snippet-plugin:
|
|
|
273
274
|
title: Fragment invoegen
|
|
274
275
|
placeholder: Plaatshouder voor fragment invoegen
|
|
275
276
|
placeholder:
|
|
276
|
-
title: Fragment
|
|
277
|
+
title-single: Fragment uit de lijst "{listName}"
|
|
278
|
+
title-multiple: Fragment uit meerdere lijsten
|
|
277
279
|
text: Selecteer dit en voeg het gewenste fragment in
|
|
280
|
+
active-lists: 'Actieve lijsten:'
|
|
278
281
|
modal:
|
|
279
282
|
title: Kies een fragment
|
|
280
283
|
select: Selecteer
|
|
@@ -387,6 +390,7 @@ editor-plugins:
|
|
|
387
390
|
address-not-found-short: Adres niet gevonden
|
|
388
391
|
alternative-address: 'Geef een ander adres op of ga verder met het volgende adres: {address}'
|
|
389
392
|
http-error: 'Er is iets mis gelopen bij het opvragen van dit adres, statuscode: {status}.'
|
|
393
|
+
projection-error: 'Kan locatiecoördinaten niet converteren: {coords}'
|
|
390
394
|
contact: Bij blijvende problemen, contacteer <a href="mailto:{email}">{email}</a>.
|
|
391
395
|
nodeview:
|
|
392
396
|
placeholder: Voeg adres in
|
|
@@ -428,9 +432,47 @@ location-plugin:
|
|
|
428
432
|
insert: locatie invoegen
|
|
429
433
|
edit: Bewerk locatie
|
|
430
434
|
confirm: Ingestelde locatie
|
|
435
|
+
nodeview:
|
|
436
|
+
placeholder: Voeg locatie in
|
|
437
|
+
types:
|
|
438
|
+
address: Adres
|
|
439
|
+
place: Plaats
|
|
431
440
|
label: Label
|
|
432
441
|
labelPlaceholder: Type iets...
|
|
433
442
|
default-label: locatie
|
|
443
|
+
search:
|
|
444
|
+
type: Soort
|
|
445
|
+
title: Centreer de kaart rond adres
|
|
446
|
+
hint: Gebruik de onderstaande zoekfunctie om de kaart te centreren rond de gewenste plaats, en klik daarna op de kaart om de locatie te kiezen
|
|
447
|
+
place-name:
|
|
448
|
+
label: Plaats
|
|
449
|
+
placeholder: Naam van de plaats
|
|
450
|
+
municipality:
|
|
451
|
+
label: Gemeente
|
|
452
|
+
placeholder: Gemeente
|
|
453
|
+
search-message: Typ om een gemeente op te zoeken
|
|
454
|
+
no-results: Geen gemeenten gevonden
|
|
455
|
+
street:
|
|
456
|
+
label: Straatnaam
|
|
457
|
+
placeholder: Straatnaam
|
|
458
|
+
search-message: Typ om een straatnaam op te zoeken
|
|
459
|
+
no-results: Geen straatnamen gevonden
|
|
460
|
+
housenumber:
|
|
461
|
+
label: Huisnummer
|
|
462
|
+
placeholder: Huisnummer
|
|
463
|
+
busnumber:
|
|
464
|
+
label: Busnummer
|
|
465
|
+
placeholder: Busnummer
|
|
466
|
+
loading: Adres aan het opzoeken.
|
|
467
|
+
success:
|
|
468
|
+
address-found: Adres gevonden.
|
|
469
|
+
errors:
|
|
470
|
+
address-not-found: We konden het adres niet terugvinden.
|
|
471
|
+
address-not-found-short: Adres niet gevonden
|
|
472
|
+
alternative-address: 'Geef een ander adres op of ga verder met het volgende adres: {address}'
|
|
473
|
+
http-error: 'Er is iets mis gelopen bij het opvragen van dit adres, statuscode: {status}.'
|
|
474
|
+
projection-error: 'Kan locatiecoördinaten niet converteren: {coords}'
|
|
475
|
+
contact: Bij blijvende problemen, contacteer <a href="mailto:{email}">{email}</a>.
|
|
434
476
|
|
|
435
477
|
lpdc-plugin:
|
|
436
478
|
insert:
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
declare module 'ember-leaflet' {
|
|
2
|
+
import Component from '@glimmer/component';
|
|
3
|
+
import { type WithBoundArgs } from '@glimmer/template';
|
|
4
|
+
import {
|
|
5
|
+
type LatLngBounds,
|
|
6
|
+
type LatLngExpression,
|
|
7
|
+
type LeafletMouseEventHandlerFn,
|
|
8
|
+
type MapOptions,
|
|
9
|
+
type MarkerOptions,
|
|
10
|
+
type TileLayerOptions,
|
|
11
|
+
} from 'leaflet';
|
|
12
|
+
|
|
13
|
+
type PointLocation =
|
|
14
|
+
| {
|
|
15
|
+
lat: number;
|
|
16
|
+
lng: number;
|
|
17
|
+
}
|
|
18
|
+
| {
|
|
19
|
+
location: LatLngExpression;
|
|
20
|
+
};
|
|
21
|
+
type MapStart =
|
|
22
|
+
| {
|
|
23
|
+
lat: number;
|
|
24
|
+
lng: number;
|
|
25
|
+
zoom: number;
|
|
26
|
+
}
|
|
27
|
+
| {
|
|
28
|
+
center: LatLngExpression;
|
|
29
|
+
zoom: number;
|
|
30
|
+
}
|
|
31
|
+
| {
|
|
32
|
+
bounds: LatLngBounds;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
interface LeafletMapSig {
|
|
36
|
+
Args: MapOptions &
|
|
37
|
+
MapStart & {
|
|
38
|
+
/** See leaflet types for more event handlers */
|
|
39
|
+
onClick?: LeafletMouseEventHandlerFn;
|
|
40
|
+
};
|
|
41
|
+
Blocks: {
|
|
42
|
+
default: [
|
|
43
|
+
{
|
|
44
|
+
tile: WithBoundArgs<typeof LeafletTileLayer, 'parent'>;
|
|
45
|
+
marker: WithBoundArgs<typeof LeafletMarker, 'parent'>;
|
|
46
|
+
},
|
|
47
|
+
];
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export class LeafletMap extends Component<LeafletMapSig> {}
|
|
51
|
+
|
|
52
|
+
interface LeafletTileLayerSig {
|
|
53
|
+
Args: {
|
|
54
|
+
parent: unknown;
|
|
55
|
+
url: string;
|
|
56
|
+
} & TileLayerOptions;
|
|
57
|
+
Element: HTMLElement;
|
|
58
|
+
}
|
|
59
|
+
export class LeafletTileLayer extends Component<LeafletTileLayerSig> {}
|
|
60
|
+
|
|
61
|
+
interface LeafletMarkerSig {
|
|
62
|
+
Args: {
|
|
63
|
+
parent: unknown;
|
|
64
|
+
location: PointLocation;
|
|
65
|
+
} & MarkerOptions;
|
|
66
|
+
Blocks: {
|
|
67
|
+
default: [
|
|
68
|
+
{
|
|
69
|
+
popup: WithBoundArgs<typeof LeafletMarker, 'parent'>;
|
|
70
|
+
},
|
|
71
|
+
];
|
|
72
|
+
};
|
|
73
|
+
Element: HTMLElement;
|
|
74
|
+
}
|
|
75
|
+
export class LeafletMarker extends Component<LeafletMarkerSig> {}
|
|
76
|
+
|
|
77
|
+
export const Leaflet = L;
|
|
78
|
+
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import { on } from '@ember/modifier';
|
|
3
|
-
import { action } from '@ember/object';
|
|
4
|
-
import { tracked } from '@glimmer/tracking';
|
|
5
|
-
import { service } from '@ember/service';
|
|
6
|
-
import t from 'ember-intl/helpers/t';
|
|
7
|
-
import IntlService from 'ember-intl/services/intl';
|
|
8
|
-
import AuButton from '@appuniversum/ember-appuniversum/components/au-button';
|
|
9
|
-
import AuFormRow from '@appuniversum/ember-appuniversum/components/au-form-row';
|
|
10
|
-
import AuLabel from '@appuniversum/ember-appuniversum/components/au-label';
|
|
11
|
-
import { SayController } from '@lblod/ember-rdfa-editor';
|
|
12
|
-
import AuNativeInput from '@lblod/ember-rdfa-editor-lblod-plugins/components/au-native-input';
|
|
13
|
-
import { replaceSelectionWithAddress } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/location-plugin/utils/node-utils';
|
|
14
|
-
|
|
15
|
-
interface Signature {
|
|
16
|
-
Args: {
|
|
17
|
-
controller: SayController;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export default class VariablePluginAddressInsertVariableComponent extends Component<Signature> {
|
|
22
|
-
@service declare intl: IntlService;
|
|
23
|
-
@tracked label?: string;
|
|
24
|
-
|
|
25
|
-
get controller() {
|
|
26
|
-
return this.args.controller;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
get documentLanguage() {
|
|
30
|
-
return this.controller.documentLanguage;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@action
|
|
34
|
-
updateLabel(event: InputEvent) {
|
|
35
|
-
this.label = (event.target as HTMLInputElement).value;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@action
|
|
39
|
-
insertAddress() {
|
|
40
|
-
replaceSelectionWithAddress(
|
|
41
|
-
this.controller,
|
|
42
|
-
this.label ??
|
|
43
|
-
this.intl.t('location-plugin.default-label', {
|
|
44
|
-
locale: this.documentLanguage,
|
|
45
|
-
}),
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
<template>
|
|
50
|
-
<AuFormRow>
|
|
51
|
-
<AuLabel for='label'>
|
|
52
|
-
{{t 'location-plugin.label'}}
|
|
53
|
-
</AuLabel>
|
|
54
|
-
<AuNativeInput
|
|
55
|
-
id='label'
|
|
56
|
-
placeholder={{t 'location-plugin.labelPlaceholder'}}
|
|
57
|
-
@type='text'
|
|
58
|
-
@width='block'
|
|
59
|
-
value={{this.label}}
|
|
60
|
-
{{on 'input' this.updateLabel}}
|
|
61
|
-
/>
|
|
62
|
-
</AuFormRow>
|
|
63
|
-
<AuButton {{on 'click' this.insertAddress}}>
|
|
64
|
-
{{t 'common.insert'}}
|
|
65
|
-
</AuButton>
|
|
66
|
-
</template>
|
|
67
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{{! @glint-nocheck: not typesafe yet }}
|
|
2
|
-
<AuPill
|
|
3
|
-
@icon={{this.PencilIcon}}
|
|
4
|
-
@iconAlignment='right'
|
|
5
|
-
class='variable atomic'
|
|
6
|
-
{{on 'click' @selectNode}}
|
|
7
|
-
>
|
|
8
|
-
{{#if this.address}}
|
|
9
|
-
{{this.address.formatted}}
|
|
10
|
-
{{else}}
|
|
11
|
-
<span class='mark-highlight-manual'>
|
|
12
|
-
{{this.translations.placeholder}}
|
|
13
|
-
</span>
|
|
14
|
-
{{/if}}
|
|
15
|
-
{{#if this.label}}
|
|
16
|
-
<span class='label'>
|
|
17
|
-
({{this.label}})
|
|
18
|
-
</span>
|
|
19
|
-
{{/if}}
|
|
20
|
-
</AuPill>
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import { service } from '@ember/service';
|
|
3
|
-
import IntlService from 'ember-intl/services/intl';
|
|
4
|
-
import { PencilIcon } from '@appuniversum/ember-appuniversum/components/icons/pencil';
|
|
5
|
-
|
|
6
|
-
import { PNode, SayController } from '@lblod/ember-rdfa-editor';
|
|
7
|
-
import { Address } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/location-plugin/utils/address-helpers';
|
|
8
|
-
import { getOutgoingTriple } from '@lblod/ember-rdfa-editor-lblod-plugins/utils/namespace';
|
|
9
|
-
import { EXT } from '@lblod/ember-rdfa-editor-lblod-plugins/utils/constants';
|
|
10
|
-
|
|
11
|
-
type Args = {
|
|
12
|
-
getPos: () => number | undefined;
|
|
13
|
-
node: PNode;
|
|
14
|
-
controller: SayController;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export default class AddressNodeviewComponent extends Component<Args> {
|
|
18
|
-
PencilIcon = PencilIcon;
|
|
19
|
-
|
|
20
|
-
@service declare intl: IntlService;
|
|
21
|
-
|
|
22
|
-
get controller() {
|
|
23
|
-
return this.args.controller;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
get documentLanguage() {
|
|
27
|
-
return this.controller.documentLanguage;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
get translations() {
|
|
31
|
-
return {
|
|
32
|
-
placeholder: this.intl.t('editor-plugins.address.nodeview.placeholder', {
|
|
33
|
-
locale: this.documentLanguage,
|
|
34
|
-
}),
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
get node() {
|
|
39
|
-
return this.args.node;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
get address() {
|
|
43
|
-
return this.node.attrs.value as Address | null;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
get label() {
|
|
47
|
-
return getOutgoingTriple(this.node.attrs, EXT('label'))?.object.value;
|
|
48
|
-
}
|
|
49
|
-
}
|