Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ed91f0c157 | |||
| 1dd90341ee | |||
| a7425c400b | |||
| 21aa30bd9f |
Generated
+5859
-263
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -6,7 +6,7 @@
|
||||
"build": "vue-cli-service build",
|
||||
"lint": "vue-cli-service lint",
|
||||
"excel": "office-addin-debugging start public/manifest.xml",
|
||||
"excel:web": "office-addin-debugging start public/manifest.xml web --document https://teocomi-my.sharepoint.com/:x:/g/personal/teocomi_teocomi_onmicrosoft_com/EdxKPPFhnMdDoGclr4J-xJAB7H6-TRJ5s5ZnXzVdrdFyUg?e=VAFmBN",
|
||||
"excel:web": "office-addin-debugging start public/manifest.xml web --document https://skfn3-my.sharepoint.com/:x:/r/personal/connorisadmin_skfn3_onmicrosoft_com/_layouts/15/Doc.aspx?sourcedoc=%7B46999CFC-9B5A-4716-9F71-FECAEA59A6E8%7D&file=Book.xlsx&action=default&mobileredirect=true&DefaultItemOpen=1&login_hint=connorIsAdmin%40skfn3.onmicrosoft.com&ct=1667593923375&wdOrigin=OFFICECOM-WEB.MAIN.REC&cid=e3e69d1a-7559-4c2e-8142-ce5d4f9a3f3d",
|
||||
"excel:prod": "office-addin-debugging start public/manifest-prod.xml",
|
||||
"excel:web-prod": "office-addin-debugging start public/manifest-prod.xml web --document https://teocomi-my.sharepoint.com/:x:/g/personal/teocomi_teocomi_onmicrosoft_com/EdxKPPFhnMdDoGclr4J-xJAB7H6-TRJ5s5ZnXzVdrdFyUg?e=VAFmBN",
|
||||
"stop": "office-addin-debugging stop public/manifest.xml",
|
||||
@@ -20,9 +20,9 @@
|
||||
"vue": "^2.6.12",
|
||||
"vue-apollo": "^3.0.5",
|
||||
"vue-infinite-loading": "^2.4.5",
|
||||
"vue-mixpanel": "1.0.7",
|
||||
"vue-router": "^3.5.1",
|
||||
"vue-timeago": "^5.1.3",
|
||||
"vue-mixpanel": "1.0.7",
|
||||
"vuetify": "^2.5.0",
|
||||
"vuex": "^3.6.2",
|
||||
"vuex-persist": "^3.1.3",
|
||||
|
||||
@@ -30,6 +30,11 @@
|
||||
<Hosts>
|
||||
<Host Name="Workbook" />
|
||||
</Hosts>
|
||||
<Requirements>
|
||||
<Sets DefaultMinVersion="1.1">
|
||||
<Set Name="SharedRuntime" MinVersion="1.1"/>
|
||||
</Sets>
|
||||
</Requirements>
|
||||
<DefaultSettings>
|
||||
<SourceLocation DefaultValue="https://localhost:3000/" />
|
||||
</DefaultSettings>
|
||||
@@ -41,6 +46,23 @@
|
||||
|
||||
<Hosts>
|
||||
<Host xsi:type="Workbook">
|
||||
<Runtimes>
|
||||
<Runtime resid="Taskpane.Url" lifetime="long" />
|
||||
</Runtimes>
|
||||
<AllFormFactors>
|
||||
<ExtensionPoint xsi:type="CustomFunctions">
|
||||
<Script>
|
||||
<SourceLocation resid="Functions.Script.Url"/>
|
||||
</Script>
|
||||
<Page>
|
||||
<SourceLocation resid="Functions.Page.Url"/>
|
||||
</Page>
|
||||
<Metadata>
|
||||
<SourceLocation resid="Functions.Metadata.Url"/>
|
||||
</Metadata>
|
||||
<Namespace resid="Functions.Namespace"/>
|
||||
</ExtensionPoint>
|
||||
</AllFormFactors>
|
||||
<DesktopFormFactor>
|
||||
<GetStarted>
|
||||
<Title resid="GetStarted.Title"/>
|
||||
@@ -100,12 +122,16 @@
|
||||
<bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://speckle.guide/excel" />
|
||||
<bt:Url id="Commands.Url" DefaultValue="https://localhost:3000/commands.html" />
|
||||
<bt:Url id="Taskpane.Url" DefaultValue="https://localhost:3000/" />
|
||||
<bt:Url id="Functions.Script.Url" DefaultValue="https://localhost:3000/dist/js/functions.ae1f9180.js"/>
|
||||
<bt:Url id="Functions.Metadata.Url" DefaultValue="https://localhost:3000/dist/functions.json"/>
|
||||
<bt:Url id="Functions.Page.Url" DefaultValue="https://localhost:3000/dist/functions.html"/>
|
||||
</bt:Urls>
|
||||
<!-- ShortStrings max characters==125. -->
|
||||
<bt:ShortStrings>
|
||||
<bt:String id="GetStarted.Title" DefaultValue="Get started with the Speckle connector for Excel!" />
|
||||
<bt:String id="CommandsGroup.Label" DefaultValue="Speckle" />
|
||||
<bt:String id="TaskpaneButton.Label" DefaultValue="Excel Connector DEV" />
|
||||
<bt:String id="Functions.Namespace" DefaultValue="Speckle"/>
|
||||
</bt:ShortStrings>
|
||||
<!-- LongStrings max characters==250. -->
|
||||
<bt:LongStrings>
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. -->
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<meta http-equiv="Expires" content="0" />
|
||||
<title></title>
|
||||
<script src="https://appsforoffice.microsoft.com/lib/1.1/hosted/custom-functions-runtime.js" type="text/javascript"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Add two numbers
|
||||
* @customfunction
|
||||
* @param {number} first First number
|
||||
* @param {number} second Second number
|
||||
* @returns {number} The sum of the two numbers.
|
||||
*/
|
||||
function add(first, second) {
|
||||
return first + second
|
||||
}
|
||||
add(1, 2)
|
||||
@@ -1,7 +1,47 @@
|
||||
var devCerts = require('office-addin-dev-certs')
|
||||
var options = devCerts.getHttpsServerOptions()
|
||||
// const CleanWebpackPlugin = require('clean-webpack-plugin')
|
||||
// const CopyWebpackPlugin = require('copy-webpack-plugin')
|
||||
// const CustomFunctionsMetadataPlugin = require('custom-functions-metadata-plugin')
|
||||
// const HtmlWebpackPlugin = require('html-webpack-plugin')
|
||||
|
||||
module.exports = {
|
||||
// configureWebpack: {
|
||||
// entry: {
|
||||
// functions: './src/functions/functions.js',
|
||||
// polyfill: '@babel/polyfill'
|
||||
// },
|
||||
// plugins: [
|
||||
// // new CleanWebpackPlugin({
|
||||
// // cleanOnceBeforeBuildPatterns: dev ? [] : ['**/*']
|
||||
// // }),
|
||||
// new CustomFunctionsMetadataPlugin({
|
||||
// output: 'functions.json',
|
||||
// input: './src/functions/functions.js'
|
||||
// }),
|
||||
// new HtmlWebpackPlugin({
|
||||
// filename: 'functions.html',
|
||||
// template: './src/functions/functions.html',
|
||||
// chunks: ['polyfill', 'functions']
|
||||
// })
|
||||
// // new HtmlWebpackPlugin({
|
||||
// // filename: 'taskpane.html',
|
||||
// // template: './src/taskpane/taskpane.html',
|
||||
// // chunks: ['polyfill', 'taskpane']
|
||||
// // }),
|
||||
// // new CopyWebpackPlugin([
|
||||
// // {
|
||||
// // to: 'taskpane.css',
|
||||
// // from: './src/taskpane/taskpane.css'
|
||||
// // }
|
||||
// // ]),
|
||||
// // new HtmlWebpackPlugin({
|
||||
// // filename: 'commands.html',
|
||||
// // template: './src/commands/commands.html',
|
||||
// // chunks: ['polyfill', 'commands']
|
||||
// // })
|
||||
// ]
|
||||
// },
|
||||
devServer: {
|
||||
port: 3000,
|
||||
host: 'localhost',
|
||||
|
||||
Reference in New Issue
Block a user