@oinone/kunlun-meta 6.2.7 → 6.3.0
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.
|
@@ -12,7 +12,7 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
12
12
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
13
13
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
14
|
PERFORMANCE OF THIS SOFTWARE.
|
|
15
|
-
***************************************************************************** */var n,i,r,o,a=function(){return a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a.apply(this,arguments)};function s(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{c(i.next(e))}catch(e){o(e)}}function s(e){try{c(i.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))}!function(e){e.ACTIVE="ACTIVE",e.INACTIVE="INACTIVE"}(n||(n={})),function(e){e.DRAFT="DRAFT",e.NOT_ENABLED="NOT_ENABLED",e.ENABLED="ENABLED",e.DISABLED="DISABLED"}(i||(i={})),function(e){e.STORE="STORE",e.TRANSIENT="TRANSIENT",e.ABSTRACT="ABSTRACT",e.PROXY="PROXY",e.CLIENT="CLIENT"}(r||(r={})),function(e){e.String="STRING",e.Text="TEXT",e.HTML="HTML",e.Phone="PHONE",e.Email="EMAIL",e.Integer="INTEGER",e.Long="LONG",e.Float="FLOAT",e.Currency="MONEY",e.DateTime="DATETIME",e.Date="DATE",e.Time="TIME",e.Year="YEAR",e.Boolean="BOOLEAN",e.Enum="ENUM",e.Map="MAP",e.Related="RELATED",e.OneToOne="O2O",e.OneToMany="O2M",e.ManyToOne="M2O",e.ManyToMany="M2M",e.OBJ="OBJ",e.ID="ID",e.Null="NULL",e.UID="UID",e.MultiEnum="MULTI_ENUM"}(o||(o={}));const c={ID:"ID",NULL:"空",INTEGER:"整数",LONG:"长整型",FLOAT:"浮点数",BOOLEAN:"布尔型",STRING:"文本",TEXT:"多行文本",DATETIME:"时间日期",DATE:"日期",TIME:"时间",YEAR:"年份",HTML:"富文本",MONEY:"金额",ENUM:"数据字典",MULTI_ENUM:"多枚举",O2O:"一对一",O2M:"一对多",M2O:"多对一",M2M:"多对多",RELATED:"引用类型",MAP:"键值对",UID:"用户ID",PHONE:"手机",EMAIL:"邮箱"},l=[{label:c.STRING,value:o.String},{label:c.TEXT,value:o.Text},{label:c.HTML,value:o.HTML},{label:c.PHONE,value:o.Phone},{label:c.EMAIL,value:o.Email},{label:c.INTEGER,value:o.Integer},{label:c.LONG,value:o.Long},{label:c.FLOAT,value:o.Float},{label:c.MONEY,value:o.Currency},{label:c.DATETIME,value:o.DateTime},{label:c.DATE,value:o.Date},{label:c.TIME,value:o.Time},{label:c.YEAR,value:o.Year},{label:c.BOOLEAN,value:o.Boolean},{label:c.ENUM,value:o.Enum},{label:c.MAP,value:o.Map},{label:c.O2M,value:o.OneToMany},{label:c.M2O,value:o.ManyToOne},{label:c.M2M,value:o.ManyToMany}];var u,p,d,f,h,E,m,N,T,O,I,y,_,A;function D(e){return[o.OneToOne,o.OneToMany,o.ManyToOne,o.ManyToMany].includes(e)}function v(e){return[o.OneToOne,o.ManyToOne].includes(e)}function S(e){return[o.ManyToMany,o.OneToMany].includes(e)}function g(e){return e===o.Related}!function(e){e.NON="NON",e.JSON="JSON",e.COMMA="COMMA",e.BIT="BIT",e.DOT="DOT"}(u||(u={})),function(e){e.ACTIVE="ACTIVE",e.INACTIVE="INACTIVE"}(p||(p={})),function(e){e.GRAPHQL="graphql",e.RESTFUL="restful"}(d||(d={})),function(e){e.PRIMITIVE="primitive",e.OBJECT="object",e.LIST="list"}(f||(f={})),function(e){e.CLIENT="client",e.SERVER="server"}(h||(h={})),function(e){e.CLIENT="client",e.SERVER="server",e.BOTH="both"}(E||(E={})),function(e){e.DOMAIN="domain",e.OBJECT="object",e.LIST="list"}(m||(m={})),function(e){e.Server="SERVER",e.View="VIEW",e.URL="URL",e.Client="CLIENT",e.Model="model",e.Composition="COMPOSITION",e.Custom="custom"}(N||(N={})),function(e){e.Single="SINGLE",e.Batch="BATCH",e.SingleAndBatch="SINGLE_AND_BATCH",e.ContextFree="CONTEXT_FREE"}(T||(T={})),function(e){e.JAVA="JAVA",e.JS="JS",e.GROOVY="GROOVY"}(O||(O={})),function(e){e.FindOne="FindOne",e.FindList="FindList",e.FindAll="FindAll",e.InsertOne="InsertOne",e.UpdateOne="UpdateOne",e.DeleteOne="DeleteOne",e.DeleteOneInline="DeleteOneInline",e.UpdateList="UpdateList",e.DeleteList="DeleteList"}(I||(I={})),function(e){e.ContextAction="contextFreeAction",e.SingleAction="singleAction",e.FooterAction="footer"}(y||(y={})),function(e){e.ValidateForm="validateForm",e.UpdateContext="updateContext",e.ShowDialog="showDialog",e.SubmitDialog="submitDialog",e.CloseDialog="closeDialog",e.InsertEmptyItemToList="insertEmptyItemToList",e.InsertEmptyItemToBefore="insertEmptyItemToBefore",e.InsertEmptyItemToAfter="insertEmptyItemToAfter",e.DeleteListItem="deleteListItem",e.ReloadData="reloadData",e.CopyText="copyText",e.Confirm="confirm",e.StartCreate="startCreate",e.StartInlineEdit="startInlineEdit",e.SubmitInlineEdit="submitInlineEdit",e.CancelInlineEdit="cancelInlineEdit",e.HistoryBack="historyBack",e.O2MCreateForm="O2MCreateForm",e.O2MEditForm="O2MEditForm",e.O2MDelete="O2MDelete",e.O2MCreateFormConfirm="O2MCreateFormConfirm",e.O2MEditFormConfirm="O2MEditFormConfirm",e.M2MCreateTable="M2MCreateTable",e.M2MDelete="M2MDelete",e.M2MCreateTableConfirm="M2MCreateTableConfirm",e.O2MCloseForm="O2MCloseForm"}(_||(_={})),function(e){e.create="create",e.update="update",e.delete="delete",e.redirectDetailPage="redirectDetailPage",e.redirectCreatePage="redirectCreatePage",e.redirectUpdatePage="redirectUpdatePage",e.$$internal_AddOne="$$internal_AddOne",e.$$internal_EditOne="$$internal_EditOne",e.$$internal_CopyOne="$$internal_CopyOne",e.$$internal_DeleteOne="$$internal_DeleteOne",e.$$internal_ListInsertOneAndBackToList="$$internal_ListInsertOneAndBackToList",e.$$internal_ListUpdateOneAndBackToList="$$internal_ListUpdateOneAndBackToList",e.$$internal_GotoListImportDialog="$$internal_GotoListImportDialog",e.$$internal_GotoListExportDialog="$$internal_GotoListExportDialog",e.$$internal_GotoListTableRouter="$$internal_GotoListTableRouter",e.$$internal_DialogCancel="$$internal_DialogCancel",e.$$internal_GotoO2MCreateDialog="$$internal_GotoO2MCreateDialog",e.$$internal_GotoO2MEditDialog="$$internal_GotoO2MEditDialog",e.$$internal_O2MUpdateOneAndSubmitDialog="$$internal_O2MUpdateOneAndSubmitDialog",e.$$internal_O2MDeleteOne="$$internal_O2MDeleteOne",e.$$internal_DialogSubmit="$$internal_DialogSubmit",e.$$internal_O2MInsertOneAndSubmitDialog="$$internal_O2MInsertOneAndSubmitDialog",e.$$internal_ListUpdateAndCloseDialogReloadOpenerAction="$$internal_ListUpdateAndCloseDialogReloadOpenerAction",e.$$internal_ListInsertOneAndCloseDialog="$$internal_ListInsertOneAndCloseDialog",e.$$internal_GotoM2MListDialog="$$internal_GotoM2MListDialog",e.$$internal_ReloadData="$$internal_ReloadData",e.$$internal_ValidateForm="$$internal_ValidateForm",e.$$internal_Download="$$internal_Download",e.$$internal_BatchUpdate="$$internal_BatchUpdate",e.$$internal_DownloadImportWorkbook="$$internal_DownloadImportWorkbook",e.$$internal_ImportWorkbook="$$internal_ImportWorkbook",e.$$internal_ExportWorkbook="$$internal_ExportWorkbook",e.$$internal_PrintPdfDocument="$$internal_PrintPdfDocument"}(A||(A={}));const M=[A.create,A.update,A.delete,A.redirectDetailPage,A.redirectCreatePage,A.redirectUpdatePage];var L,C,b,R,x,k,P,F,w,B;!function(e){e.Sequential="sequential",e.Parallel="parallel",e.ForkJoin="fork-join",e.Race="race"}(L||(L={})),function(e){e.Client="client",e.Server="server",e.Both="both"}(C||(C={})),function(e){e.MASK="MASK",e.BLOCK="BLOCK",e.HEADER="HEADER",e.CONTAINER="CONTAINER",e.SIDEBAR="SIDEBAR",e.CONTENT="CONTENT",e.VIEW="VIEW",e.FIELD="FIELD",e.GROUP="GROUP",e.GRID="GRID",e.ACTION="ACTION",e.API="API",e.CONTEXT="CONTEXT",e.REQUEST="REQUEST",e.RESPONSE="RESPONSE",e.CLEAR="CLEAR",e.FILTER="FILTER",e.WIDGET="WIDGET",e.PROP="PROP",e.VALIDATION="VALIDATION"}(b||(b={})),function(e){e.SIGN_UP_PHONE="SIGN_UP_PHONE",e.SIGN_UP_EMAIL="SIGN_UP_EMAIL",e.PHONE_MODIFY_PASSWORD_BY_PHONE_SUBMIT="MODIFY_PASSWORD_BY_PHONE",e.PHONE_MODIFY_PASSWORD_BY_PHONE_SEND_CODE="MODIFY_PASSWORD_BYPHONE_SEND_CODE",e.EMAIL_MODIFY_PASSWORD_BY_EMAIL_SUBMIT="MODIFY_PASSWORD_BY_EMAIL",e.EMAIL_MODIFY_PASSWORD_BY_EMAIL_SEND_CODE="MODIFY_PASSWORD_SEND_RESET_EMAIL",e.PHONE_MODIFY_PHONE_SUBMIT="MODIFY_PHONE",e.PHONE_MODIFY_PHONE_OLD_PHONE_CODE="MODIFY_PHONE_OLD_PHONE_CODE",e.EMAIL_MODIFY_PHONE_SEND_EMAIL_CODE="MODIFY_PHONE_SEND_EMAIL",e.PHONE_MODIFY_PHONE_NEW_PHONE_CODE="MODIFY_PHONE_NEW_PHONE_CODE",e.EMAIL_MODIFY_EMAIL_SUBMIT="MODIFY_EMAIL",e.EMAIL_MODIFY_EMAIL_SEND_OLD_EMAIL="MODIFY_EMAIL_SEND_OLD_EMAIL",e.PHONE_MODIFY_EMAIL_SEND_PHONE_CODE="MODIFY_EMAIL_SEND_PHONE_CODE",e.EMAIL_MODIFY_EMAIL_SEND_NEW_EMAIL="MODIFY_EMAIL_SEND_NEW_EMAIL",e.PHONE_ADD_CORP_SEND_PHONE_CODE="ADD_CORP_SEND_PHONE_CODE",e.EMAIL_ADD_CORP_SEND_EMAIL_CODE="ADD_CORP_SEND_EMAIL_CODE",e.PHONE_LOGIN_BY_PHONE_CODE="LOGIN_BY_PHONE_CODE",e.PHONE_SEND_LOGIN_BY_PHONE_CODE="SEND_LOGIN_BY_PHONE_CODE",e.EMAIL_LOGIN_BY_EMAIL_CODE="LOGIN_BY_EMAIL_CODE",e.EMAIL_SEND_LOGIN_BY_EMAIL_CODE="SEND_LOGIN_BY_EMAIL_CODE"}(R||(R={})),function(e){e.List="LIST",e.Object="OBJECT"}(x||(x={})),function(e){e.PC="PC",e.MOBILE="MOBILE"}(k||(k={})),function(e){e.Table="TABLE",e.Form="FORM",e.Detail="DETAIL",e.Search="SEARCH",e.Gallery="GALLERY",e.Tree="TREE",e.Multiple="MULTIPLE",e.Custom="CUSTOM"}(P||(P={})),function(e){e.Create="CREATE",e.Editor="EDITOR",e.Lookup="LOOKUP"}(F||(F={})),function(e){e.Router="ROUTER",e.Dialog="DIALOG",e.Drawer="DRAWER",e.Inner="INNER",e.OpenWindow="OPEN_WINDOW",e.Frame="iframe"}(w||(w={})),function(e){e.SYSTEM="SYSTEM",e.BASE="BASE",e.MANUAL="MANUAL",e.UI="UI",e.RELATION="RELATION",e.ABSTRACT_INHERITED="ABSTRACT_INHERITED",e.TRANSIENT_INHERITED="TRANSIENT_INHERITED",e.EXTEND_INHERITED="EXTEND_INHERITED",e.MULTI_TABLE_INHERITED="MULTI_TABLE_INHERITED",e.PROXY_INHERITED="PROXY_INHERITED"}(B||(B={}));const $={BASE:"base",COMMON:"common",USER:"user",AUTH:"auth",MESSAGE:"message",RESOURCE:"resource",FILE:"file",DESIGNER_COMMON:"designer_common"},U={BASE:"base",COMMON:"common",USER:"user",AUTH:"auth",MESSAGE:"message",RESOURCE:"resource",FILE:"file",DESIGNER_COMMON:"designerCommon"},V="id =notnull= true";function Y(e){return Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y(e)}var G="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function j(e,t){for(var n,i=/\r\n|[\n\r]/g,r=1,o=t+1;(n=i.exec(e.body))&&n.index<t;)r+=1,o=t+1-(n.index+n[0].length);return{line:r,column:o}}function H(e){return K(e.source,j(e.source,e.start))}function K(e,t){var n=e.locationOffset.column-1,i=W(n)+e.body,r=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?n:0,c=t.column+s,l="".concat(e.name,":").concat(a,":").concat(c,"\n"),u=i.split(/\r\n|[\n\r]/g),p=u[r];if(p.length>120){for(var d=Math.floor(c/80),f=c%80,h=[],E=0;E<p.length;E+=80)h.push(p.slice(E,E+80));return l+J([["".concat(a),h[0]]].concat(h.slice(1,d+1).map((function(e){return["",e]})),[[" ",W(f-1)+"^"],["",h[d+1]]]))}return l+J([["".concat(a-1),u[r-1]],["".concat(a),p],["",W(c-1)+"^"],["".concat(a+1),u[r+1]]])}function J(e){var t=e.filter((function(e){return e[0],void 0!==e[1]})),n=Math.max.apply(Math,t.map((function(e){return e[0].length})));return t.map((function(e){var t,i=e[0],r=e[1];return W(n-(t=i).length)+t+(r?" | "+r:" |")})).join("\n")}function W(e){return Array(e+1).join(" ")}function q(e){return q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},q(e)}function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Z(e,t){return!t||"object"!==q(t)&&"function"!=typeof t?ee(e):t}function ee(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function te(e){var t="function"==typeof Map?new Map:void 0;return te=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return ne(e,arguments,oe(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),re(i,e)},te(e)}function ne(e,t,n){return ne=ie()?Reflect.construct:function(e,t,n){var i=[null];i.push.apply(i,t);var r=new(Function.bind.apply(e,i));return n&&re(r,n.prototype),r},ne.apply(null,arguments)}function ie(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function re(e,t){return re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},re(e,t)}function oe(e){return oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},oe(e)}var ae=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&re(e,t)}(a,te(Error));var e,t,n,i,r,o=(e=a,t=ie(),function(){var n,i=oe(e);if(t){var r=oe(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return Z(this,n)});function a(e,t,n,i,r,s,c){var l,u,p,d;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(d=o.call(this,e)).name="GraphQLError",d.originalError=null!=s?s:void 0,d.nodes=se(Array.isArray(t)?t:t?[t]:void 0);for(var f=[],h=0,E=null!==(m=d.nodes)&&void 0!==m?m:[];h<E.length;h++){var m,N=E[h].loc;null!=N&&f.push(N)}f=se(f),d.source=null!=n?n:null===(l=f)||void 0===l?void 0:l[0].source,d.positions=null!=i?i:null===(u=f)||void 0===u?void 0:u.map((function(e){return e.start})),d.locations=i&&n?i.map((function(e){return j(n,e)})):null===(p=f)||void 0===p?void 0:p.map((function(e){return j(e.source,e.start)})),d.path=null!=r?r:void 0;var T,O=null==s?void 0:s.extensions;return null==c&&("object"==Y(T=O)&&null!==T)?d.extensions=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach((function(t){Q(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},O):d.extensions=null!=c?c:{},Object.defineProperties(ee(d),{message:{enumerable:!0},locations:{enumerable:null!=d.locations},path:{enumerable:null!=d.path},extensions:{enumerable:null!=d.extensions&&Object.keys(d.extensions).length>0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=s&&s.stack?(Object.defineProperty(ee(d),"stack",{value:s.stack,writable:!0,configurable:!0}),Z(d)):(Error.captureStackTrace?Error.captureStackTrace(ee(d),a):Object.defineProperty(ee(d),"stack",{value:Error().stack,writable:!0,configurable:!0}),d)}return n=a,(i=[{key:"toString",value:function(){return function(e){var t=e.message;if(e.nodes)for(var n=0,i=e.nodes;n<i.length;n++){var r=i[n];r.loc&&(t+="\n\n"+H(r.loc))}else if(e.source&&e.locations)for(var o=0,a=e.locations;o<a.length;o++){var s=a[o];t+="\n\n"+K(e.source,s)}return t}(this)}},{key:G,get:function(){return"Object"}}])&&z(n.prototype,i),r&&z(n,r),a}();function se(e){return void 0===e||0===e.length?void 0:e}function ce(e,t,n){return new ae("Syntax Error: ".concat(n),void 0,e,[t])}var le=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});var ue="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;function pe(e){var t=e.prototype.toJSON;"function"==typeof t||function(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}(0),e.prototype.inspect=t,ue&&(e.prototype[ue]=t)}var de=function(){function e(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();pe(de);var fe=function(){function e(e,t,n,i,r,o,a){this.kind=e,this.start=t,this.end=n,this.line=i,this.column=r,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();pe(fe);var he=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function Ee(e){return Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ee(e)}function me(e){return Ne(e,[])}function Ne(e,t){switch(Ee(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var n=[].concat(t,[e]),i=function(e){var t=e[String(ue)];if("function"==typeof t)return t;if("function"==typeof e.inspect)return e.inspect}(e);if(void 0!==i){var r=i.call(e);if(r!==e)return"string"==typeof r?r:Ne(r,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var n=Math.min(10,e.length),i=e.length-n,r=[],o=0;o<n;++o)r.push(Ne(e[o],t));1===i?r.push("... 1 more item"):i>1&&r.push("... ".concat(i," more items"));return"["+r.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);if(0===n.length)return"{}";if(t.length>2)return"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var n=e.constructor.name;if("string"==typeof n&&""!==n)return n}return t}(e)+"]";var i=n.map((function(n){return n+": "+Ne(e[n],t)}));return"{ "+i.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}function Te(e,t){if(!Boolean(e))throw new Error(t)}function Oe(e){return Oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Oe(e)}var Ie="production"===process.env.NODE_ENV?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"===Oe(e)&&null!==e){var n,i=t.prototype[Symbol.toStringTag];if(i===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(n=e.constructor)||void 0===n?void 0:n.name)){var r=me(e);throw new Error("Cannot use ".concat(i,' "').concat(r,'" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.'))}}return!1};function ye(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var _e=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||Te(0,"Body must be a string. Received: ".concat(me(e),".")),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||Te(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||Te(0,"column in locationOffset is 1-indexed and must be positive.")}var t,n,i;return t=e,(n=[{key:G,get:function(){return"Source"}}])&&ye(t.prototype,n),i&&ye(t,i),e}();var Ae=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function De(e){var t=e.split(/\r\n|[\n\r]/g),n=function(e){for(var t,n=!0,i=!0,r=0,o=null,a=0;a<e.length;++a)switch(e.charCodeAt(a)){case 13:10===e.charCodeAt(a+1)&&++a;case 10:n=!1,i=!0,r=0;break;case 9:case 32:++r;break;default:i&&!n&&(null===o||r<o)&&(o=r),i=!1}return null!==(t=o)&&void 0!==t?t:0}(e);if(0!==n)for(var i=1;i<t.length;i++)t[i]=t[i].slice(n);for(var r=0;r<t.length&&ve(t[r]);)++r;for(var o=t.length;o>r&&ve(t[o-1]);)--o;return t.slice(r,o).join("\n")}function ve(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&"\t"!==e[t])return!1;return!0}var Se=function(){function e(e){var t=new fe(he.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==he.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=Me(this,e)}while(e.kind===he.COMMENT);return e},e}();function ge(e){return isNaN(e)?he.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function Me(e,t){for(var n=e.source,i=n.body,r=i.length,o=t.end;o<r;){var a=i.charCodeAt(o),s=e.line,c=1+o-e.lineStart;switch(a){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===i.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 33:return new fe(he.BANG,o,o+1,s,c,t);case 35:return Ce(n,o,s,c,t);case 36:return new fe(he.DOLLAR,o,o+1,s,c,t);case 38:return new fe(he.AMP,o,o+1,s,c,t);case 40:return new fe(he.PAREN_L,o,o+1,s,c,t);case 41:return new fe(he.PAREN_R,o,o+1,s,c,t);case 46:if(46===i.charCodeAt(o+1)&&46===i.charCodeAt(o+2))return new fe(he.SPREAD,o,o+3,s,c,t);break;case 58:return new fe(he.COLON,o,o+1,s,c,t);case 61:return new fe(he.EQUALS,o,o+1,s,c,t);case 64:return new fe(he.AT,o,o+1,s,c,t);case 91:return new fe(he.BRACKET_L,o,o+1,s,c,t);case 93:return new fe(he.BRACKET_R,o,o+1,s,c,t);case 123:return new fe(he.BRACE_L,o,o+1,s,c,t);case 124:return new fe(he.PIPE,o,o+1,s,c,t);case 125:return new fe(he.BRACE_R,o,o+1,s,c,t);case 34:return 34===i.charCodeAt(o+1)&&34===i.charCodeAt(o+2)?ke(n,o,s,c,t,e):xe(n,o,s,c,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return be(n,o,a,s,c,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return Fe(n,o,s,c,t)}throw ce(n,o,Le(a))}var l=e.line,u=1+o-e.lineStart;return new fe(he.EOF,r,r,l,u,t)}function Le(e){return e<32&&9!==e&&10!==e&&13!==e?"Cannot contain the invalid character ".concat(ge(e),"."):39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(ge(e),".")}function Ce(e,t,n,i,r){var o,a=e.body,s=t;do{o=a.charCodeAt(++s)}while(!isNaN(o)&&(o>31||9===o));return new fe(he.COMMENT,t,s,n,i,r,a.slice(t+1,s))}function be(e,t,n,i,r,o){var a=e.body,s=n,c=t,l=!1;if(45===s&&(s=a.charCodeAt(++c)),48===s){if((s=a.charCodeAt(++c))>=48&&s<=57)throw ce(e,c,"Invalid number, unexpected digit after 0: ".concat(ge(s),"."))}else c=Re(e,c,s),s=a.charCodeAt(c);if(46===s&&(l=!0,s=a.charCodeAt(++c),c=Re(e,c,s),s=a.charCodeAt(c)),69!==s&&101!==s||(l=!0,43!==(s=a.charCodeAt(++c))&&45!==s||(s=a.charCodeAt(++c)),c=Re(e,c,s),s=a.charCodeAt(c)),46===s||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(s))throw ce(e,c,"Invalid number, expected digit but got: ".concat(ge(s),"."));return new fe(l?he.FLOAT:he.INT,t,c,i,r,o,a.slice(t,c))}function Re(e,t,n){var i=e.body,r=t,o=n;if(o>=48&&o<=57){do{o=i.charCodeAt(++r)}while(o>=48&&o<=57);return r}throw ce(e,r,"Invalid number, expected digit but got: ".concat(ge(o),"."))}function xe(e,t,n,i,r){for(var o,a,s,c,l=e.body,u=t+1,p=u,d=0,f="";u<l.length&&!isNaN(d=l.charCodeAt(u))&&10!==d&&13!==d;){if(34===d)return f+=l.slice(p,u),new fe(he.STRING,t,u+1,n,i,r,f);if(d<32&&9!==d)throw ce(e,u,"Invalid character within String: ".concat(ge(d),"."));if(++u,92===d){switch(f+=l.slice(p,u-1),d=l.charCodeAt(u)){case 34:f+='"';break;case 47:f+="/";break;case 92:f+="\\";break;case 98:f+="\b";break;case 102:f+="\f";break;case 110:f+="\n";break;case 114:f+="\r";break;case 116:f+="\t";break;case 117:var h=(o=l.charCodeAt(u+1),a=l.charCodeAt(u+2),s=l.charCodeAt(u+3),c=l.charCodeAt(u+4),Pe(o)<<12|Pe(a)<<8|Pe(s)<<4|Pe(c));if(h<0){var E=l.slice(u+1,u+5);throw ce(e,u,"Invalid character escape sequence: \\u".concat(E,"."))}f+=String.fromCharCode(h),u+=4;break;default:throw ce(e,u,"Invalid character escape sequence: \\".concat(String.fromCharCode(d),"."))}p=++u}}throw ce(e,u,"Unterminated string.")}function ke(e,t,n,i,r,o){for(var a=e.body,s=t+3,c=s,l=0,u="";s<a.length&&!isNaN(l=a.charCodeAt(s));){if(34===l&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2))return u+=a.slice(c,s),new fe(he.BLOCK_STRING,t,s+3,n,i,r,De(u));if(l<32&&9!==l&&10!==l&&13!==l)throw ce(e,s,"Invalid character within String: ".concat(ge(l),"."));10===l?(++s,++o.line,o.lineStart=s):13===l?(10===a.charCodeAt(s+1)?s+=2:++s,++o.line,o.lineStart=s):92===l&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2)&&34===a.charCodeAt(s+3)?(u+=a.slice(c,s)+'"""',c=s+=4):++s}throw ce(e,s,"Unterminated string.")}function Pe(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function Fe(e,t,n,i,r){for(var o=e.body,a=o.length,s=t+1,c=0;s!==a&&!isNaN(c=o.charCodeAt(s))&&(95===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122);)++s;return new fe(he.NAME,t,s,n,i,r,o.slice(t,s))}var we=function(){function e(e,t){var n=function(e){return Ie(e,_e)}(e)?e:new _e(e);this._lexer=new Se(n),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(he.NAME);return{kind:le.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:le.DOCUMENT,definitions:this.many(he.SOF,this.parseDefinition,he.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(he.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(he.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(he.BRACE_L))return{kind:le.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(he.NAME)&&(t=this.parseName()),{kind:le.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(he.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(he.PAREN_L,this.parseVariableDefinition,he.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:le.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(he.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(he.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(he.DOLLAR),{kind:le.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:le.SELECTION_SET,selections:this.many(he.BRACE_L,this.parseSelection,he.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(he.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,i=this.parseName();return this.expectOptionalToken(he.COLON)?(e=i,t=this.parseName()):t=i,{kind:le.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(he.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(he.PAREN_L,t,he.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(he.COLON),{kind:le.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:le.ARGUMENT,name:this.parseName(),value:(this.expectToken(he.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(he.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(he.NAME)?{kind:le.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:le.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:le.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:le.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case he.BRACKET_L:return this.parseList(e);case he.BRACE_L:return this.parseObject(e);case he.INT:return this._lexer.advance(),{kind:le.INT,value:t.value,loc:this.loc(t)};case he.FLOAT:return this._lexer.advance(),{kind:le.FLOAT,value:t.value,loc:this.loc(t)};case he.STRING:case he.BLOCK_STRING:return this.parseStringLiteral();case he.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:le.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:le.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:le.NULL,loc:this.loc(t)};default:return{kind:le.ENUM,value:t.value,loc:this.loc(t)}}case he.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:le.STRING,value:e.value,block:e.kind===he.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:le.LIST,values:this.any(he.BRACKET_L,(function(){return t.parseValueLiteral(e)}),he.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:le.OBJECT,fields:this.any(he.BRACE_L,(function(){return t.parseObjectField(e)}),he.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(he.COLON),{kind:le.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(he.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(he.AT),{kind:le.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(he.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(he.BRACKET_R),e={kind:le.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(he.BANG)?{kind:le.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:le.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===he.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(he.STRING)||this.peek(he.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var n=this.parseDirectives(!0),i=this.many(he.BRACE_L,this.parseOperationTypeDefinition,he.BRACE_R);return{kind:le.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:i,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(he.COLON);var n=this.parseNamedType();return{kind:le.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),i=this.parseDirectives(!0);return{kind:le.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:i,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:le.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)){var t=[];this.expectOptionalToken(he.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(he.AMP)||this.peek(he.NAME));return t}return this.delimitedMany(he.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(he.BRACE_L)&&this._lexer.lookahead().kind===he.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(he.BRACE_L,this.parseFieldDefinition,he.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseArgumentDefs();this.expectToken(he.COLON);var r=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:le.FIELD_DEFINITION,description:t,name:n,arguments:i,type:r,directives:o,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(he.PAREN_L,this.parseInputValueDef,he.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(he.COLON);var i,r=this.parseTypeReference();this.expectOptionalToken(he.EQUALS)&&(i=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:le.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:i,directives:o,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:le.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:o,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),i=this.parseDirectives(!0),r=this.parseUnionMemberTypes();return{kind:le.UNION_TYPE_DEFINITION,description:t,name:n,directives:i,types:r,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(he.EQUALS)?this.delimitedMany(he.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),i=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();return{kind:le.ENUM_TYPE_DEFINITION,description:t,name:n,directives:i,values:r,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(he.BRACE_L,this.parseEnumValueDefinition,he.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseDirectives(!0);return{kind:le.ENUM_VALUE_DEFINITION,description:t,name:n,directives:i,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),i=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();return{kind:le.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:i,fields:r,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(he.BRACE_L,this.parseInputValueDef,he.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===he.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.optionalMany(he.BRACE_L,this.parseOperationTypeDefinition,he.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:le.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:le.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),r=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===r.length)throw this.unexpected();return{kind:le.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:r,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),r=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===r.length)throw this.unexpected();return{kind:le.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:r,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseDirectives(!0),i=this.parseUnionMemberTypes();if(0===n.length&&0===i.length)throw this.unexpected();return{kind:le.UNION_TYPE_EXTENSION,name:t,directives:n,types:i,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return{kind:le.ENUM_TYPE_EXTENSION,name:t,directives:n,values:i,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return{kind:le.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:i,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(he.AT);var n=this.parseName(),i=this.parseArgumentDefs(),r=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:le.DIRECTIVE_DEFINITION,description:t,name:n,arguments:i,repeatable:r,locations:o,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(he.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==Ae[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new de(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw ce(this._lexer.source,t.start,"Expected ".concat($e(e),", found ").concat(Be(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==he.NAME||t.value!==e)throw ce(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(Be(t),"."));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===he.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return ce(this._lexer.source,t.start,"Unexpected ".concat(Be(t),"."))},t.any=function(e,t,n){this.expectToken(e);for(var i=[];!this.expectOptionalToken(n);)i.push(t.call(this));return i},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var i=[];do{i.push(t.call(this))}while(!this.expectOptionalToken(n));return i}return[]},t.many=function(e,t,n){this.expectToken(e);var i=[];do{i.push(t.call(this))}while(!this.expectOptionalToken(n));return i},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n},e}();function Be(e){var t=e.value;return $e(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function $e(e){return function(e){return e===he.BANG||e===he.DOLLAR||e===he.AMP||e===he.PAREN_L||e===he.PAREN_R||e===he.SPREAD||e===he.COLON||e===he.EQUALS||e===he.AT||e===he.BRACKET_L||e===he.BRACKET_R||e===he.BRACE_L||e===he.PIPE||e===he.BRACE_R}(e)?'"'.concat(e,'"'):e}var Ue=new Map,Ve=new Map,Ye=!0,Ge=!1;function je(e){return e.replace(/[\s,]+/g," ").trim()}function He(e){var t=new Set,n=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var i=e.name.value,r=je((a=e.loc).source.body.substring(a.start,a.end)),o=Ve.get(i);o&&!o.has(r)?Ye&&console.warn("Warning: fragment with name "+i+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||Ve.set(i,o=new Set),o.add(r),t.has(r)||(t.add(r),n.push(e))}else n.push(e);var a})),a(a({},e),{definitions:n})}function Ke(e){var t=je(e);if(!Ue.has(t)){var n=function(e,t){return new we(e,t).parseDocument()}(e,{experimentalFragmentVariables:Ge,allowLegacyFragmentVariables:Ge});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");Ue.set(t,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(n){var i=e[n];i&&"object"==typeof i&&t.add(i)}))}));var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}(He(n)))}return Ue.get(t)}function Je(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var i=e[0];return t.forEach((function(t,n){t&&"Document"===t.kind?i+=t.loc.source.body:i+=t,i+=e[n+1]})),Ke(i)}var We,qe=Je,Xe=function(){Ue.clear(),Ve.clear()},Qe=function(){Ye=!1},ze=function(){Ge=!0},Ze=function(){Ge=!1};(We=Je||(Je={})).gql=qe,We.resetCaches=Xe,We.disableFragmentWarnings=Qe,We.enableExperimentalFragmentVariables=ze,We.disableExperimentalFragmentVariables=Ze,Je.default=Je;const et=Je`
|
|
15
|
+
***************************************************************************** */var n,i,r,o,a=function(){return a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a.apply(this,arguments)};function s(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{c(i.next(e))}catch(e){o(e)}}function s(e){try{c(i.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((i=i.apply(e,t||[])).next())})}!function(e){e.ACTIVE="ACTIVE",e.INACTIVE="INACTIVE"}(n||(n={})),function(e){e.DRAFT="DRAFT",e.NOT_ENABLED="NOT_ENABLED",e.ENABLED="ENABLED",e.DISABLED="DISABLED"}(i||(i={})),function(e){e.STORE="STORE",e.TRANSIENT="TRANSIENT",e.ABSTRACT="ABSTRACT",e.PROXY="PROXY",e.CLIENT="CLIENT"}(r||(r={})),function(e){e.String="STRING",e.Text="TEXT",e.HTML="HTML",e.Phone="PHONE",e.Email="EMAIL",e.Integer="INTEGER",e.Long="LONG",e.Float="FLOAT",e.Currency="MONEY",e.DateTime="DATETIME",e.Date="DATE",e.Time="TIME",e.Year="YEAR",e.Boolean="BOOLEAN",e.Enum="ENUM",e.Map="MAP",e.Related="RELATED",e.OneToOne="O2O",e.OneToMany="O2M",e.ManyToOne="M2O",e.ManyToMany="M2M",e.OBJ="OBJ",e.ID="ID",e.Null="NULL",e.UID="UID",e.MultiEnum="MULTI_ENUM"}(o||(o={}));const c={ID:"ID",NULL:"空",INTEGER:"整数",LONG:"长整型",FLOAT:"浮点数",BOOLEAN:"布尔型",STRING:"文本",TEXT:"多行文本",DATETIME:"时间日期",DATE:"日期",TIME:"时间",YEAR:"年份",HTML:"富文本",MONEY:"金额",ENUM:"数据字典",MULTI_ENUM:"多枚举",O2O:"一对一",O2M:"一对多",M2O:"多对一",M2M:"多对多",RELATED:"引用类型",MAP:"键值对",UID:"用户ID",PHONE:"手机",EMAIL:"邮箱"},l=[{label:c.STRING,value:o.String},{label:c.TEXT,value:o.Text},{label:c.HTML,value:o.HTML},{label:c.PHONE,value:o.Phone},{label:c.EMAIL,value:o.Email},{label:c.INTEGER,value:o.Integer},{label:c.LONG,value:o.Long},{label:c.FLOAT,value:o.Float},{label:c.MONEY,value:o.Currency},{label:c.DATETIME,value:o.DateTime},{label:c.DATE,value:o.Date},{label:c.TIME,value:o.Time},{label:c.YEAR,value:o.Year},{label:c.BOOLEAN,value:o.Boolean},{label:c.ENUM,value:o.Enum},{label:c.MAP,value:o.Map},{label:c.O2M,value:o.OneToMany},{label:c.M2O,value:o.ManyToOne},{label:c.M2M,value:o.ManyToMany}];var u,p,d,f,h,E,m,N,T,O,I,y,_,A;function D(e){return[o.OneToOne,o.OneToMany,o.ManyToOne,o.ManyToMany].includes(e)}function v(e){return[o.OneToOne,o.ManyToOne].includes(e)}function S(e){return[o.ManyToMany,o.OneToMany].includes(e)}function g(e){return e===o.Related}!function(e){e.NON="NON",e.JSON="JSON",e.COMMA="COMMA",e.BIT="BIT",e.DOT="DOT"}(u||(u={})),function(e){e.ACTIVE="ACTIVE",e.INACTIVE="INACTIVE"}(p||(p={})),function(e){e.GRAPHQL="graphql",e.RESTFUL="restful"}(d||(d={})),function(e){e.PRIMITIVE="primitive",e.OBJECT="object",e.LIST="list"}(f||(f={})),function(e){e.CLIENT="client",e.SERVER="server"}(h||(h={})),function(e){e.CLIENT="client",e.SERVER="server",e.BOTH="both"}(E||(E={})),function(e){e.DOMAIN="domain",e.OBJECT="object",e.LIST="list"}(m||(m={})),function(e){e.Server="SERVER",e.View="VIEW",e.URL="URL",e.Client="CLIENT",e.Model="model",e.Composition="COMPOSITION",e.Custom="custom"}(N||(N={})),function(e){e.Single="SINGLE",e.Batch="BATCH",e.SingleAndBatch="SINGLE_AND_BATCH",e.ContextFree="CONTEXT_FREE"}(T||(T={})),function(e){e.JAVA="JAVA",e.JS="JS",e.GROOVY="GROOVY"}(O||(O={})),function(e){e.FindOne="FindOne",e.FindList="FindList",e.FindAll="FindAll",e.InsertOne="InsertOne",e.UpdateOne="UpdateOne",e.DeleteOne="DeleteOne",e.DeleteOneInline="DeleteOneInline",e.UpdateList="UpdateList",e.DeleteList="DeleteList"}(I||(I={})),function(e){e.ContextAction="contextFreeAction",e.SingleAction="singleAction",e.FooterAction="footer"}(y||(y={})),function(e){e.ValidateForm="validateForm",e.UpdateContext="updateContext",e.ShowDialog="showDialog",e.SubmitDialog="submitDialog",e.CloseDialog="closeDialog",e.InsertEmptyItemToList="insertEmptyItemToList",e.InsertEmptyItemToBefore="insertEmptyItemToBefore",e.InsertEmptyItemToAfter="insertEmptyItemToAfter",e.DeleteListItem="deleteListItem",e.ReloadData="reloadData",e.CopyText="copyText",e.Confirm="confirm",e.StartCreate="startCreate",e.StartInlineEdit="startInlineEdit",e.SubmitInlineEdit="submitInlineEdit",e.CancelInlineEdit="cancelInlineEdit",e.HistoryBack="historyBack",e.O2MCreateForm="O2MCreateForm",e.O2MEditForm="O2MEditForm",e.O2MDelete="O2MDelete",e.O2MCreateFormConfirm="O2MCreateFormConfirm",e.O2MEditFormConfirm="O2MEditFormConfirm",e.M2MCreateTable="M2MCreateTable",e.M2MDelete="M2MDelete",e.M2MCreateTableConfirm="M2MCreateTableConfirm",e.O2MCloseForm="O2MCloseForm"}(_||(_={})),function(e){e.create="create",e.update="update",e.delete="delete",e.redirectDetailPage="redirectDetailPage",e.redirectCreatePage="redirectCreatePage",e.redirectUpdatePage="redirectUpdatePage",e.$$internal_AddOne="$$internal_AddOne",e.$$internal_EditOne="$$internal_EditOne",e.$$internal_CopyOne="$$internal_CopyOne",e.$$internal_DeleteOne="$$internal_DeleteOne",e.$$internal_ListInsertOneAndBackToList="$$internal_ListInsertOneAndBackToList",e.$$internal_ListUpdateOneAndBackToList="$$internal_ListUpdateOneAndBackToList",e.$$internal_GotoListImportDialog="$$internal_GotoListImportDialog",e.$$internal_GotoListExportDialog="$$internal_GotoListExportDialog",e.$$internal_GotoListTableRouter="$$internal_GotoListTableRouter",e.$$internal_DialogCancel="$$internal_DialogCancel",e.$$internal_GotoO2MCreateDialog="$$internal_GotoO2MCreateDialog",e.$$internal_GotoO2MEditDialog="$$internal_GotoO2MEditDialog",e.$$internal_O2MUpdateOneAndSubmitDialog="$$internal_O2MUpdateOneAndSubmitDialog",e.$$internal_O2MDeleteOne="$$internal_O2MDeleteOne",e.$$internal_DialogSubmit="$$internal_DialogSubmit",e.$$internal_O2MInsertOneAndSubmitDialog="$$internal_O2MInsertOneAndSubmitDialog",e.$$internal_ListUpdateAndCloseDialogReloadOpenerAction="$$internal_ListUpdateAndCloseDialogReloadOpenerAction",e.$$internal_ListInsertOneAndCloseDialog="$$internal_ListInsertOneAndCloseDialog",e.$$internal_GotoM2MListDialog="$$internal_GotoM2MListDialog",e.$$internal_ReloadData="$$internal_ReloadData",e.$$internal_ValidateForm="$$internal_ValidateForm",e.$$internal_Download="$$internal_Download",e.$$internal_BatchUpdate="$$internal_BatchUpdate",e.$$internal_DownloadImportWorkbook="$$internal_DownloadImportWorkbook",e.$$internal_ImportWorkbook="$$internal_ImportWorkbook",e.$$internal_ExportWorkbook="$$internal_ExportWorkbook",e.$$internal_PrintPdfDocument="$$internal_PrintPdfDocument"}(A||(A={}));const M=[A.create,A.update,A.delete,A.redirectDetailPage,A.redirectCreatePage,A.redirectUpdatePage];var L,C,b,R,x,k,P,F,w,B;!function(e){e.Sequential="sequential",e.Parallel="parallel",e.ForkJoin="fork-join",e.Race="race"}(L||(L={})),function(e){e.Client="client",e.Server="server",e.Both="both"}(C||(C={})),function(e){e.MASK="MASK",e.BLOCK="BLOCK",e.HEADER="HEADER",e.CONTAINER="CONTAINER",e.SIDEBAR="SIDEBAR",e.CONTENT="CONTENT",e.VIEW="VIEW",e.FIELD="FIELD",e.GROUP="GROUP",e.GRID="GRID",e.ACTION="ACTION",e.API="API",e.CONTEXT="CONTEXT",e.REQUEST="REQUEST",e.RESPONSE="RESPONSE",e.CLEAR="CLEAR",e.FILTER="FILTER",e.WIDGET="WIDGET",e.PROP="PROP",e.VALIDATION="VALIDATION"}(b||(b={})),function(e){e.SIGN_UP_PHONE="SIGN_UP_PHONE",e.SIGN_UP_EMAIL="SIGN_UP_EMAIL",e.PHONE_MODIFY_PASSWORD_BY_PHONE_SUBMIT="MODIFY_PASSWORD_BY_PHONE",e.PHONE_MODIFY_PASSWORD_BY_PHONE_SEND_CODE="MODIFY_PASSWORD_BYPHONE_SEND_CODE",e.EMAIL_MODIFY_PASSWORD_BY_EMAIL_SUBMIT="MODIFY_PASSWORD_BY_EMAIL",e.EMAIL_MODIFY_PASSWORD_BY_EMAIL_SEND_CODE="MODIFY_PASSWORD_SEND_RESET_EMAIL",e.PHONE_MODIFY_PHONE_SUBMIT="MODIFY_PHONE",e.PHONE_MODIFY_PHONE_OLD_PHONE_CODE="MODIFY_PHONE_OLD_PHONE_CODE",e.EMAIL_MODIFY_PHONE_SEND_EMAIL_CODE="MODIFY_PHONE_SEND_EMAIL",e.PHONE_MODIFY_PHONE_NEW_PHONE_CODE="MODIFY_PHONE_NEW_PHONE_CODE",e.EMAIL_MODIFY_EMAIL_SUBMIT="MODIFY_EMAIL",e.EMAIL_MODIFY_EMAIL_SEND_OLD_EMAIL="MODIFY_EMAIL_SEND_OLD_EMAIL",e.PHONE_MODIFY_EMAIL_SEND_PHONE_CODE="MODIFY_EMAIL_SEND_PHONE_CODE",e.EMAIL_MODIFY_EMAIL_SEND_NEW_EMAIL="MODIFY_EMAIL_SEND_NEW_EMAIL",e.PHONE_ADD_CORP_SEND_PHONE_CODE="ADD_CORP_SEND_PHONE_CODE",e.EMAIL_ADD_CORP_SEND_EMAIL_CODE="ADD_CORP_SEND_EMAIL_CODE",e.PHONE_LOGIN_BY_PHONE_CODE="LOGIN_BY_PHONE_CODE",e.PHONE_SEND_LOGIN_BY_PHONE_CODE="SEND_LOGIN_BY_PHONE_CODE",e.EMAIL_LOGIN_BY_EMAIL_CODE="LOGIN_BY_EMAIL_CODE",e.EMAIL_SEND_LOGIN_BY_EMAIL_CODE="SEND_LOGIN_BY_EMAIL_CODE"}(R||(R={})),function(e){e.List="LIST",e.Object="OBJECT"}(x||(x={})),function(e){e.PC="PC",e.MOBILE="MOBILE"}(k||(k={})),function(e){e.Table="TABLE",e.Form="FORM",e.Detail="DETAIL",e.Search="SEARCH",e.Gallery="GALLERY",e.Tree="TREE",e.Multiple="MULTIPLE",e.Custom="CUSTOM"}(P||(P={})),function(e){e.Create="CREATE",e.Editor="EDITOR",e.Lookup="LOOKUP"}(F||(F={})),function(e){e.Router="ROUTER",e.Dialog="DIALOG",e.Drawer="DRAWER",e.Inner="INNER",e.OpenWindow="OPEN_WINDOW",e.Frame="iframe"}(w||(w={})),function(e){e.SYSTEM="SYSTEM",e.BASE="BASE",e.MANUAL="MANUAL",e.UI="UI",e.RELATION="RELATION",e.ABSTRACT_INHERITED="ABSTRACT_INHERITED",e.TRANSIENT_INHERITED="TRANSIENT_INHERITED",e.EXTEND_INHERITED="EXTEND_INHERITED",e.MULTI_TABLE_INHERITED="MULTI_TABLE_INHERITED",e.PROXY_INHERITED="PROXY_INHERITED"}(B||(B={}));const $={BASE:"base",COMMON:"common",USER:"user",AUTH:"auth",MESSAGE:"message",RESOURCE:"resource",FILE:"file",EIP:"eip",DESIGNER_COMMON:"designer_common"},U={BASE:"base",COMMON:"common",USER:"user",AUTH:"auth",MESSAGE:"message",RESOURCE:"resource",FILE:"file",EIP:"eip",DESIGNER_COMMON:"designerCommon"},V="id =notnull= true";function Y(e){return Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y(e)}var G="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function j(e,t){for(var n,i=/\r\n|[\n\r]/g,r=1,o=t+1;(n=i.exec(e.body))&&n.index<t;)r+=1,o=t+1-(n.index+n[0].length);return{line:r,column:o}}function H(e){return K(e.source,j(e.source,e.start))}function K(e,t){var n=e.locationOffset.column-1,i=W(n)+e.body,r=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?n:0,c=t.column+s,l="".concat(e.name,":").concat(a,":").concat(c,"\n"),u=i.split(/\r\n|[\n\r]/g),p=u[r];if(p.length>120){for(var d=Math.floor(c/80),f=c%80,h=[],E=0;E<p.length;E+=80)h.push(p.slice(E,E+80));return l+J([["".concat(a),h[0]]].concat(h.slice(1,d+1).map(function(e){return["",e]}),[[" ",W(f-1)+"^"],["",h[d+1]]]))}return l+J([["".concat(a-1),u[r-1]],["".concat(a),p],["",W(c-1)+"^"],["".concat(a+1),u[r+1]]])}function J(e){var t=e.filter(function(e){return e[0],void 0!==e[1]}),n=Math.max.apply(Math,t.map(function(e){return e[0].length}));return t.map(function(e){var t,i=e[0],r=e[1];return W(n-(t=i).length)+t+(r?" | "+r:" |")}).join("\n")}function W(e){return Array(e+1).join(" ")}function q(e){return q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},q(e)}function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Z(e,t){return!t||"object"!==q(t)&&"function"!=typeof t?ee(e):t}function ee(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function te(e){var t="function"==typeof Map?new Map:void 0;return te=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return ne(e,arguments,oe(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),re(i,e)},te(e)}function ne(e,t,n){return ne=ie()?Reflect.construct:function(e,t,n){var i=[null];i.push.apply(i,t);var r=new(Function.bind.apply(e,i));return n&&re(r,n.prototype),r},ne.apply(null,arguments)}function ie(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function re(e,t){return re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},re(e,t)}function oe(e){return oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},oe(e)}var ae=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&re(e,t)}(a,te(Error));var e,t,n,i,r,o=(e=a,t=ie(),function(){var n,i=oe(e);if(t){var r=oe(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return Z(this,n)});function a(e,t,n,i,r,s,c){var l,u,p,d;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(d=o.call(this,e)).name="GraphQLError",d.originalError=null!=s?s:void 0,d.nodes=se(Array.isArray(t)?t:t?[t]:void 0);for(var f=[],h=0,E=null!==(m=d.nodes)&&void 0!==m?m:[];h<E.length;h++){var m,N=E[h].loc;null!=N&&f.push(N)}f=se(f),d.source=null!=n?n:null===(l=f)||void 0===l?void 0:l[0].source,d.positions=null!=i?i:null===(u=f)||void 0===u?void 0:u.map(function(e){return e.start}),d.locations=i&&n?i.map(function(e){return j(n,e)}):null===(p=f)||void 0===p?void 0:p.map(function(e){return j(e.source,e.start)}),d.path=null!=r?r:void 0;var T,O=null==s?void 0:s.extensions;return null==c&&("object"==Y(T=O)&&null!==T)?d.extensions=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach(function(t){Q(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},O):d.extensions=null!=c?c:{},Object.defineProperties(ee(d),{message:{enumerable:!0},locations:{enumerable:null!=d.locations},path:{enumerable:null!=d.path},extensions:{enumerable:null!=d.extensions&&Object.keys(d.extensions).length>0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=s&&s.stack?(Object.defineProperty(ee(d),"stack",{value:s.stack,writable:!0,configurable:!0}),Z(d)):(Error.captureStackTrace?Error.captureStackTrace(ee(d),a):Object.defineProperty(ee(d),"stack",{value:Error().stack,writable:!0,configurable:!0}),d)}return n=a,(i=[{key:"toString",value:function(){return function(e){var t=e.message;if(e.nodes)for(var n=0,i=e.nodes;n<i.length;n++){var r=i[n];r.loc&&(t+="\n\n"+H(r.loc))}else if(e.source&&e.locations)for(var o=0,a=e.locations;o<a.length;o++){var s=a[o];t+="\n\n"+K(e.source,s)}return t}(this)}},{key:G,get:function(){return"Object"}}])&&z(n.prototype,i),r&&z(n,r),a}();function se(e){return void 0===e||0===e.length?void 0:e}function ce(e,t,n){return new ae("Syntax Error: ".concat(n),void 0,e,[t])}var le=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});var ue="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;function pe(e){var t=e.prototype.toJSON;"function"==typeof t||function(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}(0),e.prototype.inspect=t,ue&&(e.prototype[ue]=t)}var de=function(){function e(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();pe(de);var fe=function(){function e(e,t,n,i,r,o,a){this.kind=e,this.start=t,this.end=n,this.line=i,this.column=r,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();pe(fe);var he=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function Ee(e){return Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ee(e)}function me(e){return Ne(e,[])}function Ne(e,t){switch(Ee(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var n=[].concat(t,[e]),i=function(e){var t=e[String(ue)];if("function"==typeof t)return t;if("function"==typeof e.inspect)return e.inspect}(e);if(void 0!==i){var r=i.call(e);if(r!==e)return"string"==typeof r?r:Ne(r,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var n=Math.min(10,e.length),i=e.length-n,r=[],o=0;o<n;++o)r.push(Ne(e[o],t));1===i?r.push("... 1 more item"):i>1&&r.push("... ".concat(i," more items"));return"["+r.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);if(0===n.length)return"{}";if(t.length>2)return"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var n=e.constructor.name;if("string"==typeof n&&""!==n)return n}return t}(e)+"]";var i=n.map(function(n){return n+": "+Ne(e[n],t)});return"{ "+i.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}function Te(e,t){if(!Boolean(e))throw new Error(t)}function Oe(e){return Oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Oe(e)}var Ie="production"===process.env.NODE_ENV?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"===Oe(e)&&null!==e){var n,i=t.prototype[Symbol.toStringTag];if(i===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(n=e.constructor)||void 0===n?void 0:n.name)){var r=me(e);throw new Error("Cannot use ".concat(i,' "').concat(r,'" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.'))}}return!1};function ye(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var _e=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||Te(0,"Body must be a string. Received: ".concat(me(e),".")),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||Te(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||Te(0,"column in locationOffset is 1-indexed and must be positive.")}var t,n,i;return t=e,(n=[{key:G,get:function(){return"Source"}}])&&ye(t.prototype,n),i&&ye(t,i),e}();var Ae=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function De(e){var t=e.split(/\r\n|[\n\r]/g),n=function(e){for(var t,n=!0,i=!0,r=0,o=null,a=0;a<e.length;++a)switch(e.charCodeAt(a)){case 13:10===e.charCodeAt(a+1)&&++a;case 10:n=!1,i=!0,r=0;break;case 9:case 32:++r;break;default:i&&!n&&(null===o||r<o)&&(o=r),i=!1}return null!==(t=o)&&void 0!==t?t:0}(e);if(0!==n)for(var i=1;i<t.length;i++)t[i]=t[i].slice(n);for(var r=0;r<t.length&&ve(t[r]);)++r;for(var o=t.length;o>r&&ve(t[o-1]);)--o;return t.slice(r,o).join("\n")}function ve(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&"\t"!==e[t])return!1;return!0}var Se=function(){function e(e){var t=new fe(he.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==he.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=Me(this,e)}while(e.kind===he.COMMENT);return e},e}();function ge(e){return isNaN(e)?he.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function Me(e,t){for(var n=e.source,i=n.body,r=i.length,o=t.end;o<r;){var a=i.charCodeAt(o),s=e.line,c=1+o-e.lineStart;switch(a){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===i.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 33:return new fe(he.BANG,o,o+1,s,c,t);case 35:return Ce(n,o,s,c,t);case 36:return new fe(he.DOLLAR,o,o+1,s,c,t);case 38:return new fe(he.AMP,o,o+1,s,c,t);case 40:return new fe(he.PAREN_L,o,o+1,s,c,t);case 41:return new fe(he.PAREN_R,o,o+1,s,c,t);case 46:if(46===i.charCodeAt(o+1)&&46===i.charCodeAt(o+2))return new fe(he.SPREAD,o,o+3,s,c,t);break;case 58:return new fe(he.COLON,o,o+1,s,c,t);case 61:return new fe(he.EQUALS,o,o+1,s,c,t);case 64:return new fe(he.AT,o,o+1,s,c,t);case 91:return new fe(he.BRACKET_L,o,o+1,s,c,t);case 93:return new fe(he.BRACKET_R,o,o+1,s,c,t);case 123:return new fe(he.BRACE_L,o,o+1,s,c,t);case 124:return new fe(he.PIPE,o,o+1,s,c,t);case 125:return new fe(he.BRACE_R,o,o+1,s,c,t);case 34:return 34===i.charCodeAt(o+1)&&34===i.charCodeAt(o+2)?ke(n,o,s,c,t,e):xe(n,o,s,c,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return be(n,o,a,s,c,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return we(n,o,s,c,t)}throw ce(n,o,Le(a))}var l=e.line,u=1+o-e.lineStart;return new fe(he.EOF,r,r,l,u,t)}function Le(e){return e<32&&9!==e&&10!==e&&13!==e?"Cannot contain the invalid character ".concat(ge(e),"."):39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(ge(e),".")}function Ce(e,t,n,i,r){var o,a=e.body,s=t;do{o=a.charCodeAt(++s)}while(!isNaN(o)&&(o>31||9===o));return new fe(he.COMMENT,t,s,n,i,r,a.slice(t+1,s))}function be(e,t,n,i,r,o){var a=e.body,s=n,c=t,l=!1;if(45===s&&(s=a.charCodeAt(++c)),48===s){if((s=a.charCodeAt(++c))>=48&&s<=57)throw ce(e,c,"Invalid number, unexpected digit after 0: ".concat(ge(s),"."))}else c=Re(e,c,s),s=a.charCodeAt(c);if(46===s&&(l=!0,s=a.charCodeAt(++c),c=Re(e,c,s),s=a.charCodeAt(c)),69!==s&&101!==s||(l=!0,43!==(s=a.charCodeAt(++c))&&45!==s||(s=a.charCodeAt(++c)),c=Re(e,c,s),s=a.charCodeAt(c)),46===s||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(s))throw ce(e,c,"Invalid number, expected digit but got: ".concat(ge(s),"."));return new fe(l?he.FLOAT:he.INT,t,c,i,r,o,a.slice(t,c))}function Re(e,t,n){var i=e.body,r=t,o=n;if(o>=48&&o<=57){do{o=i.charCodeAt(++r)}while(o>=48&&o<=57);return r}throw ce(e,r,"Invalid number, expected digit but got: ".concat(ge(o),"."))}function xe(e,t,n,i,r){for(var o=e.body,a=t+1,s=a,c=0,l="";a<o.length&&!isNaN(c=o.charCodeAt(a))&&10!==c&&13!==c;){if(34===c)return l+=o.slice(s,a),new fe(he.STRING,t,a+1,n,i,r,l);if(c<32&&9!==c)throw ce(e,a,"Invalid character within String: ".concat(ge(c),"."));if(++a,92===c){switch(l+=o.slice(s,a-1),c=o.charCodeAt(a)){case 34:l+='"';break;case 47:l+="/";break;case 92:l+="\\";break;case 98:l+="\b";break;case 102:l+="\f";break;case 110:l+="\n";break;case 114:l+="\r";break;case 116:l+="\t";break;case 117:var u=Pe(o.charCodeAt(a+1),o.charCodeAt(a+2),o.charCodeAt(a+3),o.charCodeAt(a+4));if(u<0){var p=o.slice(a+1,a+5);throw ce(e,a,"Invalid character escape sequence: \\u".concat(p,"."))}l+=String.fromCharCode(u),a+=4;break;default:throw ce(e,a,"Invalid character escape sequence: \\".concat(String.fromCharCode(c),"."))}s=++a}}throw ce(e,a,"Unterminated string.")}function ke(e,t,n,i,r,o){for(var a=e.body,s=t+3,c=s,l=0,u="";s<a.length&&!isNaN(l=a.charCodeAt(s));){if(34===l&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2))return u+=a.slice(c,s),new fe(he.BLOCK_STRING,t,s+3,n,i,r,De(u));if(l<32&&9!==l&&10!==l&&13!==l)throw ce(e,s,"Invalid character within String: ".concat(ge(l),"."));10===l?(++s,++o.line,o.lineStart=s):13===l?(10===a.charCodeAt(s+1)?s+=2:++s,++o.line,o.lineStart=s):92===l&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2)&&34===a.charCodeAt(s+3)?(u+=a.slice(c,s)+'"""',c=s+=4):++s}throw ce(e,s,"Unterminated string.")}function Pe(e,t,n,i){return Fe(e)<<12|Fe(t)<<8|Fe(n)<<4|Fe(i)}function Fe(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function we(e,t,n,i,r){for(var o=e.body,a=o.length,s=t+1,c=0;s!==a&&!isNaN(c=o.charCodeAt(s))&&(95===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122);)++s;return new fe(he.NAME,t,s,n,i,r,o.slice(t,s))}var Be=function(){function e(e,t){var n=function(e){return Ie(e,_e)}(e)?e:new _e(e);this._lexer=new Se(n),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(he.NAME);return{kind:le.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:le.DOCUMENT,definitions:this.many(he.SOF,this.parseDefinition,he.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(he.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(he.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(he.BRACE_L))return{kind:le.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(he.NAME)&&(t=this.parseName()),{kind:le.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(he.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(he.PAREN_L,this.parseVariableDefinition,he.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:le.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(he.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(he.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(he.DOLLAR),{kind:le.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:le.SELECTION_SET,selections:this.many(he.BRACE_L,this.parseSelection,he.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(he.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,i=this.parseName();return this.expectOptionalToken(he.COLON)?(e=i,t=this.parseName()):t=i,{kind:le.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(he.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(he.PAREN_L,t,he.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(he.COLON),{kind:le.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:le.ARGUMENT,name:this.parseName(),value:(this.expectToken(he.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(he.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(he.NAME)?{kind:le.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:le.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:le.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:le.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case he.BRACKET_L:return this.parseList(e);case he.BRACE_L:return this.parseObject(e);case he.INT:return this._lexer.advance(),{kind:le.INT,value:t.value,loc:this.loc(t)};case he.FLOAT:return this._lexer.advance(),{kind:le.FLOAT,value:t.value,loc:this.loc(t)};case he.STRING:case he.BLOCK_STRING:return this.parseStringLiteral();case he.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:le.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:le.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:le.NULL,loc:this.loc(t)};default:return{kind:le.ENUM,value:t.value,loc:this.loc(t)}}case he.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:le.STRING,value:e.value,block:e.kind===he.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:le.LIST,values:this.any(he.BRACKET_L,function(){return t.parseValueLiteral(e)},he.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:le.OBJECT,fields:this.any(he.BRACE_L,function(){return t.parseObjectField(e)},he.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(he.COLON),{kind:le.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(he.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(he.AT),{kind:le.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(he.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(he.BRACKET_R),e={kind:le.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(he.BANG)?{kind:le.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:le.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===he.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(he.STRING)||this.peek(he.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var n=this.parseDirectives(!0),i=this.many(he.BRACE_L,this.parseOperationTypeDefinition,he.BRACE_R);return{kind:le.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:i,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(he.COLON);var n=this.parseNamedType();return{kind:le.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),i=this.parseDirectives(!0);return{kind:le.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:i,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:le.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)){var t=[];this.expectOptionalToken(he.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(he.AMP)||this.peek(he.NAME));return t}return this.delimitedMany(he.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(he.BRACE_L)&&this._lexer.lookahead().kind===he.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(he.BRACE_L,this.parseFieldDefinition,he.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseArgumentDefs();this.expectToken(he.COLON);var r=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:le.FIELD_DEFINITION,description:t,name:n,arguments:i,type:r,directives:o,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(he.PAREN_L,this.parseInputValueDef,he.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(he.COLON);var i,r=this.parseTypeReference();this.expectOptionalToken(he.EQUALS)&&(i=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:le.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:i,directives:o,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:le.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:o,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),i=this.parseDirectives(!0),r=this.parseUnionMemberTypes();return{kind:le.UNION_TYPE_DEFINITION,description:t,name:n,directives:i,types:r,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(he.EQUALS)?this.delimitedMany(he.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),i=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();return{kind:le.ENUM_TYPE_DEFINITION,description:t,name:n,directives:i,values:r,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(he.BRACE_L,this.parseEnumValueDefinition,he.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseDirectives(!0);return{kind:le.ENUM_VALUE_DEFINITION,description:t,name:n,directives:i,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),i=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();return{kind:le.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:i,fields:r,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(he.BRACE_L,this.parseInputValueDef,he.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===he.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.optionalMany(he.BRACE_L,this.parseOperationTypeDefinition,he.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:le.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:le.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),r=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===r.length)throw this.unexpected();return{kind:le.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:r,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),r=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===r.length)throw this.unexpected();return{kind:le.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:r,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseDirectives(!0),i=this.parseUnionMemberTypes();if(0===n.length&&0===i.length)throw this.unexpected();return{kind:le.UNION_TYPE_EXTENSION,name:t,directives:n,types:i,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return{kind:le.ENUM_TYPE_EXTENSION,name:t,directives:n,values:i,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return{kind:le.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:i,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(he.AT);var n=this.parseName(),i=this.parseArgumentDefs(),r=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:le.DIRECTIVE_DEFINITION,description:t,name:n,arguments:i,repeatable:r,locations:o,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(he.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==Ae[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new de(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw ce(this._lexer.source,t.start,"Expected ".concat(Ue(e),", found ").concat($e(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==he.NAME||t.value!==e)throw ce(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat($e(t),"."));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===he.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return ce(this._lexer.source,t.start,"Unexpected ".concat($e(t),"."))},t.any=function(e,t,n){this.expectToken(e);for(var i=[];!this.expectOptionalToken(n);)i.push(t.call(this));return i},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var i=[];do{i.push(t.call(this))}while(!this.expectOptionalToken(n));return i}return[]},t.many=function(e,t,n){this.expectToken(e);var i=[];do{i.push(t.call(this))}while(!this.expectOptionalToken(n));return i},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n},e}();function $e(e){var t=e.value;return Ue(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function Ue(e){return function(e){return e===he.BANG||e===he.DOLLAR||e===he.AMP||e===he.PAREN_L||e===he.PAREN_R||e===he.SPREAD||e===he.COLON||e===he.EQUALS||e===he.AT||e===he.BRACKET_L||e===he.BRACKET_R||e===he.BRACE_L||e===he.PIPE||e===he.BRACE_R}(e)?'"'.concat(e,'"'):e}var Ve=new Map,Ye=new Map,Ge=!0,je=!1;function He(e){return e.replace(/[\s,]+/g," ").trim()}function Ke(e){var t=new Set,n=[];return e.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var i=e.name.value,r=He((a=e.loc).source.body.substring(a.start,a.end)),o=Ye.get(i);o&&!o.has(r)?Ge&&console.warn("Warning: fragment with name "+i+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||Ye.set(i,o=new Set),o.add(r),t.has(r)||(t.add(r),n.push(e))}else n.push(e);var a}),a(a({},e),{definitions:n})}function Je(e){var t=He(e);if(!Ve.has(t)){var n=function(e,t){return new Be(e,t).parseDocument()}(e,{experimentalFragmentVariables:je,allowLegacyFragmentVariables:je});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");Ve.set(t,function(e){var t=new Set(e.definitions);t.forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(n){var i=e[n];i&&"object"==typeof i&&t.add(i)})});var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}(Ke(n)))}return Ve.get(t)}function We(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var i=e[0];return t.forEach(function(t,n){t&&"Document"===t.kind?i+=t.loc.source.body:i+=t,i+=e[n+1]}),Je(i)}var qe,Xe=We,Qe=function(){Ve.clear(),Ye.clear()},ze=function(){Ge=!1},Ze=function(){je=!0},et=function(){je=!1};(qe=We||(We={})).gql=Xe,qe.resetCaches=Qe,qe.disableFragmentWarnings=ze,qe.enableExperimentalFragmentVariables=Ze,qe.disableExperimentalFragmentVariables=et,We.default=We;const tt=We`
|
|
16
16
|
fragment ViewAction on ViewAction {
|
|
17
17
|
id
|
|
18
18
|
name
|
|
@@ -37,7 +37,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
37
37
|
priority
|
|
38
38
|
attributes
|
|
39
39
|
}
|
|
40
|
-
`,
|
|
40
|
+
`,nt=We`
|
|
41
41
|
fragment UrlAction on UrlAction {
|
|
42
42
|
id
|
|
43
43
|
name
|
|
@@ -56,7 +56,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
56
56
|
context
|
|
57
57
|
priority
|
|
58
58
|
}
|
|
59
|
-
`,
|
|
59
|
+
`,it=We`
|
|
60
60
|
fragment ServerAction on ServerAction {
|
|
61
61
|
id
|
|
62
62
|
name
|
|
@@ -81,7 +81,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
`,
|
|
84
|
+
`,rt=We`
|
|
85
85
|
fragment ClientAction on ClientAction {
|
|
86
86
|
id
|
|
87
87
|
name
|
|
@@ -98,7 +98,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
98
98
|
priority
|
|
99
99
|
fun
|
|
100
100
|
}
|
|
101
|
-
`,
|
|
101
|
+
`,ot=We`
|
|
102
102
|
fragment Field on Field {
|
|
103
103
|
id
|
|
104
104
|
name
|
|
@@ -135,7 +135,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
135
135
|
}
|
|
136
136
|
attributes
|
|
137
137
|
}
|
|
138
|
-
`,
|
|
138
|
+
`,at=We`
|
|
139
139
|
fragment Func on Function {
|
|
140
140
|
type
|
|
141
141
|
namespace
|
|
@@ -151,7 +151,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
151
151
|
model
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
-
`,
|
|
154
|
+
`,st=We`
|
|
155
155
|
fragment View on View {
|
|
156
156
|
id
|
|
157
157
|
name
|
|
@@ -163,7 +163,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
163
163
|
priority
|
|
164
164
|
systemSource
|
|
165
165
|
}
|
|
166
|
-
`,
|
|
166
|
+
`,ct={Model:We`
|
|
167
167
|
fragment Model on Model {
|
|
168
168
|
id
|
|
169
169
|
pk
|
|
@@ -201,14 +201,14 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
201
201
|
...Func
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
${
|
|
205
|
-
${et}
|
|
206
|
-
${nt}
|
|
204
|
+
${ot}
|
|
207
205
|
${tt}
|
|
208
206
|
${it}
|
|
207
|
+
${nt}
|
|
208
|
+
${rt}
|
|
209
|
+
${st}
|
|
209
210
|
${at}
|
|
210
|
-
|
|
211
|
-
`,ModelWithFields:Je`
|
|
211
|
+
`,ModelWithFields:We`
|
|
212
212
|
fragment ModelWithFields on Model {
|
|
213
213
|
id
|
|
214
214
|
pk
|
|
@@ -228,8 +228,8 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
228
228
|
...Field
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
|
-
${
|
|
232
|
-
`,Field:
|
|
231
|
+
${ot}
|
|
232
|
+
`,Field:ot,UrlAction:nt,ServerAction:it,ViewAction:tt,ClientAction:rt,Action:We`
|
|
233
233
|
fragment Action on Action {
|
|
234
234
|
id
|
|
235
235
|
name
|
|
@@ -246,7 +246,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
246
246
|
priority
|
|
247
247
|
attributes
|
|
248
248
|
}
|
|
249
|
-
`,Menu:
|
|
249
|
+
`,Menu:We`
|
|
250
250
|
fragment Menu on Menu {
|
|
251
251
|
serverAction {
|
|
252
252
|
...ServerAction
|
|
@@ -272,10 +272,10 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
272
272
|
id
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
|
-
${
|
|
276
|
-
${et}
|
|
275
|
+
${it}
|
|
277
276
|
${tt}
|
|
278
|
-
|
|
277
|
+
${nt}
|
|
278
|
+
`,View:st,Func:at},lt="...FuncV3",ut=We`
|
|
279
279
|
fragment FuncV3 on Function {
|
|
280
280
|
type
|
|
281
281
|
namespace
|
|
@@ -293,7 +293,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
293
293
|
model
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
|
-
`,
|
|
296
|
+
`,pt="...ModelV3",dt=We`
|
|
297
297
|
fragment ModelV3 on ModelDefinition {
|
|
298
298
|
id
|
|
299
299
|
model
|
|
@@ -306,18 +306,18 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
306
306
|
indexes
|
|
307
307
|
ordering
|
|
308
308
|
}
|
|
309
|
-
`,
|
|
309
|
+
`,ft="...ModuleV3",ht=We`
|
|
310
310
|
fragment ModuleV3 on ModuleDefinition {
|
|
311
311
|
module
|
|
312
312
|
name
|
|
313
313
|
displayName
|
|
314
314
|
}
|
|
315
|
-
`,
|
|
315
|
+
`,Et="...MaskV3",mt=We`
|
|
316
316
|
fragment MaskV3 on MaskDefinition {
|
|
317
317
|
name
|
|
318
318
|
template
|
|
319
319
|
}
|
|
320
|
-
`,
|
|
320
|
+
`,Nt="...ViewV3",Tt=We`
|
|
321
321
|
fragment ViewV3 on View {
|
|
322
322
|
id
|
|
323
323
|
model
|
|
@@ -337,13 +337,13 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
337
337
|
${"...LayoutV3"}
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
|
-
${
|
|
340
|
+
${We`
|
|
341
341
|
fragment LayoutV3 on LayoutDefinition {
|
|
342
342
|
name
|
|
343
343
|
template
|
|
344
344
|
}
|
|
345
345
|
`}
|
|
346
|
-
`,
|
|
346
|
+
`,Ot={Module:ht,Model:dt,ViewAction:We`
|
|
347
347
|
fragment ViewActionV3 on ViewAction {
|
|
348
348
|
id
|
|
349
349
|
name
|
|
@@ -362,36 +362,36 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
362
362
|
model
|
|
363
363
|
modelName
|
|
364
364
|
modelDefinition {
|
|
365
|
-
${
|
|
365
|
+
${pt}
|
|
366
366
|
}
|
|
367
367
|
module
|
|
368
368
|
moduleName
|
|
369
369
|
moduleDefinition {
|
|
370
|
-
${
|
|
370
|
+
${ft}
|
|
371
371
|
}
|
|
372
372
|
resModel
|
|
373
373
|
resModelDefinition {
|
|
374
|
-
${
|
|
374
|
+
${pt}
|
|
375
375
|
}
|
|
376
376
|
resModule
|
|
377
377
|
resModuleName
|
|
378
378
|
resModuleDefinition {
|
|
379
|
-
${
|
|
379
|
+
${ft}
|
|
380
380
|
}
|
|
381
381
|
mask
|
|
382
382
|
maskDefinition {
|
|
383
|
-
${
|
|
383
|
+
${Et}
|
|
384
384
|
}
|
|
385
385
|
resViewName
|
|
386
386
|
resView {
|
|
387
|
-
${
|
|
387
|
+
${Nt}
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
-
${
|
|
391
|
-
${
|
|
392
|
-
${
|
|
393
|
-
${
|
|
394
|
-
`,SharedViewAction:
|
|
390
|
+
${dt}
|
|
391
|
+
${ht}
|
|
392
|
+
${mt}
|
|
393
|
+
${Tt}
|
|
394
|
+
`,SharedViewAction:We`
|
|
395
395
|
fragment SharedPageViewActionV3 on SharedPageViewAction {
|
|
396
396
|
id
|
|
397
397
|
name
|
|
@@ -414,36 +414,36 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
414
414
|
model
|
|
415
415
|
modelName
|
|
416
416
|
modelDefinition {
|
|
417
|
-
${
|
|
417
|
+
${pt}
|
|
418
418
|
}
|
|
419
419
|
module
|
|
420
420
|
moduleName
|
|
421
421
|
moduleDefinition {
|
|
422
|
-
${
|
|
422
|
+
${ft}
|
|
423
423
|
}
|
|
424
424
|
resModel
|
|
425
425
|
resModelDefinition {
|
|
426
|
-
${
|
|
426
|
+
${pt}
|
|
427
427
|
}
|
|
428
428
|
resModule
|
|
429
429
|
resModuleName
|
|
430
430
|
resModuleDefinition {
|
|
431
|
-
${
|
|
431
|
+
${ft}
|
|
432
432
|
}
|
|
433
433
|
mask
|
|
434
434
|
maskDefinition {
|
|
435
|
-
${
|
|
435
|
+
${Et}
|
|
436
436
|
}
|
|
437
437
|
resViewName
|
|
438
438
|
resView {
|
|
439
|
-
${
|
|
439
|
+
${Nt}
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
|
-
${
|
|
443
|
-
${
|
|
444
|
-
${
|
|
445
|
-
${
|
|
446
|
-
`,ServerAction:
|
|
442
|
+
${dt}
|
|
443
|
+
${ht}
|
|
444
|
+
${mt}
|
|
445
|
+
${Tt}
|
|
446
|
+
`,ServerAction:We`
|
|
447
447
|
fragment ServerActionV3 on ServerAction {
|
|
448
448
|
id
|
|
449
449
|
name
|
|
@@ -460,12 +460,12 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
460
460
|
priority
|
|
461
461
|
fun
|
|
462
462
|
functionDefinition {
|
|
463
|
-
${
|
|
463
|
+
${lt}
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
466
|
|
|
467
|
-
${
|
|
468
|
-
`,UrlAction:
|
|
467
|
+
${ut}
|
|
468
|
+
`,UrlAction:We`
|
|
469
469
|
fragment UrlActionV3 on UrlAction {
|
|
470
470
|
id
|
|
471
471
|
name
|
|
@@ -484,7 +484,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
484
484
|
context
|
|
485
485
|
priority
|
|
486
486
|
}
|
|
487
|
-
`,View:
|
|
487
|
+
`,View:Tt,Function:ut},It={Module:ft,Model:pt,ViewAction:"...ViewActionV3",SharedViewAction:"...SharedPageViewActionV3",ServerAction:"...ServerActionV3",UrlAction:"...UrlActionV3",View:Nt,Function:lt};function yt(e,t){e.onload=_t(e.src,t),e.onerror=At(e.src,t)}function _t(e,t){return()=>{t()}}function At(e,t){return()=>{t(),console.error(`load error. ${e}`)}}let Dt=0;class vt{constructor(){}load(e){return s(this,void 0,void 0,function*(){const{id:t,path:n,dependencies:i}=e;if(!document.getElementById(t))return i&&(yield this.loadDependencies(i)),new Promise(e=>{const i=document.createElement("script");i.id=t,i.src=n,i.type="module",yt(i,e),document.body.append(i)})})}loadDependencies(e){return s(this,void 0,void 0,function*(){const t={};if(Object.entries(e).forEach(([e,n])=>{"string"==typeof n&&(t[e]=n)}),Object.keys(t).length)return new Promise(e=>{const n=document.createElement("script");n.id="import-map-"+Dt++,n.type="importmap",n.text=JSON.stringify({imports:t}),yt(n,e),document.body.append(n)})})}}vt.INSTANCE=new vt;class St{constructor(){}load(e){return vt.INSTANCE.load(e)}loadDependencies(e){return vt.INSTANCE.loadDependencies(e)}}St.INSTANCE=new St;class gt{constructor(){}load(e){return s(this,void 0,void 0,function*(){const{id:t,path:n}=e;if(!document.getElementById(t))return new Promise(e=>{const i=document.createElement("link");i.id=t,i.href=n,i.rel="stylesheet",i.type="text/css",function(e,t){e.onload=_t(e.href,t),e.onerror=At(e.href,t)}(i,e),document.body.append(i)})})}loadDependencies(){return s(this,void 0,void 0,function*(){})}}gt.INSTANCE=new gt;class Mt{load(e){return s(this,void 0,void 0,function*(){const{id:t,path:n,dependencies:i}=e;if(!document.getElementById(t))return i&&(yield this.loadDependencies(i)),new Promise(e=>{const i=document.createElement("script");i.id=t,i.src=n,i.type="text/javascript",yt(i,e),document.body.append(i)})})}loadDependencies(e){return s(this,void 0,void 0,function*(){if(!e)return;const t=window;yield Promise.allSettled(Object.entries(e).map(([e,n])=>s(this,void 0,void 0,function*(){if(void 0===t[e]){let i;i="string"==typeof n?yield import(n):yield n,i||(i=null),void 0===t[e]&&(t[e]=i)}})))})}}Mt.INSTANCE=new Mt;class Lt{constructor(){}load(e){return Mt.INSTANCE.load(e)}loadDependencies(e){return Mt.INSTANCE.loadDependencies(e)}}Lt.INSTANCE=new Lt;class Ct{static get(e){switch(e){case"esm":return vt.INSTANCE;case"cjs":return St.INSTANCE;case"umd":return Mt.INSTANCE;case"iife":return Lt.INSTANCE;case"css":return gt.INSTANCE}}}class bt{static load(e){return s(this,void 0,void 0,function*(){yield Promise.allSettled(e.map(e=>{var t;return null===(t=Ct.get(e.type))||void 0===t?void 0:t.load(e)}))})}static loadDependencies(e,t){var n;return s(this,void 0,void 0,function*(){yield null===(n=Ct.get(e))||void 0===n?void 0:n.loadDependencies(t)})}}let Rt=1;function xt(e){return!!e}class kt{constructor(){}static loadDependencies(e){return s(this,void 0,void 0,function*(){let t;t=Array.isArray(e)?e:[{type:"umd",dependencies:e}],yield Promise.allSettled(t.map(e=>bt.loadDependencies(e.type,e.dependencies)))})}static loadJavascript(e){return bt.load(e.map(e=>"string"==typeof e?{id:"plugin-"+Rt++,type:"umd",path:e}:e.path?{id:"plugin-"+Rt++,type:e.type||"umd",path:e.path}:void console.error("Invalid javascript plugin.",e)).filter(xt))}static loadCSS(e){return bt.load(e.map(e=>({id:"plugin-css-"+Rt++,type:"css",path:e})))}}const Pt=e.getInstance();class Ft{load(){return s(this,void 0,void 0,function*(){let e=this.cache;if(void 0===e&&(e=yield function(){return s(this,void 0,void 0,function*(){const e=t`
|
|
488
488
|
{
|
|
489
489
|
widgetDefinitionQuery {
|
|
490
490
|
loadSDK(data: {}) {
|
|
@@ -493,4 +493,4 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
495
|
}
|
|
496
|
-
`;try{return(yield
|
|
496
|
+
`;try{return(yield Pt.query(U.BASE,e)).data.widgetDefinitionQuery.loadSDK}catch(e){return void console.error("remote plugin load error.",e)}})}(),e||(e=null),this.cache=e),e){const{javascript:t,css:n}=e,i=[];t&&i.push(kt.loadJavascript(t)),n&&i.push(kt.loadCSS(n)),yield Promise.allSettled(i)}})}}Ft.INSTANCE=new Ft;class wt{static load(e,t){return s(this,void 0,void 0,function*(){const{dependencies:n,mounted:i,usingRemote:r}=e;if(t&&(yield kt.loadDependencies(t)),n&&(yield kt.loadDependencies(n)),i)if(Array.isArray(i))yield kt.loadJavascript(i);else{const{js:e,css:t}=i;e&&(yield kt.loadJavascript(e)),t&&(yield kt.loadCSS(t))}r&&(yield Ft.INSTANCE.load())})}}class Bt{static resister(e){this._config=e}static getConfig(){return this._config}static getConfigByName(e){return"login"===e?this._config.login||this.defaultLoginPath:this._config[e]}}Bt.defaultLoginPath="/login",Bt._config={};const $t="runtimeConfigResolve",Ut={init:!1,updateTime:new Date,value:{}};class Vt{static init(e){return s(this,void 0,void 0,function*(){if(!Ut.init)return function(){if(Ut.init)return;if(Reflect.get(window,$t))return;return new Promise(e=>{Reflect.set(window,$t,t=>{e(t),Reflect.deleteProperty(window,$t)});const t=document.createElement("script");t.src=`${process.env.RUNTIME_CONFIG_BASE_URL||""}/${process.env.RUNTIME_CONFIG_FILENAME||"manifest"}.js`;const n=function(e){return()=>{e({}),Reflect.deleteProperty(window,$t)}}(e);t.onload=n,t.onerror=n,document.body.appendChild(t)}).then(e=>s(this,void 0,void 0,function*(){Ut.updateTime=new Date,Ut.value=e})).finally(()=>{Ut.init=!0})}()})}static get(){return Ut.init?Ut.value||{}:("development"===process.env.NODE_ENV&&console.warn("runtime config is not init."),{})}static getConfig(e){return Vt.get()[e]}}function Yt(e){return null==e?e:JSON.parse(JSON.stringify(e))}const Gt=e=>e?Array.isArray(e)?null:Yt(e):{},jt=e=>e&&e.children?e.children.filter(e=>e.tagName===b.PROP).map(e=>({name:e.name,textContent:e.textContent})):[],Ht=e=>e?Yt(e):{},Kt=e=>e&&e.children?e.children.filter(e=>e.tagName===b.FIELD).map(e=>({name:e.name,textContent:e.textContent,children:Kt(e)})):[],Jt=(e,t)=>{if(!t)return{};const n=Yt(e);if(t.children&&t.children.find(e=>e.tagName===b.API&&e.name===n.submitApi)||null){const e=Wt(t,n.submitApi);if(!e)return{};n.api=e}return n},Wt=(e,t,n)=>{const i=e.children&&e.children.find(e=>e.tagName===b.API&&e.name===t)||null;if(!i)return console.warn(`api not fund: ${t}`,e),null;const r=Yt(i);return r.fun||console.warn(`api fun not fund: ${t}`,e),r.type||console.warn(`api type not fund: ${t}`,e),r.context={props:jt(i.children.find(e=>e.tagName===b.CONTEXT))},r.request={fields:qt(Kt(i.children.find(e=>e.tagName===b.REQUEST)),n)},r.response={fields:qt(Kt(i.children.find(e=>e.tagName===b.RESPONSE)),n)},r.clear={fields:Kt(i.children.find(e=>e.tagName===b.CLEAR))},r};function qt(e,t){return e&&e.length?e:(t||[]).map(e=>Qt(e))}const Xt=e=>({name:e.data,ttype:e.ttype,references:e.references,relatedTtype:e.relatedTtype}),Qt=e=>({data:e.name,name:e.name,ttype:e.ttype,references:e.references,relatedTtype:e.relatedTtype});function zt(e){return!!e&&"function"==typeof e.then}const Zt=e=>{switch(e.ttype){case o.Boolean:case o.Integer:case o.Long:case o.Float:case o.Currency:case o.String:case o.Email:case o.Phone:case o.ID:case o.Date:case o.DateTime:case o.Time:case o.Year:case o.Enum:case o.MultiEnum:case o.HTML:case o.Map:case o.Text:return!0;default:return!1}},en=e=>[o.OneToOne,o.OneToMany,o.ManyToOne,o.ManyToMany].includes(e),tn=e=>[o.Date,o.DateTime,o.Year,o.Time].includes(e),nn=e=>[o.ID,o.UID,o.Integer,o.Long,o.Float,o.Currency].includes(e),rn=e=>[o.String,o.Text,o.HTML,o.Phone,o.Email].includes(e),on=e=>e===o.Boolean,an=e=>e===o.Enum,sn=e=>{if(!1===e||0===e)return!1;if(!e)return!0;if(e instanceof Object){if(0===Object.keys(e||{}).length)return!0;return 0===Object.keys(e||{}).filter(e=>!e.startsWith("_")).length}return!(!Array.isArray(e)||0!==e.length)},cn=e=>sn(e)||Array.isArray(e)&&0===e.length,ln=e=>null==e||""===e||Array.isArray(e)&&0===e.length||"object"==typeof e&&0===Object.keys(e).length;export{L as ActionCompositionType,T as ActionContextType,O as ActionFunctionType,N as ActionType,C as ActionValidationScope,n as ActiveEnum,d as ApiProtocol,V as BASE_RSQL_QUERY_CONDITION,_ as ClientActionName,x as DataClass,i as DataStatusEnum,f as DataType,b as ElementType,p as EnumOptionState,Bt as GlobalConfig,y as IActionTag,h as LoadType,ct as MetadataFragment,Ot as MetadataRuntimeFragment,It as MetadataRuntimeFragmentName,I as ModelActionType,A as ModelDefaultActionName,M as ModelDefaultActionNames,u as ModelFieldSerializeType,o as ModelFieldType,c as ModelFieldTypeDisplayName,l as ModelFieldTypeOptions,r as ModelType,wt as PluginsLoader,m as QueryType,Vt as RuntimeConfig,$ as SYSTEM_MODULE,U as SYSTEM_MODULE_NAME,B as SystemSource,R as UserBehaviorEventEnum,E as ValidationScope,w as ViewActionTarget,k as ViewClientType,F as ViewMode,P as ViewType,Jt as createActionElement,Wt as createApiElement,Ht as createFieldElement,Kt as createFieldElements,jt as createPropElements,Gt as createViewElement,Yt as deepClone,Xt as fieldElement2ModelField,on as isBooleanTtype,en as isComplexTtype,tn as isDateTtype,sn as isEmptyKeObject,ln as isEmptyValue,an as isEnumTtype,nn as isNumberTtype,zt as isPromise,g as isRelatedTtype,D as isRelationTtype,Zt as isSimpleField,rn as isStringTtype,S as isToManyTtype,v as isToOneTtype,cn as isValidateEmpty,Qt as modelField2fieldElement};
|
|
@@ -6,6 +6,7 @@ export declare const SYSTEM_MODULE: {
|
|
|
6
6
|
MESSAGE: string;
|
|
7
7
|
RESOURCE: string;
|
|
8
8
|
FILE: string;
|
|
9
|
+
EIP: string;
|
|
9
10
|
DESIGNER_COMMON: string;
|
|
10
11
|
};
|
|
11
12
|
export declare const SYSTEM_MODULE_NAME: {
|
|
@@ -16,5 +17,6 @@ export declare const SYSTEM_MODULE_NAME: {
|
|
|
16
17
|
MESSAGE: string;
|
|
17
18
|
RESOURCE: string;
|
|
18
19
|
FILE: string;
|
|
20
|
+
EIP: string;
|
|
19
21
|
DESIGNER_COMMON: string;
|
|
20
22
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oinone/kunlun-meta",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.0",
|
|
4
4
|
"main": "index.ts",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prebuild": "rimraf dist",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"x-postpublish": "node ../../scripts/postpublish.js"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@oinone/kunlun-request": "6.
|
|
14
|
+
"@oinone/kunlun-request": "6.3.0"
|
|
15
15
|
},
|
|
16
16
|
"gitHead": "2b4c0c7911626c105ca71c2d41e54af470e2e079"
|
|
17
17
|
}
|
|
@@ -6,6 +6,7 @@ export const SYSTEM_MODULE = {
|
|
|
6
6
|
MESSAGE: 'message',
|
|
7
7
|
RESOURCE: 'resource',
|
|
8
8
|
FILE: 'file',
|
|
9
|
+
EIP: 'eip',
|
|
9
10
|
DESIGNER_COMMON: 'designer_common'
|
|
10
11
|
};
|
|
11
12
|
|
|
@@ -17,5 +18,6 @@ export const SYSTEM_MODULE_NAME = {
|
|
|
17
18
|
MESSAGE: 'message',
|
|
18
19
|
RESOURCE: 'resource',
|
|
19
20
|
FILE: 'file',
|
|
21
|
+
EIP: 'eip',
|
|
20
22
|
DESIGNER_COMMON: 'designerCommon'
|
|
21
23
|
};
|