@demos-europe/demosplan-ui 0.0.16 → 0.0.18

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.
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="inheritedJdk" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ </component>
8
+ </module>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Encoding" defaultCharsetForPropertiesFiles="UTF-8">
4
+ <file url="PROJECT" charset="UTF-8" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/demosplan-ui.iml" filepath="$PROJECT_DIR$/.idea/demosplan-ui.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
package/.idea/php.xml ADDED
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="MessDetectorOptionsConfiguration">
4
+ <option name="transferred" value="true" />
5
+ </component>
6
+ <component name="PHPCSFixerOptionsConfiguration">
7
+ <option name="transferred" value="true" />
8
+ </component>
9
+ <component name="PHPCodeSnifferOptionsConfiguration">
10
+ <option name="highlightLevel" value="WARNING" />
11
+ <option name="transferred" value="true" />
12
+ </component>
13
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="SonarLintProjectState">
4
+ <lastEventPolling>1668790757487</lastEventPolling>
5
+ </component>
6
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="SonarLintProjectSettings">
4
+ <option name="bindingEnabled" value="true" />
5
+ <option name="projectKey" value="demos-europe_demosplan-ui" />
6
+ <option name="serverId" value="dplan" />
7
+ </component>
8
+ </project>
package/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
package/CHANGELOG.md CHANGED
@@ -1,6 +1,17 @@
1
1
  # Changelog
2
2
 
3
3
  ## UNRELEASED
