@live-change/db-admin 0.8.24 → 0.8.26

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.
@@ -13,7 +13,8 @@
13
13
  <DataTable v-if="tables.length > 0" :value="tables" responsiveLayout="scroll">
14
14
  <Column field="id" header="Table">
15
15
  <template #body="slotProps">
16
- <form v-if="tableRename == slotProps.data.id" @submit="ev => finishTableRename(ev, slotProps.data.id)">
16
+ <form v-if="tableRename === slotProps.data.id"
17
+ @submit="ev => finishTableRename(ev, slotProps.data.id)">
17
18
  <InputText v-model="tableNewName" />
18
19
  </form>
19
20
  <router-link v-else :to="tableLink(dbName, slotProps.data.id)">
@@ -22,9 +23,9 @@
22
23
  </template>
23
24
  </Column>
24
25
  <Column field="rows" header="Rows" :headerStyle="{ 'width': '60px' }"></Column>
25
- <Column :headerStyle="{ 'width': '120px' }">
26
+ <Column :headerStyle="{ 'width': '140px' }">
26
27
  <template #body="slotProps">
27
- <Button v-if="tableRename == slotProps.data.id"
28
+ <Button v-if="tableRename === slotProps.data.id"
28
29
  @click="ev => finishTableRename(ev, slotProps.data.id)" type="button"
29
30
  icon="pi pi-save" class="p-button-rounded p-button-primary mr-2" />
30
31
  <Button v-else
@@ -52,7 +53,7 @@
52
53
  <DataTable v-if="logs.length > 0" :value="logs" responsiveLayout="scroll">
53
54
  <Column field="id" header="Log">
54
55
  <template #body="slotProps">
55
- <form v-if="logRename == slotProps.data.id" @submit="ev => finishLogRename(ev, slotProps.data.id)">
56
+ <form v-if="logRename === slotProps.data.id" @submit="ev => finishLogRename(ev, slotProps.data.id)">
56
57
  <InputText v-model="logNewName" />
57
58
  </form>
58
59
  <router-link v-else :to="logLink(dbName, slotProps.data.id)">
@@ -61,9 +62,9 @@
61
62
  </template>
62
63
  </Column>
63
64
  <Column field="rows" header="Rows" :headerStyle="{ 'width': '60px' }"></Column>
64
- <Column :headerStyle="{ 'width': '120px' }">
65
+ <Column :headerStyle="{ 'width': '140px' }">
65
66
  <template #body="slotProps">
66
- <Button v-if="logRename == slotProps.data.id"
67
+ <Button v-if="logRename === slotProps.data.id"
67
68
  @click="ev => finishLogRename(ev, slotProps.data.id)" type="button"
68
69
  icon="pi pi-save" class="p-button-rounded p-button-primary mr-2" />
69
70
  <Button v-else
@@ -91,7 +92,7 @@
91
92
  <DataTable v-if="indexes.length > 0" :value="indexes" responsiveLayout="scroll">
92
93
  <Column field="id" header="Index">
93
94
  <template #body="slotProps">
94
- <form v-if="indexRename == slotProps.data.id" @submit="ev => finishIndexRename(ev, slotProps.data.id)">
95
+ <form v-if="indexRename === slotProps.data.id" @submit="ev => finishIndexRename(ev, slotProps.data.id)">
95
96
  <InputText v-model="indexNewName" />
96
97
  </form>
97
98
  <router-link v-else :to="indexLink(dbName, slotProps.data.id)">
@@ -100,7 +101,7 @@
100
101
  </template>
101
102
  </Column>
102
103
  <Column field="rows" header="Rows" :headerStyle="{ 'width': '60px' }"></Column>
103
- <Column :headerStyle="{ 'width': '120px' }">
104
+ <Column :headerStyle="{ 'width': '140px' }">
104
105
  <template #body="slotProps">
105
106
  <Button v-if="indexRename == slotProps.data.id"
106
107
  @click="ev => finishIndexRename(ev, slotProps.data.id)" type="button"
@@ -298,7 +299,7 @@
298
299
  const oldIndexName = indexRename.value
299
300
  const indexName = indexNewName.value
300
301
  indexRename.value = null
301
- if(oldIndexName == indexName) return
302
+ if(oldIndexName === indexName) return
302
303
  workingZone.addPromise('renameIndex', (async () => {
303
304
  try {
304
305
  await dao.request([dbApi, 'renameIndex'], dbName, oldIndexName, indexName)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/db-admin",
3
- "version": "0.8.24",
3
+ "version": "0.8.26",
4
4
  "scripts": {
5
5
  "memDev": "node server/start.js memDev --initScript ./init.js --dbAccess",
6
6
  "localDevInit": "rm tmp.db; lcli localDev --initScript ./init.js --dbAccess",
@@ -18,12 +18,12 @@
18
18
  },
19
19
  "type": "module",
20
20
  "dependencies": {
21
- "@live-change/dao": "^0.8.24",
22
- "@live-change/dao-vue3": "^0.8.24",
23
- "@live-change/dao-websocket": "^0.8.24",
24
- "@live-change/framework": "^0.8.24",
25
- "@live-change/vue3-components": "^0.8.24",
26
- "@live-change/vue3-ssr": "^0.8.24",
21
+ "@live-change/dao": "^0.8.26",
22
+ "@live-change/dao-vue3": "^0.8.26",
23
+ "@live-change/dao-websocket": "^0.8.26",
24
+ "@live-change/framework": "^0.8.26",
25
+ "@live-change/vue3-components": "^0.8.26",
26
+ "@live-change/vue3-ssr": "^0.8.26",
27
27
  "@vitejs/plugin-vue": "^5.0.4",
28
28
  "@vueuse/core": "^10.9.0",
29
29
  "@vueuse/head": "^2.0.0",
@@ -50,7 +50,7 @@
50
50
  "vue3-scroll-border": "0.1.6"
51
51
  },
52
52
  "devDependencies": {
53
- "@live-change/codeceptjs-helper": "^0.8.24",
53
+ "@live-change/codeceptjs-helper": "^0.8.26",
54
54
  "@wdio/selenium-standalone-service": "^8.15.0",
55
55
  "codeceptjs": "^3.5.12",
56
56
  "generate-password": "1.7.1",
@@ -59,8 +59,8 @@
59
59
  "txtgen": "^3.0.6",
60
60
  "webdriverio": "^8.31.1"
61
61
  },
62
- "author": "",
62
+ "author": "Michał Łaszczewski <michal@laszczewski.pl>",
63
63
  "license": "ISC",
64
64
  "description": "",
65
- "gitHead": "63e942caccbcb1c9bfbd1a3ef1d097124514c5a7"
65
+ "gitHead": "e62696aa9fa6e5b86312dfb64c97efa300d41147"
66
66
  }