flameresttable 1.0.7 → 1.0.9

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.
@@ -8,7 +8,4 @@
8
8
  },
9
9
  "tailwindCSS.emmetCompletions": true,
10
10
  "css.lint.unknownAtRules": "ignore",
11
- "editor.codeActionsOnSave": {
12
- "source.fixAll": true
13
- },
14
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flameresttable",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "main": "./src/plugin.ts",
5
5
  "repository": {
6
6
  "type": "git",
@@ -88,6 +88,8 @@
88
88
  <!-- КОЛОНКИ ТАБЛИЦЫ-->
89
89
  <label v-for="column in ColumnNames" v-show="Table.columns[column].Popup.isShow" :key="'c' + column"
90
90
  class="flex items-stretch justify-center w-full my-1 ml-2">
91
+
92
+ <!-- Заголовок -->
91
93
  <div class="text-left px-2 py-1 bg-slate-100" style="width: 110px">
92
94
  <div>{{ Table.columns[column].Popup.title !== '' ? Table.columns[column].Popup.title === '' :
93
95
  Table.columns[column].title !== '' ? Table.columns[column].title : Table.columns[column].name }}</div>
@@ -143,8 +145,9 @@
143
145
  <!-- ФАЙЛЫ -->
144
146
  <div v-if="Table.columns[column].Popup.popupType === 'file'"
145
147
  class="flex-1 border border-slate-100 mr-5 w-full flex self-stretch">
148
+
146
149
  <div class="flex-1">
147
- {{ fileGetData(Table.columns[column].Popup.model, false).name }}
150
+ {{ fileGetData(Table.columns[column].Popup.model, false)?.name }}
148
151
  </div>
149
152
 
150
153
  <!-- Загрузчик-->
@@ -337,7 +340,7 @@ export default defineComponent({
337
340
  // Получить строку с исходником
338
341
  if (getSource) {
339
342
  if (typeof thisArr[0].data === 'string') return thisArr[0].data;
340
- if (typeof thisArr[0].file === 'string') return thisArr[0].file;
343
+ if (typeof thisArr[0].file === 'string') return '/' + thisArr[0].file;
341
344
  return "";
342
345
  }
343
346
  // Получить данные целиком