{"_id":"@domoinc/ca-steps-with-text","_rev":"38-da106da3563fec9a4e1c3a06a9dd3df3","name":"@domoinc/ca-steps-with-text","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@domoinc/ca-steps-with-text","version":"1.0.0","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/ca-steps-with-text@1.0.0","maintainers":[{"name":"jmstewart","email":"james.stewart42@gmail.com"}],"dist":{"shasum":"8ec342f9a59161190cfc3c401d3170329e688310","tarball":"https://registry.npmjs.org/@domoinc/ca-steps-with-text/-/ca-steps-with-text-1.0.0.tgz","integrity":"sha512-+hpWfjJ4YV5nND6aWhSVIau4Mr6R8leZes5KckSfFVb0Hs5LGl7XicU8k4VL70kx1jCG1klkBCCRhSodfoRk9A==","signatures":[{"sig":"MEQCICNDLCbNOYkVlyJqUgioJ6q0SETXDAfwd19SVnTpILc7AiBa17S6SQDtjyL8t3lp0/xD7hFj/nE/+bH58iFp4sCDRQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":".","_shasum":"8ec342f9a59161190cfc3c401d3170329e688310","gitHead":"09c79798f7235b28d9e927017215e4156a245678","scripts":{"build":"grunt build","start":"grunt","docGen":"grunt docGen","push:major":"grunt push:major","push:minor":"grunt push:minor","push:patch":"grunt push:patch"},"_npmUser":{"name":"jmstewart","email":"james.stewart42@gmail.com"},"repository":{"type":"git"},"_npmVersion":"3.6.0","description":"CAStepsWithText - Domo Widget","directories":{},"_nodeVersion":"5.6.0","dependencies":{"d3":"^3.5.16","d3.chart":"^0.3.0","@domoinc/da-theme":"^4.2.1","@domoinc/utilities":"^4.2.3","@domoinc/base-widget":"^1.5.2"},"devDependencies":{"grunt":"~0.4.2","request":"^2.40.0","shelljs":"^0.2.6","webpack":"^1.12.12","babel-core":"^6.5.2","babel-loader":"^6.2.3","grunt-notify":"^0.3.0","grunt-prompt":"^1.1.0","grunt-release":"^0.13.0","grunt-webpack":"^1.0.11","jshint-stylish":"^0.1.5","grunt-port-pick":"^1.5.0","load-grunt-tasks":"^3.4.0","webpack-dev-server":"^1.14.1","babel-preset-es2015":"^6.5.0","grunt-contrib-clean":"^0.7.0","grunt-contrib-watch":"~0.5.3","grunt-contrib-jshint":"~0.7.2","grunt-contrib-connect":"^0.7.1","grunt-conventional-changelog":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ca-steps-with-text-1.0.0.tgz_1455840130946_0.7214406905695796","host":"packages-5-east.internal.npmjs.com"}},"1.0.1":{"name":"@domoinc/ca-steps-with-text","version":"1.0.1","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/ca-steps-with-text@1.0.1","maintainers":[{"name":"aharris88","email":"aharris88@gmail.com"},{"name":"andrewjensen","email":"andrewjensen90@gmail.com"},{"name":"bkingery","email":"brian.kingery@gmail.com"},{"name":"bmbarker-domo","email":"ben.barker@domo.com"},{"name":"clm","email":"chris.clm09@gmail.com"},{"name":"dallasnorton","email":"dallaslandonnorton@gmail.com"},{"name":"excrispy","email":"excrispy@gmail.com"},{"name":"freakaziod210","email":"freakaziod210@gmail.com"},{"name":"jaxry","email":"cabot696@gmail.com"},{"name":"jgalb","email":"jakegpv@gmail.com"},{"name":"jmstewart","email":"james.stewart42@gmail.com"},{"name":"jonathan-law","email":"jonathan.q.law@gmail.com"},{"name":"k4paul","email":"kellie.morgan@domo.com"},{"name":"lcwright21","email":"lance.wright@hotmail.com"},{"name":"morganjohn12","email":"morganjohn12@gmail.com"},{"name":"nicksrandall","email":"nicksrandall@gmail.com"},{"name":"scott.davidson.domo","email":"scott.davidson@domo.com"},{"name":"whitney.rosenberg","email":"whitney.rosenberg@domo.com"}],"dist":{"shasum":"e5039e6c22376d2f6258e60bf8ef4ec0fe8a2bf4","tarball":"https://registry.npmjs.org/@domoinc/ca-steps-with-text/-/ca-steps-with-text-1.0.1.tgz","integrity":"sha512-4vO7SIwPNG7sIiIsivIdAUW20qq26Ni6pl9Rp+YTvXHMnx2QKR6Jq2sP0tXVTSl3HlcjiOQHhP0YfxNYgJUuFg==","signatures":[{"sig":"MEQCICfoBnvxSUEb4JTxJoLUjTOGEGWhe1XaA6Rz2P05AW0uAiA/drS8F9QvqoCTMwtQhuQpdu1OLvmCkblD82/zpYUSIw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzxF4CRA9TVsSAnZWagAA+ZgP/joa5IoLpY1wwOD+etJh\nDIeodCIOL/bwLMaboinL57Nybb1e0JRL/fb+X+3VpHVZSVAhNByripDfmTfv\n15IKS13g78x7ZdBgcjy26ftykumiPn/N+M22GjIAsRuQyJ+N6HvMKxUS5KBx\nHo9AudcBknlUqAJUH4Mq2FMBBtEQVJoZuWRCvNMYlT5ANVp7TKBydy4uDcXX\nemg+3ESlnFnNcGdcdA0bLgbc8HSA5pUuEWOJsA16IOkkVMSlmmv64XoSNfvk\neJ0LrnGoGt5NB8WzEvGTgtIzPz3QH8E/lJrZmz9o76N3hsl6bqFzYzBZIdzA\n6Eq2O6aedlSEvOc3j+fP9+LnVowuinPpvSSbgn0PeTuxXUnTA2BHn+/U2g65\nerc5h/rueYCMA/j10c86IeX212XA4fEX1WlvRngFVDGDkmG9uYaN+EzuDNWH\noGuIc8vZQIEkj6EskDSIn8b/ONir2k64kKMaYbe7vEyRcaTVXZluDCS6wGQb\nNr7KZQ5WXxRtMs7D1lx0S3XmTwxFmVRwQYN+pDm4QwnTZQhtkWbLAQu69QcM\nlVuKO9ET608cYT0JOUC8f6k+vzcXnayxyslYbu4SLXUXz78/B9t2Wk/ztITS\nSq+WH+XZwF3KNDl+p8OQKVhU6/iy0O5LMfOAXUrNP9IPXURYWLc1J03P9c2y\nL8Hq\r\n=sDmK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/bundle.js","_from":".","_shasum":"e5039e6c22376d2f6258e60bf8ef4ec0fe8a2bf4","gitHead":"a2ed02f5be353949bfb72a57a482201f04a4b53c","scripts":{"build":"grunt build","start":"grunt","docGen":"grunt docGen","push:major":"grunt push:major","push:minor":"grunt push:minor","push:patch":"grunt push:patch"},"_npmUser":{"name":"jonathan-law","email":"jonathan.q.law@gmail.com"},"repository":{"type":"git"},"_npmVersion":"3.3.8","description":"CAStepsWithText - Domo Widget","directories":{},"_nodeVersion":"4.2.1","dependencies":{"d3":"^3.5.16","d3.chart":"^0.3.0","@domoinc/da-theme2":"^2.3.1","@domoinc/utilities":"^4.2.3","@domoinc/base-widget":"^1.5.2"},"devDependencies":{"grunt":"~0.4.2","request":"^2.40.0","shelljs":"^0.2.6","webpack":"^1.12.12","babel-core":"^6.5.2","babel-loader":"^6.2.3","grunt-notify":"^0.3.0","grunt-prompt":"^1.1.0","grunt-release":"^0.13.0","grunt-webpack":"^1.0.11","jshint-stylish":"^0.1.5","grunt-port-pick":"^1.5.0","load-grunt-tasks":"^3.4.0","webpack-dev-server":"^1.14.1","babel-preset-es2015":"^6.5.0","grunt-contrib-clean":"^0.7.0","grunt-contrib-watch":"~0.5.3","grunt-contrib-jshint":"~0.7.2","grunt-contrib-connect":"^0.7.1","grunt-conventional-changelog":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ca-steps-with-text-1.0.1.tgz_1457461092194_0.9077548522036523","host":"packages-12-west.internal.npmjs.com"}}},"time":{"created":"2016-02-19T00:02:16.619Z","modified":"2026-02-27T17:23:56.976Z","1.0.0":"2016-02-19T00:02:16.619Z","1.0.1":"2016-03-08T18:18:17.516Z"},"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","keywords":["domo","app"],"repository":{"type":"git"},"description":"CAStepsWithText - Domo Widget","maintainers":[{"email":"trevor.tingey@domo.com","name":"ttingey"},{"email":"morganjohn12@gmail.com","name":"morganjohn12"},{"email":"jeff.smith@domo.com","name":"jeff.smith"},{"email":"cgrieb9@gmail.com","name":"congrieb"},{"email":"spencer@myweb-host.net","name":"th3uiguy"},{"email":"jason.hansen@domo.com","name":"domo_json"},{"email":"jon.tiritilli@domo.com","name":"jontiritilli-domo"}],"readme":"# CAStepsWithText\n\n\n\n<img src=media/widget.png height=500 width=500> \n\n## Configuration Options\n\n\n#### bodyFontSize\nType: `number`  \nDefault: `20`  \nUnits: `px`\n\nThe font size of the body text\n\n#### bodyTextColor\nType: `color`  \nDefault: `#73B0D7`  \n\nColor of the body text\n\n#### chartName\nType: `string`  \nDefault: `CAStepsWithText`  \n\nName of chart for Reporting\n\n#### circleColor\nType: `color`  \nDefault: `#73B0D7`  \n\nColor of the circles\n\n#### currentStep\nType: `number`  \nDefault: `1`  \n\nThe current step on display\n\n#### headerFontSize\nType: `number`  \nDefault: `40`  \nUnits: `px`\n\nThe font size of the header\n\n#### height\nType: `number`  \nDefault: `250`  \nUnits: `px`\n\nHeight of the chart\n\n#### labelFontSize\nType: `number`  \nDefault: `12`  \nUnits: `px`\n\nThe font size of the step label text\n\n#### previousStep\nType: `number`  \nDefault: `1`  \n\nThe current step on display\n\n#### shouldValidate\nType: `boolean`  \nDefault: `true`  \n\nFlag for turning off data validation\n\n#### updateSizeableConfigs\nType: `boolean`  \nDefault: `true`  \n\nFlag for turning off the mimic of illustrator's scale functionality\n\n#### width\nType: `number`  \nDefault: `250`  \nUnits: `px`\n\nWidth of the chart\n\n## Data Definition\n\n\n#### Copy\nType: `string`\n\nDefault validate:  \n```js\nfunction (d) {\r          return this.accessor(d) !== undefined && this.accessor(d) !== '' && this.accessor(d) !== null;\r        }\n```\n\nDefault accessor:  \n```js\nfunction (line) {\r          return line[1] === undefined || line[1] === null ? undefined : String(line[1]);\r        }\n```\n\n#### Header\nType: `string`\n\nDefault validate:  \n```js\nfunction (d) {\r          return this.accessor(d) !== undefined && this.accessor(d) !== '' && this.accessor(d) !== null;\r        }\n```\n\nDefault accessor:  \n```js\nfunction (line) {\r          return line[0] === undefined || line[0] === null ? undefined : String(line[0]);\r        }\n```\n\n## Events\n\n\n#### Dispatch Events\n\n#### External Events\n\n\n## Example\n\n```js  \n//Setup some fake data\nvar data = [\n  ['Ask for more', 'Always ask for more than you expect.  You will be surprised at what can be accomplished.  Never be afraid to ask for the impossible.'],\n  ['Never say yes at first', 'Always consider all of the facts.  Walk away, take your time, and look at every angle. Make sure your getting everything you expect.'],\n  ['State the facts', 'Confrontation is simply an emotional response to a technical problem.  It never helps.  Simply, gather the facts and use them to present your case.'],\n  ['Be reluctant', 'Being reluctant is an invitation to sweeten the deal.'],\n  ['Be patient', 'Eighty percent of the compromises will be made during the last twenty percent of the negotiation process.'],\n  ['Evaluate the competitive landscape', 'Take some time to shop around, get several offers. Take your best offer to the one you like the most and ask them to beat it by an 1/8.'],\n  ['Make the deal', 'Evaluate all the facts.  Make the deal.']\n];\n\n//Initialze the widget\nvar svg = d3.select('#vis')\n  .append('svg');\n//svg.append('rect').style('stroke', 'black').style('fill', 'none').attr('width', 500).attr('height', 500);\nvar chart = svg.attr({\n    height: '500px',\n    width: '500px'\n  })\n  .append('g')\n  .chart('CAStepsWithText')\n  .c({\n    width: 500,\n    height: 500\n  });\n//Render the chart with data\nchart._notifier.showMessage(true);\nchart.draw(data);\n\n\n\n\n/*----------------------------------------------------------------------------------\nTest Redraw\n----------------------------------------------------------------------------------*/\n\n//var data2 = [\n//  ['Room for  1', 'Quisque maximus justo eget sem dapibus, ut tempor purus aliquam. Vivamus at sollicitudin libero, vitae gravida nisi. 1'],\n//  ['Room for copy 2', 'Quisque maximus justo eget sem dapibus, ut tempor purus aliquam. Vivamus at sollicitudin libero, vitae gravida nisi. 2'],\n//  ['Room for copy 3', 'Quisque maximus justo eget sem dapibus, ut tempor purus aliquam. Vivamus at sollicitudin libero, vitae gravida nisi. 3'],\n//  ['Room for copy 4', 'Quisque maximus justo eget sem dapibus, ut tempor purus aliquam. Vivamus at sollicitudin libero, vitae gravida nisi. 4'],\n//  ['Room for copy 5', 'Quisque maximus justo eget sem dapibus, ut tempor purus aliquam. Vivamus at sollicitudin libero, vitae gravida nisi. 5'],\n//  ['Room for copy 6', 'Quisque maximus justo eget sem dapibus, ut tempor purus aliquam. Vivamus at sollicitudin libero, vitae gravida nisi. 6'],\n//  ['Room for copy 7', 'Quisque maximus justo eget sem dapibus, ut tempor purus aliquam. Vivamus at sollicitudin libero, vitae gravida nisi. 7'],\n//  ['Room for copy 8', 'Quisque maximus justo eget sem dapibus, ut tempor purus aliquam. Vivamus at sollicitudin libero, vitae gravida nisi. 8'],\n//  ['Room for copy 9', 'Quisque maximus justo eget sem dapibus, ut tempor purus aliquam. Vivamus at sollicitudin libero, vitae gravida nisi. 9'],\n//  ['Room for copy 10', 'Quisque maximus justo eget sem dapibus, ut tempor purus aliquam. Vivamus at sollicitudin libero, vitae gravida nisi. 10'],\n//  ['Room for copy 11', 'Quisque maximus justo eget sem dapibus, ut tempor purus aliquam. Vivamus at sollicitudin libero, vitae gravida nisi. 11'],\n//  ['Room for copy 12', 'Quisque maximus justo eget sem dapibus, ut tempor purus aliquam. Vivamus at sollicitudin libero, vitae gravida nisi. 12'],\n//  ['Room for copy 13', 'Quisque maximus justo eget sem dapibus, ut tempor purus aliquam. Vivamus at sollicitudin libero, vitae gravida nisi. 13'],\n//  ['14', null]\n//];\n\n/*setTimeout(function() {\n  chart.draw(data2);\n}, 2000);*/\n\n\n```\n\n","readmeFilename":"README.md"}