mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-24 09:33:44 +03:00
Release v0.7.0
This commit is contained in:
parent
391c278d37
commit
37c4d6c2d5
78
dist/redoc.js
vendored
78
dist/redoc.js
vendored
|
@ -7577,8 +7577,8 @@ $__System.register('4', ['5', '6', '7', '8', '9'], function (_export) {
|
|||
var _ApiInfo = ApiInfo;
|
||||
ApiInfo = RedocComponent({
|
||||
selector: 'api-info',
|
||||
styles: ['\n .api-info-header{color:#00329F;font-weight:normal}\n '],
|
||||
template: '\n <h1 class="api-info-header">{{data.title}} ({{data.version}})</h1>\n <p *ngIf="data.description" innerHtml="{{data.description | marked}}"> </p>\n <p>\n <!-- TODO: create separate components for contact and license ? -->\n <span *ngIf="data.contact"> Contact:\n <a *ngIf="data.contact.url" href="{{data.contact.url}}">\n {{data.contact.name || data.contact.url}}</a>\n <a *ngIf="data.contact.email" href="mailto:{{data.contact.email}}">\n {{data.contact.email}}</a>\n </span>\n <span *ngIf="data.license"> License:\n <a *ngIf="data.license.url" href="{{data.license.url}}"> {{data.license.name}} </a>\n <span *ngIf="!data.license.url"> {{data.license.name}} </span>\n </span>\n </p>\n '
|
||||
styles: ['\n .api-info-header{font-weight:normal}:host>div{width:60%}\n '],
|
||||
template: '\n <div>\n <h1 class="api-info-header">{{data.title}} ({{data.version}})</h1>\n <p *ngIf="data.description" innerHtml="{{data.description | marked}}"> </p>\n <p>\n <!-- TODO: create separate components for contact and license ? -->\n <span *ngIf="data.contact"> Contact:\n <a *ngIf="data.contact.url" href="{{data.contact.url}}">\n {{data.contact.name || data.contact.url}}</a>\n <a *ngIf="data.contact.email" href="mailto:{{data.contact.email}}">\n {{data.contact.email}}</a>\n </span>\n <span *ngIf="data.license"> License:\n <a *ngIf="data.license.url" href="{{data.license.url}}"> {{data.license.name}} </a>\n <span *ngIf="!data.license.url"> {{data.license.name}} </span>\n </span>\n </p>\n </div>\n '
|
||||
})(ApiInfo) || ApiInfo;
|
||||
return ApiInfo;
|
||||
})(BaseComponent);
|
||||
|
@ -7724,8 +7724,8 @@ $__System.register('b', ['5', '6', '7', '8', '9', 'e', 'c', 'd'], function (_exp
|
|||
var _ParamsList = ParamsList;
|
||||
ParamsList = RedocComponent({
|
||||
selector: 'params-list',
|
||||
template: '\n <h2 class="param-list-header" *ngIf="data.params.length"> Parameters </h2>\n <template ngFor [ngForOf]="data.params" #paramType="$implicit">\n <header class="paramType"> {{paramType.place}} Parameters </header>\n <div class="params-wrap">\n <div *ngFor="#param of paramType.params" class="param">\n <div class="param-name">\n <span class="param-name-content"> {{param.name}} </span>\n </div>\n <div class="param-info">\n <div>\n <span class="param-type {{param.type}}" [ngClass]="{\'with-hint\': param._displayTypeHint}"\n title="{{param._displayTypeHint}}"> {{param._displayType}} {{param._displayFormat}}</span>\n <span *ngIf="param.required" class="param-required">Required</span>\n <div *ngIf="param.enum" class="param-enum">\n <span *ngFor="#enumItem of param.enum" class="enum-value {{enumItem.type}}"> {{enumItem.val | json}} </span>\n </div>\n </div>\n <div class="param-description" innerHtml="{{param.description | marked}}"></div>\n </div>\n </div>\n </div>\n </template>\n\n <div *ngIf="data.bodyParam">\n <h2 class="param-list-header" *ngIf="data.bodyParam"> Request Body </h2>\n\n <div class="body-param-description" innerHtml="{{data.bodyParam.description | marked}}"></div>\n <div>\n <json-schema-lazy [auto]="true" pointer="{{data.bodyParam.pointer}}/schema">\n </json-schema-lazy>\n </div>\n </div>\n ',
|
||||
styles: ['\n .param-list-header{border-bottom:1px solid #999;font-size:18px;padding:0.2em 0;margin:0.5em 0;color:#253137;font-weight:normal}.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{flex-grow:0;-ms-flex-grow:0;display:inline-block;font-size:14px;padding:10px 0 10px 0;font-weight:bold;box-sizing:border-box;line-height:20px;border-left:1px solid #7D97CE;white-space:nowrap;position:relative}.param-name-content{padding-right:25px;display:inline-block}.param-info{flex-grow:1;-ms-flex-grow:1;padding:10px 0;box-sizing:border-box;border-bottom:1px solid #ccc;display:inline-block}.param{display:flex;display:-ms-flexbox}.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,.enum-value.string{color:rgba(0,80,0,0.7)}.param-type.integer,.param-type.number,.enum-value.number{color:rgba(74,139,179,0.8)}.param-type.object{color:rgba(0,50,159,0.7)}.param-type.boolean,.enum-value.boolean{color:firebrick}.param-type.with-hint{display:inline-block;margin-bottom:0.4em;border-bottom:1px dotted rgba(38,50,56,0.4);padding:0;cursor:help}.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}.param-enum{color:#666}.param-enum:before{content:"Values: {"}.param-enum:after{content:"}"}.param-enum>.enum-value:after{content:", "}.param-enum>.enum-value:last-of-type:after{content:none}header.paramType{margin:10px 0;text-transform:capitalize}.params-wrap{display:table;width:100%}.param-name{display:table-cell;vertical-align:top}.param-info{display:table-cell;width:100%}.param{display:table-row}.param:last-of-type>.param-name{border-left:0}.param:last-of-type>.param-name:after{content:"";display:block;position:absolute;left:0;border-left:1px solid #7D97CE;height:21px;background-color:white;top:0}.param:first-of-type .param-name:after{content:"";display:block;position:absolute;left:-1px;border-left:2px solid #fff;height:20px;background-color:white;top:0}\n '],
|
||||
template: '\n <h5 class="param-list-header" *ngIf="data.params.length"> Parameters </h5>\n <template ngFor [ngForOf]="data.params" #paramType="$implicit">\n <header class="paramType"> {{paramType.place}} Parameters </header>\n <br>\n <div class="params-wrap">\n <div *ngFor="#param of paramType.params" class="param">\n <div class="param-name">\n <span class="param-name-content"> {{param.name}} </span>\n </div>\n <div class="param-info">\n <div>\n <span class="param-type {{param.type}}" [ngClass]="{\'with-hint\': param._displayTypeHint}"\n title="{{param._displayTypeHint}}"> {{param._displayType}} {{param._displayFormat}}</span>\n <span *ngIf="param.required" class="param-required">Required</span>\n <div *ngIf="param.enum" class="param-enum">\n <span *ngFor="#enumItem of param.enum" class="enum-value {{enumItem.type}}"> {{enumItem.val | json}} </span>\n </div>\n </div>\n <div class="param-description" innerHtml="{{param.description | marked}}"></div>\n </div>\n </div>\n </div>\n </template>\n\n <div *ngIf="data.bodyParam">\n <h5 class="param-list-header" *ngIf="data.bodyParam"> Request Body </h5>\n\n <div class="body-param-description" innerHtml="{{data.bodyParam.description | marked}}"></div>\n <div>\n <br>\n <json-schema-lazy [auto]="true" pointer="{{data.bodyParam.pointer}}/schema">\n </json-schema-lazy>\n </div>\n </div>\n ',
|
||||
styles: ['\n .param-list-header{border-bottom:1px solid rgba(38,50,56,0.3);padding:0.2em 0;margin:3.5em 0 .8em 0;color:rgba(38,50,56,0.5);font-weight:normal;text-transform:uppercase}.param-name{font-size:0.929em;padding:10px 0 10px 0;font-weight:400;box-sizing:border-box;line-height:20px;border-left:1px solid rgba(0,51,160,0.5);white-space:nowrap;position:relative;vertical-align:top}.param-name-content{padding-right:25px;display:inline-block}.param-info{padding:10px 0;box-sizing:border-box;border-bottom:1px solid #ccc;width:75%}.param-description{font-size:13px}.param-required{color:red;font-weight:bold;font-size:12px;line-height:20px;vertical-align:middle}.param-type{color:#263238;font-size:0.929em;line-height:20px;vertical-align:middle;font-weight:normal}.param-type.array:before{content:"Array of ";color:#263238;font-weight:300}.param-type{color:rgba(38,50,56,0.4)}.param-type.with-hint{display:inline-block;margin-bottom:0.4em;border-bottom:1px dotted rgba(38,50,56,0.4);padding:0;cursor:help}.param-type-trivial{margin:10px 10px 0;display:inline-block}.param-name>span:before{content:"";display:inline-block;width:1px;height:7px;background-color:#0033a0;margin:0 10px;vertical-align:middle}.param-name>span:after{content:"";position:absolute;border-top:1px solid rgba(0,51,160,0.5);width:10px;left:0;top:20px}.param:first-of-type>.param-name:before{content:"";display:block;position:absolute;left:-1px;top:0;border-left:2px solid #fff;height:20px}.param:last-of-type>.param-name{position:relative}.param:last-of-type>.param-name:after{content:"";display:block;position:absolute;left:-2px;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}.param-enum{color:#263238;font-size:13px}.param-enum:before{content:"Values: {"}.param-enum:after{content:"}"}.param-enum>.enum-value:after{content:", "}.param-enum>.enum-value:last-of-type:after{content:none}header.paramType{margin:10px 0;text-transform:capitalize}.params-wrap{display:table;width:100%}.param-name{display:table-cell;vertical-align:top}.param-info{display:table-cell;width:100%}.param{display:table-row}.param:last-of-type>.param-name{border-left:0}.param:last-of-type>.param-name:after{content:"";display:block;position:absolute;left:0;border-left:1px solid rgba(0,51,160,0.5);height:21px;background-color:white;top:0}.param:first-of-type .param-name:after{content:"";display:block;position:absolute;left:-1px;border-left:2px solid #fff;height:20px;background-color:white;top:0}\n '],
|
||||
directives: [JsonSchema, JsonSchemaLazy]
|
||||
})(ParamsList) || ParamsList;
|
||||
return ParamsList;
|
||||
|
@ -7817,7 +7817,7 @@ $__System.register('f', ['5', '6', '7', '8', '9', '10', '11', '12', '13', '14',
|
|||
RequestSamples = RedocComponent({
|
||||
selector: 'request-samples',
|
||||
template: '\n <header *ngIf="data.bodySchemaPtr || data.samples.length"> Request samples </header>\n <schema-sample *ngIf="!data.samples.length" [pointer]="data.bodySchemaPtr"> </schema-sample>\n <tabs *ngIf="data.samples.length" (change)=changeLangNotify($event)>\n <tab tabTitle="JSON">\n <schema-sample [pointer]="data.bodySchemaPtr"> </schema-sample>\n </tab>\n <tab *ngFor="#sample of data.samples" [tabTitle]="sample.lang">\n <pre innerHtml="{{sample.source | prism:sample.lang}}"></pre>\n </tab>\n </tabs>\n ',
|
||||
styles: ['\n header{font-size:16px;margin:5px 0;color:#8A9094;text-transform:uppercase;font-weight:normal}:host>tabs>ul li{font-size:13px;margin:2px 0;padding:2px 5px;color:#8A9094;line-height:1.25;color:#8A9094}:host>tabs>ul li.active{background-color:white;color:#666}:host tabs ul{padding-top:10px}pre{overflow-x:auto;word-break:break-all;word-wrap:break-word;white-space:pre-wrap}\n '],
|
||||
styles: ['\n header{font-family:Montserrat;font-size:0.929em;text-transform:uppercase;margin:0;color:#9fb4be;text-transform:uppercase;font-weight:normal}:host>tabs>ul li{font-family:Montserrat;font-size:.9em;border-radius:2px;margin:2px 0;padding:3px 10px 2px 10px;line-height:1.25;color:#9fb4be}:host>tabs>ul li.hover{background-color:rgba(255,255,255,0.1);color:#ffffff}:host>tabs>ul li.active{background-color:#ffffff;color:#263238}:host tabs ul{padding-top:10px}pre{overflow-x:auto;word-break:break-all;word-wrap:break-word;white-space:pre-wrap}\n '],
|
||||
directives: [SchemaSample, Tabs, Tab],
|
||||
inputs: ['bodySchemaPtr'],
|
||||
pipes: [PrismPipe],
|
||||
|
@ -7909,8 +7909,8 @@ $__System.register('16', ['5', '6', '7', '8', '9', '10', '12', '17', '18', 'b',
|
|||
var _Method = Method;
|
||||
Method = RedocComponent({
|
||||
selector: 'method',
|
||||
template: '\n <div class="method">\n <div class="method-content">\n <h2 class="method-header sharable-header">\n <a class="share-link" href="#{{data.methodAnchor}}"></a>{{data.methodInfo.summary}}\n </h2>\n <h3 class="method-endpoint">\n <span class="http-method" [ngClass]="data.httpMethod">{{data.httpMethod}}</span>\n <span class="api-url">{{data.apiUrl}}</span> <span class="path">{{data.path}}</span>\n </h3>\n <div class="method-tags" *ngIf="data.methodInfo.tags.length">\n <a *ngFor="#tag of data.methodInfo.tags" attr.href="#{{tag}}"> {{tag}} </a>\n </div>\n <p *ngIf="data.methodInfo.description" class="method-description"\n innerHtml="{{data.methodInfo.description | marked}}">\n </p>\n <params-list pointer="{{pointer}}/parameters"> </params-list>\n <responses-list pointer="{{pointer}}/responses"> </responses-list>\n </div>\n <div class="method-samples">\n <div *ngIf="data.bodyParam">\n <request-samples [pointer]="pointer" [bodySchemaPtr]="data.bodyParam._pointer">\n </request-samples>\n </div>\n <div>\n <responses-samples pointer="{{pointer}}/responses"> </responses-samples>\n </div>\n </div>\n <div>\n ',
|
||||
styles: ['\n .share-link{cursor:pointer;margin-left:-15px;padding:0;line-height:1;width:15px;display:inline-block}.share-link:before{content:"";width:15px;height:15px;background-size:contain;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==");opacity:0.5;visibility:hidden;display:inline-block;vertical-align:middle}.sharable-header:hover .share-link:before,.share-link:hover:before{visibility:visible}:host{padding-bottom:100px;display:block;border-bottom:2px solid rgba(127,127,127,0.25)}responses-list,params-list{display:block}.method-header{font-size:25px;font-weight:200;color:#253137}.method-endpoint{margin:0;font-weight:200;font-size:0}.method-endpoint>span{padding-top:3px;padding-bottom:3px;vertical-align:middle;font-size:14px}.api-url{color:#999;margin-left:10px}.path{font-family:monospace;font-weight:bold;color:#00329F}.method-tags{margin-top:20px}.method-tags a{font-size:16px;color:#999;display:inline-block;padding:0 0.5em;text-decoration:none}.method-tags a:before{content:\'#\';margin-right:-0.4em}.method-tags a:first-of-type{padding:0}.method-content,.method-samples{display:block;box-sizing:border-box;float:left}.method-content{width:60%;padding:0 20px}.method-samples{color:#CFD2D3;width:40%;padding:10px 20px;background:#263238}responses-samples{display:block}.method-samples header{font-size:16px;margin:5px 0;color:#8A9094;text-transform:uppercase}.method-samples schema-sample{display:block}.method:after{content:"";display:table;clear:both}.method-description{padding:30px 0;margin:0}.http-method{color:white;background-color:#1976D3;padding:3px 10px;text-transform:uppercase}.http-method.delete{background-color:red}.http-method.post{background-color:#00329F}.http-method.patch{background-color:orange}.http-method.put{background-color:crimson}.http-method.options{background-color:black}.http-method.head{background-color:darkkhaki}@media (max-width: 1100px){.methods:before{display:none}.method-samples,.method-content{width:100%}.method-samples{margin-top:2em}:host{padding-bottom:0}}\n '],
|
||||
template: '\n <div class="method">\n <div class="method-content">\n <h2 class="method-header sharable-header">\n <a class="share-link" href="#{{data.methodAnchor}}"></a>{{data.methodInfo.summary}}\n </h2>\n <div class="method-tags" *ngIf="data.methodInfo.tags.length">\n <a *ngFor="#tag of data.methodInfo.tags" attr.href="#{{tag}}"> {{tag}} </a>\n </div>\n <p *ngIf="data.methodInfo.description" class="method-description"\n innerHtml="{{data.methodInfo.description | marked}}">\n </p>\n <params-list pointer="{{pointer}}/parameters"> </params-list>\n <responses-list pointer="{{pointer}}/responses"> </responses-list>\n </div>\n <div class="method-samples">\n <h5>Definition</h5>\n <span class="method-endpoint">\n <h5 class="http-method" [ngClass]="data.httpMethod">{{data.httpMethod}}</h5>\n <span class="api-url">{{data.apiUrl}}</span> <span class="path">{{data.path}}</span>\n </span>\n <div *ngIf="data.bodyParam">\n <br>\n <request-samples [pointer]="pointer" [bodySchemaPtr]="data.bodyParam._pointer">\n </request-samples>\n </div>\n <div>\n <br>\n <responses-samples pointer="{{pointer}}/responses"> </responses-samples>\n </div>\n </div>\n <div>\n ',
|
||||
styles: ['\n .share-link{cursor:pointer;margin-left:-15px;padding:0;line-height:1;width:15px;display:inline-block}.share-link:before{content:"";width:15px;height:15px;background-size:contain;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==");opacity:0.5;visibility:hidden;display:inline-block;vertical-align:middle}.sharable-header{color:#263238}.sharable-header:hover .share-link:before,.share-link:hover:before{visibility:visible}:host{padding-bottom:100px;display:block;border-bottom:1px solid rgba(127,127,127,0.25)}responses-list,params-list{display:block}.method-header{margin-bottom:.9em}.method-endpoint{margin:0 0 2em 0;padding:10px 20px;border-radius:4px;background-color:#222d32;display:block;font-weight:300}.method-endpoint>h5{padding-top:1px;padding-bottom:0;margin:0;font-size:.8em;color:#263238;vertical-align:middle;display:inline-block;border-radius:2px}.api-url{color:rgba(255,255,255,0.8);margin-left:10px;margin-top:2px;position:relative;top:1px;font-family:Montserrat,sans-serif;font-size:0.929em !important}.path{font-family:Montserrat,sans-serif;position:relative;top:1px;color:#ffffff;font-size:0.929em !important}.method-tags{margin-top:20px}.method-tags a{font-size:16px;color:#999;display:inline-block;padding:0 0.5em;text-decoration:none}.method-tags a:before{content:\'#\';margin-right:-0.4em}.method-tags a:first-of-type{padding:0}.method-content,.method-samples{display:block;box-sizing:border-box;float:left}.method-content{width:60%;padding:40px}.method-samples{color:#fafbfc;width:40%;padding:40px;background:#263238}responses-samples{display:block}.method-samples header,.method-samples>h5{color:#9fb4be;text-transform:uppercase}.method-samples>h5{margin-bottom:8px}.method-samples schema-sample{display:block}.method:after{content:"";display:table;clear:both}.method-description{padding:6px 0 10px 0;margin:0}.http-method{color:#263238;background:#ffffff;padding:3px 10px;text-transform:uppercase}@media (max-width: 1100px){.methods:before{display:none}.method-samples,.method-content{width:100%}.method-samples{margin-top:2em}:host{padding-bottom:0}}\n '],
|
||||
directives: [ParamsList, ResponsesList, ResponsesSamples, SchemaSample, RequestSamples],
|
||||
inputs: ['tag']
|
||||
})(Method) || Method;
|
||||
|
@ -7993,7 +7993,7 @@ $__System.register('19', ['5', '6', '7', '8', '9', '13', '16', '1a', '1b'], func
|
|||
MethodsList = RedocComponent({
|
||||
selector: 'methods-list',
|
||||
template: '\n <div class="methods">\n <div class="tag" *ngFor="#tag of data.tags">\n <div class="tag-info" [attr.tag]="tag.name">\n <h1 class="sharable-header"> <a class="share-link" href="#tag/{{tag.name | encodeURIComponent}}"></a>{{tag.name}} </h1>\n <p *ngIf="tag.description" innerHtml="{{ tag.description | marked }}"> </p>\n </div>\n <method *ngFor="#method of tag.methods" [pointer]="method.pointer" [attr.pointer]="method.pointer"\n [attr.tag]="method.tag" [tag]="method.tag" [attr.operation-id]="method.operationId"></method>\n </div>\n </div>\n ',
|
||||
styles: ['\n .share-link{cursor:pointer;margin-left:-15px;padding:0;line-height:1;width:15px;display:inline-block}.share-link:before{content:"";width:15px;height:15px;background-size:contain;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==");opacity:0.5;visibility:hidden;display:inline-block;vertical-align:middle}.sharable-header:hover .share-link:before,.share-link:hover:before{visibility:visible}.tag-info{padding:0 20px;box-sizing:border-box;background-color:white}.tag-info:after,.tag-info:before{content:"";display:table}.tag-info h1{color:#00329F;text-transform:capitalize;font-weight:normal}.methods{display:block;position:relative}.methods:before{content:"";background:#263238;height:100%;width:40%;top:0;right:0;position:absolute;z-index:-1}@media (max-width: 1100px){.methods:before{display:none}}\n '],
|
||||
styles: ['\n .share-link{cursor:pointer;margin-left:-15px;padding:0;line-height:1;width:15px;display:inline-block}.share-link:before{content:"";width:15px;height:15px;background-size:contain;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==");opacity:0.5;visibility:hidden;display:inline-block;vertical-align:middle}.sharable-header{color:#263238}.sharable-header:hover .share-link:before,.share-link:hover:before{visibility:visible}.tag-info{padding:40px;box-sizing:border-box;background-color:white;width:60%}.tag-info:after,.tag-info:before{content:"";display:table}.tag-info h1{color:#0033a0;text-transform:capitalize;font-weight:normal}.methods{display:block;position:relative}\n '],
|
||||
directives: [Method],
|
||||
pipes: [EncodeURIComponentPipe]
|
||||
})(MethodsList) || MethodsList;
|
||||
|
@ -8255,7 +8255,7 @@ $__System.register('1f', ['3', '4', '5', '6', '7', '8', '9', '14', '15', '19', '
|
|||
selector: 'redoc',
|
||||
providers: [SchemaManager, BrowserDomAdapter],
|
||||
template: '\n <div class="redoc-wrap">\n <div class="menu-content" sticky-sidebar [scrollParent]="options.$scrollParent" [scrollYOffset]="options.scrollYOffset">\n <api-logo> </api-logo>\n <side-menu> </side-menu>\n </div>\n <div id="api-content">\n <api-info> </api-info>\n <methods-list> </methods-list>\n <footer>\n <div class="powered-by-badge">\n <a href="https://github.com/Rebilly/ReDoc" title="Swagger-generated API Reference Documentation" target="_blank">\n Powered by <strong>ReDoc</strong>\n </a>\n </div>\n </footer>\n </div>\n </div>\n ',
|
||||
styles: ['\n :host{display:block;box-sizing:border-box}.redoc-wrap{position:relative}side-menu{display:block;box-sizing:border-box}methods-list{display:block;overflow:hidden}api-info,.side-bar{display:block;padding:10px 0}api-info{padding:10px 20px}api-logo{display:block;text-align:center}@media (max-width: 1000px){api-logo{display:none}}[sticky-sidebar]{width:260px;background-color:#FAFAFA;overflow-y:auto;overflow-x:hidden}@media (max-width: 1000px){[sticky-sidebar]{z-index:1;width:100%;bottom:auto !important}}#api-content{margin-left:260px}@media (max-width: 1000px){#api-content{padding-top:3em;margin-left:0}}#api-content:after{content:"";position:absolute;left:0;right:0;top:0;bottom:0;background-color:black;opacity:0.5;transition:all 0.3s ease;display:none}#api-content.menu-opened:after{display:block}footer{text-align:right;padding:10px;font-size:15px}footer a{color:#999;text-decoration:none}footer strong{font-size:18px;color:#00329F}:host p{margin:0;margin-bottom:1em}:host .redoc-markdown-block pre{font-family:Courier, monospace;white-space:pre-wrap;background-color:rgba(0,0,0,0.04);padding:10px;overflow-x:auto;line-height:normal;border-radius:3px}:host .redoc-markdown-block pre code{background-color:transparent}:host .redoc-markdown-block pre code:before,:host .redoc-markdown-block pre code:after{content:none}:host .redoc-markdown-block code{font-family:Courier, monospace;background-color:rgba(0,0,0,0.04);padding:0.2em 0;font-size:0.85em;border-radius:3px}:host .redoc-markdown-block code:before,:host .redoc-markdown-block code:after{letter-spacing:-0.2em;content:"\\00a0"}:host .redoc-markdown-block p{margin:0;margin-bottom:1em}:host .redoc-markdown-block p:last-of-type{margin-bottom:0}:host .redoc-markdown-block blockquote{margin:0;margin-bottom:1em;padding:0 15px;color:#777;border-left:4px solid #ddd}:host .redoc-markdown-block img{max-width:100%;box-sizing:content-box}:host .redoc-markdown-block ul,:host .redoc-markdown-block ol{padding-left:2em;margin:0;margin-bottom:1em}:host .redoc-markdown-block table{display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all;border-collapse:collapse;border-spacing:0;margin-top:0.5em;margin-bottom:0.5em}:host .redoc-markdown-block table tr{background-color:#fff;border-top:1px solid #ccc}:host .redoc-markdown-block table tr:nth-child(2n){background-color:#f8f8f8}:host .redoc-markdown-block table th,:host .redoc-markdown-block table td{padding:6px 13px;border:1px solid #ddd}:host .redoc-markdown-block table th{text-align:left;font-weight:bold}\n '],
|
||||
styles: ['\n :host{display:block;box-sizing:border-box}.redoc-wrap{position:relative;font-family:Roboto,sans-serif;font-size:14px;line-height:1.55em;color:#263238}side-menu{display:block;box-sizing:border-box}methods-list{display:block;overflow:hidden}api-info,.side-bar{display:block;padding:10px 0}api-info{padding:40px}api-logo{display:block;text-align:center}@media (max-width: 1000px){api-logo{display:none}}[sticky-sidebar]{width:260px;background-color:#FAFAFA;overflow-y:auto;overflow-x:hidden}@media (max-width: 1000px){[sticky-sidebar]{z-index:1;width:100%;bottom:auto !important}}#api-content{margin-left:260px;position:relative}@media (max-width: 1000px){#api-content{padding-top:3em;margin-left:0}}#api-content:before{content:"";background:#263238;height:100%;width:40%;top:0;right:0;position:absolute;z-index:-1}@media (max-width: 1100px){#api-content:before{display:none}}:host h1{margin-top:0;font-family:Montserrat,sans-serif;color:#0033a0;font-weight:400}:host h2{margin-top:0;font-family:Montserrat,sans-serif;color:#0033a0;font-weight:400}:host h3{margin-top:0;font-family:Montserrat,sans-serif;color:#0033a0;font-weight:400}:host h4{margin-top:0;font-family:Montserrat,sans-serif;color:#0033a0;font-weight:400}:host h5{margin-top:0;font-family:Montserrat,sans-serif;color:#0033a0;font-weight:400}:host h1{font-size:1.85714em}:host h2{font-size:1.57143em}:host h3{font-size:1.28571em}:host h4{font-size:1.14286em}:host h5{font-size:0.929em}:host p{font-family:Roboto,sans-serif;font-weight:300;margin:0;margin-bottom:1em;line-height:1.55em}:host a{text-decoration:none;color:#0033a0}:host p>code{color:#e53935;border:1px solid rgba(38,50,56,0.1)}:host strong{font-size:18px;color:#0033a0}:host footer{text-align:right;padding:10px;font-size:15px}:host .redoc-markdown-block pre{font-family:Courier, monospace;white-space:pre-wrap;background-color:rgba(38,50,56,0.04);padding:12px 14px 15px 14px;overflow-x:auto;line-height:normal;border-radius:2px;border:1px solid rgba(38,50,56,0.1)}:host .redoc-markdown-block pre code{background-color:transparent}:host .redoc-markdown-block pre code:before,:host .redoc-markdown-block pre code:after{content:none}:host .redoc-markdown-block code{font-family:Courier, monospace;background-color:rgba(38,50,56,0.04);padding:0.1em 0 0.2em 0;font-size:1em;border-radius:2px}:host .redoc-markdown-block code:before,:host .redoc-markdown-block code:after{letter-spacing:-0.2em;content:"\\00a0"}:host .redoc-markdown-block p:last-of-type{margin-bottom:0}:host .redoc-markdown-block blockquote{margin:0;margin-bottom:1em;padding:0 15px;color:#777;border-left:4px solid #ddd}:host .redoc-markdown-block img{max-width:100%;box-sizing:content-box}:host .redoc-markdown-block ul,:host .redoc-markdown-block ol{padding-left:2em;margin:0;margin-bottom:1em}:host .redoc-markdown-block table{display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all;border-collapse:collapse;border-spacing:0;margin-top:0.5em;margin-bottom:0.5em}:host .redoc-markdown-block table tr{background-color:#fff;border-top:1px solid #ccc}:host .redoc-markdown-block table tr:nth-child(2n){background-color:#f8f8f8}:host .redoc-markdown-block table th,:host .redoc-markdown-block table td{padding:6px 13px;border:1px solid #ddd}:host .redoc-markdown-block table th{text-align:left;font-weight:bold}\n '],
|
||||
directives: [ApiInfo, ApiLogo, MethodsList, SideMenu, StickySidebar],
|
||||
changeDetection: ChangeDetectionStrategy.Default
|
||||
})(Redoc) || Redoc;
|
||||
|
@ -8431,7 +8431,7 @@ $__System.register('25', ['8', '9', '15', '23'], function (_export) {
|
|||
var _Zippy = Zippy;
|
||||
Zippy = View({
|
||||
template: '\n <div class="zippy zippy-{{type}}" [ngClass]="{\'zippy-empty\': empty}">\n <div class="zippy-title" (click)="toggle()">\n <span class="zippy-indicator">{{ visible ? \'▾\' : \'▸\' }}</span>\n {{title}}\n </div>\n <div class="zippy-content" [ngClass]="{\'zippy-hidden\': !visible}">\n <ng-content></ng-content>\n </div>\n </div>\n ',
|
||||
styles: ['\n .zippy-title{padding:10px;margin:2px 0;line-height:1.5em;background-color:#f2f2f2;cursor:pointer}.zippy-success>.zippy-title{color:#09AC1C;background-color:#E1F5E3}.zippy-error>.zippy-title{color:#E54541;background-color:#FBE7E7}.zippy-redirect>.zippy-title{color:#AC7C09;background-color:#F5F0E1}.zippy-info>.zippy-title{color:#096DAC;background-color:#E1EFF5}span.zippy-indicator{font-size:1.5em;line-height:1;margin-right:0.2em;vertical-align:text-bottom}.zippy-content{padding:15px 0}.zippy-empty .zippy-title{cursor:default}.zippy-empty .zippy-indicator{display:none}.zippy-empty .zippy-content{display:none}.zippy-hidden{overflow:hidden;visibility:hidden;height:0;padding:0}\n '],
|
||||
styles: ['\n .zippy-title{padding:10px;border-radius:2px;margin:2px 0;line-height:1.5em;background-color:#f2f2f2;cursor:pointer}.zippy-success>.zippy-title{color:#00aa13;background-color:rgba(0,170,19,0.08)}.zippy-error>.zippy-title{color:#e53935;background-color:rgba(229,57,53,0.06)}.zippy-redirect>.zippy-title{color:#263238;background-color:rgba(38,50,56,0.08)}.zippy-info>.zippy-title{color:#0033a0;background-color:rgba(0,51,160,0.08)}span.zippy-indicator{font-size:1.2em;margin-right:0.2em;position:relative;top:0}.zippy-content{padding:15px 0}.zippy-empty .zippy-title{cursor:default}.zippy-empty .zippy-indicator{display:none}.zippy-empty .zippy-content{display:none}.zippy-hidden{overflow:hidden;visibility:hidden;height:0;padding:0}\n '],
|
||||
directives: [CORE_DIRECTIVES]
|
||||
})(Zippy) || Zippy;
|
||||
Zippy = Component({
|
||||
|
@ -8539,8 +8539,8 @@ $__System.register('17', ['5', '6', '7', '8', '9', '10', '22', '25', '26', 'e',
|
|||
ResponsesList = Reflect.metadata('parameters', [[SchemaManager], [OptionsManager]])(ResponsesList) || ResponsesList;
|
||||
ResponsesList = RedocComponent({
|
||||
selector: 'responses-list',
|
||||
template: '\n <h2 class="responses-list-header" *ngIf="data.responses.length"> Responses </h2>\n <zippy *ngFor="#response of data.responses" title="{{response.code}} {{response.description}}"\n [type]="response.type" [empty]="response.empty" (open)="lazySchema.load()">\n <div *ngIf="response.headers" class="response-headers">\n <header>\n Headers\n </header>\n <div class="header" *ngFor="#header of response.headers">\n <div class="header-name"> {{header.name}} </div>\n <div class="header-type"> {{header.type}} </div>\n <div class="header-description" innerHtml="{{header.description | marked}}"> </div>\n </div>\n </div>\n <header>\n Response schema\n </header>\n <json-schema *ngIf="response.schema && options.disableLazySchemas" class="schema type" pointer="{{response.pointer}}/schema">\n </json-schema>\n <json-schema-lazy #lazySchema pointer="{{response.schema ? response.pointer + \'/schema\' : null}}">\n </json-schema-lazy>\n </zippy>\n ',
|
||||
styles: ['\n .responses-list-header{font-size:18px;padding:0.2em 0;margin:0.5em 0;color:#253137;font-weight:normal}.header-name{font-weight:bold;display:inline-block}.header-type{display:inline-block;font-weight:bold;color:#999}header{font-size:14px;font-weight:bold;text-transform:uppercase;margin-bottom:15px}.header{margin-bottom:10px}\n '],
|
||||
template: '\n <h2 class="responses-list-header" *ngIf="data.responses.length"> Responses </h2>\n <zippy *ngFor="#response of data.responses" title="{{response.code}} {{response.description}}"\n [type]="response.type" [empty]="response.empty" (open)="lazySchema.load()">\n <div *ngIf="response.headers" class="response-headers">\n <header>\n Headers\n </header>\n <div class="header" *ngFor="#header of response.headers">\n <div class="header-name"> {{header.name}} </div>\n <div class="header-type"> {{header.type}} </div>\n <div class="header-description" innerHtml="{{header.description | marked}}"> </div>\n </div>\n </div>\n <json-schema *ngIf="response.schema && options.disableLazySchemas" class="schema type" pointer="{{response.pointer}}/schema">\n </json-schema>\n <json-schema-lazy #lazySchema pointer="{{response.schema ? response.pointer + \'/schema\' : null}}">\n </json-schema-lazy>\n </zippy>\n ',
|
||||
styles: ['\n .responses-list-header{font-size:18px;padding:0.2em 0;margin:3em 0 1.1em 0;color:#253137;font-weight:normal}.header-name{font-weight:bold;display:inline-block}.header-type{display:inline-block;font-weight:bold;color:#999}header{font-size:14px;font-weight:bold;text-transform:uppercase;margin-bottom:15px}.header{margin-bottom:10px}\n '],
|
||||
directives: [JsonSchema, Zippy, JsonSchemaLazy]
|
||||
})(ResponsesList) || ResponsesList;
|
||||
return ResponsesList;
|
||||
|
@ -8658,8 +8658,8 @@ $__System.register('18', ['5', '6', '7', '8', '9', '10', '11', '12', '26', 'e'],
|
|||
var _ResponsesSamples = ResponsesSamples;
|
||||
ResponsesSamples = RedocComponent({
|
||||
selector: 'responses-samples',
|
||||
template: '\n <header *ngIf="data.responses.length"> Responses samples </header>\n <tabs *ngIf="data.responses.length">\n <tab *ngFor="#response of data.responses" tabTitle="{{response.code}} {{response.description}}"\n [tabStatus]="response.type">\n <schema-sample [pointer]="response.pointer"></schema-sample>\n </tab>\n </tabs>\n ',
|
||||
styles: ['\n tab,tabs{display:block}schema-sample{display:block}header{font-size:16px;margin:5px 0;color:#8A9094;text-transform:uppercase;font-weight:normal}:host>tabs>ul li{font-size:13px;margin:2px 0;padding:2px 5px;color:#8A9094;line-height:1.25;color:#8A9094}:host>tabs>ul li.active{background-color:white;color:#666}:host tabs ul{padding-top:10px}\n '],
|
||||
template: '\n <header *ngIf="data.responses.length"> Response samples </header>\n <tabs *ngIf="data.responses.length">\n <tab *ngFor="#response of data.responses" tabTitle="{{response.code}} {{response.description}}"\n [tabStatus]="response.type">\n <schema-sample [pointer]="response.pointer"></schema-sample>\n </tab>\n </tabs>\n ',
|
||||
styles: ['\n tab,tabs{display:block}schema-sample{display:block}header{font-family:Montserrat;font-size:0.929em;text-transform:uppercase;margin:0;color:#9fb4be;text-transform:uppercase;font-weight:normal}:host>tabs>ul li{font-family:Montserrat;font-size:0.929em;border-radius:2px;margin:2px 0;padding:2px 8px 3px 8px;color:#9fb4be;line-height:1.25}:host>tabs>ul li:hover{color:#ffffff;background-color:rgba(255,255,255,0.1)}:host>tabs>ul li.active{background-color:white;color:#263238}:host tabs ul{padding-top:10px}\n '],
|
||||
directives: [SchemaSample, Tabs, Tab]
|
||||
})(ResponsesSamples) || ResponsesSamples;
|
||||
return ResponsesSamples;
|
||||
|
@ -8969,7 +8969,7 @@ $__System.register('12', ['5', '6', '7', '8', '9', '15', '29', '2a'], function (
|
|||
selector: 'schema-sample',
|
||||
template: '\n <div class="snippet">\n <!-- in case sample is not available for some reason -->\n <pre *ngIf="data.sample == null"> Sample unavailable </pre>\n <pre innerHtml="{{data.sample | jsonFormatter}}"></pre>\n </div>\n ',
|
||||
pipes: [JsonFormatter],
|
||||
styles: ['\n pre{background-color:transparent;padding:0}:host .type-null{color:gray}:host .type-boolean{color:firebrick}:host .type-number{color:#4A8BB3}:host .type-string{color:#66B16E}:host .callback-function{color:gray}:host .collapser:after{content:"-";cursor:pointer}:host .collapsed>.collapser:after{content:"+";cursor:pointer}:host .ellipsis:after{content:" … "}:host .collapsible{margin-left:2em}:host .hoverable{padding-top:1px;padding-bottom:1px;padding-left:2px;padding-right:2px;border-radius:2px}:host .hovered{background-color:#ebeef9}:host .collapser{padding-right:6px;padding-left:6px}:host ul,:host .redoc-json ul{list-style-type:none;padding:0px;margin:0px 0px 0px 26px}:host li{position:relative}:host .hoverable{transition:background-color .2s ease-out 0s;-webkit-transition:background-color .2s ease-out 0s;display:inline-block}:host .hovered{transition-delay:.2s;-webkit-transition-delay:.2s}:host .selected{outline-style:solid;outline-width:1px;outline-style:dotted}:host .collapsed>.collapsible{display:none}:host .ellipsis{display:none}:host .collapsed>.ellipsis{display:inherit}:host .collapser{position:absolute;top:1px;left:-1.5em;cursor:default;user-select:none;-webkit-user-select:none}\n ']
|
||||
styles: ['\n pre{background-color:transparent;padding:0}:host .type-null{color:gray}:host .type-boolean{color:firebrick}:host .type-number{color:#4A8BB3}:host .type-string{color:#66B16E}:host .callback-function{color:gray}:host .collapser:after{content:"-";cursor:pointer}:host .collapsed>.collapser:after{content:"+";cursor:pointer}:host .ellipsis:after{content:" … "}:host .collapsible{margin-left:2em}:host .hoverable{padding-top:1px;padding-bottom:1px;padding-left:2px;padding-right:2px;border-radius:2px}:host .hovered{background-color:#ebeef9}:host .collapser{padding-right:6px;padding-left:6px}:host .redoc-json{padding:20px;border-radius:4px;background-color:#222d32;margin-bottom:36px}:host ul,:host .redoc-json ul{list-style-type:none;padding:0px;margin:0px 0px 0px 26px}:host li{position:relative}:host .hoverable{transition:background-color .2s ease-out 0s;-webkit-transition:background-color .2s ease-out 0s;display:inline-block}:host .hovered{transition-delay:.2s;-webkit-transition-delay:.2s}:host .selected{outline-style:solid;outline-width:1px;outline-style:dotted}:host .collapsed>.collapsible{display:none}:host .ellipsis{display:none}:host .collapsed>.ellipsis{display:inherit}:host .collapser{position:absolute;top:1px;left:-1.5em;cursor:default;user-select:none;-webkit-user-select:none}\n ']
|
||||
})(SchemaSample) || SchemaSample;
|
||||
return SchemaSample;
|
||||
})(BaseComponent);
|
||||
|
@ -17946,8 +17946,8 @@ $__System.register('21', ['5', '6', '7', '8', '9', '14', '15', '22', '58', '1a',
|
|||
SideMenu = Reflect.metadata('parameters', [[SchemaManager], [ElementRef], [BrowserDomAdapter], [NgZone], OptionsManager])(SideMenu) || SideMenu;
|
||||
SideMenu = RedocComponent({
|
||||
selector: 'side-menu',
|
||||
template: '\n <div class="mobile-nav" (click)="toggleMobileNav()">\n <span class="menu-header"> API Reference: </span>\n <span class="selected-item-info">\n <span class="selected-tag"> {{activeCatCaption}} </span>\n <span class="selected-endpoint">{{activeItemCaption}}</span>\n </span>\n </div>\n <div id="resources-nav">\n <h2 class="menu-header"> API reference </h2>\n <div *ngFor="var cat of data.menu; #idx = index" class="menu-cat">\n\n <label class="menu-cat-header" (click)="activateAndScroll(idx, -1)" [ngClass]="{active: cat.active}"> {{cat.name}}</label>\n <ul class="menu-subitems" [ngClass]="{active: cat.active}">\n <li *ngFor="var method of cat.methods; var methIdx = index"\n [ngClass]="{active: method.active}"\n (click)="activateAndScroll(idx, methIdx)">\n {{method.summary}}\n </li>\n </ul>\n\n </div>\n </div>\n ',
|
||||
styles: ['\n .menu-header{text-transform:uppercase;color:#00329F;padding:0 20px;margin:10px 0;font-size:16px}.menu-cat-header{font-size:15px;cursor:pointer;color:#384248;text-transform:uppercase;background-color:#FAFAFA;display:block;padding:5px 20px}.menu-cat:nth-of-type(even) .menu-cat-header{background-color:#F0F0F0}.menu-cat .menu-cat-header.active{background-color:#d1d1d1}.menu-subitems{margin:0;padding:0;height:0;overflow:hidden}.menu-subitems.active{height:auto}.menu-subitems li{list-style:none inside none;cursor:pointer;padding:5px 20px;padding-left:40px;background-color:#FAFAFA;overflow:hidden;text-overflow:ellipsis}.menu-subitems li:nth-of-type(even){background-color:#F0F0F0}.menu-cat:nth-of-type(odd) .menu-subitems li{background-color:#F0F0F0}.menu-cat:nth-of-type(odd) .menu-subitems li:nth-of-type(even){background-color:#FAFAFA}.menu-cat .menu-subitems li.active,.menu-cat .menu-subitems li.active:nth-of-type(even){background-color:#DEDEDE}.mobile-nav{display:none;height:3em;line-height:3em;box-sizing:border-box;border-bottom:1px solid #ccc;cursor:pointer}.mobile-nav:after{content:"";display:inline-block;width:3em;height:3em;background:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 100 100" version="1.1" viewBox="0 0 100 100" xml:space="preserve"><polygon fill="#010101" points="23.1 34.1 51.5 61.7 80 34.1 81.5 35 51.5 64.1 21.5 35 23.1 34.1 "/></svg>\');background-size:70%;background-repeat:no-repeat;background-position:center;float:right;vertical-align:middle}.mobile-nav .menu-header{padding:0 10px 0 20px;font-size:0.95em}@media (max-width: 550px){.mobile-nav .menu-header{display:none}}@media (max-width: 1000px){.mobile-nav{display:block}#resources-nav{height:0;overflow-y:auto;transition:all 0.3s ease}#resources-nav .menu-header{display:none}.menu-subitems{height:auto}}.selected-tag{text-transform:capitalize}.selected-endpoint:before{content:"/";padding:0 2px;color:#ccc}.selected-endpoint:empty:before{display:none}.selected-item-info{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;box-sizing:border-box;max-width:350px}@media (max-width: 550px){.selected-item-info{display:inline-block;padding:0 20px;max-width:80%;max-width:calc(100% - 4em)}}\n '],
|
||||
template: '\n <div class="mobile-nav" (click)="toggleMobileNav()">\n <span class="menu-header"> API Reference: </span>\n <span class="selected-item-info">\n <span class="selected-tag"> {{activeCatCaption}} </span>\n <span class="selected-endpoint">{{activeItemCaption}}</span>\n </span>\n </div>\n <div id="resources-nav">\n <h5 class="menu-header"> API reference </h5>\n <div *ngFor="var cat of data.menu; #idx = index" class="menu-cat">\n\n <label class="menu-cat-header" (click)="activateAndScroll(idx, -1)" [ngClass]="{active: cat.active}"> {{cat.name}}</label>\n <ul class="menu-subitems" [ngClass]="{active: cat.active}">\n <li *ngFor="var method of cat.methods; var methIdx = index"\n [ngClass]="{active: method.active}"\n (click)="activateAndScroll(idx, methIdx)">\n {{method.summary}}\n </li>\n </ul>\n\n </div>\n </div>\n ',
|
||||
styles: ['\n .menu-header{text-transform:uppercase;color:#0033a0;padding:0 20px;margin:10px 0}.menu-cat-header{font-size:0.929em;font-family:Montserrat,sans-serif;font-weight:300;cursor:pointer;color:rgba(38,50,56,0.6);text-transform:uppercase;background-color:#FAFAFA;-webkit-transition:all .15s ease-in-out;-moz-transition:all .15s ease-in-out;-ms-transition:all .15s ease-in-out;-o-transition:all .15s ease-in-out;transition:all .15s ease-in-out;display:block;padding:12.5px 20px}.menu-cat-header:hover,.menu-cat-header.active{color:#0033a0;background-color:#f0f0f0}.menu-subitems{margin:0;font-size:0.929em;line-height:1.2em;font-weight:300;color:rgba(38,50,56,0.9);padding:0;height:0;overflow:hidden}.menu-subitems.active{height:auto}.menu-subitems li{-webkit-transition:all .15s ease-in-out;-moz-transition:all .15s ease-in-out;-ms-transition:all .15s ease-in-out;-o-transition:all .15s ease-in-out;transition:all .15s ease-in-out;list-style:none inside none;cursor:pointer;background-color:#f0f0f0;padding:10px 40px;padding-left:40px;overflow:hidden;text-overflow:ellipsis}.menu-subitems li:hover,.menu-subitems li.active{background:#e1e1e1}.mobile-nav{display:none;height:3em;line-height:3em;box-sizing:border-box;border-bottom:1px solid #ccc;cursor:pointer}.mobile-nav:after{content:"";display:inline-block;width:3em;height:3em;background:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 100 100" version="1.1" viewBox="0 0 100 100" xml:space="preserve"><polygon fill="#010101" points="23.1 34.1 51.5 61.7 80 34.1 81.5 35 51.5 64.1 21.5 35 23.1 34.1 "/></svg>\');background-size:70%;background-repeat:no-repeat;background-position:center;float:right;vertical-align:middle}.mobile-nav .menu-header{padding:0 10px 0 20px;font-size:0.95em}@media (max-width: 550px){.mobile-nav .menu-header{display:none}}@media (max-width: 1000px){.mobile-nav{display:block}#resources-nav{height:0;overflow-y:auto;transition:all 0.3s ease}#resources-nav .menu-header{display:none}.menu-subitems{height:auto}}.selected-tag{text-transform:capitalize}.selected-endpoint:before{content:"/";padding:0 2px;color:#ccc}.selected-endpoint:empty:before{display:none}.selected-item-info{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;box-sizing:border-box;max-width:350px}@media (max-width: 550px){.selected-item-info{display:inline-block;padding:0 20px;max-width:80%;max-width:calc(100% - 4em)}}\n '],
|
||||
changeDetection: ChangeDetectionStrategy.Default
|
||||
})(SideMenu) || SideMenu;
|
||||
return SideMenu;
|
||||
|
@ -55773,7 +55773,7 @@ $__System.register('11', ['8', '9', '15', '23'], function (_export) {
|
|||
Tabs = View({
|
||||
template: '\n <ul>\n <li *ngFor="#tab of tabs" [ngClass]="{active: tab.active}" (click)="selectTab(tab)"\n class="tab-{{tab.tabStatus}}">{{tab.tabTitle}}</li>\n </ul>\n <ng-content></ng-content>\n ',
|
||||
directives: [CORE_DIRECTIVES],
|
||||
styles: ['\n ul{display:block;margin:0;padding:0}li{list-style:none;display:inline-block;cursor:pointer}.tab-success:before,.tab-error:before,.tab-redirect:before,.tab-info:before{content:"";display:inline-block;vertical-align:middle;height:6px;width:6px;border-radius:50%;margin-right:0.5em}.tab-success:before{box-shadow:0 0 3px 0 #00aa11;background-color:#00aa11}.tab-error:before{box-shadow:0 0 3px 0 #E53935;background-color:#E53935}.tab-redirect:before{box-shadow:0 0 3px 0 #F88F00;background-color:#F88F00}.tab-info:before{box-shadow:0 0 3px 0 #66C2FF;background-color:#66C2FF}\n ']
|
||||
styles: ['\n ul{display:block;margin:0;padding:0}li{list-style:none;display:inline-block;cursor:pointer}.tab-success:before,.tab-error:before,.tab-redirect:before,.tab-info:before{content:"";display:inline-block;position:relative;top:-2px;height:4px;width:4px;border-radius:50%;margin-right:0.5em}.tab-success:before{box-shadow:0 0 3px 0 #00aa13;background-color:#00aa13}.tab-error:before{box-shadow:0 0 3px 0 #e53935;background-color:#e53935}.tab-redirect:before{box-shadow:0 0 3px 0 #f1c400;background-color:#f1c400}.tab-info:before{box-shadow:0 0 3px 0 #0033a0;background-color:#0033a0}\n ']
|
||||
})(Tabs) || Tabs;
|
||||
Tabs = Component({
|
||||
selector: 'tabs',
|
||||
|
@ -56733,8 +56733,8 @@ $__System.register('10', ['6', '7', '8', '9', '96', '217'], function (_export) {
|
|||
}
|
||||
};
|
||||
});
|
||||
$__System.register('c', ['5', '6', '7', '8', '9', '10', '11', '15', '96', 'a1', 'e'], function (_export) {
|
||||
var RedocComponent, BaseComponent, SchemaManager, _get, _inherits, _createClass, _classCallCheck, JsonPointer, Tabs, Tab, ElementRef, _Object$assign, _toConsumableArray, _Object$keys, JsonSchema;
|
||||
$__System.register('c', ['5', '6', '7', '8', '9', '10', '11', '15', '96', 'e'], function (_export) {
|
||||
var RedocComponent, BaseComponent, SchemaManager, _get, _inherits, _createClass, _classCallCheck, JsonPointer, Tabs, Tab, ElementRef, _Object$assign, _Object$keys, JsonSchema;
|
||||
|
||||
return {
|
||||
setters: [function (_7) {
|
||||
|
@ -56758,8 +56758,6 @@ $__System.register('c', ['5', '6', '7', '8', '9', '10', '11', '15', '96', 'a1',
|
|||
ElementRef = _6.ElementRef;
|
||||
}, function (_5) {
|
||||
_Object$assign = _5['default'];
|
||||
}, function (_a1) {
|
||||
_toConsumableArray = _a1['default'];
|
||||
}, function (_e) {
|
||||
_Object$keys = _e['default'];
|
||||
}],
|
||||
|
@ -56846,36 +56844,6 @@ $__System.register('c', ['5', '6', '7', '8', '9', '10', '11', '15', '96', 'a1',
|
|||
}
|
||||
this.data.properties = props;
|
||||
}
|
||||
}, {
|
||||
key: 'ngAfterViewInit',
|
||||
value: function ngAfterViewInit() {
|
||||
// adjust widht only on parent level
|
||||
var $el = this.$element.parentElement;
|
||||
while ($el && $el.tagName !== 'JSON-SCHEMA' && $el.tagName !== 'REDOC') {
|
||||
$el = $el.parentElement;
|
||||
}
|
||||
if ($el && $el.tagName === 'REDOC') {
|
||||
this.adjustNameColumnWidth();
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: 'adjustNameColumnWidth',
|
||||
value: function adjustNameColumnWidth() {
|
||||
// TODO handle internal schemes differently
|
||||
|
||||
var names = [].slice.call(this.$element.querySelectorAll('.param-name-content'));
|
||||
var widths = names.map(function (el) {
|
||||
return el.offsetWidth;
|
||||
});
|
||||
var maxWidth = Math.max.apply(Math, _toConsumableArray(widths));
|
||||
if (!maxWidth) return;
|
||||
names.forEach(function (el) {
|
||||
el.parentNode.style.minWidth = maxWidth + 'px';
|
||||
});
|
||||
|
||||
var discrValues = this.$element.querySelector('tabs ul');
|
||||
if (discrValues) discrValues.style.paddingLeft = maxWidth + 'px';
|
||||
}
|
||||
}], [{
|
||||
key: 'injectPropData',
|
||||
value: function injectPropData(propData, propName, propPointer, requiredMap, schema) {
|
||||
|
@ -56928,8 +56896,8 @@ $__System.register('c', ['5', '6', '7', '8', '9', '10', '11', '15', '96', 'a1',
|
|||
JsonSchema = Reflect.metadata('parameters', [[SchemaManager], [ElementRef]])(JsonSchema) || JsonSchema;
|
||||
JsonSchema = RedocComponent({
|
||||
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 class="param-name-content">{{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.required" class="param-required">Required</span>\n <div *ngIf="prop.enum" class="param-enum">\n <span *ngFor="#enumItem of prop.enum" class="enum-value {{enumItem.type}}"> {{enumItem.val | json}} </span>\n </div>\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{flex-grow:0;-ms-flex-grow:0;display:inline-block;font-size:14px;padding:10px 0 10px 0;font-weight:bold;box-sizing:border-box;line-height:20px;border-left:1px solid #7D97CE;white-space:nowrap;position:relative}.param-name-content{padding-right:25px;display:inline-block}.param-info{flex-grow:1;-ms-flex-grow:1;padding:10px 0;box-sizing:border-box;border-bottom:1px solid #ccc;display:inline-block}.param{display:flex;display:-ms-flexbox}.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,.enum-value.string{color:rgba(0,80,0,0.7)}.param-type.integer,.param-type.number,.enum-value.number{color:rgba(74,139,179,0.8)}.param-type.object{color:rgba(0,50,159,0.7)}.param-type.boolean,.enum-value.boolean{color:firebrick}.param-type.with-hint{display:inline-block;margin-bottom:0.4em;border-bottom:1px dotted rgba(38,50,56,0.4);padding:0;cursor:help}.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}.param-enum{color:#666}.param-enum:before{content:"Values: {"}.param-enum:after{content:"}"}.param-enum>.enum-value:after{content:", "}.param-enum>.enum-value:last-of-type:after{content:none}:host{display:block}.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 '],
|
||||
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 <table *ngIf="!isTrivial" class="params-wrap" [ngClass]="{\'params-array\': isArray}">\n <template ngFor [ngForOf]="data.properties" #prop="$implicit">\n <tr class="param" [ngClass]="{\'discriminator\': prop.isDiscriminator, \'complex\': prop._pointer}">\n <td class="param-name">\n <span class="param-name-content">{{prop._name}}</span>\n </td>\n <td 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.required" class="param-required">Required</span>\n <div *ngIf="prop.enum" class="param-enum">\n <span *ngFor="#enumItem of prop.enum" class="enum-value {{enumItem.type}}"> {{enumItem.val | json}} </span>\n </div>\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 </td>\n </tr>\n <tr class="param-schema" [ngClass]="{\'param-array\': prop._isArray}" *ngIf="prop._pointer">\n <td colspan="2">\n <json-schema pointer="{{prop._pointer}}" [isArray]=\'prop._isArray\' class="nested-schema">\n </json-schema>\n </td>\n </tr>\n </template>\n <tr *ngIf="data.derived.length" class="param-wrap discriminator-wrap">\n <td colspan="2">\n <tabs>\n <tab *ngFor="#derived of data.derived" tabTitle="{{derived.name}}">\n <json-schema pointer="{{derived.$ref}}" [final]="derived.final" class="discriminator-part">\n </json-schema>\n </tab>\n </tabs>\n </td>\n </tr>\n </table>\n ',
|
||||
styles: ['\n .param-name{font-size:0.929em;padding:10px 0 10px 0;font-weight:400;box-sizing:border-box;line-height:20px;border-left:1px solid rgba(0,51,160,0.5);white-space:nowrap;position:relative;vertical-align:top}.param-name-content{padding-right:25px;display:inline-block}.param-info{padding:10px 0;box-sizing:border-box;border-bottom:1px solid #ccc;width:75%}.param-description{font-size:13px}.param-required{color:red;font-weight:bold;font-size:12px;line-height:20px;vertical-align:middle}.param-type{color:#263238;font-size:0.929em;line-height:20px;vertical-align:middle;font-weight:normal}.param-type.array:before{content:"Array of ";color:#263238;font-weight:300}.param-type{color:rgba(38,50,56,0.4)}.param-type.with-hint{display:inline-block;margin-bottom:0.4em;border-bottom:1px dotted rgba(38,50,56,0.4);padding:0;cursor:help}.param-type-trivial{margin:10px 10px 0;display:inline-block}.param-name>span:before{content:"";display:inline-block;width:1px;height:7px;background-color:#0033a0;margin:0 10px;vertical-align:middle}.param-name>span:after{content:"";position:absolute;border-top:1px solid rgba(0,51,160,0.5);width:10px;left:0;top:20px}.param:first-of-type>.param-name:before{content:"";display:block;position:absolute;left:-1px;top:0;border-left:2px solid #fff;height:20px}.param:last-of-type>.param-name{position:relative}.param:last-of-type>.param-name:after{content:"";display:block;position:absolute;left:-2px;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}.param-enum{color:#263238;font-size:13px}.param-enum:before{content:"Values: {"}.param-enum:after{content:"}"}.param-enum>.enum-value:after{content:", "}.param-enum>.enum-value:last-of-type:after{content:none}:host{display:block}.param-schema>td{border-left:1px solid rgba(0,51,160,0.5);padding:0 10px}json-schema.nested-schema{background-color:#f0f0f0;padding:10px 20px;position:relative;border-radius:2px}json-schema.nested-schema:before,json-schema.nested-schema:after{content:"";width:0;height:0;position:absolute;top:0;border-style:solid;border-color:transparent;border-width:10px 15px 0;margin-left:-7.5px;border-top-color:white}json-schema.nested-schema:before{left:10%}json-schema.nested-schema:after{right:10%}json-schema.nested-schema .param:first-of-type>.param-name:before,json-schema.nested-schema .param:last-of-type>.param-name:after{border-color:#f1f1f1}.param.complex>.param-info{border-bottom:0}.params-wrap{border-collapse:collapse;width:100%}.params-wrap.params-array:before,.params-wrap.params-array:after{display:block;font-weight:300;color:#263238;font-size:13px;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:9.75px;width:10px;border-left-style:dashed;border-bottom:1px dashed rgba(0,51,160,0.5)}.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>.param-info{padding-bottom:0;border-bottom:0}.param.discriminator>.param-name:after{display:none}.discriminator-info{font-weight:bold}.discriminator-wrap>td{border-left:1px solid rgba(0,51,160,0.5);padding:0}:host tabs{display:block}:host ul{text-align:center}: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:#0033a0}\n '],
|
||||
directives: [JsonSchema, Tabs, Tab],
|
||||
inputs: ['isArray', 'final']
|
||||
})(JsonSchema) || JsonSchema;
|
||||
|
@ -57018,7 +56986,7 @@ $__System.register('1', ['218'], function (_export) {
|
|||
$__System.register('.tmp/lib/components/Redoc/redoc-loading-styles.css!github:systemjs/plugin-css@0.1.18', [], false, function() {});
|
||||
$__System.register('npm:prismjs@1.3.0/themes/prism-dark.css!github:systemjs/plugin-css@0.1.18', [], false, function() {});
|
||||
(function(c){if (typeof document == 'undefined') return; var d=document,a='appendChild',i='styleSheet',s=d.createElement('style');s.type='text/css';d.getElementsByTagName('head')[0][a](s);s[i]?s[i].cssText=c:s[a](d.createTextNode(c));})
|
||||
("redoc.loading{position:relative;display:block;min-height:350px}@keyframes move{0%{transform:translateY(10px)}25%{transform:translateY(0)}50%{transform:translateY(10px)}75%{transform:translateY(20px)}100%{transform:translateY(10px)}}redoc.loading:before{content:\"Loading...\";font-size:28px;text-align:center;padding-top:40px;color:#3F5C9C;font-weight:700;display:block;position:absolute;top:0;bottom:0;left:0;right:0;background-color:#fff;z-index:9999;opacity:1;transition:all .6s ease-out;animation:2s move linear infinite}redoc.loading-remove:before{opacity:0}code[class*=language-],pre[class*=language-]{color:#fff;text-shadow:0 -.1em .2em #000;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}:not(pre)>code[class*=language-],pre[class*=language-]{background:#4c3f33}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border:.3em solid #7a6651;border-radius:.5em;box-shadow:1px 1px .5em #000 inset}:not(pre)>code[class*=language-]{padding:.15em .2em .05em;border-radius:.3em;border:.13em solid #7a6651;box-shadow:1px 1px .3em -.1em #000 inset}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#997f66}.token.punctuation{opacity:.7}.namespace{opacity:.7}.token.boolean,.token.constant,.token.number,.token.property,.token.symbol,.token.tag{color:#d1939e}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#bce051}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url,.token.variable{color:#f4b73d}.token.atrule,.token.attr-value,.token.keyword{color:#d1939e}.token.important,.token.regex{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.deleted{color:red}");
|
||||
("redoc.loading{position:relative;display:block;min-height:350px}@keyframes move{0%{transform:translateY(10px)}25%{transform:translateY(0)}50%{transform:translateY(10px)}75%{transform:translateY(20px)}100%{transform:translateY(10px)}}redoc.loading:before{font-family:Montserrat;content:\"Loading...\";font-size:28px;text-align:center;padding-top:40px;color:#0033a0;font-weight:700;display:block;position:absolute;top:0;bottom:0;left:0;right:0;background-color:#fff;z-index:9999;opacity:1;transition:all .6s ease-out;animation:2s move linear infinite}redoc.loading-remove:before{opacity:0}code[class*=language-],pre[class*=language-]{color:#fff;text-shadow:0 -.1em .2em #000;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}:not(pre)>code[class*=language-],pre[class*=language-]{background:#4c3f33}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border:.3em solid #7a6651;border-radius:.5em;box-shadow:1px 1px .5em #000 inset}:not(pre)>code[class*=language-]{padding:.15em .2em .05em;border-radius:.3em;border:.13em solid #7a6651;box-shadow:1px 1px .3em -.1em #000 inset}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#997f66}.token.punctuation{opacity:.7}.namespace{opacity:.7}.token.boolean,.token.constant,.token.number,.token.property,.token.symbol,.token.tag{color:#d1939e}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#bce051}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url,.token.variable{color:#f4b73d}.token.atrule,.token.attr-value,.token.keyword{color:#d1939e}.token.important,.token.regex{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.deleted{color:red}");
|
||||
})
|
||||
(function(factory) {
|
||||
|
||||
|
|
2
dist/redoc.js.map
vendored
2
dist/redoc.js.map
vendored
File diff suppressed because one or more lines are too long
86
dist/redoc.min.js
vendored
86
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