mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-24 09:33:44 +03:00
Release v0.5.2
This commit is contained in:
parent
c2c3e07005
commit
c4dd9025ac
2
dist/redoc.js
vendored
2
dist/redoc.js
vendored
|
@ -41811,7 +41811,7 @@ $__System.register('a', ['3', '4', '5', '6', '7', '11', '21', '28', '9b', 'd', '
|
||||||
JsonSchema = RedocComponent({
|
JsonSchema = RedocComponent({
|
||||||
selector: 'json-schema',
|
selector: 'json-schema',
|
||||||
template: '\n <span *ngIf="isTrivial" class="param-wrap">\n <span class="param-type param-type-trivial {{type}}"\n [ngClass]="{\'with-hint\': _displayTypeHint}" title="{{_displayTypeHint}}">{{_displayType}}</span>\n </span>\n <div *ngIf="!isTrivial" class="params-wrap" [ngClass]="{\'params-array\': isArray}">\n <div *ngFor="#prop of data.properties" class="param-wrap">\n <div class="param" [ngClass]="{\'discriminator\': prop.isDiscriminator}">\n <div class="param-name">\n <span>{{prop._name}}</span>\n </div>\n <div class="param-info">\n <div>\n <span class="param-type {{prop.type}}" [ngClass]="{\'with-hint\': prop._displayTypeHint}"\n title="{{prop._displayTypeHint}}"> {{prop._displayType}} {{prop._displayFormat}}</span>\n <span *ngIf="prop.isRequired" class="param-required">Required</span>\n </div>\n <div class="param-description" innerHtml="{{prop.description | marked}}"></div>\n <div class="discriminator-info" *ngIf="prop.isDiscriminator"> This field value determines the exact schema: </div>\n </div>\n </div>\n <div class="param-schema" [ngClass]="{\'param-array\': prop._isArray}" *ngIf="prop._pointer">\n <json-schema pointer="{{prop._pointer}}" [isArray]=\'prop._isArray\'>\n </json-schema>\n </div>\n </div>\n <div *ngIf="data.derived.length" class="param-wrap">\n <tabs>\n <tab *ngFor="#derived of data.derived" tabTitle="{{derived.name}}">\n <json-schema pointer="{{derived.$ref}}" [final]="derived.final">\n </json-schema>\n </tab>\n </tabs>\n </div>\n </div>\n ',
|
template: '\n <span *ngIf="isTrivial" class="param-wrap">\n <span class="param-type param-type-trivial {{type}}"\n [ngClass]="{\'with-hint\': _displayTypeHint}" title="{{_displayTypeHint}}">{{_displayType}}</span>\n </span>\n <div *ngIf="!isTrivial" class="params-wrap" [ngClass]="{\'params-array\': isArray}">\n <div *ngFor="#prop of data.properties" class="param-wrap">\n <div class="param" [ngClass]="{\'discriminator\': prop.isDiscriminator}">\n <div class="param-name">\n <span>{{prop._name}}</span>\n </div>\n <div class="param-info">\n <div>\n <span class="param-type {{prop.type}}" [ngClass]="{\'with-hint\': prop._displayTypeHint}"\n title="{{prop._displayTypeHint}}"> {{prop._displayType}} {{prop._displayFormat}}</span>\n <span *ngIf="prop.isRequired" class="param-required">Required</span>\n </div>\n <div class="param-description" innerHtml="{{prop.description | marked}}"></div>\n <div class="discriminator-info" *ngIf="prop.isDiscriminator"> This field value determines the exact schema: </div>\n </div>\n </div>\n <div class="param-schema" [ngClass]="{\'param-array\': prop._isArray}" *ngIf="prop._pointer">\n <json-schema pointer="{{prop._pointer}}" [isArray]=\'prop._isArray\'>\n </json-schema>\n </div>\n </div>\n <div *ngIf="data.derived.length" class="param-wrap">\n <tabs>\n <tab *ngFor="#derived of data.derived" tabTitle="{{derived.name}}">\n <json-schema pointer="{{derived.$ref}}" [final]="derived.final">\n </json-schema>\n </tab>\n </tabs>\n </div>\n </div>\n ',
|
||||||
styles: ['\n .param-schema{padding-left:12.5px;border-left:1px solid #7D97CE}.param-wrap{position:relative}.param-schema:before{content:"";position:absolute;left:13.5px;top:20px;bottom:0;border-left:1px solid #7D97CE}.param-name{font-size:14px;padding:10px 25px 10px 0;font-weight:bold;box-sizing:border-box;line-height:20px;border-left:1px solid #7D97CE;white-space:nowrap;position:relative}.param-info{width:100%;padding:10px 0;box-sizing:border-box;border-bottom:1px solid #ccc}.param{display:flex}.param-required{color:red;font-weight:bold;font-size:12px;line-height:20px;vertical-align:middle}.param-type{color:#999;font-size:12px;line-height:20px;vertical-align:middle;font-weight:bold}.param-type.array:before{content:"Array of ";color:#999}.param-type.string{color:rgba(0,80,0,0.7)}.param-type.integer,.param-type.number{color:rgba(74,139,179,0.8)}.param-type.object{color:rgba(0,50,159,0.7)}.param-type.boolean{color:firebrick}.param-type.with-hint{background-color:rgba(0,50,159,0.1);padding:0.2em 0;font-size:0.85em;border-radius:3px;cursor:help}.param-type.with-hint:before,.param-type.with-hint:after{content:"\\00a0"}.param-type-trivial{margin:10px 10px 0;display:inline-block}.param-name>span:before{content:"";display:inline-block;width:7px;height:7px;background-color:#7D97CE;margin:0 10px;vertical-align:middle}.param-name>span:after{content:"";position:absolute;border-top:1px solid #7D97CE;width:10px;left:0;top:20px}.param-wrap:first-of-type>.param>.param-name:before{content:"";display:block;position:absolute;left:-1px;top:0;border-left:2px solid #fff;height:20px}.param-wrap:last-of-type>.param>.param-name{position:static}.param-wrap:last-of-type>.param>.param-name:after{content:"";display:block;position:absolute;left:-1px;border-left:2px solid #fff;top:21px;background-color:white;bottom:0}.param-wrap:last-of-type>.param-schema{border-left-color:transparent}.param-schema .param-wrap:first-of-type .param-name:before{display:none !important}.params-wrap.params-array:before,.params-wrap.params-array:after{display:block;font-weight:bold;color:#999;font-size:12px;line-height:1.5}.params-wrap.params-array:after{content:"]"}.params-wrap.params-array:before{content:"Array [";padding-top:1em}.params-wrap.params-array{padding-left:10px}.param-schema.param-array:before{bottom:9px;width:10px;border-left-style:dashed;border-bottom:1px dashed #7D97CE}.params-wrap.params-array>.param-wrap:first-of-type>.param>.param-name:after{content:"";display:block;position:absolute;left:-1px;top:0;border-left:2px solid #fff;height:20px}.params-wrap>.param>.param-schema.param-array{border-left-color:transparent}.param.discriminator>div{padding-bottom:0;border-bottom:0}.discriminator-info{font-weight:bold}:host tabs{display:block;border-left:1px solid #7D97CE}:host tabs li{margin:0.2em 0.5em 0.2em 0;font-size:14px;border:0;color:white;padding:0 15px;border-radius:10px;background-color:#8A9094}:host tabs li:last-of-type{margin:0}:host tabs li.active{background-color:#00329F}\n '],
|
styles: ['\n .param-schema{padding-left:12.5px;border-left:1px solid #7D97CE}.param-wrap{position:relative}.param-schema:before{content:"";position:absolute;left:13.5px;top:20px;bottom:0;border-left:1px solid #7D97CE}.param-name{font-size:14px;padding:10px 25px 10px 0;font-weight:bold;box-sizing:border-box;line-height:20px;border-left:1px solid #7D97CE;white-space:nowrap;position:relative}.param-info{width:100%;padding:10px 0;box-sizing:border-box;border-bottom:1px solid #ccc}.param{display:flex}.param-required{color:red;font-weight:bold;font-size:12px;line-height:20px;vertical-align:middle}.param-type{color:#999;font-size:12px;line-height:20px;vertical-align:middle;font-weight:bold}.param-type.array:before{content:"Array of ";color:#999}.param-type.string{color:rgba(0,80,0,0.7)}.param-type.integer,.param-type.number{color:rgba(74,139,179,0.8)}.param-type.object{color:rgba(0,50,159,0.7)}.param-type.boolean{color:firebrick}.param-type.with-hint{background-color:rgba(0,50,159,0.1);padding:0.2em 0;font-size:0.85em;border-radius:3px;cursor:help}.param-type.with-hint:before,.param-type.with-hint:after{content:"\\00a0"}.param-type-trivial{margin:10px 10px 0;display:inline-block}.param-name>span:before{content:"";display:inline-block;width:7px;height:7px;background-color:#7D97CE;margin:0 10px;vertical-align:middle}.param-name>span:after{content:"";position:absolute;border-top:1px solid #7D97CE;width:10px;left:0;top:20px}.param-wrap:first-of-type>.param>.param-name:before{content:"";display:block;position:absolute;left:-1px;top:0;border-left:2px solid #fff;height:20px}.param-wrap:last-of-type>.param>.param-name{position:static}.param-wrap:last-of-type>.param>.param-name:after{content:"";display:block;position:absolute;left:-1px;border-left:2px solid #fff;top:21px;background-color:white;bottom:0}.param-wrap:last-of-type>.param-schema{border-left-color:transparent}.param-schema .param-wrap:first-of-type .param-name:before{display:none !important}.params-wrap.params-array:before,.params-wrap.params-array:after{display:block;font-weight:bold;color:#999;font-size:12px;line-height:1.5}.params-wrap.params-array:after{content:"]"}.params-wrap.params-array:before{content:"Array [";padding-top:1em}.params-wrap.params-array{padding-left:10px}.param-schema.param-array:before{bottom:9px;width:10px;border-left-style:dashed;border-bottom:1px dashed #7D97CE}.params-wrap.params-array>.param-wrap:first-of-type>.param>.param-name:after{content:"";display:block;position:absolute;left:-1px;top:0;border-left:2px solid #fff;height:20px}.params-wrap>.param>.param-schema.param-array{border-left-color:transparent}.param.discriminator>div{padding-bottom:0;border-bottom:0}.discriminator-info{font-weight:bold}:host tabs{display:block;border-left:1px solid #7D97CE}:host tabs li{margin:0.2em 0.5em 0.2em 0;font-size:14px;border:0;color:white;padding:0 15px;border-radius:10px;background-color:#8A9094}:host tabs li:last-of-type{margin:0}:host tabs li.active{background-color:#00329F}tabs .params-wrap>.param-wrap:first-of-type .param-name{border-left:0}tabs .params-wrap>.param-wrap:first-of-type .param-name:before{display:none}\n '],
|
||||||
directives: [JsonSchema, Tabs, Tab],
|
directives: [JsonSchema, Tabs, Tab],
|
||||||
inputs: ['isArray', 'final']
|
inputs: ['isArray', 'final']
|
||||||
})(JsonSchema) || JsonSchema;
|
})(JsonSchema) || JsonSchema;
|
||||||
|
|
2
dist/redoc.js.map
vendored
2
dist/redoc.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/redoc.min.js
vendored
2
dist/redoc.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/redoc.min.js.map
vendored
2
dist/redoc.min.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user