Multiselect
This commit is contained in:
parent
589bdd1e08
commit
98bfce8a2f
|
|
@ -152,6 +152,7 @@ final clientListReducer = combineReducers<ListUIState>([
|
|||
ListUIState _viewClientList(
|
||||
ListUIState clientListState, ViewClientList action) {
|
||||
return clientListState.rebuild((b) => b
|
||||
..selectedIds = null
|
||||
..filter = null
|
||||
..filterClearedAt = DateTime.now().millisecondsSinceEpoch);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -185,6 +185,7 @@ final creditListReducer = combineReducers<ListUIState>([
|
|||
ListUIState _viewCreditList(
|
||||
ListUIState creditListState, ViewCreditList action) {
|
||||
return creditListState.rebuild((b) => b
|
||||
..selectedIds = null
|
||||
..filter = null
|
||||
..filterClearedAt = DateTime.now().millisecondsSinceEpoch);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -83,6 +83,7 @@ final designListReducer = combineReducers<ListUIState>([
|
|||
ListUIState _viewDesignList(
|
||||
ListUIState designListState, ViewDesignList action) {
|
||||
return designListState.rebuild((b) => b
|
||||
..selectedIds = null
|
||||
..filter = null
|
||||
..filterClearedAt = DateTime.now().millisecondsSinceEpoch);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@ final documentListReducer = combineReducers<ListUIState>([
|
|||
ListUIState _viewDocumentList(
|
||||
ListUIState documentListState, ViewDocumentList action) {
|
||||
return documentListState.rebuild((b) => b
|
||||
..selectedIds = null
|
||||
..filter = null
|
||||
..filterClearedAt = DateTime.now().millisecondsSinceEpoch);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -95,6 +95,7 @@ final expenseListReducer = combineReducers<ListUIState>([
|
|||
ListUIState _viewExpenseList(
|
||||
ListUIState expenseListState, ViewExpenseList action) {
|
||||
return expenseListState.rebuild((b) => b
|
||||
..selectedIds = null
|
||||
..filter = null
|
||||
..filterClearedAt = DateTime.now().millisecondsSinceEpoch);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -89,6 +89,7 @@ final groupListReducer = combineReducers<ListUIState>([
|
|||
|
||||
ListUIState _viewGroupList(ListUIState groupListState, ViewGroupList action) {
|
||||
return groupListState.rebuild((b) => b
|
||||
..selectedIds = null
|
||||
..filter = null
|
||||
..filterClearedAt = DateTime.now().millisecondsSinceEpoch);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -191,6 +191,7 @@ final invoiceListReducer = combineReducers<ListUIState>([
|
|||
ListUIState _viewInvoiceList(
|
||||
ListUIState invoiceListState, ViewInvoiceList action) {
|
||||
return invoiceListState.rebuild((b) => b
|
||||
..selectedIds = null
|
||||
..filter = null
|
||||
..filterClearedAt = DateTime.now().millisecondsSinceEpoch);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -103,6 +103,7 @@ final paymentListReducer = combineReducers<ListUIState>([
|
|||
ListUIState _viewPaymentList(
|
||||
ListUIState paymentListState, ViewPaymentList action) {
|
||||
return paymentListState.rebuild((b) => b
|
||||
..selectedIds = null
|
||||
..filter = null
|
||||
..filterClearedAt = DateTime.now().millisecondsSinceEpoch);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -93,6 +93,7 @@ final paymentTermListReducer = combineReducers<ListUIState>([
|
|||
ListUIState _viewPaymentTermList(
|
||||
ListUIState paymentTermListState, ViewPaymentTermList action) {
|
||||
return paymentTermListState.rebuild((b) => b
|
||||
..selectedIds = null
|
||||
..filter = null
|
||||
..filterClearedAt = DateTime.now().millisecondsSinceEpoch);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -104,6 +104,7 @@ final productListReducer = combineReducers<ListUIState>([
|
|||
ListUIState _viewClientList(
|
||||
ListUIState productListState, ViewProductList action) {
|
||||
return productListState.rebuild((b) => b
|
||||
..selectedIds = null
|
||||
..filter = null
|
||||
..filterClearedAt = DateTime.now().millisecondsSinceEpoch);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -116,6 +116,7 @@ final projectListReducer = combineReducers<ListUIState>([
|
|||
ListUIState _viewProjectList(
|
||||
ListUIState projectListState, ViewProjectList action) {
|
||||
return projectListState.rebuild((b) => b
|
||||
..selectedIds = null
|
||||
..filter = null
|
||||
..filterClearedAt = DateTime.now().millisecondsSinceEpoch);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -184,6 +184,7 @@ final quoteListReducer = combineReducers<ListUIState>([
|
|||
|
||||
ListUIState _viewQuoteList(ListUIState quoteListState, ViewQuoteList action) {
|
||||
return quoteListState.rebuild((b) => b
|
||||
..selectedIds = null
|
||||
..filter = null
|
||||
..filterClearedAt = DateTime.now().millisecondsSinceEpoch);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -114,6 +114,7 @@ final taskListReducer = combineReducers<ListUIState>([
|
|||
|
||||
ListUIState _viewTaskList(ListUIState taskListState, ViewTaskList action) {
|
||||
return taskListState.rebuild((b) => b
|
||||
..selectedIds = null
|
||||
..filter = null
|
||||
..filterClearedAt = DateTime.now().millisecondsSinceEpoch);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -99,6 +99,7 @@ final taskStatusListReducer = combineReducers<ListUIState>([
|
|||
ListUIState _viewTaskStatusList(
|
||||
ListUIState taskStatusListState, ViewTaskStatusList action) {
|
||||
return taskStatusListState.rebuild((b) => b
|
||||
..selectedIds = null
|
||||
..filter = null
|
||||
..filterClearedAt = DateTime.now().millisecondsSinceEpoch);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -81,6 +81,7 @@ final taxRateListReducer = combineReducers<ListUIState>([
|
|||
ListUIState _viewTaxRateList(
|
||||
ListUIState taxRateListState, ViewTaxRateList action) {
|
||||
return taxRateListState.rebuild((b) => b
|
||||
..selectedIds = null
|
||||
..filter = null
|
||||
..filterClearedAt = DateTime.now().millisecondsSinceEpoch);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -89,6 +89,7 @@ final tokenListReducer = combineReducers<ListUIState>([
|
|||
|
||||
ListUIState _viewTokenList(ListUIState tokenListState, ViewTokenList action) {
|
||||
return tokenListState.rebuild((b) => b
|
||||
..selectedIds = null
|
||||
..filter = null
|
||||
..filterClearedAt = DateTime.now().millisecondsSinceEpoch);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -93,6 +93,7 @@ final userListReducer = combineReducers<ListUIState>([
|
|||
|
||||
ListUIState _viewUserList(ListUIState userListState, ViewUserList action) {
|
||||
return userListState.rebuild((b) => b
|
||||
..selectedIds = null
|
||||
..filter = null
|
||||
..filterClearedAt = DateTime.now().millisecondsSinceEpoch);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -144,6 +144,7 @@ final vendorListReducer = combineReducers<ListUIState>([
|
|||
ListUIState _viewVendorList(
|
||||
ListUIState vendorListState, ViewVendorList action) {
|
||||
return vendorListState.rebuild((b) => b
|
||||
..selectedIds = null
|
||||
..filter = null
|
||||
..filterClearedAt = DateTime.now().millisecondsSinceEpoch);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -90,6 +90,7 @@ final webhookListReducer = combineReducers<ListUIState>([
|
|||
ListUIState _viewWebhookList(
|
||||
ListUIState webhookListState, ViewWebhookList action) {
|
||||
return webhookListState.rebuild((b) => b
|
||||
..selectedIds = null
|
||||
..filter = null
|
||||
..filterClearedAt = DateTime.now().millisecondsSinceEpoch);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -104,6 +104,7 @@ final stubListReducer = combineReducers<ListUIState>([
|
|||
ListUIState _viewStubList(
|
||||
ListUIState stubListState, ViewStubList action) {
|
||||
return stubListState.rebuild((b) => b
|
||||
..selectedIds = null
|
||||
..filter = null
|
||||
..filterClearedAt = DateTime.now().millisecondsSinceEpoch);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue