diff --git a/package-lock.json b/package-lock.json index 807cdf08..a93d3f59 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,7 @@ "@jobinsjp/vue3-datatable": "^1.0.15", "edtf": "^4.6.0", "floating-vue": "^2.0.0-beta.20", + "hash-wasm": "^4.12.0", "html-escaper": "^3.0.3", "javascript-time-ago": "^2.5.10", "object-scan": "^18.5.1", @@ -3509,6 +3510,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/hash-wasm": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/hash-wasm/-/hash-wasm-4.12.0.tgz", + "integrity": "sha512-+/2B2rYLb48I/evdOIhP+K/DD2ca2fgBjp6O+GBEnCDk2e4rpeXIK8GvIyRPjTezgmWn9gmKwkQjjx6BtqDHVQ==", + "license": "MIT" + }, "node_modules/hasown": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", diff --git a/package.json b/package.json index cd8e103f..610d7a6a 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "@jobinsjp/vue3-datatable": "^1.0.15", "edtf": "^4.6.0", "floating-vue": "^2.0.0-beta.20", + "hash-wasm": "^4.12.0", "html-escaper": "^3.0.3", "javascript-time-ago": "^2.5.10", "object-scan": "^18.5.1", diff --git a/src/App.vue b/src/App.vue index 506984af..90c2c812 100644 --- a/src/App.vue +++ b/src/App.vue @@ -10,6 +10,8 @@ import TextMacroModal from "@/components/panels/edit/modals/TextMacroModal.vue"; import NonLatinBulkModal from "@/components/panels/edit/modals/NonLatinBulkModal.vue"; import NonLatinAgentModal from "@/components/panels/edit/modals/NonLatinAgentModal.vue"; import FieldColorsModal from "@/components/panels/edit/modals/FieldColorsModal.vue"; +import HubStubCreateModal from "@/components/panels/edit/modals/HubStubCreateModal.vue"; + @@ -42,7 +44,8 @@ export default { TextMacroModal, NonLatinBulkModal, NonLatinAgentModal, - FieldColorsModal + FieldColorsModal, + HubStubCreateModal }, data() { @@ -57,7 +60,7 @@ export default { ...mapStores(useConfigStore, useProfileStore, usePreferenceStore), // // gives read access to this.count and this.double ...mapState(useProfileStore, ['profilesLoaded', 'showValidateModal','profilesLoaded', 'showPostModal']), - ...mapWritableState(useProfileStore, ['showShelfListingModal']), + ...mapWritableState(useProfileStore, ['showShelfListingModal','showHubStubCreateModal']), ...mapState(usePreferenceStore, ['showPrefModal','catCode']), ...mapWritableState(usePreferenceStore, ['showLoginModal','showScriptshifterConfigModal','showDiacriticConfigModal','showTextMacroModal','showFieldColorsModal']), @@ -160,10 +163,12 @@ export default { - + + - diff --git a/src/components/panels/edit/fields/LookupComplex.vue b/src/components/panels/edit/fields/LookupComplex.vue index b0f394d3..fa3c7794 100644 --- a/src/components/panels/edit/fields/LookupComplex.vue +++ b/src/components/panels/edit/fields/LookupComplex.vue @@ -178,7 +178,6 @@ - diff --git a/src/components/panels/edit/fields/helpers/ActionButton.vue b/src/components/panels/edit/fields/helpers/ActionButton.vue index e49a46a2..66d46e5d 100644 --- a/src/components/panels/edit/fields/helpers/ActionButton.vue +++ b/src/components/panels/edit/fields/helpers/ActionButton.vue @@ -71,6 +71,7 @@ + + + + +