Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

adm-super-search-modal-2

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adm-super-search-modal-2 - npm Package Compare versions

Comparing version 0.0.83 to 0.0.84

dist/components/search-modal/components/filters/index.d.ts

2

dist/components/search-modal/components/index.d.ts

@@ -7,1 +7,3 @@ export * from './instrument';

export * from './typography';
export * from './instruments-headers';
export * from './filters';

7

dist/components/search-modal/composables/helpers.d.ts

@@ -1,4 +0,5 @@

import { ISearchModalLabels, ISearchModalProps } from '../types';
import { ISearchQueryParams } from '..';
import { IInstrumentFilter, ISearchModalLabels, ISearchModalProps, TQueryExtendableFilters } from '../types';
import { ISearchInfoResponse } from '..';
export declare function getModalLabels(labels?: ISearchModalLabels): ISearchModalLabels;
export declare function getTradeCompaniesFilter({ requestQueryTradeCompanies, requestQueryTypeId, requestQuerySubTypeId, requestQueryRelationType, }: ISearchModalProps): Partial<Pick<ISearchQueryParams, 'trade_companies' | 'type_id' | 'relation_type' | 'subtype_id'>>;
export declare function getTradeCompaniesFilter({ requestQueryTradeCompanies, requestQueryTypeId, requestQuerySubTypeId, requestQueryRelationType, }: ISearchModalProps): TQueryExtendableFilters;
export declare function prepareInstrumentTabs({ types }: ISearchInfoResponse): IInstrumentFilter[];

@@ -1,2 +0,2 @@

import { ISearchModalProps } from '../types';
import { IInstrumentFilter, ISearchModalProps } from '../types';
declare const _default: (options?: ISearchModalProps) => {

@@ -53,2 +53,28 @@ instrumentsMaxCount: import("vue").Ref<number>;

hasInitialError: import("vue").Ref<boolean>;
instrumentFilters: import("vue").Ref<{
id: number;
label: string;
filter: {
relation_type?: string | undefined;
type_id?: number | undefined;
subtype_id?: number | undefined;
trade_companies?: {
company_id: number;
trade_type_id: number;
}[] | undefined;
};
}[]>;
activeFilter: import("vue").Ref<{
id: number;
label: string;
filter: {
relation_type?: string | undefined;
type_id?: number | undefined;
subtype_id?: number | undefined;
trade_companies?: {
company_id: number;
trade_type_id: number;
}[] | undefined;
};
} | null>;
init: () => Promise<void>;

@@ -58,3 +84,4 @@ clearData: () => void;

getSearchRequest: () => Promise<void>;
setSelectedFilter: (filter: IInstrumentFilter) => Promise<void>;
};
export default _default;

@@ -21,2 +21,3 @@ import { ISearchQueryDocument } from './api';

"empty-state"?(_: {}): any;
filters?(_: {}): any;
"search-result"?(_: {

@@ -23,0 +24,0 @@ foundInstruments: ISearchQueryDocument[];

@@ -54,1 +54,7 @@ import { IRecentlyViewedInstrument } from './utils';

}
export type TQueryExtendableFilters = Partial<Pick<ISearchQueryParams, 'trade_companies' | 'type_id' | 'relation_type' | 'subtype_id'>>;
export interface IInstrumentFilter {
id: number;
label: string;
filter: TQueryExtendableFilters;
}
{
"name": "adm-super-search-modal-2",
"version": "0.0.83",
"version": "0.0.84",
"type": "module",

@@ -5,0 +5,0 @@ "files": [

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc