@spscommerce/ds-shared 6.36.4 → 6.37.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.
- package/lib/icon.d.ts +4 -0
- package/lib/index.cjs.js +1 -1
- package/lib/index.es.js +4 -0
- package/package.json +1 -1
package/lib/icon.d.ts
CHANGED
|
@@ -49,7 +49,9 @@ export declare enum SpsIcon {
|
|
|
49
49
|
CODE_FORK = "code-fork",
|
|
50
50
|
COLUMN_SWITCHER = "column-switcher",
|
|
51
51
|
COMMENT_BUBBLE = "comment-bubble",
|
|
52
|
+
COMMENT_BUBBLE_EXCLAMATION = "comment-bubble-exclamation",
|
|
52
53
|
COMMENT_BUBBLE_QUESTION = "comment-bubble-question",
|
|
54
|
+
COMPLETE_FILE = "complete-file",
|
|
53
55
|
CONVERSATION = "conversation",
|
|
54
56
|
CREDIT_CARD = "credit-card",
|
|
55
57
|
DASHBOARD = "dashboard",
|
|
@@ -184,6 +186,8 @@ export declare enum SpsIcon {
|
|
|
184
186
|
USER = "user",
|
|
185
187
|
USER_IMPERSONATION = "user-impersonation",
|
|
186
188
|
WRENCH = "wrench",
|
|
189
|
+
WORKFLOW = "workflow",
|
|
190
|
+
WORKFLOW_COMPLETE = "workflow-complete",
|
|
187
191
|
X = "x",
|
|
188
192
|
X_CIRCLE = "x-circle"
|
|
189
193
|
}
|
package/lib/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var d=Object.defineProperty;var n=Object.getOwnPropertySymbols;var o=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var s=(e,t,a)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,i=(e,t)=>{for(var a in t||(t={}))o.call(t,a)&&s(e,a,t[a]);if(n)for(var a of n(t))u.call(t,a)&&s(e,a,t[a]);return e};Object.defineProperty(exports,"__esModule",{value:!0});exports[Symbol.toStringTag]="Module";var l=require("@spscommerce/utils");exports.StdButtonKind=void 0;(function(e){e.DEFAULT="default",e.CONFIRM="confirm",e.DELETE="delete",e.KEY="key"})(exports.StdButtonKind||(exports.StdButtonKind={}));var r;(function(e){e.ICON="icon"})(r||(r={}));var E;(function(e){e.LINK="link"})(E||(E={}));const A=Object.freeze(i(i({},exports.StdButtonKind),r)),L=Object.freeze(i(i(i({},exports.StdButtonKind),r),E));exports.ButtonType=void 0;(function(e){e.BUTTON="button",e.SUBMIT="submit"})(exports.ButtonType||(exports.ButtonType={}));exports.SelectMode=void 0;(function(e){e[e.START=0]="START",e[e.END=1]="END"})(exports.SelectMode||(exports.SelectMode={}));exports.ClickableTagKind=void 0;(function(e){e.BLUE="blue",e.GRAY="gray"})(exports.ClickableTagKind||(exports.ClickableTagKind={}));function O(e){return e.hasOwnProperty("react")}function _(e){return e.hasOwnProperty("jsx")}exports.SpsIconSize=void 0;(function(e){e.EXTRA_SMALL="xs",e.SMALL="sm",e.MEDIUM="md",e.LARGE="lg",e.EXTRA_LARGE="xl"})(exports.SpsIconSize||(exports.SpsIconSize={}));exports.SpsIcon=void 0;(function(e){e.ANGLE_LEFT="angle-left",e.ANGLE_RIGHT="angle-right",e.ARCHIVE="archive",e.ARCHIVE_CIRCLE="archive-circle",e.ARROW_DOWN="arrow-down",e.ARROW_LEFT="arrow-left",e.ARROW_LEFT_CIRCLE="arrow-left-circle",e.ARROW_RIGHT="arrow-right",e.ARROW_RIGHT_CIRCLE="arrow-right-circle",e.ARROW_UP="arrow-up",e.ASTERISK="asterisk",e.ASTERISK_CIRCLE="asterisk-circle",e.BAN="ban",e.BAN_CIRCLE="ban-circle",e.BARCODE="barcode",e.BELL="bell",e.BELL_FILLED="bell-filled",e.BOLT="bolt",e.BOOK="book",e.BUILDING="building",e.BURST="burst",e.BURST_BOLT="burst-bolt",e.CALENDAR="calendar",e.CALENDAR_BLANK="calendar-blank",e.CALENDAR_BLANK_CIRCLE="calendar-blank-circle",e.CALENDAR_SELECT="calendar-select",e.CAMERA="camera",e.CHART_AREA="chart-area",e.CHART_BAR="chart-bar",e.CHART_LINE="chart-line",e.CHART_PIE="chart-pie",e.CHECKMARK="checkmark",e.CHECKMARK_CIRCLE="checkmark-circle",e.CHEVRON_DOWN="chevron-down",e.CHEVRON_LEFT="chevron-left",e.CHEVRON_RIGHT="chevron-right",e.CHEVRON_UP="chevron-up",e.CIRCLE_OUTLINE="circle-outline",e.CLOCK="clock",e.CLOCK_CIRCLE="clock-circle",e.CODE_FORK="code-fork",e.COLUMN_SWITCHER="column-switcher",e.COMMENT_BUBBLE="comment-bubble",e.COMMENT_BUBBLE_QUESTION="comment-bubble-question",e.CONVERSATION="conversation",e.CREDIT_CARD="credit-card",e.DASHBOARD="dashboard",e.DATABASE="database",e.DESCENDING_ELLIPSES_CIRCLE="descending-ellipses-circle",e.DISK="disk",e.DISK_CIRCLE="disk-circle",e.DOLLAR_SIGN="dollar-sign",e.DOUBLE_ANGLE_LEFT="double-angle-left",e.DOUBLE_ANGLE_RIGHT="double-angle-right",e.DOWNLOAD_CLOUD="download-cloud",e.DRILL="drill",e.DUPLICATE="duplicate",e.ELLIPSES="ellipses",e.ENVELOPE="envelope",e.EXCHANGE="exchange",e.EXCLAMATION_CIRCLE="exclamation-circle",e.EXCLAMATION_TRIANGLE="exclamation-triangle",e.EXPAND_COLLAPSE="expand-collapse",e.EYE="eye",e.EYE_SLASH="eye-slash",e.FILE="file",e.FILE_DUPLICATE="file-duplicate",e.FILE_PDF="file-pdf",e.FILE_PRESENTATION="file-presentation",e.FILE_SIZE="file-size",e.FILE_SOLID="file-solid",e.FILE_SOLID_TEXT="file-solid-text",e.FILE_SPREADSHEET="file-spreadsheet",e.FILE_TEXT="file-text",e.FILTER="filter",e.FLAG="flag",e.FOLDER="folder",e.FOLDER_OPEN="folder-open",e.FOLDER_SOLID="folder-solid",e.FOLDER_SOLID_OPEN="folder-solid-open",e.GEAR="gear",e.GLOBE="globe",e.GRID="grid",e.GROUP="group",e.HAND_STOP="hand-stop",e.HANDSHAKE="handshake",e.HAT="hat",e.HEART="heart",e.HISTORY="history",e.INBOX="inbox",e.INCOMING="incoming",e.INFO_CIRCLE="info-circle",e.INTERCOM="intercom",e.ITEM_TAG="item-tag",e.KEY="key",e.LIFE_PRESERVER="life-preserver",e.LIGHTBULB="lightbulb",e.LINK="link",e.LINKEDIN="linkedin",e.LIST="list",e.LIST_CARDS="list-cards",e.LIST_COLUMNS="list-columns",e.LIST_SUMMARY="list-summary",e.LIST_TABLE="list-table",e.LOCATION="location",e.LOCKED="locked",e.LOCKED_CIRCLE="locked-circle",e.MAP="map",e.MAP_MARKER="map-marker",e.MAXIMIZE="maximize",e.MINIMIZE="minimize",e.MINUS="minus",e.MINUS_CIRCLE="minus-circle",e.NEW_FILE="new-file",e.NEW_SCREEN="new-screen",e.OUTGOING="outgoing",e.PAPER_PLANE="paper-plane",e.PENCIL="pencil",e.PHOTO="photo",e.PIN="pin",e.PINTEREST="pinterest",e.PLAY="play",e.PLUS_CIRCLE="plus-circle",e.PLUS_SIGN="plus-sign",e.PRESENTATION="presentation",e.PRINTER="printer",e.QR_CODE="qr-code",e.QUESTION_CIRCLE="question-circle",e.QUOTE_LEFT="quote-left",e.QUOTE_RIGHT="quote-right",e.RANDOM="random",e.REDO="redo",e.REFRESH="refresh",e.RIGHT_CIRCLE="right-circle",e.ROCKET="rocket",e.SEARCH="search",e.SEARCH_PLUS="search-plus",e.SHARE="share",e.SHOPPING_CART="shopping-cart",e.SORT_ALPHA_ASC="sort-alpha-asc",e.SORT_ALPHA_DESC="sort-alpha-desc",e.SORT_NUM_ASC="sort-num-asc",e.SORT_NUM_DESC="sort-num-desc",e.STAR="star",e.STAR_OUTLINE="star-outline",e.STATUS_ARCHIVED="status-archived",e.STATUS_CANCELLED="status-cancelled",e.STATUS_ERROR="status-error",e.STATUS_IN_PROCESS="status-in-process",e.STATUS_IN_TRANSIT="status-in-transit",e.STATUS_LOCKED="status-locked",e.STATUS_NEW="status-new",e.STATUS_OK="status-ok",e.STATUS_ON_HOLD="status-on-hold",e.STATUS_OUTDATED="status-outdated",e.STATUS_REJECTED="status-rejected",e.STATUS_SAVED="status-saved",e.STATUS_SAVING="status-saving",e.STATUS_TEMPLATE="status-template",e.STATUS_WARNING="status-warning",e.TABLE="table",e.TABS="tabs",e.TAG="tag",e.TEMPLATE_CIRCLE="template-circle",e.THUMBS_DOWN="thumbs-down",e.THUMBS_DOWN_OUTLINE="thumbs-down-outline",e.THUMBS_UP="thumbs-up",e.THUMBS_UP_OUTLINE="thumbs-up-outline",e.TRASH="trash",e.TRUCK_SHIPPING="truck-shipping",e.TWITTER="twitter",e.UNARCHIVE="unarchive",e.UNDO="undo",e.UNLOCKED="unlocked",e.UPLOAD_CLOUD="upload-cloud",e.USER="user",e.USER_IMPERSONATION="user-impersonation",e.WRENCH="wrench",e.X="x",e.X_CIRCLE="x-circle"})(exports.SpsIcon||(exports.SpsIcon={}));exports.FeedbackBlockKind=void 0;(function(e){e.TIP="tip",e.SUCCESS="success",e.WARNING="warning",e.ERROR="error",e.INFO="info"})(exports.FeedbackBlockKind||(exports.FeedbackBlockKind={}));const N=Object.freeze({[exports.FeedbackBlockKind.TIP]:exports.SpsIcon.LIGHTBULB,[exports.FeedbackBlockKind.ERROR]:exports.SpsIcon.EXCLAMATION_CIRCLE,[exports.FeedbackBlockKind.INFO]:exports.SpsIcon.INFO_CIRCLE,[exports.FeedbackBlockKind.SUCCESS]:exports.SpsIcon.CHECKMARK,[exports.FeedbackBlockKind.WARNING]:exports.SpsIcon.EXCLAMATION_TRIANGLE});exports.SpsFilterTileKind=void 0;(function(e){e.GENERAL="general",e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.PROCESSING="processing"})(exports.SpsFilterTileKind||(exports.SpsFilterTileKind={}));const C=7e3,c=2e3;exports.GrowlerKind=void 0;(function(e){e.ACTIVITY="activity",e.ERROR="error",e.INFO="info",e.PROGRESS="progress",e.SUCCESS="success",e.WARNING="warning"})(exports.GrowlerKind||(exports.GrowlerKind={}));const h=new Map([[exports.GrowlerKind.INFO,exports.SpsIcon.INFO_CIRCLE],[exports.GrowlerKind.WARNING,exports.SpsIcon.EXCLAMATION_TRIANGLE],[exports.GrowlerKind.ERROR,exports.SpsIcon.EXCLAMATION_CIRCLE],[exports.GrowlerKind.SUCCESS,exports.SpsIcon.CHECKMARK]]);var f={advancedSearch:{clear:"Clear Fields",search:"Search"},button:{spinningTitle:"Loading\u2026"},columnChooser:{removeButton:"Remove {{elementName}}"},contentRow:{collapse:"Collapse",expand:"Expand"},datepicker:{calendar:{prevMonth:"View Previous Month",nextMonth:"View Next Month"},preset:{custom:"Custom",today:"Today",sevenDays:"Last 7 days",thirtyDays:"Last 30 days",sixtyDays:"Last 60 days",ninetyDays:"Last 90 days",oneYear:"Last year"},presetsLabel:"Ranges"},fileUpload:{acceptedTypes:"{{fileTypes}} format accepted",acceptedTypes_plural:"{{fileTypes}} formats accepted",cancelled:"File Upload Failed",cancelled_plural:"File Upload(s) Failed",close:"Close",instructions:"Drag and drop your file here or |browse for a file| on your desktop.",instructions_plural:"Drag and drop your files here or |browse for files| on your desktop.",maximumSize:"{{size}} maximum",processing:"Processing Upload\u2026",title:"Upload Your {{description}}"},filterPanel:{clear:"Clear Filters",title:"Filters",filterPlaceholder:"Filter options"},focusedTask:{close:"Close"},growler:{dismiss:"Dismiss"},insightCard:{all:"ALL",partnerCount:"{{count}} |of| {{total}}",partners:"PARTNERS"},insightTile:{all:"ALL",partnerCount:"{{count}} |of| {{total}}",partners:"PARTNERS"},label:{errors:{dateConstraint:{max:"Please enter a date on or prior to {{context.maxExceeded}}.",min:"Please enter a date on or after {{context.minExceeded}}."},dateFormat:"Please enter a date in the format {{context}}.",dateRangeOrder:"End date cannot be before start date.",dateValidity:"Please enter a valid date.",max:"Please enter a value no greater than {{context}}.",maxLength:"Please enter no more than {{context}} characters.",min:"Please enter a value no less than {{context}}.",minLength:"Please enter at least {{context}} characters.",required:"This field is required."},preventativeErrors:{maxLength:"This field accepts a maximum number of characters.",alpha:"This field accepts only alphabetic values.",numeric:"This field accepts only numerical values.",nonNumeric:"This field accepts only non-numerical values."},stronglySuggested:"This field is strongly suggested."},listActionBar:{clearSelected:"Clear Selected",itemsSelected:"Items Selected"},listToolbar:{advancedSearchToggle:"Advanced Search"},modal:{close:"Close modal",defaultButtonLabel:"Okay",defaultTitle:{general:"Action",info:"Info",success:"Success",warning:"Warning","serious-warning":"Warning"}},slideInPanel:{close:"Close",defaultTitle:"Slide In Panel"},pagination:{nextPage:"Next Page",ofMany:"of many",ofPageCount:"of {{pageCount}}",page:"Page",prevPage:"Previous Page"},progressBar:{closeButtonTitle:"Close progress bar"},searchResultsBar:{clear:"Clear",clearResults:"Clear Results",count:"{{count}} of {{total}}",matchingResults:"Matching results",noAdvancedSearchSelections:"No Advanced Search Selections",results:"Results:"},select:{defaultPlaceholder:"Select one\u2026"},slackLink:{label:"Chat"},spinner:{defaultAltText:"Loading\u2026"},taskQueue:{clearCompleted:"Clear Completed",newTask:"You have a new task in your queue.",noTasks:"There are currently no tasks in your queue."}};const g={t(e,t){const a=l.getPath(f,e.replace(/^design-system:/,""));return t?l.template(a)(t):a}};exports.SpsInsightCardKind=void 0;(function(e){e.GENERAL="general",e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.PROCESSING="processing"})(exports.SpsInsightCardKind||(exports.SpsInsightCardKind={}));const D=Object.freeze({[exports.SpsInsightCardKind.GENERAL]:exports.SpsIcon.STATUS_NEW,[exports.SpsInsightCardKind.SUCCESS]:exports.SpsIcon.STATUS_OK,[exports.SpsInsightCardKind.ERROR]:exports.SpsIcon.STATUS_ERROR,[exports.SpsInsightCardKind.WARNING]:exports.SpsIcon.STATUS_WARNING,[exports.SpsInsightCardKind.PROCESSING]:exports.SpsIcon.STATUS_IN_PROCESS});exports.SpsInsightTileKind=void 0;(function(e){e.GENERAL="general",e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.PROCESSING="processing"})(exports.SpsInsightTileKind||(exports.SpsInsightTileKind={}));const U=Object.freeze({[exports.SpsInsightTileKind.GENERAL]:exports.SpsIcon.STATUS_NEW,[exports.SpsInsightTileKind.SUCCESS]:exports.SpsIcon.STATUS_OK,[exports.SpsInsightTileKind.ERROR]:exports.SpsIcon.STATUS_ERROR,[exports.SpsInsightTileKind.WARNING]:exports.SpsIcon.STATUS_WARNING,[exports.SpsInsightTileKind.PROCESSING]:exports.SpsIcon.STATUS_IN_PROCESS});exports.KeyValueListTitleColor=void 0;(function(e){e.LIGHT="light",e.DARK="dark"})(exports.KeyValueListTitleColor||(exports.KeyValueListTitleColor={}));exports.LineChartColors=void 0;(function(e){e.BLUE="blue200",e.GRAY="gray600",e.GREEN="green200",e.ORANGE="orange200",e.PURPLE="purple200",e.RED="red200"})(exports.LineChartColors||(exports.LineChartColors={}));exports.ModalKind=void 0;(function(e){e.GENERAL="general",e.INFO="info",e.SUCCESS="success",e.WARNING="warning",e.SERIOUS_WARNING="serious-warning"})(exports.ModalKind||(exports.ModalKind={}));exports.ModalSize=void 0;(function(e){e.SMALL="small",e.MEDIUM="medium",e.LARGE="large",e.X_LARGE="xlarge"})(exports.ModalSize||(exports.ModalSize={}));class S{constructor(t,a={}){this.value=t,Object.assign(this,a)}get text(){return this.textInternal?this.textInternal:this.value?this.textKey?this.value[this.textKey]:String(this.value):""}set text(t){this.textInternal=t}get caption(){return this.captionInternal?this.captionInternal:this.value&&this.captionKey?this.value[this.captionKey]:""}set caption(t){this.captionInternal=t}get href(){return this.value?this.value.isLink&&typeof this.value=="function"?this.value():this.value.href:null}get disabled(){return typeof this.disabledInternal!="undefined"?this.disabledInternal:this.value?this.value.disabled:!1}set disabled(t){this.disabledInternal=t}get bold(){return typeof this.boldInternal!="undefined"?this.boldInternal:this.value?this.value.bold&&this.value.bold===!0:!1}getHtml(t){return t?this.text.replace(t,"<u>$&</u>"):this.text}}const I=[10,25,50,100];exports.Position=void 0;(function(e){e.TOP_LEFT="top left",e.TOP_MIDDLE="top middle",e.TOP_RIGHT="top right",e.RIGHT_TOP="right top",e.RIGHT_MIDDLE="right middle",e.RIGHT_BOTTOM="right bottom",e.BOTTOM_RIGHT="bottom right",e.BOTTOM_MIDDLE="bottom middle",e.BOTTOM_LEFT="bottom left",e.LEFT_BOTTOM="left bottom",e.LEFT_MIDDLE="left middle",e.LEFT_TOP="left top"})(exports.Position||(exports.Position={}));exports.RingSize=void 0;(function(e){e[e.SMALL=14]="SMALL",e[e.MEDIUM=26]="MEDIUM",e[e.LARGE=38]="LARGE"})(exports.RingSize||(exports.RingSize={}));exports.SpinnerSize=void 0;(function(e){e.SMALL="small",e.MEDIUM="medium",e.LARGE="large"})(exports.SpinnerSize||(exports.SpinnerSize={}));exports.StackedBarChartMilestone=void 0;(function(e){e.BLUE="blue200",e.GRAY="gray600",e.GREEN="green200",e.ORANGE="orange200",e.PURPLE="purple200",e.RED="red200"})(exports.StackedBarChartMilestone||(exports.StackedBarChartMilestone={}));exports.SteppedProgressBarColor=void 0;(function(e){e.PURPLE="purple",e.RED="red",e.BLUE="blue",e.ORANGE="orange",e.GRAY="gray"})(exports.SteppedProgressBarColor||(exports.SteppedProgressBarColor={}));exports.SortDirection=void 0;(function(e){e.ASCENDING="ascending",e.DESCENDING="descending"})(exports.SortDirection||(exports.SortDirection={}));exports.TagKind=void 0;(function(e){e.DEFAULT="default",e.KEY="key",e.WARNING="warning",e.ERROR="error",e.PENDING="pending",e.SUCCESS="success",e.INFO="info"})(exports.TagKind||(exports.TagKind={}));const m=1e3;exports.TooltipShowTrigger=void 0;(function(e){e.MANUAL="manual",e.MOUSEOVER="mouseover",e.CLICK="click"})(exports.TooltipShowTrigger||(exports.TooltipShowTrigger={}));exports.TooltipKind=void 0;(function(e){e.DEFAULT="default",e.HELP="help",e.ERROR="error",e.WARNING="warning",e.CONTAINER="container"})(exports.TooltipKind||(exports.TooltipKind={}));const R={icon:"",label:"",caption:"",disabled:!1,isLink:!1};function P(e){return(t,a,T)=>l.simpleMetadataDecoratorApplicator(e,R,t,a,T)}exports.SpsTaskStatus=void 0;(function(e){e.COMPLETED="completed",e.ERRORED="errored",e.WARNING="warning",e.IN_PROGRESS="in_progress"})(exports.SpsTaskStatus||(exports.SpsTaskStatus={}));const G=Object.freeze({[exports.SpsTaskStatus.COMPLETED]:exports.SpsIcon.STATUS_OK,[exports.SpsTaskStatus.ERRORED]:exports.SpsIcon.STATUS_ERROR,[exports.SpsTaskStatus.WARNING]:exports.SpsIcon.STATUS_WARNING,[exports.SpsTaskStatus.IN_PROGRESS]:"sps-spinner sps-spinner--small"}),b=5e3;exports.WizardSubstepConditions=void 0;(function(e){e.BASIC="basic",e.COMPLETED="completed",e.COMPLETE="completed",e.ACTIVE="active"})(exports.WizardSubstepConditions||(exports.WizardSubstepConditions={}));exports.ZStratum=void 0;(function(e){e[e.BASE=0]="BASE",e[e.TIP=10]="TIP",e[e.DROPDOWN=100]="DROPDOWN",e[e.BAR=1e3]="BAR",e[e.DIALOG=1e4]="DIALOG"})(exports.ZStratum||(exports.ZStratum={}));exports.ButtonKind=L;exports.DEFAULT_PAGE_SIZE_OPTIONS=I;exports.DropdownKind=A;exports.FeedbackBlockIcons=N;exports.GROWLER_FADEOUT_DURATION_MS=c;exports.GROWLER_VISIBLE_DURATION_MS=C;exports.GrowlerIcon=h;exports.SPS_ACTION_DEFAULTS=R;exports.SpsAction=P;exports.SpsInsightCardIcons=D;exports.SpsInsightTileIcons=U;exports.SpsOptionListOption=S;exports.SpsTaskStatusIcons=G;exports.TASK_QUEUE_NOTIFICATION_DURATION_MS=b;exports.TOOLTIP_HIDE_DELAY_MS_DEFAULT=m;exports.exampleIsReactComponentExample=O;exports.exampleIsReactJSXExample=_;exports.noI18nI18n=g;
|
|
1
|
+
"use strict";var o=Object.defineProperty;var n=Object.getOwnPropertySymbols;var d=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var R=(e,t,a)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,i=(e,t)=>{for(var a in t||(t={}))d.call(t,a)&&R(e,a,t[a]);if(n)for(var a of n(t))u.call(t,a)&&R(e,a,t[a]);return e};Object.defineProperty(exports,"__esModule",{value:!0});exports[Symbol.toStringTag]="Module";var l=require("@spscommerce/utils");exports.StdButtonKind=void 0;(function(e){e.DEFAULT="default",e.CONFIRM="confirm",e.DELETE="delete",e.KEY="key"})(exports.StdButtonKind||(exports.StdButtonKind={}));var r;(function(e){e.ICON="icon"})(r||(r={}));var E;(function(e){e.LINK="link"})(E||(E={}));const A=Object.freeze(i(i({},exports.StdButtonKind),r)),L=Object.freeze(i(i(i({},exports.StdButtonKind),r),E));exports.ButtonType=void 0;(function(e){e.BUTTON="button",e.SUBMIT="submit"})(exports.ButtonType||(exports.ButtonType={}));exports.SelectMode=void 0;(function(e){e[e.START=0]="START",e[e.END=1]="END"})(exports.SelectMode||(exports.SelectMode={}));exports.ClickableTagKind=void 0;(function(e){e.BLUE="blue",e.GRAY="gray"})(exports.ClickableTagKind||(exports.ClickableTagKind={}));function O(e){return e.hasOwnProperty("react")}function _(e){return e.hasOwnProperty("jsx")}exports.SpsIconSize=void 0;(function(e){e.EXTRA_SMALL="xs",e.SMALL="sm",e.MEDIUM="md",e.LARGE="lg",e.EXTRA_LARGE="xl"})(exports.SpsIconSize||(exports.SpsIconSize={}));exports.SpsIcon=void 0;(function(e){e.ANGLE_LEFT="angle-left",e.ANGLE_RIGHT="angle-right",e.ARCHIVE="archive",e.ARCHIVE_CIRCLE="archive-circle",e.ARROW_DOWN="arrow-down",e.ARROW_LEFT="arrow-left",e.ARROW_LEFT_CIRCLE="arrow-left-circle",e.ARROW_RIGHT="arrow-right",e.ARROW_RIGHT_CIRCLE="arrow-right-circle",e.ARROW_UP="arrow-up",e.ASTERISK="asterisk",e.ASTERISK_CIRCLE="asterisk-circle",e.BAN="ban",e.BAN_CIRCLE="ban-circle",e.BARCODE="barcode",e.BELL="bell",e.BELL_FILLED="bell-filled",e.BOLT="bolt",e.BOOK="book",e.BUILDING="building",e.BURST="burst",e.BURST_BOLT="burst-bolt",e.CALENDAR="calendar",e.CALENDAR_BLANK="calendar-blank",e.CALENDAR_BLANK_CIRCLE="calendar-blank-circle",e.CALENDAR_SELECT="calendar-select",e.CAMERA="camera",e.CHART_AREA="chart-area",e.CHART_BAR="chart-bar",e.CHART_LINE="chart-line",e.CHART_PIE="chart-pie",e.CHECKMARK="checkmark",e.CHECKMARK_CIRCLE="checkmark-circle",e.CHEVRON_DOWN="chevron-down",e.CHEVRON_LEFT="chevron-left",e.CHEVRON_RIGHT="chevron-right",e.CHEVRON_UP="chevron-up",e.CIRCLE_OUTLINE="circle-outline",e.CLOCK="clock",e.CLOCK_CIRCLE="clock-circle",e.CODE_FORK="code-fork",e.COLUMN_SWITCHER="column-switcher",e.COMMENT_BUBBLE="comment-bubble",e.COMMENT_BUBBLE_EXCLAMATION="comment-bubble-exclamation",e.COMMENT_BUBBLE_QUESTION="comment-bubble-question",e.COMPLETE_FILE="complete-file",e.CONVERSATION="conversation",e.CREDIT_CARD="credit-card",e.DASHBOARD="dashboard",e.DATABASE="database",e.DESCENDING_ELLIPSES_CIRCLE="descending-ellipses-circle",e.DISK="disk",e.DISK_CIRCLE="disk-circle",e.DOLLAR_SIGN="dollar-sign",e.DOUBLE_ANGLE_LEFT="double-angle-left",e.DOUBLE_ANGLE_RIGHT="double-angle-right",e.DOWNLOAD_CLOUD="download-cloud",e.DRILL="drill",e.DUPLICATE="duplicate",e.ELLIPSES="ellipses",e.ENVELOPE="envelope",e.EXCHANGE="exchange",e.EXCLAMATION_CIRCLE="exclamation-circle",e.EXCLAMATION_TRIANGLE="exclamation-triangle",e.EXPAND_COLLAPSE="expand-collapse",e.EYE="eye",e.EYE_SLASH="eye-slash",e.FILE="file",e.FILE_DUPLICATE="file-duplicate",e.FILE_PDF="file-pdf",e.FILE_PRESENTATION="file-presentation",e.FILE_SIZE="file-size",e.FILE_SOLID="file-solid",e.FILE_SOLID_TEXT="file-solid-text",e.FILE_SPREADSHEET="file-spreadsheet",e.FILE_TEXT="file-text",e.FILTER="filter",e.FLAG="flag",e.FOLDER="folder",e.FOLDER_OPEN="folder-open",e.FOLDER_SOLID="folder-solid",e.FOLDER_SOLID_OPEN="folder-solid-open",e.GEAR="gear",e.GLOBE="globe",e.GRID="grid",e.GROUP="group",e.HAND_STOP="hand-stop",e.HANDSHAKE="handshake",e.HAT="hat",e.HEART="heart",e.HISTORY="history",e.INBOX="inbox",e.INCOMING="incoming",e.INFO_CIRCLE="info-circle",e.INTERCOM="intercom",e.ITEM_TAG="item-tag",e.KEY="key",e.LIFE_PRESERVER="life-preserver",e.LIGHTBULB="lightbulb",e.LINK="link",e.LINKEDIN="linkedin",e.LIST="list",e.LIST_CARDS="list-cards",e.LIST_COLUMNS="list-columns",e.LIST_SUMMARY="list-summary",e.LIST_TABLE="list-table",e.LOCATION="location",e.LOCKED="locked",e.LOCKED_CIRCLE="locked-circle",e.MAP="map",e.MAP_MARKER="map-marker",e.MAXIMIZE="maximize",e.MINIMIZE="minimize",e.MINUS="minus",e.MINUS_CIRCLE="minus-circle",e.NEW_FILE="new-file",e.NEW_SCREEN="new-screen",e.OUTGOING="outgoing",e.PAPER_PLANE="paper-plane",e.PENCIL="pencil",e.PHOTO="photo",e.PIN="pin",e.PINTEREST="pinterest",e.PLAY="play",e.PLUS_CIRCLE="plus-circle",e.PLUS_SIGN="plus-sign",e.PRESENTATION="presentation",e.PRINTER="printer",e.QR_CODE="qr-code",e.QUESTION_CIRCLE="question-circle",e.QUOTE_LEFT="quote-left",e.QUOTE_RIGHT="quote-right",e.RANDOM="random",e.REDO="redo",e.REFRESH="refresh",e.RIGHT_CIRCLE="right-circle",e.ROCKET="rocket",e.SEARCH="search",e.SEARCH_PLUS="search-plus",e.SHARE="share",e.SHOPPING_CART="shopping-cart",e.SORT_ALPHA_ASC="sort-alpha-asc",e.SORT_ALPHA_DESC="sort-alpha-desc",e.SORT_NUM_ASC="sort-num-asc",e.SORT_NUM_DESC="sort-num-desc",e.STAR="star",e.STAR_OUTLINE="star-outline",e.STATUS_ARCHIVED="status-archived",e.STATUS_CANCELLED="status-cancelled",e.STATUS_ERROR="status-error",e.STATUS_IN_PROCESS="status-in-process",e.STATUS_IN_TRANSIT="status-in-transit",e.STATUS_LOCKED="status-locked",e.STATUS_NEW="status-new",e.STATUS_OK="status-ok",e.STATUS_ON_HOLD="status-on-hold",e.STATUS_OUTDATED="status-outdated",e.STATUS_REJECTED="status-rejected",e.STATUS_SAVED="status-saved",e.STATUS_SAVING="status-saving",e.STATUS_TEMPLATE="status-template",e.STATUS_WARNING="status-warning",e.TABLE="table",e.TABS="tabs",e.TAG="tag",e.TEMPLATE_CIRCLE="template-circle",e.THUMBS_DOWN="thumbs-down",e.THUMBS_DOWN_OUTLINE="thumbs-down-outline",e.THUMBS_UP="thumbs-up",e.THUMBS_UP_OUTLINE="thumbs-up-outline",e.TRASH="trash",e.TRUCK_SHIPPING="truck-shipping",e.TWITTER="twitter",e.UNARCHIVE="unarchive",e.UNDO="undo",e.UNLOCKED="unlocked",e.UPLOAD_CLOUD="upload-cloud",e.USER="user",e.USER_IMPERSONATION="user-impersonation",e.WRENCH="wrench",e.WORKFLOW="workflow",e.WORKFLOW_COMPLETE="workflow-complete",e.X="x",e.X_CIRCLE="x-circle"})(exports.SpsIcon||(exports.SpsIcon={}));exports.FeedbackBlockKind=void 0;(function(e){e.TIP="tip",e.SUCCESS="success",e.WARNING="warning",e.ERROR="error",e.INFO="info"})(exports.FeedbackBlockKind||(exports.FeedbackBlockKind={}));const N=Object.freeze({[exports.FeedbackBlockKind.TIP]:exports.SpsIcon.LIGHTBULB,[exports.FeedbackBlockKind.ERROR]:exports.SpsIcon.EXCLAMATION_CIRCLE,[exports.FeedbackBlockKind.INFO]:exports.SpsIcon.INFO_CIRCLE,[exports.FeedbackBlockKind.SUCCESS]:exports.SpsIcon.CHECKMARK,[exports.FeedbackBlockKind.WARNING]:exports.SpsIcon.EXCLAMATION_TRIANGLE});exports.SpsFilterTileKind=void 0;(function(e){e.GENERAL="general",e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.PROCESSING="processing"})(exports.SpsFilterTileKind||(exports.SpsFilterTileKind={}));const C=7e3,c=2e3;exports.GrowlerKind=void 0;(function(e){e.ACTIVITY="activity",e.ERROR="error",e.INFO="info",e.PROGRESS="progress",e.SUCCESS="success",e.WARNING="warning"})(exports.GrowlerKind||(exports.GrowlerKind={}));const h=new Map([[exports.GrowlerKind.INFO,exports.SpsIcon.INFO_CIRCLE],[exports.GrowlerKind.WARNING,exports.SpsIcon.EXCLAMATION_TRIANGLE],[exports.GrowlerKind.ERROR,exports.SpsIcon.EXCLAMATION_CIRCLE],[exports.GrowlerKind.SUCCESS,exports.SpsIcon.CHECKMARK]]);var f={advancedSearch:{clear:"Clear Fields",search:"Search"},button:{spinningTitle:"Loading\u2026"},columnChooser:{removeButton:"Remove {{elementName}}"},contentRow:{collapse:"Collapse",expand:"Expand"},datepicker:{calendar:{prevMonth:"View Previous Month",nextMonth:"View Next Month"},preset:{custom:"Custom",today:"Today",sevenDays:"Last 7 days",thirtyDays:"Last 30 days",sixtyDays:"Last 60 days",ninetyDays:"Last 90 days",oneYear:"Last year"},presetsLabel:"Ranges"},fileUpload:{acceptedTypes:"{{fileTypes}} format accepted",acceptedTypes_plural:"{{fileTypes}} formats accepted",cancelled:"File Upload Failed",cancelled_plural:"File Upload(s) Failed",close:"Close",instructions:"Drag and drop your file here or |browse for a file| on your desktop.",instructions_plural:"Drag and drop your files here or |browse for files| on your desktop.",maximumSize:"{{size}} maximum",processing:"Processing Upload\u2026",title:"Upload Your {{description}}"},filterPanel:{clear:"Clear Filters",title:"Filters",filterPlaceholder:"Filter options"},focusedTask:{close:"Close"},growler:{dismiss:"Dismiss"},insightCard:{all:"ALL",partnerCount:"{{count}} |of| {{total}}",partners:"PARTNERS"},insightTile:{all:"ALL",partnerCount:"{{count}} |of| {{total}}",partners:"PARTNERS"},label:{errors:{dateConstraint:{max:"Please enter a date on or prior to {{context.maxExceeded}}.",min:"Please enter a date on or after {{context.minExceeded}}."},dateFormat:"Please enter a date in the format {{context}}.",dateRangeOrder:"End date cannot be before start date.",dateValidity:"Please enter a valid date.",max:"Please enter a value no greater than {{context}}.",maxLength:"Please enter no more than {{context}} characters.",min:"Please enter a value no less than {{context}}.",minLength:"Please enter at least {{context}} characters.",required:"This field is required."},preventativeErrors:{maxLength:"This field accepts a maximum number of characters.",alpha:"This field accepts only alphabetic values.",numeric:"This field accepts only numerical values.",nonNumeric:"This field accepts only non-numerical values."},stronglySuggested:"This field is strongly suggested."},listActionBar:{clearSelected:"Clear Selected",itemsSelected:"Items Selected"},listToolbar:{advancedSearchToggle:"Advanced Search"},modal:{close:"Close modal",defaultButtonLabel:"Okay",defaultTitle:{general:"Action",info:"Info",success:"Success",warning:"Warning","serious-warning":"Warning"}},slideInPanel:{close:"Close",defaultTitle:"Slide In Panel"},pagination:{nextPage:"Next Page",ofMany:"of many",ofPageCount:"of {{pageCount}}",page:"Page",prevPage:"Previous Page"},progressBar:{closeButtonTitle:"Close progress bar"},searchResultsBar:{clear:"Clear",clearResults:"Clear Results",count:"{{count}} of {{total}}",matchingResults:"Matching results",noAdvancedSearchSelections:"No Advanced Search Selections",results:"Results:"},select:{defaultPlaceholder:"Select one\u2026"},slackLink:{label:"Chat"},spinner:{defaultAltText:"Loading\u2026"},taskQueue:{clearCompleted:"Clear Completed",newTask:"You have a new task in your queue.",noTasks:"There are currently no tasks in your queue."}};const g={t(e,t){const a=l.getPath(f,e.replace(/^design-system:/,""));return t?l.template(a)(t):a}};exports.SpsInsightCardKind=void 0;(function(e){e.GENERAL="general",e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.PROCESSING="processing"})(exports.SpsInsightCardKind||(exports.SpsInsightCardKind={}));const D=Object.freeze({[exports.SpsInsightCardKind.GENERAL]:exports.SpsIcon.STATUS_NEW,[exports.SpsInsightCardKind.SUCCESS]:exports.SpsIcon.STATUS_OK,[exports.SpsInsightCardKind.ERROR]:exports.SpsIcon.STATUS_ERROR,[exports.SpsInsightCardKind.WARNING]:exports.SpsIcon.STATUS_WARNING,[exports.SpsInsightCardKind.PROCESSING]:exports.SpsIcon.STATUS_IN_PROCESS});exports.SpsInsightTileKind=void 0;(function(e){e.GENERAL="general",e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.PROCESSING="processing"})(exports.SpsInsightTileKind||(exports.SpsInsightTileKind={}));const U=Object.freeze({[exports.SpsInsightTileKind.GENERAL]:exports.SpsIcon.STATUS_NEW,[exports.SpsInsightTileKind.SUCCESS]:exports.SpsIcon.STATUS_OK,[exports.SpsInsightTileKind.ERROR]:exports.SpsIcon.STATUS_ERROR,[exports.SpsInsightTileKind.WARNING]:exports.SpsIcon.STATUS_WARNING,[exports.SpsInsightTileKind.PROCESSING]:exports.SpsIcon.STATUS_IN_PROCESS});exports.KeyValueListTitleColor=void 0;(function(e){e.LIGHT="light",e.DARK="dark"})(exports.KeyValueListTitleColor||(exports.KeyValueListTitleColor={}));exports.LineChartColors=void 0;(function(e){e.BLUE="blue200",e.GRAY="gray600",e.GREEN="green200",e.ORANGE="orange200",e.PURPLE="purple200",e.RED="red200"})(exports.LineChartColors||(exports.LineChartColors={}));exports.ModalKind=void 0;(function(e){e.GENERAL="general",e.INFO="info",e.SUCCESS="success",e.WARNING="warning",e.SERIOUS_WARNING="serious-warning"})(exports.ModalKind||(exports.ModalKind={}));exports.ModalSize=void 0;(function(e){e.SMALL="small",e.MEDIUM="medium",e.LARGE="large",e.X_LARGE="xlarge"})(exports.ModalSize||(exports.ModalSize={}));class m{constructor(t,a={}){this.value=t,Object.assign(this,a)}get text(){return this.textInternal?this.textInternal:this.value?this.textKey?this.value[this.textKey]:String(this.value):""}set text(t){this.textInternal=t}get caption(){return this.captionInternal?this.captionInternal:this.value&&this.captionKey?this.value[this.captionKey]:""}set caption(t){this.captionInternal=t}get href(){return this.value?this.value.isLink&&typeof this.value=="function"?this.value():this.value.href:null}get disabled(){return typeof this.disabledInternal!="undefined"?this.disabledInternal:this.value?this.value.disabled:!1}set disabled(t){this.disabledInternal=t}get bold(){return typeof this.boldInternal!="undefined"?this.boldInternal:this.value?this.value.bold&&this.value.bold===!0:!1}getHtml(t){return t?this.text.replace(t,"<u>$&</u>"):this.text}}const S=[10,25,50,100];exports.Position=void 0;(function(e){e.TOP_LEFT="top left",e.TOP_MIDDLE="top middle",e.TOP_RIGHT="top right",e.RIGHT_TOP="right top",e.RIGHT_MIDDLE="right middle",e.RIGHT_BOTTOM="right bottom",e.BOTTOM_RIGHT="bottom right",e.BOTTOM_MIDDLE="bottom middle",e.BOTTOM_LEFT="bottom left",e.LEFT_BOTTOM="left bottom",e.LEFT_MIDDLE="left middle",e.LEFT_TOP="left top"})(exports.Position||(exports.Position={}));exports.RingSize=void 0;(function(e){e[e.SMALL=14]="SMALL",e[e.MEDIUM=26]="MEDIUM",e[e.LARGE=38]="LARGE"})(exports.RingSize||(exports.RingSize={}));exports.SpinnerSize=void 0;(function(e){e.SMALL="small",e.MEDIUM="medium",e.LARGE="large"})(exports.SpinnerSize||(exports.SpinnerSize={}));exports.StackedBarChartMilestone=void 0;(function(e){e.BLUE="blue200",e.GRAY="gray600",e.GREEN="green200",e.ORANGE="orange200",e.PURPLE="purple200",e.RED="red200"})(exports.StackedBarChartMilestone||(exports.StackedBarChartMilestone={}));exports.SteppedProgressBarColor=void 0;(function(e){e.PURPLE="purple",e.RED="red",e.BLUE="blue",e.ORANGE="orange",e.GRAY="gray"})(exports.SteppedProgressBarColor||(exports.SteppedProgressBarColor={}));exports.SortDirection=void 0;(function(e){e.ASCENDING="ascending",e.DESCENDING="descending"})(exports.SortDirection||(exports.SortDirection={}));exports.TagKind=void 0;(function(e){e.DEFAULT="default",e.KEY="key",e.WARNING="warning",e.ERROR="error",e.PENDING="pending",e.SUCCESS="success",e.INFO="info"})(exports.TagKind||(exports.TagKind={}));const I=1e3;exports.TooltipShowTrigger=void 0;(function(e){e.MANUAL="manual",e.MOUSEOVER="mouseover",e.CLICK="click"})(exports.TooltipShowTrigger||(exports.TooltipShowTrigger={}));exports.TooltipKind=void 0;(function(e){e.DEFAULT="default",e.HELP="help",e.ERROR="error",e.WARNING="warning",e.CONTAINER="container"})(exports.TooltipKind||(exports.TooltipKind={}));const s={icon:"",label:"",caption:"",disabled:!1,isLink:!1};function P(e){return(t,a,T)=>l.simpleMetadataDecoratorApplicator(e,s,t,a,T)}exports.SpsTaskStatus=void 0;(function(e){e.COMPLETED="completed",e.ERRORED="errored",e.WARNING="warning",e.IN_PROGRESS="in_progress"})(exports.SpsTaskStatus||(exports.SpsTaskStatus={}));const G=Object.freeze({[exports.SpsTaskStatus.COMPLETED]:exports.SpsIcon.STATUS_OK,[exports.SpsTaskStatus.ERRORED]:exports.SpsIcon.STATUS_ERROR,[exports.SpsTaskStatus.WARNING]:exports.SpsIcon.STATUS_WARNING,[exports.SpsTaskStatus.IN_PROGRESS]:"sps-spinner sps-spinner--small"}),M=5e3;exports.WizardSubstepConditions=void 0;(function(e){e.BASIC="basic",e.COMPLETED="completed",e.COMPLETE="completed",e.ACTIVE="active"})(exports.WizardSubstepConditions||(exports.WizardSubstepConditions={}));exports.ZStratum=void 0;(function(e){e[e.BASE=0]="BASE",e[e.TIP=10]="TIP",e[e.DROPDOWN=100]="DROPDOWN",e[e.BAR=1e3]="BAR",e[e.DIALOG=1e4]="DIALOG"})(exports.ZStratum||(exports.ZStratum={}));exports.ButtonKind=L;exports.DEFAULT_PAGE_SIZE_OPTIONS=S;exports.DropdownKind=A;exports.FeedbackBlockIcons=N;exports.GROWLER_FADEOUT_DURATION_MS=c;exports.GROWLER_VISIBLE_DURATION_MS=C;exports.GrowlerIcon=h;exports.SPS_ACTION_DEFAULTS=s;exports.SpsAction=P;exports.SpsInsightCardIcons=D;exports.SpsInsightTileIcons=U;exports.SpsOptionListOption=m;exports.SpsTaskStatusIcons=G;exports.TASK_QUEUE_NOTIFICATION_DURATION_MS=M;exports.TOOLTIP_HIDE_DELAY_MS_DEFAULT=I;exports.exampleIsReactComponentExample=O;exports.exampleIsReactJSXExample=_;exports.noI18nI18n=g;
|
package/lib/index.es.js
CHANGED
|
@@ -106,7 +106,9 @@ var SpsIcon;
|
|
|
106
106
|
SpsIcon2["CODE_FORK"] = "code-fork";
|
|
107
107
|
SpsIcon2["COLUMN_SWITCHER"] = "column-switcher";
|
|
108
108
|
SpsIcon2["COMMENT_BUBBLE"] = "comment-bubble";
|
|
109
|
+
SpsIcon2["COMMENT_BUBBLE_EXCLAMATION"] = "comment-bubble-exclamation";
|
|
109
110
|
SpsIcon2["COMMENT_BUBBLE_QUESTION"] = "comment-bubble-question";
|
|
111
|
+
SpsIcon2["COMPLETE_FILE"] = "complete-file";
|
|
110
112
|
SpsIcon2["CONVERSATION"] = "conversation";
|
|
111
113
|
SpsIcon2["CREDIT_CARD"] = "credit-card";
|
|
112
114
|
SpsIcon2["DASHBOARD"] = "dashboard";
|
|
@@ -241,6 +243,8 @@ var SpsIcon;
|
|
|
241
243
|
SpsIcon2["USER"] = "user";
|
|
242
244
|
SpsIcon2["USER_IMPERSONATION"] = "user-impersonation";
|
|
243
245
|
SpsIcon2["WRENCH"] = "wrench";
|
|
246
|
+
SpsIcon2["WORKFLOW"] = "workflow";
|
|
247
|
+
SpsIcon2["WORKFLOW_COMPLETE"] = "workflow-complete";
|
|
244
248
|
SpsIcon2["X"] = "x";
|
|
245
249
|
SpsIcon2["X_CIRCLE"] = "x-circle";
|
|
246
250
|
})(SpsIcon || (SpsIcon = {}));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spscommerce/ds-shared",
|
|
3
3
|
"description": "Package for sharing code and types between DS Angular and DS React.",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.37.0",
|
|
5
5
|
"author": "SPS Commerce",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"repository": "https://github.com/spscommerce/design-system/tree/main/packages/@spscommerce/ds-shared",
|