4
+ ## v0.0.18 - 2023-03-29
5
+
6
+ - ([#139](https://github.com/demos-europe/demosplan-ui/pull/139)) REVERT: ([#133](https://github.com/demos-europe/demosplan-ui/pull/133)) Import `a11y-datepicker` not as es Module anymore, to make it resolveable
7
+
8
+ ### Fixed
9
+
10
+ - ([#138](https://github.com/demos-europe/demosplan-ui/pull/138)) Uploading files whose names contained reserved characters no longer break certain endpoints. ([@spiess-demos](https://github.com/spiess-demos))
11
+
12
+ ## v0.0.17 - 2023-03-23
13
+
14
+ - ([#133](https://github.com/demos-europe/demosplan-ui/pull/133)) Import `a11y-datepicker` not as es Module anymore, to make it resolveable
4
15
 
5
16
  ## v0.0.16 - 2023-03-15
6
17
 
@@ -34,6 +45,7 @@ Same as v0.0.13, but with up-to-date build dependencies this time around.
34
45
  ### Fixed
35
46
 
36
47
  - ([#100](https://github.com/demos-europe/demosplan-ui/pull/100)) Set correct value for `aria-live` in DpNotifyContainer when document becomes visible ([@spiess-demos](https://github.com/spiess-demos))
48
+ - ([#109](https://github.com/demos-europe/demosplan-ui/pull/109)) Remove @demos-europe/demosplan-utils as dependency ([@spiess-demos](https://github.com/spiess-demos))
37
49
 
38
50
  ## v0.0.12 - 2023-02-13
39
51
 
package/README.md CHANGED
@@ -1,3 +1,6 @@
1
1
  # DEMOSPLAN UI
2
2
 
3
+ [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
4
+ [![Common Changelog](https://common-changelog.org/badge.svg)](https://common-changelog.org)
5
+
3
6
  Vue components, Vue directives, Design Token and Scss files to build interfaces for demosPlan.
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_demos_europe_demosplan_ui=self.webpackChunk_demos_europe_demosplan_ui||[]).push([[716],{2716:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var l=s(9086),a=s(2854),i=s(7260);const n={name:"DpUploadModal",components:{DpInput:l.default,DpModal:a.Z,DpUploadFiles:i.Z},props:{getFileByHash:{type:Function,required:!0}},data:()=>({fileUrl:"",altText:"",editAltTextOnly:!1}),methods:{emitAndClose(){this.editAltTextOnly?this.$emit("add-alt",this.altText):this.fileUrl&&this.$emit("insert-image",this.fileUrl,this.altText),this.resetAndClose()},resetAndClose(){this.altText="",this.fileUrl="",this.editAltTextOnly=!1,this.$emit("close"),this.toggleModal()},setFile({hash:t}){this.fileUrl=this.getFileByHash(t),this.$forceUpdate()},toggleModal(t){!0===this.$refs.uploadModal.isOpenModal?this.$refs.uploader.clearFilesList():t&&(this.editAltTextOnly=t.editAltOnly,this.altText=t.currentAlt),this.$refs.uploadModal.toggle()}}},r=(0,s(1900).Z)(n,(function(){var t=this,e=t._self._c;return e("dp-modal",{ref:"uploadModal",attrs:{"content-classes":"u-2-of-3-lap-up u-1-of-2-desk-up"}},[[t.editAltTextOnly?e("h3",{staticClass:"u-mb"},[t._v("\n "+t._s(t.Translator.trans("image.edit"))+"\n ")]):e("h3",{staticClass:"u-mb"},[t._v("\n "+t._s(t.Translator.trans("image.insert"))+"\n ")]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!1===t.editAltTextOnly,expression:"editAltTextOnly === false"}]},[e("dp-upload-files",{ref:"uploader",attrs:{"allowed-file-types":"img",id:"imageFile","get-file-by-hash":t.getFileByHash,"max-file-size":20971520,"max-number-of-files":1,translations:{dropHereOr:t.Translator.trans("form.button.upload.image",{browse:"{browse}",maxUploadSize:"20MB"})}},on:{"upload-success":t.setFile}})],1),t._v(" "),e("dp-input",{staticClass:"u-mb",attrs:{id:"altText",label:{hint:t.Translator.trans("image.alt.explanation"),text:t.Translator.trans("alternative.text")}},model:{value:t.altText,callback:function(e){t.altText=e},expression:"altText"}}),t._v(" "),e("div",{staticClass:"u-mt text--right width-100p space-inline-s"},[e("button",{staticClass:"btn btn--primary",attrs:{type:"button"},on:{click:function(e){return t.emitAndClose()}}},[t._v("\n "+t._s(t.Translator.trans("insert"))+"\n ")]),t._v(" "),e("button",{staticClass:"btn btn--secondary",attrs:{type:"button"},on:{click:function(e){return t.resetAndClose()}}},[t._v("\n "+t._s(t.Translator.trans("abort"))+"\n ")])])]],2)}),[],!1,null,null,null).exports}}]);
1
+ "use strict";(self.webpackChunk_demos_europe_demosplan_ui=self.webpackChunk_demos_europe_demosplan_ui||[]).push([[716],{2716:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var l=s(9086),a=s(2854),i=s(7977);const n={name:"DpUploadModal",components:{DpInput:l.default,DpModal:a.Z,DpUploadFiles:i.Z},props:{getFileByHash:{type:Function,required:!0}},data:()=>({fileUrl:"",altText:"",editAltTextOnly:!1}),methods:{emitAndClose(){this.editAltTextOnly?this.$emit("add-alt",this.altText):this.fileUrl&&this.$emit("insert-image",this.fileUrl,this.altText),this.resetAndClose()},resetAndClose(){this.altText="",this.fileUrl="",this.editAltTextOnly=!1,this.$emit("close"),this.toggleModal()},setFile({hash:t}){this.fileUrl=this.getFileByHash(t),this.$forceUpdate()},toggleModal(t){!0===this.$refs.uploadModal.isOpenModal?this.$refs.uploader.clearFilesList():t&&(this.editAltTextOnly=t.editAltOnly,this.altText=t.currentAlt),this.$refs.uploadModal.toggle()}}},r=(0,s(1900).Z)(n,(function(){var t=this,e=t._self._c;return e("dp-modal",{ref:"uploadModal",attrs:{"content-classes":"u-2-of-3-lap-up u-1-of-2-desk-up"}},[[t.editAltTextOnly?e("h3",{staticClass:"u-mb"},[t._v("\n "+t._s(t.Translator.trans("image.edit"))+"\n ")]):e("h3",{staticClass:"u-mb"},[t._v("\n "+t._s(t.Translator.trans("image.insert"))+"\n ")]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!1===t.editAltTextOnly,expression:"editAltTextOnly === false"}]},[e("dp-upload-files",{ref:"uploader",attrs:{"allowed-file-types":"img",id:"imageFile","get-file-by-hash":t.getFileByHash,"max-file-size":20971520,"max-number-of-files":1,translations:{dropHereOr:t.Translator.trans("form.button.upload.image",{browse:"{browse}",maxUploadSize:"20MB"})}},on:{"upload-success":t.setFile}})],1),t._v(" "),e("dp-input",{staticClass:"u-mb",attrs:{id:"altText",label:{hint:t.Translator.trans("image.alt.explanation"),text:t.Translator.trans("alternative.text")}},model:{value:t.altText,callback:function(e){t.altText=e},expression:"altText"}}),t._v(" "),e("div",{staticClass:"u-mt text--right width-100p space-inline-s"},[e("button",{staticClass:"btn btn--primary",attrs:{type:"button"},on:{click:function(e){return t.emitAndClose()}}},[t._v("\n "+t._s(t.Translator.trans("insert"))+"\n ")]),t._v(" "),e("button",{staticClass:"btn btn--secondary",attrs:{type:"button"},on:{click:function(e){return t.resetAndClose()}}},[t._v("\n "+t._s(t.Translator.trans("abort"))+"\n ")])])]],2)}),[],!1,null,null,null).exports}}]);