mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 10:12:35 +00:00
ui: add params to pki parser (#18760)
* refactor parser to pull serial number from subject * refactor pki parser * uninstall pvtutils * remove hideFormSection as attr * remove hideFormSection as attr * add string-list * test removing issueDate * update tests * final answer - make number types * change to unix time - since valueOf() is typically used internally * add algo mapping * add comment to complete in followon * add attrs to pki parser * add conditional operands so parser continues when values dont exist * add error handling WIP * finish tests, add error handling * revert to helper * move helper to util * add parseSubject test * finish tests * move certs to pki helper file * wrap parsing functions in try...catch
This commit is contained in:
@@ -215,7 +215,6 @@
|
||||
@onChange={{this.setAndBroadcast}}
|
||||
@attrName={{@attr.name}}
|
||||
@subText={{@attr.options.subText}}
|
||||
@hideFormSection={{@attr.options.hideFormSection}}
|
||||
/>
|
||||
{{else if (eq @attr.options.sensitive true)}}
|
||||
{{! Masked Input }}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div
|
||||
class={{concat "field string-list" (if @hideFormSection "" " form-section")}}
|
||||
class="field string-list form-section"
|
||||
data-test-component="string-list"
|
||||
{{did-insert this.autoSize}}
|
||||
{{did-update this.autoSizeUpdate}}
|
||||
|
||||
@@ -20,7 +20,6 @@ import { next } from '@ember/runloop';
|
||||
* @param {string} type=array - Optional type for inputValue.
|
||||
* @param {string} attrName - We use this to check the type so we can modify the tooltip content.
|
||||
* @param {string} subText - Text below the label.
|
||||
* @param {boolean} hideFormSection - If true do not add form-section class on surrounding div.
|
||||
*/
|
||||
|
||||
export default class StringList extends Component {
|
||||
|
||||
Reference in New Issue
Block a user