generated from openmrs/openmrs-esm-template-app
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into ft/bulk-stock-item-import
- Loading branch information
Showing
44 changed files
with
10,488 additions
and
12,216 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
nodeLinker: node-modules | ||
compressionLevel: mixed | ||
|
||
enableGlobalCache: false | ||
|
||
plugins: | ||
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs | ||
spec: "@yarnpkg/plugin-interactive-tools" | ||
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs | ||
spec: "@yarnpkg/plugin-version" | ||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-3.6.3.cjs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,18 @@ | ||
import { Type, validator } from "@openmrs/esm-framework"; | ||
import { Type } from "@openmrs/esm-framework"; | ||
export const configSchema = { | ||
casualGreeting: { | ||
_type: Type.Boolean, | ||
printItemCost: { | ||
type: Type.Boolean, | ||
_default: false, | ||
_description: "Whether to use a casual greeting (or a formal one).", | ||
_description: "Whether to print item costs on the print out", | ||
}, | ||
whoToGreet: { | ||
_type: Type.Array, | ||
_default: ["World"], | ||
_description: | ||
"Who should be greeted. Names will be separated by a comma and space.", | ||
_elements: { | ||
_type: Type.String, | ||
}, | ||
_validators: [ | ||
validator((v) => v.length > 0, "At least one person must be greeted."), | ||
], | ||
printBalanceOnHand: { | ||
type: Type.Boolean, | ||
_default: false, | ||
_description: "Whether to print balance on hand on the print out", | ||
}, | ||
}; | ||
|
||
export type Config = { | ||
casualGreeting: boolean; | ||
whoToGreet: Array<string>; | ||
printItemCost: boolean; | ||
printBalanceOnHand: boolean; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/core/components/carbon/controlled-combo-box/controlled-combo-box.component.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.