diff --git a/src/components/SelectInput.vue b/src/components/SelectInput.vue new file mode 100644 index 0000000..6eef467 --- /dev/null +++ b/src/components/SelectInput.vue @@ -0,0 +1,71 @@ + + + + + \ No newline at end of file diff --git a/src/components/index.ts b/src/components/index.ts index cd22d46..77b51e4 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -3,6 +3,7 @@ export { default as Dropdown } from './Dropdown.vue'; export { default as LoadingSpinner } from './LoadingSpinner.vue'; export { default as Modal } from './Modal.vue'; export { default as ProgressBar } from './ProgressBar.vue'; +export { default as SelectInput } from './SelectInput.vue'; export { default as SliderCheckbox } from './SliderCheckbox.vue'; export { default as Tooltip } from './tooltip/Tooltip.vue'; diff --git a/src/generated/mammon/api.ts b/src/generated/mammon/api.ts index 81d7dae..a7fdb04 100644 --- a/src/generated/mammon/api.ts +++ b/src/generated/mammon/api.ts @@ -49,9 +49,9 @@ export interface MainLedgerDto extends LedgerDto { } /** - * LegerControllerApi - axios parameter creator + * LedgerControllerApi - axios parameter creator */ -export const LegerControllerApiAxiosParamCreator = function (configuration?: Configuration) { +export const LedgerControllerApiAxiosParamCreator = function (configuration?: Configuration) { return { /** * @@ -154,10 +154,10 @@ export const LegerControllerApiAxiosParamCreator = function (configuration?: Con }; /** - * LegerControllerApi - functional programming interface + * LedgerControllerApi - functional programming interface */ -export const LegerControllerApiFp = function(configuration?: Configuration) { - const localVarAxiosParamCreator = LegerControllerApiAxiosParamCreator(configuration) +export const LedgerControllerApiFp = function(configuration?: Configuration) { + const localVarAxiosParamCreator = LedgerControllerApiAxiosParamCreator(configuration) return { /** * @@ -168,7 +168,7 @@ export const LegerControllerApiFp = function(configuration?: Configuration) { async createCombiningLedger(createCombiningLedgerCommand: CreateCombiningLedgerCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.createCombiningLedger(createCombiningLedgerCommand, options); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; - const localVarOperationServerBasePath = operationServerMap['LegerControllerApi.createCombiningLedger']?.[localVarOperationServerIndex]?.url; + const localVarOperationServerBasePath = operationServerMap['LedgerControllerApi.createCombiningLedger']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }, /** @@ -180,7 +180,7 @@ export const LegerControllerApiFp = function(configuration?: Configuration) { async createMainLedger(createMainLedgerCommand: CreateMainLedgerCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.createMainLedger(createMainLedgerCommand, options); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; - const localVarOperationServerBasePath = operationServerMap['LegerControllerApi.createMainLedger']?.[localVarOperationServerIndex]?.url; + const localVarOperationServerBasePath = operationServerMap['LedgerControllerApi.createMainLedger']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }, /** @@ -191,17 +191,17 @@ export const LegerControllerApiFp = function(configuration?: Configuration) { async findAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.findAll(options); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; - const localVarOperationServerBasePath = operationServerMap['LegerControllerApi.findAll']?.[localVarOperationServerIndex]?.url; + const localVarOperationServerBasePath = operationServerMap['LedgerControllerApi.findAll']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }, } }; /** - * LegerControllerApi - factory interface + * LedgerControllerApi - factory interface */ -export const LegerControllerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { - const localVarFp = LegerControllerApiFp(configuration) +export const LedgerControllerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + const localVarFp = LedgerControllerApiFp(configuration) return { /** * @@ -233,9 +233,9 @@ export const LegerControllerApiFactory = function (configuration?: Configuration }; /** - * LegerControllerApi - object-oriented interface + * LedgerControllerApi - object-oriented interface */ -export class LegerControllerApi extends BaseAPI { +export class LedgerControllerApi extends BaseAPI { /** * * @param {CreateCombiningLedgerCommand} createCombiningLedgerCommand @@ -243,7 +243,7 @@ export class LegerControllerApi extends BaseAPI { * @throws {RequiredError} */ public createCombiningLedger(createCombiningLedgerCommand: CreateCombiningLedgerCommand, options?: RawAxiosRequestConfig) { - return LegerControllerApiFp(this.configuration).createCombiningLedger(createCombiningLedgerCommand, options).then((request) => request(this.axios, this.basePath)); + return LedgerControllerApiFp(this.configuration).createCombiningLedger(createCombiningLedgerCommand, options).then((request) => request(this.axios, this.basePath)); } /** @@ -253,7 +253,7 @@ export class LegerControllerApi extends BaseAPI { * @throws {RequiredError} */ public createMainLedger(createMainLedgerCommand: CreateMainLedgerCommand, options?: RawAxiosRequestConfig) { - return LegerControllerApiFp(this.configuration).createMainLedger(createMainLedgerCommand, options).then((request) => request(this.axios, this.basePath)); + return LedgerControllerApiFp(this.configuration).createMainLedger(createMainLedgerCommand, options).then((request) => request(this.axios, this.basePath)); } /** @@ -262,7 +262,7 @@ export class LegerControllerApi extends BaseAPI { * @throws {RequiredError} */ public findAll(options?: RawAxiosRequestConfig) { - return LegerControllerApiFp(this.configuration).findAll(options).then((request) => request(this.axios, this.basePath)); + return LedgerControllerApiFp(this.configuration).findAll(options).then((request) => request(this.axios, this.basePath)); } } diff --git a/src/ledger/CreateLedgerModal.vue b/src/ledger/CreateLedgerModal.vue index c8386c3..d86c790 100644 --- a/src/ledger/CreateLedgerModal.vue +++ b/src/ledger/CreateLedgerModal.vue @@ -1,24 +1,28 @@