@gravitee/ui-components 3.25.3-typescript-fdacf14 → 3.25.3-typescript-493e1dd
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/package.json +5 -13
- package/src/atoms/gv-autocomplete.js +422 -1
- package/src/atoms/gv-button.js +397 -1
- package/src/atoms/gv-checkbox.js +178 -1
- package/src/atoms/gv-date-picker-calendar.js +812 -1
- package/src/atoms/gv-date-picker-cell.js +174 -1
- package/src/atoms/gv-date-picker.js +638 -1
- package/src/atoms/gv-file-upload.js +348 -1
- package/src/atoms/gv-icon.js +93 -1
- package/src/atoms/gv-image.js +135 -1
- package/src/atoms/gv-input-message.js +78 -1
- package/src/atoms/gv-input.js +508 -1
- package/src/atoms/gv-link.js +204 -1
- package/src/atoms/gv-message.js +133 -1
- package/src/atoms/gv-metric.js +112 -1
- package/src/atoms/gv-relative-time.js +143 -1
- package/src/atoms/gv-select-native.js +363 -1
- package/src/atoms/gv-select.js +413 -1
- package/src/atoms/gv-spinner.js +54 -1
- package/src/atoms/gv-state.js +125 -1
- package/src/atoms/gv-switch.js +235 -1
- package/src/atoms/gv-tag.js +162 -1
- package/src/atoms/gv-text.js +160 -1
- package/src/charts/gv-chart-bar.js +101 -1
- package/src/charts/gv-chart-gauge.js +92 -1
- package/src/charts/gv-chart-histogram.js +78 -1
- package/src/charts/gv-chart-line.js +218 -1
- package/src/charts/gv-chart-map.js +111 -1
- package/src/charts/gv-chart-pie.js +89 -1
- package/src/index.js +77 -1
- package/src/lib/cron-expression.js +176 -1
- package/src/lib/date.js +43 -1
- package/src/lib/events.js +26 -1
- package/src/lib/http-client-schema-form.js +67 -1
- package/src/lib/http.js +237 -1
- package/src/lib/i18n.js +93 -1
- package/src/lib/item.js +110 -1
- package/src/lib/properties.js +171 -1
- package/src/lib/schema-form.js +39 -1
- package/src/lib/studio.js +144 -1
- package/src/lib/style.js +39 -1
- package/src/lib/text-format.js +65 -1
- package/src/lib/theme.js +60 -1
- package/src/lib/utils.js +106 -1
- package/src/mixins/chart-element.js +153 -1
- package/src/mixins/input-element.js +136 -1
- package/src/mixins/item-resource.js +102 -1
- package/src/mixins/keyboard-element.js +62 -1
- package/src/mixins/update-after-browser.js +30 -1
- package/src/mixins/with-resize-observer.js +62 -1
- package/src/mixins/with-skeleton-attribute.js +109 -1
- package/src/molecules/gv-card-full.js +209 -1
- package/src/molecules/gv-card-list.js +101 -1
- package/src/molecules/gv-card.js +130 -1
- package/src/molecules/gv-category-list.js +56 -1
- package/src/molecules/gv-category.js +163 -1
- package/src/molecules/gv-code.js +334 -1
- package/src/molecules/gv-confirm.js +175 -1
- package/src/molecules/gv-cron-editor.js +685 -1
- package/src/molecules/gv-dropdown-menu.js +108 -1
- package/src/molecules/gv-expandable.js +116 -1
- package/src/molecules/gv-expression-language.js +263 -1
- package/src/molecules/gv-identity-picture.js +139 -1
- package/src/molecules/gv-list.js +214 -1
- package/src/molecules/gv-metrics.js +147 -1
- package/src/molecules/gv-modal.js +203 -1
- package/src/molecules/gv-nav.js +180 -1
- package/src/molecules/gv-option.js +230 -1
- package/src/molecules/gv-plans.js +400 -1
- package/src/molecules/gv-popover.js +323 -1
- package/src/molecules/gv-promote.js +203 -1
- package/src/molecules/gv-rating-list.js +341 -1
- package/src/molecules/gv-rating.js +234 -1
- package/src/molecules/gv-row-expandable.js +42 -1
- package/src/molecules/gv-row.js +205 -1
- package/src/molecules/gv-stats.js +110 -1
- package/src/molecules/gv-stepper.js +274 -1
- package/src/molecules/gv-table.js +644 -1
- package/src/molecules/gv-tree.js +238 -1
- package/src/organisms/gv-documentation.js +205 -1
- package/src/organisms/gv-header.js +276 -1
- package/src/organisms/gv-http-client.js +258 -1
- package/src/organisms/gv-menu.js +258 -1
- package/src/organisms/gv-newsletter-subscription.js +258 -1
- package/src/organisms/gv-pagination.js +179 -1
- package/src/organisms/gv-properties.js +860 -1
- package/src/organisms/gv-resizable-views.js +371 -1
- package/src/organisms/gv-resources.js +496 -1
- package/src/organisms/gv-schema-form-array.js +237 -1
- package/src/organisms/gv-schema-form-control-object.js +141 -1
- package/src/organisms/gv-schema-form-control.js +419 -1
- package/src/organisms/gv-schema-form.js +700 -1
- package/src/organisms/gv-tabs.js +201 -1
- package/src/organisms/gv-user-menu.js +298 -1
- package/src/organisms/gv-vertical-menu.js +119 -1
- package/src/policy-studio/gv-flow-step.js +443 -1
- package/src/policy-studio/gv-flow.js +595 -1
- package/src/policy-studio/gv-policy-studio-menu.js +689 -1
- package/src/policy-studio/gv-policy-studio.js +1712 -1
- package/src/styles/empty.js +35 -1
- package/src/styles/input.js +262 -1
- package/src/styles/link.js +31 -1
- package/src/styles/shapes.js +17 -1
- package/src/styles/skeleton.js +52 -1
- package/src/styles/zoom.js +39 -1
- package/src/theme/gv-theme.js +197 -1
- package/wc/gv-autocomplete.js +1 -1
- package/wc/gv-button.js +1 -1
- package/wc/gv-card-full.js +1 -1
- package/wc/gv-card-list.js +1 -1
- package/wc/gv-card.js +1 -1
- package/wc/gv-category-list.js +1 -1
- package/wc/gv-category.js +1 -1
- package/wc/gv-chart-bar.js +1 -1
- package/wc/gv-chart-gauge.js +1 -1
- package/wc/gv-chart-histogram.js +1 -1
- package/wc/gv-chart-line.js +1 -1
- package/wc/gv-chart-map.js +1 -1
- package/wc/gv-chart-pie.js +1 -1
- package/wc/gv-checkbox.js +1 -1
- package/wc/gv-code.js +1 -1
- package/wc/gv-confirm.js +1 -1
- package/wc/gv-cron-editor.js +1 -1
- package/wc/gv-date-picker-calendar.js +1 -1
- package/wc/gv-date-picker-cell.js +1 -1
- package/wc/gv-date-picker.js +1 -1
- package/wc/gv-documentation.js +1 -1
- package/wc/gv-dropdown-menu.js +1 -1
- package/wc/gv-expandable.js +1 -1
- package/wc/gv-expression-language.js +1 -1
- package/wc/gv-file-upload.js +1 -1
- package/wc/gv-flow-step.js +1 -1
- package/wc/gv-flow.js +1 -1
- package/wc/gv-header.js +1 -1
- package/wc/gv-http-client.js +1 -1
- package/wc/gv-icon.js +1 -1
- package/wc/gv-identity-picture.js +1 -1
- package/wc/gv-image.js +1 -1
- package/wc/gv-input-message.js +1 -1
- package/wc/gv-input.js +1 -1
- package/wc/gv-link.js +1 -1
- package/wc/gv-list.js +1 -1
- package/wc/gv-menu.js +1 -1
- package/wc/gv-message.js +1 -1
- package/wc/gv-metric.js +1 -1
- package/wc/gv-metrics.js +1 -1
- package/wc/gv-modal.js +1 -1
- package/wc/gv-nav.js +1 -1
- package/wc/gv-newsletter-subscription.js +1 -1
- package/wc/gv-option.js +1 -1
- package/wc/gv-pagination.js +1 -1
- package/wc/gv-plans.js +1 -1
- package/wc/gv-policy-studio-menu.js +1 -1
- package/wc/gv-policy-studio.js +1 -1
- package/wc/gv-popover.js +1 -1
- package/wc/gv-promote.js +1 -1
- package/wc/gv-properties.js +1 -1
- package/wc/gv-rating-list.js +1 -1
- package/wc/gv-rating.js +1 -1
- package/wc/gv-relative-time.js +1 -1
- package/wc/gv-resizable-views.js +1 -1
- package/wc/gv-resources.js +1 -1
- package/wc/gv-row-expandable.js +1 -1
- package/wc/gv-row.js +1 -1
- package/wc/gv-schema-form-array.js +1 -1
- package/wc/gv-schema-form-control-object.js +1 -1
- package/wc/gv-schema-form-control.js +1 -1
- package/wc/gv-schema-form.js +1 -1
- package/wc/gv-select-native.js +1 -1
- package/wc/gv-select.js +1 -1
- package/wc/gv-spinner.js +1 -1
- package/wc/gv-state.js +1 -1
- package/wc/gv-stats.js +1 -1
- package/wc/gv-stepper.js +1 -1
- package/wc/gv-switch.js +1 -1
- package/wc/gv-table.js +1 -1
- package/wc/gv-tabs.js +1 -1
- package/wc/gv-tag.js +1 -1
- package/wc/gv-text.js +1 -1
- package/wc/gv-theme.js +1 -1
- package/wc/gv-tree.js +1 -1
- package/wc/gv-user-menu.js +1 -1
- package/wc/gv-vertical-menu.js +1 -1
package/src/index.js
CHANGED
|
@@ -1 +1,77 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:!0}),exports.GvRating=exports.GvRatingList=exports.GvPromote=exports.GvPopover=exports.GvPlans=exports.GvOption=exports.GvNav=exports.GvModal=exports.GvMetrics=exports.GvList=exports.GvIdentityPicture=exports.GvExpressionLanguage=exports.GvExpandable=exports.GvDropdownMenu=exports.GvCronEditor=exports.GvConfirm=exports.GvCode=exports.GvCategory=exports.GvCategoryList=exports.GvCard=exports.GvCardList=exports.GvCardFull=exports.GvChartPie=exports.GvChartMap=exports.GvChartLine=exports.GvChartHistogram=exports.GvChartGauge=exports.GvChartBar=exports.GvText=exports.GvTag=exports.GvSwitch=exports.GvState=exports.GvSpinner=exports.GvSelect=exports.GvSelectNative=exports.GvRelativeTime=exports.GvMetric=exports.GvMessage=exports.GvLink=exports.GvInput=exports.GvInputMessage=exports.GvImage=exports.GvIcon=exports.GvFileUpload=exports.GvDatePicker=exports.GvDatePickerCell=exports.GvDatePickerCalendar=exports.GvCheckbox=exports.GvButton=exports.GvAutocomplete=void 0,exports.GvTheme=exports.GvPolicyStudio=exports.GvPolicyStudioMenu=exports.GvFlow=exports.GvFlowStep=exports.GvVerticalMenu=exports.GvUserMenu=exports.GvTabs=exports.GvSchemaForm=exports.GvSchemaFormControl=exports.GvSchemaFormControlObject=exports.GvSchemaFormArray=exports.GvResources=exports.GvResizableViews=exports.GvProperties=exports.GvPagination=exports.GvNewsletterSubscription=exports.GvMenu=exports.GvHttpClient=exports.GvHeader=exports.GvDocumentation=exports.GvTree=exports.GvTable=exports.GvStepper=exports.GvStats=exports.GvRow=exports.GvRowExpandable=void 0;var e=require("./atoms/gv-autocomplete");Object.defineProperty(exports,"GvAutocomplete",{enumerable:!0,get:function(){return e.GvAutocomplete}});var r=require("./atoms/gv-button");Object.defineProperty(exports,"GvButton",{enumerable:!0,get:function(){return r.GvButton}});var t=require("./atoms/gv-checkbox");Object.defineProperty(exports,"GvCheckbox",{enumerable:!0,get:function(){return t.GvCheckbox}});var o=require("./atoms/gv-date-picker-calendar");Object.defineProperty(exports,"GvDatePickerCalendar",{enumerable:!0,get:function(){return o.GvDatePickerCalendar}});var n=require("./atoms/gv-date-picker-cell");Object.defineProperty(exports,"GvDatePickerCell",{enumerable:!0,get:function(){return n.GvDatePickerCell}});var i=require("./atoms/gv-date-picker");Object.defineProperty(exports,"GvDatePicker",{enumerable:!0,get:function(){return i.GvDatePicker}});var u=require("./atoms/gv-file-upload");Object.defineProperty(exports,"GvFileUpload",{enumerable:!0,get:function(){return u.GvFileUpload}});var a=require("./atoms/gv-icon");Object.defineProperty(exports,"GvIcon",{enumerable:!0,get:function(){return a.GvIcon}});var v=require("./atoms/gv-image");Object.defineProperty(exports,"GvImage",{enumerable:!0,get:function(){return v.GvImage}});var s=require("./atoms/gv-input-message");Object.defineProperty(exports,"GvInputMessage",{enumerable:!0,get:function(){return s.GvInputMessage}});var p=require("./atoms/gv-input");Object.defineProperty(exports,"GvInput",{enumerable:!0,get:function(){return p.GvInput}});var c=require("./atoms/gv-link");Object.defineProperty(exports,"GvLink",{enumerable:!0,get:function(){return c.GvLink}});var l=require("./atoms/gv-message");Object.defineProperty(exports,"GvMessage",{enumerable:!0,get:function(){return l.GvMessage}});var G=require("./atoms/gv-metric");Object.defineProperty(exports,"GvMetric",{enumerable:!0,get:function(){return G.GvMetric}});var g=require("./atoms/gv-relative-time");Object.defineProperty(exports,"GvRelativeTime",{enumerable:!0,get:function(){return g.GvRelativeTime}});var m=require("./atoms/gv-select-native");Object.defineProperty(exports,"GvSelectNative",{enumerable:!0,get:function(){return m.GvSelectNative}});var b=require("./atoms/gv-select");Object.defineProperty(exports,"GvSelect",{enumerable:!0,get:function(){return b.GvSelect}});var x=require("./atoms/gv-spinner");Object.defineProperty(exports,"GvSpinner",{enumerable:!0,get:function(){return x.GvSpinner}});var f=require("./atoms/gv-state");Object.defineProperty(exports,"GvState",{enumerable:!0,get:function(){return f.GvState}});var d=require("./atoms/gv-switch");Object.defineProperty(exports,"GvSwitch",{enumerable:!0,get:function(){return d.GvSwitch}});var P=require("./atoms/gv-tag");Object.defineProperty(exports,"GvTag",{enumerable:!0,get:function(){return P.GvTag}});var y=require("./atoms/gv-text");Object.defineProperty(exports,"GvText",{enumerable:!0,get:function(){return y.GvText}});var O=require("./charts/gv-chart-bar");Object.defineProperty(exports,"GvChartBar",{enumerable:!0,get:function(){return O.GvChartBar}});var j=require("./charts/gv-chart-gauge");Object.defineProperty(exports,"GvChartGauge",{enumerable:!0,get:function(){return j.GvChartGauge}});var q=require("./charts/gv-chart-histogram");Object.defineProperty(exports,"GvChartHistogram",{enumerable:!0,get:function(){return q.GvChartHistogram}});var h=require("./charts/gv-chart-line");Object.defineProperty(exports,"GvChartLine",{enumerable:!0,get:function(){return h.GvChartLine}});var C=require("./charts/gv-chart-map");Object.defineProperty(exports,"GvChartMap",{enumerable:!0,get:function(){return C.GvChartMap}});var S=require("./charts/gv-chart-pie");Object.defineProperty(exports,"GvChartPie",{enumerable:!0,get:function(){return S.GvChartPie}});var M=require("./molecules/gv-card-full");Object.defineProperty(exports,"GvCardFull",{enumerable:!0,get:function(){return M.GvCardFull}});var w=require("./molecules/gv-card-list");Object.defineProperty(exports,"GvCardList",{enumerable:!0,get:function(){return w.GvCardList}});var F=require("./molecules/gv-card");Object.defineProperty(exports,"GvCard",{enumerable:!0,get:function(){return F.GvCard}});var L=require("./molecules/gv-category-list");Object.defineProperty(exports,"GvCategoryList",{enumerable:!0,get:function(){return L.GvCategoryList}});var R=require("./molecules/gv-category");Object.defineProperty(exports,"GvCategory",{enumerable:!0,get:function(){return R.GvCategory}});var T=require("./molecules/gv-code");Object.defineProperty(exports,"GvCode",{enumerable:!0,get:function(){return T.GvCode}});var k=require("./molecules/gv-confirm");Object.defineProperty(exports,"GvConfirm",{enumerable:!0,get:function(){return k.GvConfirm}});var D=require("./molecules/gv-cron-editor");Object.defineProperty(exports,"GvCronEditor",{enumerable:!0,get:function(){return D.GvCronEditor}});var I=require("./molecules/gv-dropdown-menu");Object.defineProperty(exports,"GvDropdownMenu",{enumerable:!0,get:function(){return I.GvDropdownMenu}});var E=require("./molecules/gv-expandable");Object.defineProperty(exports,"GvExpandable",{enumerable:!0,get:function(){return E.GvExpandable}});var H=require("./molecules/gv-expression-language");Object.defineProperty(exports,"GvExpressionLanguage",{enumerable:!0,get:function(){return H.GvExpressionLanguage}});var N=require("./molecules/gv-identity-picture");Object.defineProperty(exports,"GvIdentityPicture",{enumerable:!0,get:function(){return N.GvIdentityPicture}});var A=require("./molecules/gv-list");Object.defineProperty(exports,"GvList",{enumerable:!0,get:function(){return A.GvList}});var B=require("./molecules/gv-metrics");Object.defineProperty(exports,"GvMetrics",{enumerable:!0,get:function(){return B.GvMetrics}});var U=require("./molecules/gv-modal");Object.defineProperty(exports,"GvModal",{enumerable:!0,get:function(){return U.GvModal}});var V=require("./molecules/gv-nav");Object.defineProperty(exports,"GvNav",{enumerable:!0,get:function(){return V.GvNav}});var z=require("./molecules/gv-option");Object.defineProperty(exports,"GvOption",{enumerable:!0,get:function(){return z.GvOption}});var _=require("./molecules/gv-plans");Object.defineProperty(exports,"GvPlans",{enumerable:!0,get:function(){return _.GvPlans}});var J=require("./molecules/gv-popover");Object.defineProperty(exports,"GvPopover",{enumerable:!0,get:function(){return J.GvPopover}});var K=require("./molecules/gv-promote");Object.defineProperty(exports,"GvPromote",{enumerable:!0,get:function(){return K.GvPromote}});var Q=require("./molecules/gv-rating-list");Object.defineProperty(exports,"GvRatingList",{enumerable:!0,get:function(){return Q.GvRatingList}});var W=require("./molecules/gv-rating");Object.defineProperty(exports,"GvRating",{enumerable:!0,get:function(){return W.GvRating}});var X=require("./molecules/gv-row-expandable");Object.defineProperty(exports,"GvRowExpandable",{enumerable:!0,get:function(){return X.GvRowExpandable}});var Y=require("./molecules/gv-row");Object.defineProperty(exports,"GvRow",{enumerable:!0,get:function(){return Y.GvRow}});var Z=require("./molecules/gv-stats");Object.defineProperty(exports,"GvStats",{enumerable:!0,get:function(){return Z.GvStats}});var $=require("./molecules/gv-stepper");Object.defineProperty(exports,"GvStepper",{enumerable:!0,get:function(){return $.GvStepper}});var ee=require("./molecules/gv-table");Object.defineProperty(exports,"GvTable",{enumerable:!0,get:function(){return ee.GvTable}});var re=require("./molecules/gv-tree");Object.defineProperty(exports,"GvTree",{enumerable:!0,get:function(){return re.GvTree}});var te=require("./organisms/gv-documentation");Object.defineProperty(exports,"GvDocumentation",{enumerable:!0,get:function(){return te.GvDocumentation}});var oe=require("./organisms/gv-header");Object.defineProperty(exports,"GvHeader",{enumerable:!0,get:function(){return oe.GvHeader}});var ne=require("./organisms/gv-http-client");Object.defineProperty(exports,"GvHttpClient",{enumerable:!0,get:function(){return ne.GvHttpClient}});var ie=require("./organisms/gv-menu");Object.defineProperty(exports,"GvMenu",{enumerable:!0,get:function(){return ie.GvMenu}});var ue=require("./organisms/gv-newsletter-subscription");Object.defineProperty(exports,"GvNewsletterSubscription",{enumerable:!0,get:function(){return ue.GvNewsletterSubscription}});var ae=require("./organisms/gv-pagination");Object.defineProperty(exports,"GvPagination",{enumerable:!0,get:function(){return ae.GvPagination}});var ve=require("./organisms/gv-properties");Object.defineProperty(exports,"GvProperties",{enumerable:!0,get:function(){return ve.GvProperties}});var se=require("./organisms/gv-resizable-views");Object.defineProperty(exports,"GvResizableViews",{enumerable:!0,get:function(){return se.GvResizableViews}});var pe=require("./organisms/gv-resources");Object.defineProperty(exports,"GvResources",{enumerable:!0,get:function(){return pe.GvResources}});var ce=require("./organisms/gv-schema-form-array");Object.defineProperty(exports,"GvSchemaFormArray",{enumerable:!0,get:function(){return ce.GvSchemaFormArray}});var le=require("./organisms/gv-schema-form-control-object");Object.defineProperty(exports,"GvSchemaFormControlObject",{enumerable:!0,get:function(){return le.GvSchemaFormControlObject}});var Ge=require("./organisms/gv-schema-form-control");Object.defineProperty(exports,"GvSchemaFormControl",{enumerable:!0,get:function(){return Ge.GvSchemaFormControl}});var ge=require("./organisms/gv-schema-form");Object.defineProperty(exports,"GvSchemaForm",{enumerable:!0,get:function(){return ge.GvSchemaForm}});var me=require("./organisms/gv-tabs");Object.defineProperty(exports,"GvTabs",{enumerable:!0,get:function(){return me.GvTabs}});var be=require("./organisms/gv-user-menu");Object.defineProperty(exports,"GvUserMenu",{enumerable:!0,get:function(){return be.GvUserMenu}});var xe=require("./organisms/gv-vertical-menu");Object.defineProperty(exports,"GvVerticalMenu",{enumerable:!0,get:function(){return xe.GvVerticalMenu}});var fe=require("./policy-studio/gv-flow-step");Object.defineProperty(exports,"GvFlowStep",{enumerable:!0,get:function(){return fe.GvFlowStep}});var de=require("./policy-studio/gv-flow");Object.defineProperty(exports,"GvFlow",{enumerable:!0,get:function(){return de.GvFlow}});var Pe=require("./policy-studio/gv-policy-studio-menu");Object.defineProperty(exports,"GvPolicyStudioMenu",{enumerable:!0,get:function(){return Pe.GvPolicyStudioMenu}});var ye=require("./policy-studio/gv-policy-studio");Object.defineProperty(exports,"GvPolicyStudio",{enumerable:!0,get:function(){return ye.GvPolicyStudio}});var Oe=require("./theme/gv-theme");Object.defineProperty(exports,"GvTheme",{enumerable:!0,get:function(){return Oe.GvTheme}});
|
|
1
|
+
export { GvAutocomplete } from './atoms/gv-autocomplete';
|
|
2
|
+
export { GvButton } from './atoms/gv-button';
|
|
3
|
+
export { GvCheckbox } from './atoms/gv-checkbox';
|
|
4
|
+
export { GvDatePickerCalendar } from './atoms/gv-date-picker-calendar';
|
|
5
|
+
export { GvDatePickerCell } from './atoms/gv-date-picker-cell';
|
|
6
|
+
export { GvDatePicker } from './atoms/gv-date-picker';
|
|
7
|
+
export { GvFileUpload } from './atoms/gv-file-upload';
|
|
8
|
+
export { GvIcon } from './atoms/gv-icon';
|
|
9
|
+
export { GvImage } from './atoms/gv-image';
|
|
10
|
+
export { GvInputMessage } from './atoms/gv-input-message';
|
|
11
|
+
export { GvInput } from './atoms/gv-input';
|
|
12
|
+
export { GvLink } from './atoms/gv-link';
|
|
13
|
+
export { GvMessage } from './atoms/gv-message';
|
|
14
|
+
export { GvMetric } from './atoms/gv-metric';
|
|
15
|
+
export { GvRelativeTime } from './atoms/gv-relative-time';
|
|
16
|
+
export { GvSelectNative } from './atoms/gv-select-native';
|
|
17
|
+
export { GvSelect } from './atoms/gv-select';
|
|
18
|
+
export { GvSpinner } from './atoms/gv-spinner';
|
|
19
|
+
export { GvState } from './atoms/gv-state';
|
|
20
|
+
export { GvSwitch } from './atoms/gv-switch';
|
|
21
|
+
export { GvTag } from './atoms/gv-tag';
|
|
22
|
+
export { GvText } from './atoms/gv-text';
|
|
23
|
+
export { GvChartBar } from './charts/gv-chart-bar';
|
|
24
|
+
export { GvChartGauge } from './charts/gv-chart-gauge';
|
|
25
|
+
export { GvChartHistogram } from './charts/gv-chart-histogram';
|
|
26
|
+
export { GvChartLine } from './charts/gv-chart-line';
|
|
27
|
+
export { GvChartMap } from './charts/gv-chart-map';
|
|
28
|
+
export { GvChartPie } from './charts/gv-chart-pie';
|
|
29
|
+
export { GvCardFull } from './molecules/gv-card-full';
|
|
30
|
+
export { GvCardList } from './molecules/gv-card-list';
|
|
31
|
+
export { GvCard } from './molecules/gv-card';
|
|
32
|
+
export { GvCategoryList } from './molecules/gv-category-list';
|
|
33
|
+
export { GvCategory } from './molecules/gv-category';
|
|
34
|
+
export { GvCode } from './molecules/gv-code';
|
|
35
|
+
export { GvConfirm } from './molecules/gv-confirm';
|
|
36
|
+
export { GvCronEditor } from './molecules/gv-cron-editor';
|
|
37
|
+
export { GvDropdownMenu } from './molecules/gv-dropdown-menu';
|
|
38
|
+
export { GvExpandable } from './molecules/gv-expandable';
|
|
39
|
+
export { GvExpressionLanguage } from './molecules/gv-expression-language';
|
|
40
|
+
export { GvIdentityPicture } from './molecules/gv-identity-picture';
|
|
41
|
+
export { GvList } from './molecules/gv-list';
|
|
42
|
+
export { GvMetrics } from './molecules/gv-metrics';
|
|
43
|
+
export { GvModal } from './molecules/gv-modal';
|
|
44
|
+
export { GvNav } from './molecules/gv-nav';
|
|
45
|
+
export { GvOption } from './molecules/gv-option';
|
|
46
|
+
export { GvPlans } from './molecules/gv-plans';
|
|
47
|
+
export { GvPopover } from './molecules/gv-popover';
|
|
48
|
+
export { GvPromote } from './molecules/gv-promote';
|
|
49
|
+
export { GvRatingList } from './molecules/gv-rating-list';
|
|
50
|
+
export { GvRating } from './molecules/gv-rating';
|
|
51
|
+
export { GvRowExpandable } from './molecules/gv-row-expandable';
|
|
52
|
+
export { GvRow } from './molecules/gv-row';
|
|
53
|
+
export { GvStats } from './molecules/gv-stats';
|
|
54
|
+
export { GvStepper } from './molecules/gv-stepper';
|
|
55
|
+
export { GvTable } from './molecules/gv-table';
|
|
56
|
+
export { GvTree } from './molecules/gv-tree';
|
|
57
|
+
export { GvDocumentation } from './organisms/gv-documentation';
|
|
58
|
+
export { GvHeader } from './organisms/gv-header';
|
|
59
|
+
export { GvHttpClient } from './organisms/gv-http-client';
|
|
60
|
+
export { GvMenu } from './organisms/gv-menu';
|
|
61
|
+
export { GvNewsletterSubscription } from './organisms/gv-newsletter-subscription';
|
|
62
|
+
export { GvPagination } from './organisms/gv-pagination';
|
|
63
|
+
export { GvProperties } from './organisms/gv-properties';
|
|
64
|
+
export { GvResizableViews } from './organisms/gv-resizable-views';
|
|
65
|
+
export { GvResources } from './organisms/gv-resources';
|
|
66
|
+
export { GvSchemaFormArray } from './organisms/gv-schema-form-array';
|
|
67
|
+
export { GvSchemaFormControlObject } from './organisms/gv-schema-form-control-object';
|
|
68
|
+
export { GvSchemaFormControl } from './organisms/gv-schema-form-control';
|
|
69
|
+
export { GvSchemaForm } from './organisms/gv-schema-form';
|
|
70
|
+
export { GvTabs } from './organisms/gv-tabs';
|
|
71
|
+
export { GvUserMenu } from './organisms/gv-user-menu';
|
|
72
|
+
export { GvVerticalMenu } from './organisms/gv-vertical-menu';
|
|
73
|
+
export { GvFlowStep } from './policy-studio/gv-flow-step';
|
|
74
|
+
export { GvFlow } from './policy-studio/gv-flow';
|
|
75
|
+
export { GvPolicyStudioMenu } from './policy-studio/gv-policy-studio-menu';
|
|
76
|
+
export { GvPolicyStudio } from './policy-studio/gv-policy-studio';
|
|
77
|
+
export { GvTheme } from './theme/gv-theme';
|
|
@@ -1 +1,176 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
// This comes from the fact that parseInt trims characters coming
|
|
17
|
+
// after digits and consider it a valid int, so `1*` becomes `1`.
|
|
18
|
+
const safeParseInt = (value) => {
|
|
19
|
+
if (/^\d+$/.test(value)) {
|
|
20
|
+
return Number(value);
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
return NaN;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
const isWildcard = (value) => {
|
|
27
|
+
return value === '*';
|
|
28
|
+
};
|
|
29
|
+
const isQuestionMark = (value) => {
|
|
30
|
+
return value === '?';
|
|
31
|
+
};
|
|
32
|
+
const isInRange = (value, start, stop) => {
|
|
33
|
+
return value >= start && value <= stop;
|
|
34
|
+
};
|
|
35
|
+
const isValidRange = (value, start, stop) => {
|
|
36
|
+
const sides = value.split('-');
|
|
37
|
+
switch (sides.length) {
|
|
38
|
+
case 1:
|
|
39
|
+
return isWildcard(value) || isInRange(safeParseInt(value), start, stop);
|
|
40
|
+
case 2:
|
|
41
|
+
// eslint-disable-next-line no-case-declarations
|
|
42
|
+
const [small, big] = sides.map((side) => safeParseInt(side));
|
|
43
|
+
return small <= big && isInRange(small, start, stop) && isInRange(big, start, stop);
|
|
44
|
+
default:
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
const isValidStep = (value) => {
|
|
49
|
+
return value === undefined || value.search(/[^\d]/) === -1;
|
|
50
|
+
};
|
|
51
|
+
const validateForRange = (value, start, stop) => {
|
|
52
|
+
if (value.search(/[^\d-,/*]/) !== -1) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
const list = value.split(',');
|
|
56
|
+
return list.every((condition) => {
|
|
57
|
+
const splits = condition.split('/');
|
|
58
|
+
// Prevents `*/ * * * *` from being accepted.
|
|
59
|
+
if (condition.trim().endsWith('/')) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
// Prevents `*/*/* * * * *` from being accepted
|
|
63
|
+
if (splits.length > 2) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
// If we don't have a `/`, right will be undefined which is considered a valid step if we don't a `/`.
|
|
67
|
+
const [left, right] = splits;
|
|
68
|
+
return isValidRange(left, start, stop) && isValidStep(right);
|
|
69
|
+
});
|
|
70
|
+
};
|
|
71
|
+
const hasValidSeconds = (seconds) => {
|
|
72
|
+
return validateForRange(seconds, 0, 59);
|
|
73
|
+
};
|
|
74
|
+
const hasValidMinutes = (minutes) => {
|
|
75
|
+
return validateForRange(minutes, 0, 59);
|
|
76
|
+
};
|
|
77
|
+
const hasValidHours = (hours) => {
|
|
78
|
+
return validateForRange(hours, 0, 23);
|
|
79
|
+
};
|
|
80
|
+
const hasValidDays = (days, allowBlankDay) => {
|
|
81
|
+
return (allowBlankDay && isQuestionMark(days)) || validateForRange(days, 1, 31);
|
|
82
|
+
};
|
|
83
|
+
const monthAlias = {
|
|
84
|
+
jan: '1',
|
|
85
|
+
feb: '2',
|
|
86
|
+
mar: '3',
|
|
87
|
+
apr: '4',
|
|
88
|
+
may: '5',
|
|
89
|
+
jun: '6',
|
|
90
|
+
jul: '7',
|
|
91
|
+
aug: '8',
|
|
92
|
+
sep: '9',
|
|
93
|
+
oct: '10',
|
|
94
|
+
nov: '11',
|
|
95
|
+
dec: '12',
|
|
96
|
+
};
|
|
97
|
+
const hasValidMonths = (months, alias) => {
|
|
98
|
+
// Prevents alias to be used as steps
|
|
99
|
+
if (months.search(/\/[a-zA-Z]/) !== -1) {
|
|
100
|
+
return false;
|
|
101
|
+
}
|
|
102
|
+
if (alias) {
|
|
103
|
+
const remappedMonths = months.toLowerCase().replace(/[a-z]{3}/g, (match) => {
|
|
104
|
+
return monthAlias[match] === undefined ? match : monthAlias[match];
|
|
105
|
+
});
|
|
106
|
+
// If any invalid alias was used, it won't pass the other checks as there will be non-numeric values in the months
|
|
107
|
+
return validateForRange(remappedMonths, 1, 12);
|
|
108
|
+
}
|
|
109
|
+
return validateForRange(months, 1, 12);
|
|
110
|
+
};
|
|
111
|
+
const weekdaysAlias = {
|
|
112
|
+
sun: '0',
|
|
113
|
+
mon: '1',
|
|
114
|
+
tue: '2',
|
|
115
|
+
wed: '3',
|
|
116
|
+
thu: '4',
|
|
117
|
+
fri: '5',
|
|
118
|
+
sat: '6',
|
|
119
|
+
};
|
|
120
|
+
const hasValidWeekdays = (weekdays, alias, allowBlankDay, allowSevenAsSunday) => {
|
|
121
|
+
// If there is a question mark, checks if the allowBlankDay flag is set
|
|
122
|
+
if (allowBlankDay && isQuestionMark(weekdays)) {
|
|
123
|
+
return true;
|
|
124
|
+
}
|
|
125
|
+
else if (!allowBlankDay && isQuestionMark(weekdays)) {
|
|
126
|
+
return false;
|
|
127
|
+
}
|
|
128
|
+
// Prevents alias to be used as steps
|
|
129
|
+
if (weekdays.search(/\/[a-zA-Z]/) !== -1) {
|
|
130
|
+
return false;
|
|
131
|
+
}
|
|
132
|
+
if (alias) {
|
|
133
|
+
const remappedWeekdays = weekdays.toLowerCase().replace(/[a-z]{3}/g, (match) => {
|
|
134
|
+
return weekdaysAlias[match] === undefined ? match : weekdaysAlias[match];
|
|
135
|
+
});
|
|
136
|
+
// If any invalid alias was used, it won't pass the other checks as there will be non-numeric values in the weekdays
|
|
137
|
+
return validateForRange(remappedWeekdays, 0, allowSevenAsSunday ? 7 : 6);
|
|
138
|
+
}
|
|
139
|
+
return validateForRange(weekdays, 0, allowSevenAsSunday ? 7 : 6);
|
|
140
|
+
};
|
|
141
|
+
const hasCompatibleDayFormat = (days, weekdays, allowBlankDay) => {
|
|
142
|
+
return !(allowBlankDay && isQuestionMark(days) && isQuestionMark(weekdays));
|
|
143
|
+
};
|
|
144
|
+
const split = (cron) => {
|
|
145
|
+
return cron.trim().split(/\s+/);
|
|
146
|
+
};
|
|
147
|
+
const defaultOptions = {
|
|
148
|
+
alias: false,
|
|
149
|
+
seconds: false,
|
|
150
|
+
allowBlankDay: false,
|
|
151
|
+
allowSevenAsSunday: false,
|
|
152
|
+
};
|
|
153
|
+
export const isValidCron = (cron, options) => {
|
|
154
|
+
options = { ...defaultOptions, ...options };
|
|
155
|
+
const splits = split(cron);
|
|
156
|
+
if (splits.length > (options.seconds ? 6 : 5) || splits.length < 5) {
|
|
157
|
+
return false;
|
|
158
|
+
}
|
|
159
|
+
const checks = [];
|
|
160
|
+
if (splits.length === 6) {
|
|
161
|
+
const seconds = splits.shift();
|
|
162
|
+
if (seconds) {
|
|
163
|
+
checks.push(hasValidSeconds(seconds));
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
// We could only check the steps gradually and return false on the first invalid block,
|
|
167
|
+
// However, this won't have any performance impact so why bother for now.
|
|
168
|
+
const [minutes, hours, days, months, weekdays] = splits;
|
|
169
|
+
checks.push(hasValidMinutes(minutes));
|
|
170
|
+
checks.push(hasValidHours(hours));
|
|
171
|
+
checks.push(hasValidDays(days, options.allowBlankDay));
|
|
172
|
+
checks.push(hasValidMonths(months, options.alias));
|
|
173
|
+
checks.push(hasValidWeekdays(weekdays, options.alias, options.allowBlankDay, options.allowSevenAsSunday));
|
|
174
|
+
checks.push(hasCompatibleDayFormat(days, weekdays, options.allowBlankDay));
|
|
175
|
+
return checks.every(Boolean);
|
|
176
|
+
};
|
package/src/lib/date.js
CHANGED
|
@@ -1 +1,43 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export function isInvalid(date, min, max, noTime = true, disabledDates = []) {
|
|
17
|
+
if (date) {
|
|
18
|
+
if (min) {
|
|
19
|
+
const minDate = new Date(min * 1000);
|
|
20
|
+
if (noTime) {
|
|
21
|
+
minDate.setHours(0, 0);
|
|
22
|
+
}
|
|
23
|
+
minDate.setSeconds(0, 0);
|
|
24
|
+
if (date < minDate.getTime() / 1000) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
if (max) {
|
|
29
|
+
const maxDate = new Date(max * 1000);
|
|
30
|
+
if (noTime) {
|
|
31
|
+
maxDate.setHours(23, 59);
|
|
32
|
+
}
|
|
33
|
+
maxDate.setSeconds(59, 59);
|
|
34
|
+
if (date > maxDate.getTime() / 1000) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
if (disabledDates.findIndex((disabledDay) => parseInt(disabledDay, 10) === date) !== -1) {
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return false;
|
|
43
|
+
}
|
package/src/lib/events.js
CHANGED
|
@@ -1 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export function dispatchCustomEvent(node, suffix, detail, options = {}) {
|
|
17
|
+
const eventName = `${node.nodeName.toLocaleLowerCase()}:${suffix}`;
|
|
18
|
+
/* global CustomEvent */
|
|
19
|
+
const event = new CustomEvent(eventName, {
|
|
20
|
+
detail,
|
|
21
|
+
bubbles: true,
|
|
22
|
+
composed: true,
|
|
23
|
+
...options,
|
|
24
|
+
});
|
|
25
|
+
node.dispatchEvent(event);
|
|
26
|
+
}
|
|
@@ -1 +1,67 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2021 The Gravitee team (http://gravitee.io)
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export const httpClientSchemaForm = {
|
|
17
|
+
type: 'object',
|
|
18
|
+
id: 'urn:jsonschema:io:gravitee:http:client',
|
|
19
|
+
properties: {
|
|
20
|
+
method: {
|
|
21
|
+
title: 'HTTP Method',
|
|
22
|
+
description: 'HTTP method to invoke the endpoint.',
|
|
23
|
+
type: 'string',
|
|
24
|
+
default: 'GET',
|
|
25
|
+
enum: ['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'HEAD', 'CONNECT', 'OPTIONS', 'TRACE'],
|
|
26
|
+
},
|
|
27
|
+
path: {
|
|
28
|
+
title: 'Path',
|
|
29
|
+
type: 'string',
|
|
30
|
+
default: '/',
|
|
31
|
+
},
|
|
32
|
+
headers: {
|
|
33
|
+
type: 'array',
|
|
34
|
+
title: 'Request Headers',
|
|
35
|
+
items: {
|
|
36
|
+
type: 'object',
|
|
37
|
+
title: 'Header',
|
|
38
|
+
properties: {
|
|
39
|
+
name: {
|
|
40
|
+
title: 'Name',
|
|
41
|
+
type: 'string',
|
|
42
|
+
},
|
|
43
|
+
value: {
|
|
44
|
+
title: 'Value',
|
|
45
|
+
type: 'string',
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
required: ['name', 'value'],
|
|
50
|
+
},
|
|
51
|
+
body: {
|
|
52
|
+
title: 'Request body',
|
|
53
|
+
type: 'string',
|
|
54
|
+
'x-schema-form': {
|
|
55
|
+
type: 'codemirror',
|
|
56
|
+
codemirrorOptions: {
|
|
57
|
+
placeholder: 'Put request body here',
|
|
58
|
+
lineWrapping: true,
|
|
59
|
+
lineNumbers: true,
|
|
60
|
+
allowDropFileTypes: true,
|
|
61
|
+
autoCloseTags: true,
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
required: ['method', 'path'],
|
|
67
|
+
};
|
package/src/lib/http.js
CHANGED
|
@@ -1 +1,237 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2021 The Gravitee team (http://gravitee.io)
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export const statusCode = {
|
|
17
|
+
100: {
|
|
18
|
+
description: 'Continue',
|
|
19
|
+
constant: 'CONTINUE',
|
|
20
|
+
},
|
|
21
|
+
101: {
|
|
22
|
+
description: 'Switching Protocols',
|
|
23
|
+
constant: 'SWITCHING_PROTOCOLS',
|
|
24
|
+
},
|
|
25
|
+
102: {
|
|
26
|
+
description: 'Processing',
|
|
27
|
+
constant: 'PROCESSING',
|
|
28
|
+
},
|
|
29
|
+
200: {
|
|
30
|
+
description: 'OK',
|
|
31
|
+
constant: 'OK',
|
|
32
|
+
},
|
|
33
|
+
201: {
|
|
34
|
+
description: 'Created',
|
|
35
|
+
constant: 'CREATED',
|
|
36
|
+
},
|
|
37
|
+
202: {
|
|
38
|
+
description: 'Accepted',
|
|
39
|
+
constant: 'ACCEPTED',
|
|
40
|
+
},
|
|
41
|
+
203: {
|
|
42
|
+
description: 'Non Authoritative Information',
|
|
43
|
+
constant: 'NON_AUTHORITATIVE_INFORMATION',
|
|
44
|
+
},
|
|
45
|
+
204: {
|
|
46
|
+
description: 'No Content',
|
|
47
|
+
constant: 'NO_CONTENT',
|
|
48
|
+
},
|
|
49
|
+
205: {
|
|
50
|
+
description: 'Reset Content',
|
|
51
|
+
constant: 'RESET_CONTENT',
|
|
52
|
+
},
|
|
53
|
+
206: {
|
|
54
|
+
description: 'Partial Content',
|
|
55
|
+
constant: 'PARTIAL_CONTENT',
|
|
56
|
+
},
|
|
57
|
+
207: {
|
|
58
|
+
description: 'Multi-Status',
|
|
59
|
+
constant: 'MULTI_STATUS',
|
|
60
|
+
},
|
|
61
|
+
300: {
|
|
62
|
+
description: 'Multiple Choices',
|
|
63
|
+
constant: 'MULTIPLE_CHOICES',
|
|
64
|
+
},
|
|
65
|
+
301: {
|
|
66
|
+
description: 'Moved Permanently',
|
|
67
|
+
constant: 'MOVED_PERMANENTLY',
|
|
68
|
+
},
|
|
69
|
+
302: {
|
|
70
|
+
description: 'Moved Temporarily',
|
|
71
|
+
constant: 'MOVED_TEMPORARILY',
|
|
72
|
+
},
|
|
73
|
+
303: {
|
|
74
|
+
description: 'See Other',
|
|
75
|
+
constant: 'SEE_OTHER',
|
|
76
|
+
},
|
|
77
|
+
304: {
|
|
78
|
+
description: 'Not Modified',
|
|
79
|
+
constant: 'NOT_MODIFIED',
|
|
80
|
+
},
|
|
81
|
+
305: {
|
|
82
|
+
description: 'Use Proxy',
|
|
83
|
+
constant: 'USE_PROXY',
|
|
84
|
+
},
|
|
85
|
+
307: {
|
|
86
|
+
description: 'Temporary Redirect',
|
|
87
|
+
constant: 'TEMPORARY_REDIRECT',
|
|
88
|
+
},
|
|
89
|
+
308: {
|
|
90
|
+
description: 'Permanent Redirect',
|
|
91
|
+
constant: 'PERMANENT_REDIRECT',
|
|
92
|
+
},
|
|
93
|
+
400: {
|
|
94
|
+
description: 'Bad Request',
|
|
95
|
+
constant: 'BAD_REQUEST',
|
|
96
|
+
},
|
|
97
|
+
401: {
|
|
98
|
+
description: 'Unauthorized',
|
|
99
|
+
constant: 'UNAUTHORIZED',
|
|
100
|
+
},
|
|
101
|
+
402: {
|
|
102
|
+
description: 'Payment Required',
|
|
103
|
+
constant: 'PAYMENT_REQUIRED',
|
|
104
|
+
},
|
|
105
|
+
403: {
|
|
106
|
+
description: 'Forbidden',
|
|
107
|
+
constant: 'FORBIDDEN',
|
|
108
|
+
},
|
|
109
|
+
404: {
|
|
110
|
+
description: 'Not Found',
|
|
111
|
+
constant: 'NOT_FOUND',
|
|
112
|
+
},
|
|
113
|
+
405: {
|
|
114
|
+
description: 'Method Not Allowed',
|
|
115
|
+
constant: 'METHOD_NOT_ALLOWED',
|
|
116
|
+
},
|
|
117
|
+
406: {
|
|
118
|
+
description: 'Not Acceptable',
|
|
119
|
+
constant: 'NOT_ACCEPTABLE',
|
|
120
|
+
},
|
|
121
|
+
407: {
|
|
122
|
+
description: 'Proxy Authentication Required',
|
|
123
|
+
constant: 'PROXY_AUTHENTICATION_REQUIRED',
|
|
124
|
+
},
|
|
125
|
+
408: {
|
|
126
|
+
description: 'Request Timeout',
|
|
127
|
+
constant: 'REQUEST_TIMEOUT',
|
|
128
|
+
},
|
|
129
|
+
409: {
|
|
130
|
+
description: 'Conflict',
|
|
131
|
+
constant: 'CONFLICT',
|
|
132
|
+
},
|
|
133
|
+
410: {
|
|
134
|
+
description: 'Gone',
|
|
135
|
+
constant: 'GONE',
|
|
136
|
+
},
|
|
137
|
+
411: {
|
|
138
|
+
description: 'Length Required',
|
|
139
|
+
constant: 'LENGTH_REQUIRED',
|
|
140
|
+
},
|
|
141
|
+
412: {
|
|
142
|
+
description: 'Precondition Failed',
|
|
143
|
+
constant: 'PRECONDITION_FAILED',
|
|
144
|
+
},
|
|
145
|
+
413: {
|
|
146
|
+
description: 'Request Entity Too Large',
|
|
147
|
+
constant: 'REQUEST_ENTITY_TOO_LARGE',
|
|
148
|
+
},
|
|
149
|
+
414: {
|
|
150
|
+
description: 'Request-URI Too Long',
|
|
151
|
+
constant: 'REQUEST_URI_TOO_LONG',
|
|
152
|
+
},
|
|
153
|
+
415: {
|
|
154
|
+
description: 'Unsupported Media Type',
|
|
155
|
+
constant: 'UNSUPPORTED_MEDIA_TYPE',
|
|
156
|
+
},
|
|
157
|
+
416: {
|
|
158
|
+
description: 'Requested Range Not Satisfiable',
|
|
159
|
+
constant: 'REQUESTED_RANGE_NOT_SATISFIABLE',
|
|
160
|
+
},
|
|
161
|
+
417: {
|
|
162
|
+
description: 'Expectation Failed',
|
|
163
|
+
constant: 'EXPECTATION_FAILED',
|
|
164
|
+
},
|
|
165
|
+
418: {
|
|
166
|
+
description: "I'm a teapot",
|
|
167
|
+
constant: "I'M_A_TEAPOT",
|
|
168
|
+
},
|
|
169
|
+
419: {
|
|
170
|
+
description: 'Insufficient Space on Resource',
|
|
171
|
+
constant: 'INSUFFICIENT_SPACE_ON_RESOURCE',
|
|
172
|
+
},
|
|
173
|
+
420: {
|
|
174
|
+
description: 'Method Failure',
|
|
175
|
+
constant: 'METHOD_FAILURE',
|
|
176
|
+
},
|
|
177
|
+
422: {
|
|
178
|
+
description: 'Unprocessable Entity',
|
|
179
|
+
constant: 'UNPROCESSABLE_ENTITY',
|
|
180
|
+
},
|
|
181
|
+
423: {
|
|
182
|
+
description: 'Locked',
|
|
183
|
+
constant: 'LOCKED',
|
|
184
|
+
},
|
|
185
|
+
424: {
|
|
186
|
+
description: 'Failed Dependency',
|
|
187
|
+
constant: 'FAILED_DEPENDENCY',
|
|
188
|
+
},
|
|
189
|
+
428: {
|
|
190
|
+
description: 'Precondition Required',
|
|
191
|
+
constant: 'PRECONDITION_REQUIRED',
|
|
192
|
+
},
|
|
193
|
+
429: {
|
|
194
|
+
description: 'Too Many Requests',
|
|
195
|
+
constant: 'TOO_MANY_REQUESTS',
|
|
196
|
+
},
|
|
197
|
+
431: {
|
|
198
|
+
description: 'Request Header Fields Too Large',
|
|
199
|
+
constant: 'REQUEST_HEADER_FIELDS_TOO_LARGE',
|
|
200
|
+
},
|
|
201
|
+
451: {
|
|
202
|
+
description: 'Unavailable For Legal Reasons',
|
|
203
|
+
constant: 'UNAVAILABLE_FOR_LEGAL_REASONS',
|
|
204
|
+
},
|
|
205
|
+
500: {
|
|
206
|
+
description: 'Internal Server Error',
|
|
207
|
+
constant: 'INTERNAL_SERVER_ERROR',
|
|
208
|
+
},
|
|
209
|
+
501: {
|
|
210
|
+
description: 'Not Implemented',
|
|
211
|
+
constant: 'NOT_IMPLEMENTED',
|
|
212
|
+
},
|
|
213
|
+
502: {
|
|
214
|
+
description: 'Bad Gateway',
|
|
215
|
+
constant: 'BAD_GATEWAY',
|
|
216
|
+
},
|
|
217
|
+
503: {
|
|
218
|
+
description: 'Service Unavailable',
|
|
219
|
+
constant: 'SERVICE_UNAVAILABLE',
|
|
220
|
+
},
|
|
221
|
+
504: {
|
|
222
|
+
description: 'Gateway Timeout',
|
|
223
|
+
constant: 'GATEWAY_TIMEOUT',
|
|
224
|
+
},
|
|
225
|
+
505: {
|
|
226
|
+
description: 'HTTP Version Not Supported',
|
|
227
|
+
constant: 'HTTP_VERSION_NOT_SUPPORTED',
|
|
228
|
+
},
|
|
229
|
+
507: {
|
|
230
|
+
description: 'Insufficient Storage',
|
|
231
|
+
constant: 'INSUFFICIENT_STORAGE',
|
|
232
|
+
},
|
|
233
|
+
511: {
|
|
234
|
+
description: 'Network Authentication Required',
|
|
235
|
+
constant: 'NETWORK_AUTHENTICATION_REQUIRED',
|
|
236
|
+
},
|
|
237
|
+
};
|