@afeefa/vue-app 0.0.142 → 0.0.144

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- 0.0.142
1
+ 0.0.144
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afeefa/vue-app",
3
- "version": "0.0.142",
3
+ "version": "0.0.144",
4
4
  "description": "",
5
5
  "author": "Afeefa Kollektiv <kollektiv@afeefa.de>",
6
6
  "license": "MIT",
@@ -250,6 +250,7 @@ export default class ARichTextArea extends Vue {
250
250
  <style lang="scss" scoped>
251
251
  .editorWrapper {
252
252
  padding: .5rem;
253
+ margin: 0 1px;
253
254
 
254
255
  border: 1px solid white;
255
256
  outline: 1px solid rgb(0 0 0 / 38%);
@@ -64,7 +64,6 @@ import { DialogEvent } from '@a-vue/events'
64
64
  })
65
65
  export default class EditModal extends Vue {
66
66
  show_ = false
67
- ignoreChangesOnClose_ = false
68
67
 
69
68
  created () {
70
69
  if (!this.model && !this.createModelToEdit) {
@@ -109,7 +108,7 @@ export default class EditModal extends Vue {
109
108
 
110
109
  async beforeClose () {
111
110
  // run only if show_ is true to prevent double checks with a-modal
112
- if (this.show_ && this.$refs.form.changed && !this.ignoreChangesOnClose_) {
111
+ if (this.show_ && this.$refs.form.changed) {
113
112
  const result = await this.$events.dispatch(new DialogEvent(DialogEvent.SHOW, {
114
113
  title: 'Änderungen verwerfen?',
115
114
  message: 'Im Formular sind nicht gespeicherte Änderungen. Sollen diese verworfen werden?',
@@ -136,9 +135,7 @@ export default class EditModal extends Vue {
136
135
  * hook to allow to leave a just created (saved) model
137
136
  */
138
137
  ignoreChangesOnClose () {
139
- // this.$refs.form.forceUnchanged()
140
- console.info('TODO switch form to forceUnchanged')
141
- this.ignoreChangesOnClose_ = true
138
+ this.$refs.form.forceUnchanged()
142
139
  }
143
140
  }
144
141
  </script>
@@ -0,0 +1,6 @@
1
+ export function isToday (date) {
2
+ const today = new Date()
3
+ return date.getDate() === today.getDate() &&
4
+ date.getMonth() === today.getMonth() &&
5
+ date.getFullYear() === today.getFullYear()
6
+ }
@@ -19,8 +19,6 @@
19
19
  </div>
20
20
 
21
21
  <div id="flyingContextContainer__children" />
22
-
23
- <div class="v-navigation-drawer__border" />
24
22
  </div>
25
23
  </template>
26
24
 
@@ -99,22 +97,18 @@ export default class FlyingContextContainer extends Vue {
99
97
  right: 0;
100
98
  height: 100%;
101
99
  min-width: 400px;
102
- max-width: 50vw;
100
+ max-width: calc(100vw - 100px);
103
101
  top: 0;
104
102
  background: white;
105
103
  transition: right .2s;
106
104
  padding: 2rem;
107
105
  overflow-y: auto;
106
+ border-left: 1px solid rgba(0, 0, 0, .12);
108
107
 
109
108
  &:not(.visible) {
110
109
  right: -80vw;
111
110
  }
112
111
 
113
- .v-navigation-drawer__border {
114
- background-color: rgba(0, 0, 0, .12);
115
- left: 0;
116
- }
117
-
118
112
  .closeButton {
119
113
  margin: -1rem 0 2rem -1rem;
120
114
  }
@@ -192,7 +192,7 @@ export default class ListView extends Mixins(ListViewMixin) {
192
192
  margin-bottom: 2rem;
193
193
  }
194
194
 
195
- .a-table-row > :last-child {
195
+ :deep(.a-table-row > :last-child) {
196
196
  width: 100%;
197
197
  }
198
198
 
@@ -63,10 +63,6 @@
63
63
  color: #616161 !important;
64
64
  }
65
65
 
66
- .theme--light.v-input--is-focused fieldset {
67
- border-color: #1976D2;
68
- }
69
-
70
66
  .theme--light.v-btn.v-btn--disabled,
71
67
  .theme--light.v-btn.v-btn--disabled span,
72
68
  .theme--light.v-btn.v-btn--disabled .v-icon,