@windward/integrations 0.6.0 → 0.7.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 CHANGED
@@ -1,4 +1,11 @@
1
1
  # Changelog
2
2
 
3
- ### Release [0.6.0] created - 2024-07-30
3
+ ## Release [0.7.0] - 2024-08-29
4
+
5
+ * Version bump to 0.7.0
6
+
4
7
 
8
+ ### Release [0.7.0] created - 2024-08-29
9
+
10
+
11
+ ### Release [0.6.0] created - 2024-07-30
@@ -220,14 +220,10 @@ export default {
220
220
  this.block.metadata.config.tool_id = null
221
221
  }
222
222
  if (_.isEmpty(this.block.metadata.config.title)) {
223
- this.block.metadata.config.title = this.$t(
224
- 'windward.integrations.components.content.blocks.external_integration.lti_consumer.title'
225
- )
223
+ this.block.metadata.config.title = ''
226
224
  }
227
225
  if (_.isEmpty(this.block.metadata.config.instructions)) {
228
- this.block.metadata.config.instructions = this.$t(
229
- 'windward.integrations.components.content.blocks.external_integration.lti_consumer.instructions'
230
- )
226
+ this.block.metadata.config.instructions = ''
231
227
  }
232
228
  },
233
229
  mounted() {
@@ -127,20 +127,28 @@ export default {
127
127
  ],
128
128
  validation: {
129
129
  shortInputRules: [
130
- (v) =>
131
- v.length <= 50 ||
132
- this.$t(
133
- 'windward.integrations.shared.settings.errors.input_limitations',
134
- [50]
135
- ),
130
+ (v) => {
131
+ if (v && v.length >= 50) {
132
+ return this.$t(
133
+ 'windward.integrations.shared.settings.errors.input_limitations',
134
+ [50]
135
+ )
136
+ } else {
137
+ return true
138
+ }
139
+ },
136
140
  ],
137
141
  instructionRule: [
138
- (v) =>
139
- v.length <= 255 ||
140
- this.$t(
141
- 'windward.integrations.shared.settings.errors.input_limitations',
142
- [255]
143
- ),
142
+ (v) => {
143
+ if (v && v.length >= 255) {
144
+ return this.$t(
145
+ 'windward.integrations.shared.settings.errors.input_limitations',
146
+ [255]
147
+ )
148
+ } else {
149
+ return true
150
+ }
151
+ },
144
152
  ],
145
153
  },
146
154
  }
@@ -1,6 +1,6 @@
1
1
  export default {
2
- title: 'title',
3
- instructions: 'instructions',
2
+ title: 'Title',
3
+ instructions: 'Instructions',
4
4
  launch_type: 'Launch Type',
5
5
  launch_type_new_window: 'New Window',
6
6
  launch_type_inline_frame: 'Inline Frame',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windward/integrations",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Windward UI Plugin Integrations for 3rd Party Systems",
5
5
  "main": "plugin.js",
6
6
  "scripts": {