@talxis/base-controls 1.2406.2 → 1.2406.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/examples/Currency/package.json +1 -1
- package/examples/DateTime/package.json +1 -1
- package/examples/Decimal/package.json +1 -1
- package/examples/Duration/package.json +1 -1
- package/examples/Grid/package.json +1 -1
- package/examples/Lookup/package.json +1 -1
- package/examples/MultiSelectOptionSet/package.json +1 -1
- package/examples/OptionSet/package.json +1 -1
- package/examples/TwoOptions/package.json +1 -1
- package/package.json +1 -1
- package/.env +0 -1
- package/.eslintrc +0 -117
- package/.npmgitignore +0 -9
- package/.vscode/settings.json +0 -3
- package/.yalcignore +0 -2
- package/azure-pipelines.yml +0 -44
- package/examples/Currency/package-lock.json +0 -15900
- package/examples/Currency/tsconfig.json +0 -7
- package/examples/DateTime/package-lock.json +0 -15900
- package/examples/DateTime/tsconfig.json +0 -7
- package/examples/Decimal/package-lock.json +0 -15900
- package/examples/Decimal/tsconfig.json +0 -7
- package/examples/Duration/package-lock.json +0 -15900
- package/examples/Duration/tsconfig.json +0 -7
- package/examples/Grid/package-lock.json +0 -15901
- package/examples/Grid/tsconfig.json +0 -7
- package/examples/Lookup/package-lock.json +0 -15900
- package/examples/Lookup/tsconfig.json +0 -8
- package/examples/MultiSelectOptionSet/package-lock.json +0 -15900
- package/examples/MultiSelectOptionSet/tsconfig.json +0 -7
- package/examples/OptionSet/package-lock.json +0 -15900
- package/examples/OptionSet/tsconfig.json +0 -7
- package/examples/TwoOptions/package-lock.json +0 -15900
- package/examples/TwoOptions/tsconfig.json +0 -7
- package/public/index.html +0 -43
- package/public/manifest.json +0 -25
- package/rollup.config.js +0 -44
- package/src/components/DateTime/DateTime.tsx +0 -97
- package/src/components/DateTime/components/Calendar.tsx +0 -80
- package/src/components/DateTime/hooks/useDateTime.ts +0 -144
- package/src/components/DateTime/index.ts +0 -2
- package/src/components/DateTime/interfaces.ts +0 -22
- package/src/components/DateTime/styles.ts +0 -37
- package/src/components/DateTime/translations.ts +0 -18
- package/src/components/Decimal/Decimal.tsx +0 -120
- package/src/components/Decimal/index.ts +0 -2
- package/src/components/Decimal/interfaces.ts +0 -20
- package/src/components/Duration/Duration.tsx +0 -143
- package/src/components/Duration/index.ts +0 -2
- package/src/components/Duration/interfaces.ts +0 -22
- package/src/components/Duration/translations.ts +0 -30
- package/src/components/Grid/Grid.tsx +0 -24
- package/src/components/Grid/core/components/AgGrid/AgGrid.tsx +0 -206
- package/src/components/Grid/core/components/AgGrid/components/EmptyRecordsOverlay/EmptyRecords.tsx +0 -16
- package/src/components/Grid/core/components/AgGrid/components/EmptyRecordsOverlay/styles.ts +0 -20
- package/src/components/Grid/core/components/AgGrid/components/LoadingOverlay/LoadingOverlay.tsx +0 -7
- package/src/components/Grid/core/components/AgGrid/controllers/useAgGridController.ts +0 -68
- package/src/components/Grid/core/components/AgGrid/model/AgGrid.ts +0 -100
- package/src/components/Grid/core/components/AgGrid/styles.ts +0 -72
- package/src/components/Grid/core/components/Cell/Commands/Commands.tsx +0 -32
- package/src/components/Grid/core/components/Cell/Commands/Icon.tsx +0 -17
- package/src/components/Grid/core/components/Cell/Commands/styles.ts +0 -21
- package/src/components/Grid/core/components/Cell/Commands/useCommands.tsx +0 -53
- package/src/components/Grid/core/components/Cell/EditableCell/EditableCell.tsx +0 -140
- package/src/components/Grid/core/components/Cell/ReadOnlyCell/ReadOnlyCell.tsx +0 -176
- package/src/components/Grid/core/components/Cell/ReadOnlyCell/ReadOnlyOptionSet/ReadOnlyOptionSet.tsx +0 -67
- package/src/components/Grid/core/components/Cell/ReadOnlyCell/ReadOnlyOptionSet/styles.ts +0 -24
- package/src/components/Grid/core/components/Cell/ReadOnlyCell/styles.ts +0 -56
- package/src/components/Grid/core/components/ColumnHeader/ColumnHeader.tsx +0 -71
- package/src/components/Grid/core/components/ColumnHeader/components/GlobalCheckbox/GlobalCheckbox.tsx +0 -31
- package/src/components/Grid/core/components/ColumnHeader/components/GlobalCheckbox/styles.ts +0 -16
- package/src/components/Grid/core/components/ColumnHeader/styles.ts +0 -40
- package/src/components/Grid/core/components/Component/Component.tsx +0 -59
- package/src/components/Grid/core/components/Component/controller/useComponentController.ts +0 -39
- package/src/components/Grid/core/components/Component/model/Component.ts +0 -251
- package/src/components/Grid/core/components/Dialog/Constants.tsx +0 -8
- package/src/components/Grid/core/components/Dialog/Styles.tsx +0 -61
- package/src/components/Grid/core/components/Dialog/index.tsx +0 -22
- package/src/components/Grid/core/components/Dialog/interfaces/index.d.ts +0 -7
- package/src/components/Grid/core/components/Save/Save.tsx +0 -74
- package/src/components/Grid/core/components/Save/components/ChangeEditor/ChangeEditor.tsx +0 -63
- package/src/components/Grid/core/components/Save/components/ChangeEditor/components/RecordGrids/RecordGrids.tsx +0 -153
- package/src/components/Grid/core/components/Save/components/ChangeEditor/components/RecordGrids/styles.ts +0 -52
- package/src/components/Grid/core/components/Save/components/ChangeEditor/styles.ts +0 -34
- package/src/components/Grid/core/components/Save/hooks/useSave.ts +0 -59
- package/src/components/Grid/core/components/Save/styles.ts +0 -41
- package/src/components/Grid/core/controllers/useGridController.ts +0 -46
- package/src/components/Grid/core/enums/ConditionOperator.ts +0 -46
- package/src/components/Grid/core/enums/DataType.ts +0 -25
- package/src/components/Grid/core/hooks/useGridInstance.ts +0 -7
- package/src/components/Grid/core/hooks/useRefreshCallback.ts +0 -20
- package/src/components/Grid/core/hooks/useRerender.ts +0 -15
- package/src/components/Grid/core/interfaces/IGridColumn.ts +0 -19
- package/src/components/Grid/core/interfaces/IGridContext.ts +0 -7
- package/src/components/Grid/core/model/Grid.ts +0 -250
- package/src/components/Grid/core/model/GridDependency.ts +0 -34
- package/src/components/Grid/core/model/Metadata.ts +0 -20
- package/src/components/Grid/core/services/RecordUpdateService/controllers/useRecordUpdateServiceController.ts +0 -36
- package/src/components/Grid/core/services/RecordUpdateService/model/RecordUpdateService.ts +0 -222
- package/src/components/Grid/filtering/components/FilterCallout/FilterCallout.tsx +0 -83
- package/src/components/Grid/filtering/components/FilterCallout/components/ConditionOperator/ConditionOperator.tsx +0 -66
- package/src/components/Grid/filtering/components/FilterCallout/components/ConditionValue/ConditionValue.tsx +0 -48
- package/src/components/Grid/filtering/components/FilterCallout/components/ConditionValue/model/ConditionComponentValue.ts +0 -120
- package/src/components/Grid/filtering/components/FilterCallout/styles.ts +0 -37
- package/src/components/Grid/filtering/constants.ts +0 -48
- package/src/components/Grid/filtering/controller/useColumnFilterConditionController.ts +0 -63
- package/src/components/Grid/filtering/model/Condition.ts +0 -309
- package/src/components/Grid/filtering/model/Filtering.ts +0 -78
- package/src/components/Grid/filtering/utils/FilteringUtilts.ts +0 -190
- package/src/components/Grid/interfaces.ts +0 -109
- package/src/components/Grid/paging/components/Paging/Paging.tsx +0 -76
- package/src/components/Grid/paging/components/Paging/styles.ts +0 -38
- package/src/components/Grid/paging/controllers/usePagingController.ts +0 -34
- package/src/components/Grid/paging/model/Paging.ts +0 -49
- package/src/components/Grid/selection/controllers/useSelectionController.ts +0 -25
- package/src/components/Grid/selection/model/Selection.ts +0 -60
- package/src/components/Grid/sorting/Sorting.ts +0 -30
- package/src/components/Grid/sorting/components/SortingContextualMenu/SortingContextualMenu.tsx +0 -126
- package/src/components/Grid/sorting/components/SortingContextualMenu/styles.ts +0 -12
- package/src/components/Grid/sorting/controllers/useColumnSortingController.ts +0 -26
- package/src/components/Grid/translations.ts +0 -80
- package/src/components/Grid/validation/controllers/useRecordValidationController.ts +0 -31
- package/src/components/Grid/validation/model/ColumnValidation.ts +0 -81
- package/src/components/Lookup/Lookup.tsx +0 -199
- package/src/components/Lookup/components/RecordCreator.tsx +0 -53
- package/src/components/Lookup/components/TargetSelector.tsx +0 -43
- package/src/components/Lookup/hooks/useFetchXml.ts +0 -31
- package/src/components/Lookup/hooks/useLoadedEntities.ts +0 -23
- package/src/components/Lookup/hooks/useLookup.ts +0 -126
- package/src/components/Lookup/index.ts +0 -2
- package/src/components/Lookup/interfaces.ts +0 -45
- package/src/components/Lookup/lib.ts +0 -3110
- package/src/components/Lookup/styles.ts +0 -106
- package/src/components/Lookup/translations.ts +0 -28
- package/src/components/MultiSelectOptionSet/MultiSelectOptionSet.tsx +0 -83
- package/src/components/MultiSelectOptionSet/index.ts +0 -2
- package/src/components/MultiSelectOptionSet/interfaces.ts +0 -14
- package/src/components/OptionSet/OptionSet.tsx +0 -67
- package/src/components/OptionSet/index.ts +0 -2
- package/src/components/OptionSet/interfaces.ts +0 -17
- package/src/components/TextField/TextField.tsx +0 -58
- package/src/components/TextField/hooks/useTextField.ts +0 -42
- package/src/components/TextField/index.ts +0 -2
- package/src/components/TextField/interfaces.ts +0 -20
- package/src/components/TwoOptions/TwoOptions.tsx +0 -43
- package/src/components/TwoOptions/index.ts +0 -2
- package/src/components/TwoOptions/interfaces.ts +0 -17
- package/src/hooks/index.ts +0 -1
- package/src/hooks/useComponent.ts +0 -83
- package/src/hooks/useFocusIn.ts +0 -23
- package/src/hooks/useInputBasedComponent.ts +0 -71
- package/src/hooks/useMouseOver.ts +0 -23
- package/src/index.tsx +0 -12
- package/src/interfaces/context.ts +0 -21
- package/src/interfaces/index.ts +0 -12
- package/src/interfaces/parameters.ts +0 -26
- package/src/interfaces/property.ts +0 -111
- package/src/sandbox/index.tsx +0 -137
- package/src/sandbox/mock/Context.ts +0 -18
- package/src/sandbox/mock/Formatting.ts +0 -186
- package/src/sandbox/mock/Mode.ts +0 -25
- package/src/sandbox/mock/UserSettings.ts +0 -31
- package/src/sandbox/mock/Utility.ts +0 -14
- package/src/sandbox/shared/durationList.tsx +0 -24
- package/src/sandbox/shared/multiSelectOptionList.tsx +0 -5
- package/src/sandbox/shared/optionList.tsx +0 -5
- package/src/stories/Introduction.stories.mdx +0 -122
- package/src/stories/assets/code-brackets.svg +0 -1
- package/src/stories/assets/colors.svg +0 -1
- package/src/stories/assets/comments.svg +0 -1
- package/src/stories/assets/direction.svg +0 -1
- package/src/stories/assets/flow.svg +0 -1
- package/src/stories/assets/plugin.svg +0 -1
- package/src/stories/assets/repo.svg +0 -1
- package/src/stories/assets/stackalt.svg +0 -1
- package/src/types/index.ts +0 -3
- package/src/utils/NumeralPCF.ts +0 -62
- package/tsconfig.json +0 -28
package/package.json
CHANGED
package/.env
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
EXTEND_ESLINT = true
|
package/.eslintrc
DELETED
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json.schemastore.org/eslintrc",
|
|
3
|
-
"env": {
|
|
4
|
-
"browser": true,
|
|
5
|
-
"es6": true
|
|
6
|
-
},
|
|
7
|
-
"ignorePatterns": [
|
|
8
|
-
"**/*.css",
|
|
9
|
-
"**/*.json",
|
|
10
|
-
"**/*.resx",
|
|
11
|
-
"**/*.xml",
|
|
12
|
-
"**/*.svg",
|
|
13
|
-
"**/*.mdx",
|
|
14
|
-
"/src/sandbox",
|
|
15
|
-
"/src/examples",
|
|
16
|
-
"config-overrides.js"
|
|
17
|
-
],
|
|
18
|
-
"extends": [],
|
|
19
|
-
"parser": "@typescript-eslint/parser",
|
|
20
|
-
"parserOptions": {
|
|
21
|
-
"jsx": true,
|
|
22
|
-
"useJSXTextNode": true,
|
|
23
|
-
"sourceType": "module",
|
|
24
|
-
"project": [
|
|
25
|
-
"./tsconfig.json"
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"plugins": [
|
|
29
|
-
"@typescript-eslint",
|
|
30
|
-
"react",
|
|
31
|
-
"react-hooks"
|
|
32
|
-
],
|
|
33
|
-
"rules": {
|
|
34
|
-
"no-dupe-class-members": "off",
|
|
35
|
-
"no-return-await": "warn",
|
|
36
|
-
"semi": [
|
|
37
|
-
"error",
|
|
38
|
-
"always"
|
|
39
|
-
],
|
|
40
|
-
// "quotes": [
|
|
41
|
-
// "warn",
|
|
42
|
-
// "double",
|
|
43
|
-
// {
|
|
44
|
-
// "allowTemplateLiterals": true,
|
|
45
|
-
// "avoidEscape": true
|
|
46
|
-
// }
|
|
47
|
-
// ],
|
|
48
|
-
"no-debugger": "error",
|
|
49
|
-
"@typescript-eslint/naming-convention": [
|
|
50
|
-
"warn",
|
|
51
|
-
// Currently disabled until we do big refactoring
|
|
52
|
-
// {
|
|
53
|
-
// "selector": "interface",
|
|
54
|
-
// "format": [
|
|
55
|
-
// "PascalCase"
|
|
56
|
-
// ],
|
|
57
|
-
// "custom": {
|
|
58
|
-
// "regex": "^I[A-Z]",
|
|
59
|
-
// "match": true
|
|
60
|
-
// }
|
|
61
|
-
// },
|
|
62
|
-
{
|
|
63
|
-
"selector": "memberLike",
|
|
64
|
-
"modifiers": [
|
|
65
|
-
"private"
|
|
66
|
-
],
|
|
67
|
-
"format": [
|
|
68
|
-
"camelCase"
|
|
69
|
-
],
|
|
70
|
-
"leadingUnderscore": "require"
|
|
71
|
-
}
|
|
72
|
-
// {
|
|
73
|
-
// "selector": "variableLike",
|
|
74
|
-
// "format": [
|
|
75
|
-
// "camelCase"
|
|
76
|
-
// ]
|
|
77
|
-
// }
|
|
78
|
-
],
|
|
79
|
-
"@typescript-eslint/ban-ts-comment": [
|
|
80
|
-
"error",
|
|
81
|
-
{
|
|
82
|
-
"ts-ignore": "allow-with-description",
|
|
83
|
-
"ts-nocheck": "allow-with-description",
|
|
84
|
-
"ts-check": "allow-with-description"
|
|
85
|
-
}
|
|
86
|
-
],
|
|
87
|
-
"no-multiple-empty-lines": [
|
|
88
|
-
"error",
|
|
89
|
-
{
|
|
90
|
-
"max": 1,
|
|
91
|
-
"maxEOF": 0
|
|
92
|
-
}
|
|
93
|
-
],
|
|
94
|
-
"@typescript-eslint/prefer-for-of": "warn",
|
|
95
|
-
"@typescript-eslint/no-implied-eval": "error"
|
|
96
|
-
// "@typescript-eslint/no-explicit-any": [
|
|
97
|
-
// "error",
|
|
98
|
-
// {
|
|
99
|
-
// "fixToUnknown": false,
|
|
100
|
-
// "ignoreRestArgs": true
|
|
101
|
-
// }
|
|
102
|
-
// ]
|
|
103
|
-
},
|
|
104
|
-
"settings": {
|
|
105
|
-
"react": {
|
|
106
|
-
"version": "detect"
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
"overrides": [
|
|
110
|
-
{
|
|
111
|
-
"files": [
|
|
112
|
-
"*.ts",
|
|
113
|
-
"*.tsx"
|
|
114
|
-
]
|
|
115
|
-
}
|
|
116
|
-
]
|
|
117
|
-
}
|
package/.npmgitignore
DELETED
package/.vscode/settings.json
DELETED
package/.yalcignore
DELETED
package/azure-pipelines.yml
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
name: 1.$(Date:yyMM).$(Rev:r)
|
|
2
|
-
trigger:
|
|
3
|
-
- master
|
|
4
|
-
|
|
5
|
-
pool:
|
|
6
|
-
vmImage: ubuntu-latest
|
|
7
|
-
|
|
8
|
-
steps:
|
|
9
|
-
- task: NodeTool@0
|
|
10
|
-
inputs:
|
|
11
|
-
versionSpec: '17.x'
|
|
12
|
-
displayName: 'Install Node.js'
|
|
13
|
-
- task: VersionJSONFile@2
|
|
14
|
-
inputs:
|
|
15
|
-
Path: '$(Build.SourcesDirectory)'
|
|
16
|
-
recursion: True
|
|
17
|
-
VersionNumber: '$(Build.BuildNumber)'
|
|
18
|
-
useBuildNumberDirectly: False
|
|
19
|
-
VersionRegex: '\d+\.\d+\.\d+'
|
|
20
|
-
versionForJSONFileFormat: '{1}.{2}.{3}'
|
|
21
|
-
FilenamePattern: 'package.json'
|
|
22
|
-
OutputVersion: 'OutputedVersion'
|
|
23
|
-
displayName: 'Bumping package version'
|
|
24
|
-
- task: Npm@1
|
|
25
|
-
inputs:
|
|
26
|
-
command: 'install'
|
|
27
|
-
workingDir: '$(Build.SourcesDirectory)'
|
|
28
|
-
displayName: 'npm install'
|
|
29
|
-
- task: Npm@1
|
|
30
|
-
inputs:
|
|
31
|
-
command: 'custom'
|
|
32
|
-
customCommand: 'run build'
|
|
33
|
-
displayName: 'npm run build'
|
|
34
|
-
- task: Npm@1
|
|
35
|
-
displayName: 'Publishing NPM package'
|
|
36
|
-
inputs:
|
|
37
|
-
command: 'custom'
|
|
38
|
-
workingDir: '$(Build.SourcesDirectory)'
|
|
39
|
-
customCommand: 'publish --access public'
|
|
40
|
-
customEndpoint: 'NPM - networg-npm'
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|